qi-emdebian

Changeset

2:5bc2f2eb7f63
2012-09-07 Paul Boddie raw files shortlog changelog graph Added sample configuration files and changed the installation of such files. Added some more packages to the multistrap configuration file.
files/etc/fstab (file) files/etc/hostname (file) files/etc/network/interfaces (file) multistrap-squeeze-mipsel.conf (file) qi-emdebian-postsetup (file)
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/files/etc/fstab	Fri Sep 07 00:58:18 2012 +0200
     1.3 @@ -0,0 +1,5 @@
     1.4 +# /etc/fstab: static file system information.
     1.5 +#
     1.6 +# <file system> <mount point>   <type>  <options>       <dump>  <pass>
     1.7 +/dev/mmcblk0p1  /               ext2    defaults        0       0
     1.8 +proc            /proc           proc    defaults        0       0
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/files/etc/hostname	Fri Sep 07 00:58:18 2012 +0200
     2.3 @@ -0,0 +1,1 @@
     2.4 +nanonote
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/files/etc/network/interfaces	Fri Sep 07 00:58:18 2012 +0200
     3.3 @@ -0,0 +1,22 @@
     3.4 +# This file describes the network interfaces available on your system
     3.5 +# and how to activate them. For more information, see interfaces(5).
     3.6 +
     3.7 +# The loopback network interface
     3.8 +auto lo
     3.9 +iface lo inet loopback
    3.10 +
    3.11 +# This is a list of hotpluggable network interfaces.
    3.12 +# They will be activated automatically by the hotplug subsystem.
    3.13 +mapping hotplug
    3.14 +	script grep
    3.15 +	map usb0
    3.16 +
    3.17 +# The primary network interface
    3.18 +iface usb0 inet static
    3.19 +	network 192.168.254.0
    3.20 +	broadcast 192.168.254.255
    3.21 +	address 192.168.254.102
    3.22 +	netmask 255.255.255.0
    3.23 +	up route add default gw 192.168.254.100
    3.24 +
    3.25 +auto usb0
     4.1 --- a/multistrap-squeeze-mipsel.conf	Wed Sep 05 00:33:44 2012 +0200
     4.2 +++ b/multistrap-squeeze-mipsel.conf	Fri Sep 07 00:58:18 2012 +0200
     4.3 @@ -16,7 +16,8 @@
     4.4  aptsources=Grip Debian
     4.5  
     4.6  [Grip]
     4.7 -packages=udev busybox-static openssh-server net-tools python python-pygame
     4.8 +packages=udev busybox-static
     4.9 +packages=openssh-server openssh-client dialog module-init-tools inetutils-ping net-tools ifupdown python python-pygame vim
    4.10  source=http://www.emdebian.org/grip
    4.11  keyring=emdebian-archive-keyring
    4.12  suite=squeeze
     5.1 --- a/qi-emdebian-postsetup	Wed Sep 05 00:33:44 2012 +0200
     5.2 +++ b/qi-emdebian-postsetup	Fri Sep 07 00:58:18 2012 +0200
     5.3 @@ -66,13 +66,11 @@
     5.4      cp "$BUILD/etc/modules" "$ROOTDIR/etc/"
     5.5  fi
     5.6  
     5.7 -# Copy configuration files.
     5.8 +# Copy configuration files such as fstab, hostname, interfaces, resolv.conf.
     5.9  
    5.10 -cp "$BUILD/etc/fstab" "$ROOTDIR/etc/"
    5.11 -cp "$BUILD/etc/network/interfaces" "$ROOTDIR/etc/network/"
    5.12 +cp -R "$BUILD/etc/"* "$ROOTDIR/etc/"
    5.13  
    5.14  # Also required for a "first boot" script:
    5.15 -# /etc/hostname
    5.16  # /etc/resolv.conf
    5.17  
    5.18  # Make devices.