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 1404F13877A for ; Tue, 2 Sep 2014 05:20:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7037E0A10; Tue, 2 Sep 2014 05:20:57 +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 66946E0A10 for ; Tue, 2 Sep 2014 05:20:57 +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-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 0337B33F6FC for ; Tue, 2 Sep 2014 05:20:55 +0000 (UTC) Date: Mon, 1 Sep 2014 22:19:33 -0700 From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] [PATCH v2 3/7] stage1-controller.sh: Remove some old poor cleaning code Message-ID: <20140901221933.3fdc67f0.dolsen@gentoo.org> In-Reply-To: <1409634345-5378-1-git-send-email-dolsen@gentoo.org> References: <1409625101-27112-4-git-send-email-dolsen@gentoo.org> <1409634345-5378-1-git-send-email-dolsen@gentoo.org> Organization: Gentoo 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 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: cabf5b2d-995b-40ae-a5a9-11d213b14675 X-Archives-Hash: ede9bb492cc77c352e0ece0432a4ca52 On Mon, 1 Sep 2014 22:05:45 -0700 Brian Dolbec wrote: 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 ;; *) -- Brian Dolbec