summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-03-29 13:48:27 -0500
committerBen Kohler <bkohler@gentoo.org>2023-03-31 08:27:37 -0500
commitfd528f28ff1157ced65edb2e821cd16aa68c1802 (patch)
treed6eca671ef88f92f670f6bdba36918afd0aa2446
parentlivecdfs-update.sh: remove net.eth[1234] symlinks (diff)
downloadcatalyst-fd528f28ff1157ced65edb2e821cd16aa68c1802.tar.gz
catalyst-fd528f28ff1157ced65edb2e821cd16aa68c1802.tar.bz2
catalyst-fd528f28ff1157ced65edb2e821cd16aa68c1802.zip
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@gentoo.org>
-rwxr-xr-xtargets/support/livecdfs-update.sh7
1 files changed, 0 insertions, 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