From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4C54213877A for ; Tue, 2 Sep 2014 05:07:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB7EFE0BFC; Tue, 2 Sep 2014 05:07:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FD53E0BFC for ; Tue, 2 Sep 2014 05:07:09 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id D1D9633F2BF; Tue, 2 Sep 2014 05:07:07 +0000 (UTC) From: Brian Dolbec To: catalyst@gentoo.org, gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH v2] stage1-controller.sh: Remove some old poor cleaning code Date: Mon, 1 Sep 2014 22:05:45 -0700 Message-Id: <1409634345-5378-1-git-send-email-dolsen@gentoo.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409625101-27112-4-git-send-email-dolsen@gentoo.org> References: <1409625101-27112-4-git-send-email-dolsen@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-Archives-Salt: efebcc36-1e37-4df3-8c51-266049401e0c X-Archives-Hash: 68ef524bb70d7fcb219b4b13b8921154 This code had portage bin path hard coded. That path needed to be changed for a new portage ebuild and install system. After testing the origianl code and comparing it with some updated code supplied by Douglas Freed. It turned out both code chunks resulted in nothing being cleaned. Tested and confirmed by zero_chaos. --- targets/stage1/stage1-controller.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/targets/stage1/stage1-controller.sh b/targets/stage1/stage1-controller.sh index 8dbd16b..d029545 100755 --- a/targets/stage1/stage1-controller.sh +++ b/targets/stage1/stage1-controller.sh @@ -31,11 +31,6 @@ case $1 in rm -rf usr/share/{man,doc,info}/* # Zap all .pyc and .pyo files find . -iname "*.py[co]" -exec rm -f {} \; - # Cleanup all .a files except libgcc.a, *_nonshared.a and - # /usr/lib/portage/bin/*.a - find . -type f -iname "*.a" | grep -v 'libgcc.a' | \ - grep -v 'nonshared.a' | grep -v '/usr/lib/portage/bin/' | \ - grep -v 'libgcc_eh.a' | xargs rm -f ;; *) -- 1.9.3