commit:     fd528f28ff1157ced65edb2e821cd16aa68c1802
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 18:48:27 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 13:27:37 2023 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=fd528f28

livecdfs-update.sh: remove confusing "reduce tmpfs usage" hack

I don't believe this provides any real value now, and it makes the
livecd layout confusing.

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 targets/support/livecdfs-update.sh | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/targets/support/livecdfs-update.sh 
b/targets/support/livecdfs-update.sh
index ca8997f7..16e201d5 100755
--- a/targets/support/livecdfs-update.sh
+++ b/targets/support/livecdfs-update.sh
@@ -113,13 +113,6 @@ rm -f /etc/generic.motd.txt /etc/universal.motd.txt 
/etc/minimal.motd.txt /etc/l
 # Post configuration
 case ${clst_livecd_type} in
        gentoo-release-live*)
-               # This is my hack to reduce tmpfs usage
-               mkdir -p /usr/livecd
-               cp -r ${clst_repo_basedir}/${clst_repo_name}/{profiles,eclass} 
/usr/livecd
-               rm -rf 
/usr/livecd/profiles/{co*,default-{1*,a*,b*,d*,h*,i*,m*,p*,s*,x*},g*,hardened-*,n*,x*}
-               mv -f /var/db /usr/livecd
-               ln -sf /usr/livecd/db /var/db
-
                # Clear out lastlog
                rm -f /var/log/lastlog && touch /var/log/lastlog
 

Reply via email to