1.1 --- a/README.txt Thu Apr 15 00:44:21 2010 +0200
1.2 +++ b/README.txt Wed May 12 02:14:32 2010 +0200
1.3 @@ -231,7 +231,7 @@
1.4 Again, as a privileged user, these images are then populated with the package
1.5 manager contents as follows:
1.6
1.7 -uml-postsetupfs
1.8 +sudo uml-postsetupfs
1.9
1.10 NOTE: Add Linux build process.
1.11
2.1 --- a/uml-postsetupfs Thu Apr 15 00:44:21 2010 +0200
2.2 +++ b/uml-postsetupfs Wed May 12 02:14:32 2010 +0200
2.3 @@ -30,15 +30,15 @@
2.4 mkdir $IMAGEDIR
2.5 fi
2.6
2.7 +echo "Initialising device files..."
2.8 +chroot $PACKAGEROOT /bin/bash -c 'mount -t proc proc /proc; cd /dev; ./MAKEDEV generic; umount /proc'
2.9 +
2.10 echo "Accessing the image..."
2.11 mount -o loop $IMAGE $IMAGEDIR || exit 1
2.12
2.13 echo "Copying the filesystem into the image..."
2.14 cp -a $PACKAGEROOT/* $IMAGEDIR
2.15
2.16 -echo "Initialising device files..."
2.17 -chroot $PACKAGEROOT /bin/bash -c 'mount -t proc proc /proc; cd /dev; MAKEDEV generic; umount /proc'
2.18 -
2.19 echo "Unmounting the image..."
2.20 umount $IMAGEDIR
2.21 rmdir $IMAGEDIR
3.1 --- a/user-to-uml Thu Apr 15 00:44:21 2010 +0200
3.2 +++ b/user-to-uml Wed May 12 02:14:32 2010 +0200
3.3 @@ -17,6 +17,8 @@
3.4 mkdir $PACKAGEROOT/dev
3.5 fi
3.6
3.7 +cp /dev/MAKEDEV $PACKAGEROOT/dev
3.8 +
3.9 echo "Removing any linked /proc entry..."
3.10 if [ -h "$PACKAGEROOT/proc" ]; then
3.11 rm $PACKAGEROOT/proc
3.12 @@ -35,7 +37,7 @@
3.13 echo "Reconfiguring the console settings..."
3.14 if [ ! -e "$PACKAGEROOT/etc/inittab.orig" ]; then
3.15 cp $PACKAGEROOT/etc/inittab $PACKAGEROOT/etc/inittab.orig
3.16 - grep -v "getty" $PACKAGEROOT/etc/inittab.save > $PACKAGEROOT/etc/inittab
3.17 + grep -v "getty" $PACKAGEROOT/etc/inittab.orig > $PACKAGEROOT/etc/inittab
3.18 echo "# We launch just one console for UML:" >> $PACKAGEROOT/etc/inittab
3.19 echo "c0:1235:respawn:/sbin/getty 38400 tty0 linux" >> $PACKAGEROOT/etc/inittab
3.20