When creating an image for Karmic, the folder /etc/network is no-existent

Bug #431917 reported by Sébastien Joubert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
RootStock
Fix Released
Undecided
Oliver Grawert

Bug Description

here is a patch... please correct the file names. It's against rootstock-0.1.1

--- rootstock 2009-08-26 07:05:49.000000000 -0400
+++ ../../rootstock-0.1.1/rootstock 2009-09-17 10:59:10.000000000 -0400
@@ -561,7 +561,9 @@
 echo "proc /proc proc defaults 0 0" >$MOUNTPOINT/etc/fstab

 # set up basic networking
-INTERFACES="$MOUNTPOINT/etc/network/interfaces"
+NETWORKDIR="$MOUNTPOINT/etc/network"
+INTERFACES="$NETWORKDIR/interfaces"
+mkdir -p $NETWORKDIR
 echo "auto lo" >$INTERFACES
 echo "iface lo inet loopback" >>$INTERFACES

Related branches

Revision history for this message
Oliver Grawert (ogra) wrote :

rootstock (0.1.2-0ubuntu1) karmic; urgency=low

  * New Upstream bugfixes
    - adjust for new upstart behavior in karmic
    - speed up debootstrap run if qemu-arm-static is installed
    - add fix to create /etc/network/interfaces in cases where it does not exist
      (LP: #431917), thanks to sebjoub
  * add dependency on qemu-arm-static

 -- Oliver Grawert <email address hidden> Wed, 23 Sep 2009 09:59:05 +0200

Changed in project-rootstock:
assignee: nobody → Oliver Grawert (ogra)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.