1 |
On 2004-09-27 22:27:55 -0400 Mike Frysinger <vapier@g.o> wrote: |
2 |
> what are you talking about ? baselayout by *no* means depends on |
3 |
> dhcpcd |
4 |
> |
5 |
> the lastest versions dont enable anything by default ... you want |
6 |
> dhcp, you |
7 |
> enable it ... plus, it even supports more than just dhcpcd (oh wait, |
8 |
> there's |
9 |
> no virtual/dhcpc ...) |
10 |
|
11 |
armando@mudra armando $ qpkg -f /etc/conf.d/net -v |
12 |
net-dialup/ppp-2.4.1-r14 * |
13 |
sys-apps/baselayout-1.9.4-r3 * |
14 |
|
15 |
armando@mudra Projects $ sudo emerge -f baselayout |
16 |
Calculating dependencies ...done! |
17 |
>>> emerge (1 of 1) sys-apps/baselayout-1.9.4-r3 to / |
18 |
>>> Previously fetched file: sysvinit-2.84.tar.gz MD5 ;-) |
19 |
>>> Previously fetched file: rc-scripts-1.4.16.tar.bz2 MD5 ;-) |
20 |
>>> md5 src_uri ;-) sysvinit-2.84.tar.gz |
21 |
>>> md5 src_uri ;-) rc-scripts-1.4.16.tar.bz2 |
22 |
|
23 |
tar xjvf rc-scripts...tar.bz2:/etc/conf.d/net |
24 |
<snip> |
25 |
# For DHCP set iface_eth? to "dhcp" |
26 |
# For passing options to dhcpcd use dhcpcd_eth? |
27 |
# |
28 |
#iface_eth0="dhcp" |
29 |
#dhcpcd_eth0="..." |
30 |
</snip> |
31 |
|
32 |
_That_ is what I'm talking about. Baselayout not only run-time |
33 |
depends on having dhcp, but specifically depends on the package |
34 |
"dhcpcd". What's more ... |
35 |
|
36 |
Now, as for /etc/init.d/net.eth0 (the default installed) |
37 |
<snip> |
38 |
47: # dhcpcd_IFACE (command-line args for dhcpcd) |
39 |
54: # ifconfig_fallback_IFACE (fallback ifconfig if dhcp fails) |
40 |
57: eval dhcpcd_IFACE=\"\$\{dhcpcd_$iface\}\" |
41 |
91: if [[ ${ifconfig_IFACE} != dhcp ]]; then |
42 |
109: /sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} |
43 |
213: if [[ -z ${aliases} && -z ${inet6} && ! -e |
44 |
/var/run/dhcpcd-${IFACE}.pid ]]; then |
45 |
241: if /sbin/dhcpcd -z ${i} &>${devnull}; then |
46 |
244: /sbin/dhcpcd -z ${i} &>${devnull} || break |
47 |
260: local status_IFACE vlans_IFACE dhcpcd_IFACE |
48 |
</snip> |
49 |
|
50 |
> no, we dont ... the point is, you want dhcp, you emerge it |
51 |
> -mike |
52 |
|
53 |
No, the point is, baselayout is {checking now...okay, checked the |
54 |
baselayout ebuild} failing to set an RDEPEND on net-misc/dhcpcd. |
55 |
|
56 |
This can be solved in a number of ways: a "support-net-dhcp" type use |
57 |
flag, adding configurable support to baselayout, and then supports |
58 |
scripts to a possible virtual/dhcp-client, etc. |
59 |
|
60 |
Either way, there are discrepencies, which is the cause of contention |
61 |
of both why it is bad that it was removed, and our differences in |
62 |
viewing what function the packages should be doing. |
63 |
|
64 |
__Armando |
65 |
|
66 |
|
67 |
-- |
68 |
gentoo-dev@g.o mailing list |