From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ResG7-0001kV-6j for garchives@archives.gentoo.org; Sun, 25 Dec 2011 17:53:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B25821C047; Sun, 25 Dec 2011 17:53:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5EDD321C036 for ; Sun, 25 Dec 2011 17:52:56 +0000 (UTC) Received: from [10.0.0.2] (c-71-202-24-141.hsd1.ca.comcast.net [71.202.24.141]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: solar@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CE5091B4018 for ; Sun, 25 Dec 2011 17:52:55 +0000 (UTC) Subject: Re: [gentoo-embedded] quickpkg and PKG_INSTALL_MASK From: solar To: gentoo-embedded@lists.gentoo.org In-Reply-To: References: Content-Type: text/plain Organization: Gentoo Linux Date: Sun, 25 Dec 2011 09:52:52 -0800 Message-Id: <1324835572.6935.5.camel@here> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 472728e5-0d44-4864-864d-cb5665fc726a X-Archives-Hash: 07eed0d1ddfd6023b2e459f1b9b6a0aa On Sun, 2011-12-25 at 11:34 +0200, Kfir Lavi wrote: > > > On Fri, Dec 23, 2011 at 3:23 PM, Joakim Tjernlund > wrote: > > I got the impression from docs that PKG_INSTALL_MASK would > actually > mask files out so they never get into the binary package, this > doesn't > seem to happen. > Did I misunderstand? If I did, I think an MASK to do the above > would be a worthy addition to quickpkg, very useful for > embedded targets to keep the pkg size down. > Also PKG_INSTALL_KEEP which would list files keep(rest is > dropped) would be nice. > > Oh, something else I wonder about. How does pre/post install > work with > quickpkgs? Is it possible to have such scripts and then have > qmerge execute > them? > > Jocke > > > Yes, PKG_INSTALL_MASK on time of installation will mask the files > defined in it. > Binary package do contain all files, even the masked files. > Kfir $PKG_INSTALL_MASK is supposed to omit the files in it's list from making it into the binary pkgs in the first place. The idea there was to make smaller binary pkgs for embedded devices and such (for use only with private repos). $INSTALL_MASK is supposed to omit the files listed in it from being installed on the file system. -- solar Gentoo Linux