FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-03-2008, 06:57 PM
David Cantrell
 
Default If dhcp is in use, copy dhclient in to the initrd.

---
mkinitrd | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mkinitrd b/mkinitrd
index 1316189..2bb1e0f 100755
--- a/mkinitrd
+++ b/mkinitrd
@@ -1371,6 +1371,7 @@ if [ -n "$raiddevices" ]; then
fi

if [ "$root" == "dhcp" ]; then
+ inst "/sbin/dhclient" "$MNTIMAGE" /sbin/dhclient
inst "/usr/sbin/nbd-client" "$MNTIMAGE" /sbin/nbd-client
fi

--
1.6.0.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 12-03-2008, 07:07 PM
Hans de Goede
 
Default If dhcp is in use, copy dhclient in to the initrd.

David Cantrell wrote:

---
mkinitrd | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)



Looks good to me, shouldn't we create directories for the leases file etc too ?

Regards,

Hans


diff --git a/mkinitrd b/mkinitrd
index 1316189..2bb1e0f 100755
--- a/mkinitrd
+++ b/mkinitrd
@@ -1371,6 +1371,7 @@ if [ -n "$raiddevices" ]; then
fi

if [ "$root" == "dhcp" ]; then

+ inst "/sbin/dhclient" "$MNTIMAGE" /sbin/dhclient
inst "/usr/sbin/nbd-client" "$MNTIMAGE" /sbin/nbd-client
fi



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 12-03-2008, 07:17 PM
David Cantrell
 
Default If dhcp is in use, copy dhclient in to the initrd.

Hans de Goede wrote:
>
>
> David Cantrell wrote:
>> ---
>> mkinitrd | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>
> Looks good to me, shouldn't we create directories for the leases file
> etc too ?
>
> Regards,
>
> Hans

See line 722 of mkinitrd

>
>> diff --git a/mkinitrd b/mkinitrd
>> index 1316189..2bb1e0f 100755
>> --- a/mkinitrd
>> +++ b/mkinitrd
>> @@ -1371,6 +1371,7 @@ if [ -n "$raiddevices" ]; then
>> fi
>>
>> if [ "$root" == "dhcp" ]; then
>> + inst "/sbin/dhclient" "$MNTIMAGE" /sbin/dhclient
>> inst "/usr/sbin/nbd-client" "$MNTIMAGE" /sbin/nbd-client
>> fi
>>
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org