Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Embedded (http://www.linux-archive.org/gentoo-embedded/)
-   -   emerge tbz2's & INSTALL_MASK (http://www.linux-archive.org/gentoo-embedded/74873-emerge-tbz2s-install_mask.html)

Christopher Friedt 04-23-2008 05:08 PM

emerge tbz2's & INSTALL_MASK
 
Hi everyone,

I'm in the process of installing a bunch of packages to make an EEE pc
root filesystem right now, and I've noticed that INSTALL_MASK is not
masking out the *.h files that I don't need.


After doing a bit of looking, I found this gentoo bug that seems to be
from portage-2.1_pre6


http://bugs.gentoo.org/show_bug.cgi?id=81025

I'm using portage-2.1.4.4 and I can only guess that INSTALL_MASK is
still not implemented for installing from binary packages.


Does anyone know if that is correct?

Cheers,

Chris
--
gentoo-embedded@lists.gentoo.org mailing list

"D. Gassen" 04-23-2008 07:15 PM

emerge tbz2's & INSTALL_MASK
 
We're actually using portage 2.1-r2 and INSTALL_MASK does exactly what we need it to do for binary packages.

We're building binary packages from source and then install them into the target using something like this:

INSTALL_MASK="$(cat "${CONFIG_DIR}/install-mask.txt")" ROOT="${ROOTFS}" emerge -Kv ${EBUILDS}

and it works just fine. "install-mask.txt" would contain everything that we don't want in the target (quite some list), one item per line such as:
*.h
*.hh
*.c
*.in
*.cpp
*.C
*.la
*.a
*README*
etc.

Also

INSTALL_MASK="$(cat "${CONFIG_DIR}/install-mask.txt")" ROOT="${ROOTFS}" emerge --info

displays INSTALL_MASK correctly.

I think I also tried the same concept with later versions of portage and never had a problem (except when I had "*portage*" in my INSTALL_MASK, because emerge uses /var/tmp/portage internally and this seems to be affected by INSTALL_MASK, too).

Dirk

Hi everyone,

I'm in the process of installing a bunch of packages to make an EEE pc root filesystem right now, and I've noticed that INSTALL_MASK is not masking out the *.h files that I don't need.

After doing a bit of looking, I found this gentoo bug that seems to be from portage-2.1_pre6

http://bugs.gentoo.org/show_bug.cgi?id=81025

I'm using portage-2.1.4.4 and I can only guess that INSTALL_MASK is still not implemented for installing from binary packages.

Does anyone know if that is correct?

Cheers,

Chris
--
gentoo-embedded@lists.gentoo.org mailing list


All times are GMT. The time now is 08:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.