Merge lp:~cyphermox/ubuntu/maverick/casper/netmount_if_conf_in_initrd into lp:ubuntu/maverick/casper

Proposed by Mathieu Trudel-Lapierre
Status: Merged
Merged at revision: 827
Proposed branch: lp:~cyphermox/ubuntu/maverick/casper/netmount_if_conf_in_initrd
Merge into: lp:ubuntu/maverick/casper
Diff against target: 28 lines (+9/-1)
2 files modified
debian/changelog (+8/-0)
scripts/casper (+1/-1)
To merge this branch: bzr merge lp:~cyphermox/ubuntu/maverick/casper/netmount_if_conf_in_initrd
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email: mp+31541@code.launchpad.net

Description of the change

Use configure_networking provided by scripts/functions which is sourced by init inside initrd; to configure and initialize the network card used to boot the system.

AFAIK, this might not be ideal, but I could not think of an alternate way to take care of initializing the interface used to boot the system. Another thing that might be better would be to bring in configure_networking in casper's functions, but since I could not find another case that uses network booting/mounting with casper than the live CD, this seemed sufficient.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-07-15 10:51:10 +0000
3+++ debian/changelog 2010-08-02 14:02:45 +0000
4@@ -1,3 +1,11 @@
5+casper (1.239) UNRELEASED; urgency=low
6+
7+ * Use configure_networking at do_netmount; it's at least more resilient
8+ than a simple ipconfig call since it retries, and it properly parses
9+ BOOTIF to know which devices to configure. (LP: #602273)
10+
11+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Fri, 30 Jul 2010 17:00:49 -0400
12+
13 casper (1.238) maverick; urgency=low
14
15 [ Alex Chiang ]
16
17=== modified file 'scripts/casper'
18--- scripts/casper 2010-05-28 15:05:42 +0000
19+++ scripts/casper 2010-08-02 14:02:45 +0000
20@@ -191,7 +191,7 @@
21 /sbin/udevadm trigger
22 /sbin/udevadm settle
23
24- ipconfig ${DEVICE} /tmp/net-${DEVICE}.conf | tee /netboot.config
25+ configure_networking | tee /netboot.config
26
27 if [ "${NFSROOT}" = "auto" ]; then
28 NFSROOT=${ROOTSERVER}:${ROOTPATH}

Subscribers

People subscribed via source and target branches