Hello.

I'm trying to build a LiveCD for my own use. I'd like to be able
to specify the USE flags for the different packages individually.
On the archives, I found Chris' message from 2007-03-28 at
<http://article.gmane.org/gmane.linux.gentoo.catalyst/1126/match=package+use>
stating:

| Well, package.use doesn't work how you think it should in catalyst.
| It's a known bug, but one that won't likely be fixed for some time.
| Basically, if you use $target/use, then it will ignore package.use
| settings.  You should only use package.use when deviating from the
| profile defaults for a package, not when setting your own USE.  You'll
| need to set python globally.

Well - I don't use $target/use in my stage1.spec file. I set portage_confdir
to some directory containing a package.use file. But settings in that
file seem to be ignored (eg. I set net-wireless/wpa_supplicant madwifi,
but while running "sudo catalyst -v -f
/data/Bauen/catalyst/livecd-stage1_template-ohne-use.spec"
I see, that wpa_supplicant would be build with -madwifi.

Why is the package.use ignored? I'm using catalyst-2.0.5_pre4 on
a otherwise ~x86 system.

This is the contents of the portage_confdir:

$ ls -la /data/Bauen/catalyst/etc/portage
insgesamt 20
drwxr-xr-x 5 askwar users   272 13. Nov 14:48 .
drwxr-xr-x 3 askwar users    72 13. Nov 14:30 ..
drwxr-xr-x 2 askwar users    80  6. Nov 20:32 bin
-rw-r--r-- 1 askwar users     0  6. Nov 10:51 .keep_sys-apps_portage-0
-rw-r--r-- 1 askwar users  1389 13. Nov 14:48 package.use
-rw-r--r-- 1 askwar users  1389 13. Nov 14:48 package.use~
-rw-r--r-- 1 askwar users 12288 13. Nov 14:48 .package.use.swp
drwxr-xr-x 2 askwar users    80  6. Nov 20:32 postsync.d
drwxr-xr-x 3 askwar users    72 31. Oct 16:35 savedconfig

Here's the livecd-stage1_template-ohne-use.spec, minus any comments:

subarch: pentium4
version_stamp: 2007.11.13
target: livecd-stage1
rel_type: default
profile: default-linux/x86/2007.0
snapshot: gentoo-usb-homesmall
source_subpath:stage3-i686-2007.0
distcc_hosts:
portage_confdir:/data/Bauen/catalyst/etc/portage
portage_overlay:
pkgcache_path:
livecd/packages:
        udev
        livecd-tools dhcpcd acpid gentoo-sources syslog-ng links
dosfstools nfs-utils e2fsprogs pwgen screen mirrorselect iputils lvm2
vim wireless-tools wpa_supplicant

Best regards,

Alexander
-- 
[EMAIL PROTECTED] mailing list

Reply via email to