# HG changeset patch # User Paul Boddie # Date 1346972298 -7200 # Node ID 5bc2f2eb7f6302de26494f7fde32543bbfb8f3bf # Parent 2c73065686857bada412bc8def75b8cf93cd5d45 Added sample configuration files and changed the installation of such files. Added some more packages to the multistrap configuration file. diff -r 2c7306568685 -r 5bc2f2eb7f63 files/etc/fstab --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/files/etc/fstab Fri Sep 07 00:58:18 2012 +0200 @@ -0,0 +1,5 @@ +# /etc/fstab: static file system information. +# +# +/dev/mmcblk0p1 / ext2 defaults 0 0 +proc /proc proc defaults 0 0 diff -r 2c7306568685 -r 5bc2f2eb7f63 files/etc/hostname --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/files/etc/hostname Fri Sep 07 00:58:18 2012 +0200 @@ -0,0 +1,1 @@ +nanonote diff -r 2c7306568685 -r 5bc2f2eb7f63 files/etc/network/interfaces --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/files/etc/network/interfaces Fri Sep 07 00:58:18 2012 +0200 @@ -0,0 +1,22 @@ +# This file describes the network interfaces available on your system +# and how to activate them. For more information, see interfaces(5). + +# The loopback network interface +auto lo +iface lo inet loopback + +# This is a list of hotpluggable network interfaces. +# They will be activated automatically by the hotplug subsystem. +mapping hotplug + script grep + map usb0 + +# The primary network interface +iface usb0 inet static + network 192.168.254.0 + broadcast 192.168.254.255 + address 192.168.254.102 + netmask 255.255.255.0 + up route add default gw 192.168.254.100 + +auto usb0 diff -r 2c7306568685 -r 5bc2f2eb7f63 multistrap-squeeze-mipsel.conf --- a/multistrap-squeeze-mipsel.conf Wed Sep 05 00:33:44 2012 +0200 +++ b/multistrap-squeeze-mipsel.conf Fri Sep 07 00:58:18 2012 +0200 @@ -16,7 +16,8 @@ aptsources=Grip Debian [Grip] -packages=udev busybox-static openssh-server net-tools python python-pygame +packages=udev busybox-static +packages=openssh-server openssh-client dialog module-init-tools inetutils-ping net-tools ifupdown python python-pygame vim source=http://www.emdebian.org/grip keyring=emdebian-archive-keyring suite=squeeze diff -r 2c7306568685 -r 5bc2f2eb7f63 qi-emdebian-postsetup --- a/qi-emdebian-postsetup Wed Sep 05 00:33:44 2012 +0200 +++ b/qi-emdebian-postsetup Fri Sep 07 00:58:18 2012 +0200 @@ -66,13 +66,11 @@ cp "$BUILD/etc/modules" "$ROOTDIR/etc/" fi -# Copy configuration files. +# Copy configuration files such as fstab, hostname, interfaces, resolv.conf. -cp "$BUILD/etc/fstab" "$ROOTDIR/etc/" -cp "$BUILD/etc/network/interfaces" "$ROOTDIR/etc/network/" +cp -R "$BUILD/etc/"* "$ROOTDIR/etc/" # Also required for a "first boot" script: -# /etc/hostname # /etc/resolv.conf # Make devices.