From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 733F315802F for ; Wed, 29 Mar 2023 19:31:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23E832BC037; Wed, 29 Mar 2023 19:31:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0984B2BC037 for ; Wed, 29 Mar 2023 19:31:14 +0000 (UTC) From: Ben Kohler To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 06/10] livecdfs-update.sh: remove confusing "reduce tmpfs usage" hack Date: Wed, 29 Mar 2023 14:30:56 -0500 Message-Id: <20230329193100.2976079-6-bkohler@gentoo.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230329193100.2976079-1-bkohler@gentoo.org> References: <20230329193100.2976079-1-bkohler@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 559bf750-ea7d-4fed-a1c5-60ee81a05518 X-Archives-Hash: be6e80d8905fe79b384de5344d74975d I don't believe this provides any real value now, and it makes the livecd layout confusing. Signed-off-by: Ben Kohler --- 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 -- 2.40.0