Gentoo Archives: gentoo-catalyst

From: Alexander Skwar <a.skwar@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] package.use ignored?
Date: Tue, 13 Nov 2007 14:06:59
Message-Id: ae1cf3f40711130559q122ca6c3u7a7de8145da78cf@mail.gmail.com
1 Hello.
2
3 I'm trying to build a LiveCD for my own use. I'd like to be able
4 to specify the USE flags for the different packages individually.
5 On the archives, I found Chris' message from 2007-03-28 at
6 <http://article.gmane.org/gmane.linux.gentoo.catalyst/1126/match=package+use>
7 stating:
8
9 | Well, package.use doesn't work how you think it should in catalyst.
10 | It's a known bug, but one that won't likely be fixed for some time.
11 | Basically, if you use $target/use, then it will ignore package.use
12 | settings. You should only use package.use when deviating from the
13 | profile defaults for a package, not when setting your own USE. You'll
14 | need to set python globally.
15
16 Well - I don't use $target/use in my stage1.spec file. I set portage_confdir
17 to some directory containing a package.use file. But settings in that
18 file seem to be ignored (eg. I set net-wireless/wpa_supplicant madwifi,
19 but while running "sudo catalyst -v -f
20 /data/Bauen/catalyst/livecd-stage1_template-ohne-use.spec"
21 I see, that wpa_supplicant would be build with -madwifi.
22
23 Why is the package.use ignored? I'm using catalyst-2.0.5_pre4 on
24 a otherwise ~x86 system.
25
26 This is the contents of the portage_confdir:
27
28 $ ls -la /data/Bauen/catalyst/etc/portage
29 insgesamt 20
30 drwxr-xr-x 5 askwar users 272 13. Nov 14:48 .
31 drwxr-xr-x 3 askwar users 72 13. Nov 14:30 ..
32 drwxr-xr-x 2 askwar users 80 6. Nov 20:32 bin
33 -rw-r--r-- 1 askwar users 0 6. Nov 10:51 .keep_sys-apps_portage-0
34 -rw-r--r-- 1 askwar users 1389 13. Nov 14:48 package.use
35 -rw-r--r-- 1 askwar users 1389 13. Nov 14:48 package.use~
36 -rw-r--r-- 1 askwar users 12288 13. Nov 14:48 .package.use.swp
37 drwxr-xr-x 2 askwar users 80 6. Nov 20:32 postsync.d
38 drwxr-xr-x 3 askwar users 72 31. Oct 16:35 savedconfig
39
40 Here's the livecd-stage1_template-ohne-use.spec, minus any comments:
41
42 subarch: pentium4
43 version_stamp: 2007.11.13
44 target: livecd-stage1
45 rel_type: default
46 profile: default-linux/x86/2007.0
47 snapshot: gentoo-usb-homesmall
48 source_subpath:stage3-i686-2007.0
49 distcc_hosts:
50 portage_confdir:/data/Bauen/catalyst/etc/portage
51 portage_overlay:
52 pkgcache_path:
53 livecd/packages:
54 udev
55 livecd-tools dhcpcd acpid gentoo-sources syslog-ng links
56 dosfstools nfs-utils e2fsprogs pwgen screen mirrorselect iputils lvm2
57 vim wireless-tools wpa_supplicant
58
59 Best regards,
60
61 Alexander
62 --
63 gentoo-catalyst@g.o mailing list