From a8efd2d47bbcb6331c0f3c518848d164f5c661f0 Mon Sep 17 00:00:00 2001 From: josch Date: Sat, 21 Jun 2014 15:19:07 +0200 Subject: [PATCH] add beagleboard, minimal, routerstationpro --- beagleboard/config | 4 +++ beagleboard/debconfseed.txt | 23 ++++++++++++++ beagleboard/hooks/create_user | 1 + beagleboard/hooks/empty_password | 1 + beagleboard/hooks/firstboot | 1 + beagleboard/hooks/serial_tty | 1 + beagleboard/multistrap.conf | 31 +++++++++++++++++++ beagleboard/packages/base | 1 + beagleboard/packages/bluez | 1 + beagleboard/packages/e17 | 1 + beagleboard/packages/net | 1 + beagleboard/packages/omap3 | 1 + beagleboard/packages/wlan | 1 + beagleboard/packages/xorg | 1 + .../apt/apt.conf.d/99no-install-recommends | 1 + .../root/etc/apt/apt.conf.d/99no-pdiffs | 1 + beagleboard/root/etc/fstab | 9 ++++++ beagleboard/root/etc/hostname | 1 + beagleboard/root/etc/hosts | 2 ++ beagleboard/root/etc/ld.so.conf | 1 + beagleboard/root/etc/modules | 1 + beagleboard/root/etc/network/interfaces | 8 +++++ beagleboard/root/etc/ssh/ssh_host_dsa_key | 1 + beagleboard/root/etc/ssh/ssh_host_ecdsa_key | 1 + beagleboard/root/etc/ssh/ssh_host_rsa_key | 1 + beagleboard/root/usr/sbin/policy-rc.d | 1 + minimal/config | 4 +++ minimal/debconfseed.txt | 23 ++++++++++++++ minimal/hooks/create_user | 2 ++ minimal/hooks/empty_password | 2 ++ minimal/hooks/firstboot | 23 ++++++++++++++ minimal/hooks/serial_tty | 1 + minimal/multistrap.conf | 21 +++++++++++++ minimal/packages/base | 12 +++++++ minimal/packages/net | 12 +++++++ .../apt/apt.conf.d/99no-install-recommends | 1 + minimal/root/etc/apt/apt.conf.d/99no-pdiffs | 1 + minimal/root/etc/fstab | 8 +++++ minimal/root/etc/hostname | 1 + minimal/root/etc/hosts | 2 ++ minimal/root/etc/ld.so.conf | 2 ++ minimal/root/etc/network/interfaces | 2 ++ minimal/root/etc/ssh/ssh_host_dsa_key | 0 minimal/root/etc/ssh/ssh_host_ecdsa_key | 0 minimal/root/etc/ssh/ssh_host_rsa_key | 0 minimal/root/usr/sbin/policy-rc.d | 3 ++ routerstationpro/config | 4 +++ routerstationpro/debconfseed.txt | 23 ++++++++++++++ routerstationpro/hooks/create_user | 1 + routerstationpro/hooks/empty_password | 1 + routerstationpro/hooks/firstboot | 1 + routerstationpro/hooks/serial_tty | 1 + routerstationpro/multistrap.conf | 21 +++++++++++++ routerstationpro/packages/base | 1 + routerstationpro/packages/qt4 | 3 ++ .../apt/apt.conf.d/99no-install-recommends | 1 + .../root/etc/apt/apt.conf.d/99no-pdiffs | 1 + routerstationpro/root/etc/fstab | 8 +++++ routerstationpro/root/etc/hostname | 1 + routerstationpro/root/etc/hosts | 2 ++ routerstationpro/root/etc/ld.so.conf | 1 + routerstationpro/root/etc/network/interfaces | 2 ++ .../root/etc/ssh/ssh_host_dsa_key | 1 + .../root/etc/ssh/ssh_host_ecdsa_key | 1 + .../root/etc/ssh/ssh_host_rsa_key | 1 + routerstationpro/root/usr/sbin/policy-rc.d | 1 + 66 files changed, 293 insertions(+) create mode 100644 beagleboard/config create mode 100644 beagleboard/debconfseed.txt create mode 120000 beagleboard/hooks/create_user create mode 120000 beagleboard/hooks/empty_password create mode 120000 beagleboard/hooks/firstboot create mode 120000 beagleboard/hooks/serial_tty create mode 100644 beagleboard/multistrap.conf create mode 120000 beagleboard/packages/base create mode 120000 beagleboard/packages/bluez create mode 100644 beagleboard/packages/e17 create mode 120000 beagleboard/packages/net create mode 100644 beagleboard/packages/omap3 create mode 120000 beagleboard/packages/wlan create mode 120000 beagleboard/packages/xorg create mode 120000 beagleboard/root/etc/apt/apt.conf.d/99no-install-recommends create mode 120000 beagleboard/root/etc/apt/apt.conf.d/99no-pdiffs create mode 100644 beagleboard/root/etc/fstab create mode 100644 beagleboard/root/etc/hostname create mode 100644 beagleboard/root/etc/hosts create mode 120000 beagleboard/root/etc/ld.so.conf create mode 100644 beagleboard/root/etc/modules create mode 100644 beagleboard/root/etc/network/interfaces create mode 120000 beagleboard/root/etc/ssh/ssh_host_dsa_key create mode 120000 beagleboard/root/etc/ssh/ssh_host_ecdsa_key create mode 120000 beagleboard/root/etc/ssh/ssh_host_rsa_key create mode 120000 beagleboard/root/usr/sbin/policy-rc.d create mode 100644 minimal/config create mode 100644 minimal/debconfseed.txt create mode 100644 minimal/hooks/create_user create mode 100644 minimal/hooks/empty_password create mode 100644 minimal/hooks/firstboot create mode 100644 minimal/hooks/serial_tty create mode 100644 minimal/multistrap.conf create mode 100644 minimal/packages/base create mode 100644 minimal/packages/net create mode 100644 minimal/root/etc/apt/apt.conf.d/99no-install-recommends create mode 100644 minimal/root/etc/apt/apt.conf.d/99no-pdiffs create mode 100644 minimal/root/etc/fstab create mode 100644 minimal/root/etc/hostname create mode 100644 minimal/root/etc/hosts create mode 100644 minimal/root/etc/ld.so.conf create mode 100644 minimal/root/etc/network/interfaces create mode 100644 minimal/root/etc/ssh/ssh_host_dsa_key create mode 100644 minimal/root/etc/ssh/ssh_host_ecdsa_key create mode 100644 minimal/root/etc/ssh/ssh_host_rsa_key create mode 100755 minimal/root/usr/sbin/policy-rc.d create mode 100644 routerstationpro/config create mode 100644 routerstationpro/debconfseed.txt create mode 120000 routerstationpro/hooks/create_user create mode 120000 routerstationpro/hooks/empty_password create mode 120000 routerstationpro/hooks/firstboot create mode 120000 routerstationpro/hooks/serial_tty create mode 100644 routerstationpro/multistrap.conf create mode 120000 routerstationpro/packages/base create mode 100644 routerstationpro/packages/qt4 create mode 120000 routerstationpro/root/etc/apt/apt.conf.d/99no-install-recommends create mode 120000 routerstationpro/root/etc/apt/apt.conf.d/99no-pdiffs create mode 100644 routerstationpro/root/etc/fstab create mode 100644 routerstationpro/root/etc/hostname create mode 100644 routerstationpro/root/etc/hosts create mode 120000 routerstationpro/root/etc/ld.so.conf create mode 100644 routerstationpro/root/etc/network/interfaces create mode 120000 routerstationpro/root/etc/ssh/ssh_host_dsa_key create mode 120000 routerstationpro/root/etc/ssh/ssh_host_ecdsa_key create mode 120000 routerstationpro/root/etc/ssh/ssh_host_rsa_key create mode 120000 routerstationpro/root/usr/sbin/policy-rc.d diff --git a/beagleboard/config b/beagleboard/config new file mode 100644 index 0000000..81780c9 --- /dev/null +++ b/beagleboard/config @@ -0,0 +1,4 @@ +SUITE="sid" +ARCH="armhf" +ROOTDIR="debian-$SUITE-$ARCH-`date +%F`" +MIRROR="http://cdn.debian.net/debian" diff --git a/beagleboard/debconfseed.txt b/beagleboard/debconfseed.txt new file mode 100644 index 0000000..8502a8d --- /dev/null +++ b/beagleboard/debconfseed.txt @@ -0,0 +1,23 @@ +locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8 +locales locales/default_environment_locale select en_US.UTF-8 +tzdata tzdata/Zones/Australia select +tzdata tzdata/Zones/US select +tzdata tzdata/Zones/Asia select +tzdata tzdata/Zones/Etc select UTC +tzdata tzdata/Zones/SystemV select +tzdata tzdata/Zones/Arctic select +tzdata tzdata/Zones/Pacific select +tzdata tzdata/Zones/Antarctica select +tzdata tzdata/Zones/Europe select Berlin +tzdata tzdata/Zones/Africa select +tzdata tzdata/Zones/America select +tzdata tzdata/Areas select Europe +tzdata tzdata/Zones/Atlantic select +tzdata tzdata/Zones/Indian select +nodm nodm/xinit string /usr/bin/xinit +nodm nodm/min_session_time string 60 +nodm nodm/enabled boolean true +nodm nodm/xsession string /etc/X11/Xsession +nodm nodm/x_options string vt7 -nolisten tcp +nodm nodm/first_vt string 7 +nodm nodm/user string user diff --git a/beagleboard/hooks/create_user b/beagleboard/hooks/create_user new file mode 120000 index 0000000..ae9b334 --- /dev/null +++ b/beagleboard/hooks/create_user @@ -0,0 +1 @@ +../../default/hooks/create_user \ No newline at end of file diff --git a/beagleboard/hooks/empty_password b/beagleboard/hooks/empty_password new file mode 120000 index 0000000..613fec1 --- /dev/null +++ b/beagleboard/hooks/empty_password @@ -0,0 +1 @@ +../../default/hooks/empty_password \ No newline at end of file diff --git a/beagleboard/hooks/firstboot b/beagleboard/hooks/firstboot new file mode 120000 index 0000000..d978812 --- /dev/null +++ b/beagleboard/hooks/firstboot @@ -0,0 +1 @@ +../../default/hooks/firstboot \ No newline at end of file diff --git a/beagleboard/hooks/serial_tty b/beagleboard/hooks/serial_tty new file mode 120000 index 0000000..f77cf2e --- /dev/null +++ b/beagleboard/hooks/serial_tty @@ -0,0 +1 @@ +../../default/hooks/serial_tty \ No newline at end of file diff --git a/beagleboard/multistrap.conf b/beagleboard/multistrap.conf new file mode 100644 index 0000000..01a5fe2 --- /dev/null +++ b/beagleboard/multistrap.conf @@ -0,0 +1,31 @@ +[General] +arch=$ARCH +directory=$ROOTDIR +cleanup=true +unpack=true +bootstrap=Debian_bootstrap Debian_unreleased +aptsources=Debian_apt Debian_apt_unreleased +allowrecommends=false +addimportant=false + +[Debian_bootstrap] +packages=debian-ports-archive-keyring $PACKAGES +source=$MIRROR +suite=$SUITE +omitdebsrc=true + +[Debian_unreleased] +packages=$PACKAGES +source=$MIRROR +suite=unreleased +omitdebsrc=true + +[Debian_apt] +source=http://ftp.debian-ports.org/debian +suite=$SUITE +omitdebsrc=true + +[Debian_apt_unreleased] +source=http://ftp.debian-ports.org/debian +suite=unreleased +omitdebsrc=true diff --git a/beagleboard/packages/base b/beagleboard/packages/base new file mode 120000 index 0000000..5b0599a --- /dev/null +++ b/beagleboard/packages/base @@ -0,0 +1 @@ +../../default/packages/base \ No newline at end of file diff --git a/beagleboard/packages/bluez b/beagleboard/packages/bluez new file mode 120000 index 0000000..1a3ab5f --- /dev/null +++ b/beagleboard/packages/bluez @@ -0,0 +1 @@ +../../default/packages/bluez \ No newline at end of file diff --git a/beagleboard/packages/e17 b/beagleboard/packages/e17 new file mode 100644 index 0000000..8c021a2 --- /dev/null +++ b/beagleboard/packages/e17 @@ -0,0 +1 @@ +e17 diff --git a/beagleboard/packages/net b/beagleboard/packages/net new file mode 120000 index 0000000..21c287e --- /dev/null +++ b/beagleboard/packages/net @@ -0,0 +1 @@ +../../default/packages/net \ No newline at end of file diff --git a/beagleboard/packages/omap3 b/beagleboard/packages/omap3 new file mode 100644 index 0000000..774ff4f --- /dev/null +++ b/beagleboard/packages/omap3 @@ -0,0 +1 @@ +xserver-xorg-video-omap3 diff --git a/beagleboard/packages/wlan b/beagleboard/packages/wlan new file mode 120000 index 0000000..8328dad --- /dev/null +++ b/beagleboard/packages/wlan @@ -0,0 +1 @@ +../../default/packages/wlan \ No newline at end of file diff --git a/beagleboard/packages/xorg b/beagleboard/packages/xorg new file mode 120000 index 0000000..7c96297 --- /dev/null +++ b/beagleboard/packages/xorg @@ -0,0 +1 @@ +../../default/packages/xorg \ No newline at end of file diff --git a/beagleboard/root/etc/apt/apt.conf.d/99no-install-recommends b/beagleboard/root/etc/apt/apt.conf.d/99no-install-recommends new file mode 120000 index 0000000..9cf79f1 --- /dev/null +++ b/beagleboard/root/etc/apt/apt.conf.d/99no-install-recommends @@ -0,0 +1 @@ +../../../../../default/root/etc/apt/apt.conf.d/99no-install-recommends \ No newline at end of file diff --git a/beagleboard/root/etc/apt/apt.conf.d/99no-pdiffs b/beagleboard/root/etc/apt/apt.conf.d/99no-pdiffs new file mode 120000 index 0000000..a8c3da6 --- /dev/null +++ b/beagleboard/root/etc/apt/apt.conf.d/99no-pdiffs @@ -0,0 +1 @@ +../../../../../default/root/etc/apt/apt.conf.d/99no-pdiffs \ No newline at end of file diff --git a/beagleboard/root/etc/fstab b/beagleboard/root/etc/fstab new file mode 100644 index 0000000..696ab93 --- /dev/null +++ b/beagleboard/root/etc/fstab @@ -0,0 +1,9 @@ +# +rootfs / auto defaults,errors=remount-ro,noatime 0 1 +proc /proc proc defaults 0 0 +tmpfs /tmp tmpfs defaults,noatime 0 0 +tmpfs /var/lock tmpfs defaults,noatime 0 0 +tmpfs /var/run tmpfs defaults,noatime 0 0 +tmpfs /var/log tmpfs defaults,noatime 0 0 +tmpfs /etc/network/run tmpfs defaults,noatime 0 0 +/dev/mmcblk0p1 /boot vfat defaults 0 0 diff --git a/beagleboard/root/etc/hostname b/beagleboard/root/etc/hostname new file mode 100644 index 0000000..876ccc9 --- /dev/null +++ b/beagleboard/root/etc/hostname @@ -0,0 +1 @@ +beagleboard diff --git a/beagleboard/root/etc/hosts b/beagleboard/root/etc/hosts new file mode 100644 index 0000000..a290f77 --- /dev/null +++ b/beagleboard/root/etc/hosts @@ -0,0 +1,2 @@ +127.0.0.1 localhost +127.0.0.1 beagleboard diff --git a/beagleboard/root/etc/ld.so.conf b/beagleboard/root/etc/ld.so.conf new file mode 120000 index 0000000..e8d9ce9 --- /dev/null +++ b/beagleboard/root/etc/ld.so.conf @@ -0,0 +1 @@ +../../../default/root/etc/ld.so.conf \ No newline at end of file diff --git a/beagleboard/root/etc/modules b/beagleboard/root/etc/modules new file mode 100644 index 0000000..e9cdf9a --- /dev/null +++ b/beagleboard/root/etc/modules @@ -0,0 +1 @@ +g_ether diff --git a/beagleboard/root/etc/network/interfaces b/beagleboard/root/etc/network/interfaces new file mode 100644 index 0000000..c62c4b2 --- /dev/null +++ b/beagleboard/root/etc/network/interfaces @@ -0,0 +1,8 @@ +auto lo +iface lo inet loopback + +auto usb0 +iface usb0 inet static + address 192.168.0.202 + netmask 255.255.255.0 + gateway 192.168.0.200 diff --git a/beagleboard/root/etc/ssh/ssh_host_dsa_key b/beagleboard/root/etc/ssh/ssh_host_dsa_key new file mode 120000 index 0000000..3c63728 --- /dev/null +++ b/beagleboard/root/etc/ssh/ssh_host_dsa_key @@ -0,0 +1 @@ +../../../../default/root/etc/ssh/ssh_host_dsa_key \ No newline at end of file diff --git a/beagleboard/root/etc/ssh/ssh_host_ecdsa_key b/beagleboard/root/etc/ssh/ssh_host_ecdsa_key new file mode 120000 index 0000000..f5f2e31 --- /dev/null +++ b/beagleboard/root/etc/ssh/ssh_host_ecdsa_key @@ -0,0 +1 @@ +../../../../default/root/etc/ssh/ssh_host_ecdsa_key \ No newline at end of file diff --git a/beagleboard/root/etc/ssh/ssh_host_rsa_key b/beagleboard/root/etc/ssh/ssh_host_rsa_key new file mode 120000 index 0000000..9753b5a --- /dev/null +++ b/beagleboard/root/etc/ssh/ssh_host_rsa_key @@ -0,0 +1 @@ +../../../../default/root/etc/ssh/ssh_host_rsa_key \ No newline at end of file diff --git a/beagleboard/root/usr/sbin/policy-rc.d b/beagleboard/root/usr/sbin/policy-rc.d new file mode 120000 index 0000000..93e300d --- /dev/null +++ b/beagleboard/root/usr/sbin/policy-rc.d @@ -0,0 +1 @@ +../../../../default/root/usr/sbin/policy-rc.d \ No newline at end of file diff --git a/minimal/config b/minimal/config new file mode 100644 index 0000000..78873f4 --- /dev/null +++ b/minimal/config @@ -0,0 +1,4 @@ +SUITE="sid" +ARCH="armel" +ROOTDIR="debian-$SUITE-$ARCH-`date +%F`" +MIRROR="http://cdn.debian.net/debian" diff --git a/minimal/debconfseed.txt b/minimal/debconfseed.txt new file mode 100644 index 0000000..8502a8d --- /dev/null +++ b/minimal/debconfseed.txt @@ -0,0 +1,23 @@ +locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8 +locales locales/default_environment_locale select en_US.UTF-8 +tzdata tzdata/Zones/Australia select +tzdata tzdata/Zones/US select +tzdata tzdata/Zones/Asia select +tzdata tzdata/Zones/Etc select UTC +tzdata tzdata/Zones/SystemV select +tzdata tzdata/Zones/Arctic select +tzdata tzdata/Zones/Pacific select +tzdata tzdata/Zones/Antarctica select +tzdata tzdata/Zones/Europe select Berlin +tzdata tzdata/Zones/Africa select +tzdata tzdata/Zones/America select +tzdata tzdata/Areas select Europe +tzdata tzdata/Zones/Atlantic select +tzdata tzdata/Zones/Indian select +nodm nodm/xinit string /usr/bin/xinit +nodm nodm/min_session_time string 60 +nodm nodm/enabled boolean true +nodm nodm/xsession string /etc/X11/Xsession +nodm nodm/x_options string vt7 -nolisten tcp +nodm nodm/first_vt string 7 +nodm nodm/user string user diff --git a/minimal/hooks/create_user b/minimal/hooks/create_user new file mode 100644 index 0000000..0404ea2 --- /dev/null +++ b/minimal/hooks/create_user @@ -0,0 +1,2 @@ +fakechroot chroot $ROOTDIR useradd user -p `openssl passwd -crypt -salt // ""` -s /bin/bash --create-home +fakechroot chroot $ROOTDIR usermod -a -G audio,dialout user diff --git a/minimal/hooks/empty_password b/minimal/hooks/empty_password new file mode 100644 index 0000000..1c48613 --- /dev/null +++ b/minimal/hooks/empty_password @@ -0,0 +1,2 @@ +sed -i 's/\(root:\)[^:]*\(:\)/\1'`openssl passwd -crypt -salt // "" | sed 's/\(\/\|\\\|&\)/\\\&/g'`'\2/' $ROOTDIR/etc/shadow +sed -i 's/\(PermitEmptyPasswords\) no/\1 yes/' $ROOTDIR/etc/ssh/sshd_config diff --git a/minimal/hooks/firstboot b/minimal/hooks/firstboot new file mode 100644 index 0000000..ca784d1 --- /dev/null +++ b/minimal/hooks/firstboot @@ -0,0 +1,23 @@ +cat > $ROOTDIR/etc/init.d/firstboot << __END__ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: firstboot +# Required-Start: \$all +# Required-Stop: +# Default-Start: S +# Default-Stop: +### END INIT INFO + +update-rc.d -f firstboot remove + +for f in rsa dsa ecdsa; do rm -rf /etc/ssh/ssh_host_\${f}_key; done +echo "generating ssh rsa key..." +ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C "" -N "" +echo "generating ssh dsa key..." +ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C "" -N "" +echo "generating ssh ecdsa key..." +ssh-keygen -q -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -C "" -N "" +__END__ + +chmod +x $ROOTDIR/etc/init.d/firstboot +fakechroot chroot $ROOTDIR update-rc.d firstboot start 99 S diff --git a/minimal/hooks/serial_tty b/minimal/hooks/serial_tty new file mode 100644 index 0000000..4066a73 --- /dev/null +++ b/minimal/hooks/serial_tty @@ -0,0 +1 @@ +echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" >> $ROOTDIR/etc/inittab diff --git a/minimal/multistrap.conf b/minimal/multistrap.conf new file mode 100644 index 0000000..f257743 --- /dev/null +++ b/minimal/multistrap.conf @@ -0,0 +1,21 @@ +[General] +arch=$ARCH +directory=$ROOTDIR +cleanup=true +unpack=true +bootstrap=Debian_bootstrap +aptsources=Debian +allowrecommends=false +addimportant=false + +[Debian_bootstrap] +packages=$PACKAGES +source=$MIRROR +suite=$SUITE +omitdebsrc=true + +[Debian] +source=http://cdn.debian.net/debian +keyring=debian-archive-keyring +suite=$SUITE +omitdebsrc=true diff --git a/minimal/packages/base b/minimal/packages/base new file mode 100644 index 0000000..830cf70 --- /dev/null +++ b/minimal/packages/base @@ -0,0 +1,12 @@ +udev +kmod +apt +locales +procps +conspy +man-db +fbset +openssh-server +screen +less +vim diff --git a/minimal/packages/net b/minimal/packages/net new file mode 100644 index 0000000..87d45ae --- /dev/null +++ b/minimal/packages/net @@ -0,0 +1,12 @@ +curl +wget +ntpdate +vpnc +rsync +dhcp3-client +ifupdown +net-tools +iproute +dnsutils +iputils-ping +ppp diff --git a/minimal/root/etc/apt/apt.conf.d/99no-install-recommends b/minimal/root/etc/apt/apt.conf.d/99no-install-recommends new file mode 100644 index 0000000..25ec2b3 --- /dev/null +++ b/minimal/root/etc/apt/apt.conf.d/99no-install-recommends @@ -0,0 +1 @@ +APT::Install-Recommends "0"; diff --git a/minimal/root/etc/apt/apt.conf.d/99no-pdiffs b/minimal/root/etc/apt/apt.conf.d/99no-pdiffs new file mode 100644 index 0000000..07d01de --- /dev/null +++ b/minimal/root/etc/apt/apt.conf.d/99no-pdiffs @@ -0,0 +1 @@ +Acquire::PDiffs "0"; diff --git a/minimal/root/etc/fstab b/minimal/root/etc/fstab new file mode 100644 index 0000000..a8fe557 --- /dev/null +++ b/minimal/root/etc/fstab @@ -0,0 +1,8 @@ +# +rootfs / auto defaults,errors=remount-ro,noatime 0 1 +proc /proc proc defaults 0 0 +tmpfs /tmp tmpfs defaults,noatime 0 0 +tmpfs /var/lock tmpfs defaults,noatime 0 0 +tmpfs /var/run tmpfs defaults,noatime 0 0 +tmpfs /var/log tmpfs defaults,noatime 0 0 +tmpfs /etc/network/run tmpfs defaults,noatime 0 0 diff --git a/minimal/root/etc/hostname b/minimal/root/etc/hostname new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/minimal/root/etc/hostname @@ -0,0 +1 @@ +default diff --git a/minimal/root/etc/hosts b/minimal/root/etc/hosts new file mode 100644 index 0000000..0ec197b --- /dev/null +++ b/minimal/root/etc/hosts @@ -0,0 +1,2 @@ +127.0.0.1 localhost +127.0.0.1 default diff --git a/minimal/root/etc/ld.so.conf b/minimal/root/etc/ld.so.conf new file mode 100644 index 0000000..a9d3ffc --- /dev/null +++ b/minimal/root/etc/ld.so.conf @@ -0,0 +1,2 @@ +# supply ld.so.conf for fake ldd (running libc6 postinst script will fail) +include /etc/ld.so.conf.d/*.conf diff --git a/minimal/root/etc/network/interfaces b/minimal/root/etc/network/interfaces new file mode 100644 index 0000000..f1bd92e --- /dev/null +++ b/minimal/root/etc/network/interfaces @@ -0,0 +1,2 @@ +auto lo +iface lo inet loopback diff --git a/minimal/root/etc/ssh/ssh_host_dsa_key b/minimal/root/etc/ssh/ssh_host_dsa_key new file mode 100644 index 0000000..e69de29 diff --git a/minimal/root/etc/ssh/ssh_host_ecdsa_key b/minimal/root/etc/ssh/ssh_host_ecdsa_key new file mode 100644 index 0000000..e69de29 diff --git a/minimal/root/etc/ssh/ssh_host_rsa_key b/minimal/root/etc/ssh/ssh_host_rsa_key new file mode 100644 index 0000000..e69de29 diff --git a/minimal/root/usr/sbin/policy-rc.d b/minimal/root/usr/sbin/policy-rc.d new file mode 100755 index 0000000..85d823d --- /dev/null +++ b/minimal/root/usr/sbin/policy-rc.d @@ -0,0 +1,3 @@ +#!/bin/sh +echo "sysvinit: All runlevel operations denied by policy" >&2 +exit 101 diff --git a/routerstationpro/config b/routerstationpro/config new file mode 100644 index 0000000..c954a10 --- /dev/null +++ b/routerstationpro/config @@ -0,0 +1,4 @@ +SUITE="sid" +ARCH="mips" +ROOTDIR="debian-$SUITE-$ARCH-`date +%F`" +MIRROR="http://cdn.debian.net/debian/" diff --git a/routerstationpro/debconfseed.txt b/routerstationpro/debconfseed.txt new file mode 100644 index 0000000..8502a8d --- /dev/null +++ b/routerstationpro/debconfseed.txt @@ -0,0 +1,23 @@ +locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8 +locales locales/default_environment_locale select en_US.UTF-8 +tzdata tzdata/Zones/Australia select +tzdata tzdata/Zones/US select +tzdata tzdata/Zones/Asia select +tzdata tzdata/Zones/Etc select UTC +tzdata tzdata/Zones/SystemV select +tzdata tzdata/Zones/Arctic select +tzdata tzdata/Zones/Pacific select +tzdata tzdata/Zones/Antarctica select +tzdata tzdata/Zones/Europe select Berlin +tzdata tzdata/Zones/Africa select +tzdata tzdata/Zones/America select +tzdata tzdata/Areas select Europe +tzdata tzdata/Zones/Atlantic select +tzdata tzdata/Zones/Indian select +nodm nodm/xinit string /usr/bin/xinit +nodm nodm/min_session_time string 60 +nodm nodm/enabled boolean true +nodm nodm/xsession string /etc/X11/Xsession +nodm nodm/x_options string vt7 -nolisten tcp +nodm nodm/first_vt string 7 +nodm nodm/user string user diff --git a/routerstationpro/hooks/create_user b/routerstationpro/hooks/create_user new file mode 120000 index 0000000..ae9b334 --- /dev/null +++ b/routerstationpro/hooks/create_user @@ -0,0 +1 @@ +../../default/hooks/create_user \ No newline at end of file diff --git a/routerstationpro/hooks/empty_password b/routerstationpro/hooks/empty_password new file mode 120000 index 0000000..613fec1 --- /dev/null +++ b/routerstationpro/hooks/empty_password @@ -0,0 +1 @@ +../../default/hooks/empty_password \ No newline at end of file diff --git a/routerstationpro/hooks/firstboot b/routerstationpro/hooks/firstboot new file mode 120000 index 0000000..d978812 --- /dev/null +++ b/routerstationpro/hooks/firstboot @@ -0,0 +1 @@ +../../default/hooks/firstboot \ No newline at end of file diff --git a/routerstationpro/hooks/serial_tty b/routerstationpro/hooks/serial_tty new file mode 120000 index 0000000..f77cf2e --- /dev/null +++ b/routerstationpro/hooks/serial_tty @@ -0,0 +1 @@ +../../default/hooks/serial_tty \ No newline at end of file diff --git a/routerstationpro/multistrap.conf b/routerstationpro/multistrap.conf new file mode 100644 index 0000000..94720f0 --- /dev/null +++ b/routerstationpro/multistrap.conf @@ -0,0 +1,21 @@ +[General] +arch=$ARCH +directory=$ROOTDIR +cleanup=true +unpack=true +bootstrap=Debian_bootstrap +aptsources=Debian +allowrecommends=false +addimportant=false + +[Debian_bootstrap] +packages=$PACKAGES +source=$MIRROR +suite=$SUITE +omitdebsrc=true + +[Debian] +source=http://ftp.de.debian.org/debian/ +keyring=debian-archive-keyring +suite=$SUITE +omitdebsrc=true diff --git a/routerstationpro/packages/base b/routerstationpro/packages/base new file mode 120000 index 0000000..5b0599a --- /dev/null +++ b/routerstationpro/packages/base @@ -0,0 +1 @@ +../../default/packages/base \ No newline at end of file diff --git a/routerstationpro/packages/qt4 b/routerstationpro/packages/qt4 new file mode 100644 index 0000000..e728633 --- /dev/null +++ b/routerstationpro/packages/qt4 @@ -0,0 +1,3 @@ +libqt4-core +libqt4-network +libqt4-xml \ No newline at end of file diff --git a/routerstationpro/root/etc/apt/apt.conf.d/99no-install-recommends b/routerstationpro/root/etc/apt/apt.conf.d/99no-install-recommends new file mode 120000 index 0000000..9cf79f1 --- /dev/null +++ b/routerstationpro/root/etc/apt/apt.conf.d/99no-install-recommends @@ -0,0 +1 @@ +../../../../../default/root/etc/apt/apt.conf.d/99no-install-recommends \ No newline at end of file diff --git a/routerstationpro/root/etc/apt/apt.conf.d/99no-pdiffs b/routerstationpro/root/etc/apt/apt.conf.d/99no-pdiffs new file mode 120000 index 0000000..a8c3da6 --- /dev/null +++ b/routerstationpro/root/etc/apt/apt.conf.d/99no-pdiffs @@ -0,0 +1 @@ +../../../../../default/root/etc/apt/apt.conf.d/99no-pdiffs \ No newline at end of file diff --git a/routerstationpro/root/etc/fstab b/routerstationpro/root/etc/fstab new file mode 100644 index 0000000..a8fe557 --- /dev/null +++ b/routerstationpro/root/etc/fstab @@ -0,0 +1,8 @@ +# +rootfs / auto defaults,errors=remount-ro,noatime 0 1 +proc /proc proc defaults 0 0 +tmpfs /tmp tmpfs defaults,noatime 0 0 +tmpfs /var/lock tmpfs defaults,noatime 0 0 +tmpfs /var/run tmpfs defaults,noatime 0 0 +tmpfs /var/log tmpfs defaults,noatime 0 0 +tmpfs /etc/network/run tmpfs defaults,noatime 0 0 diff --git a/routerstationpro/root/etc/hostname b/routerstationpro/root/etc/hostname new file mode 100644 index 0000000..9eb455e --- /dev/null +++ b/routerstationpro/root/etc/hostname @@ -0,0 +1 @@ +routerstationpro diff --git a/routerstationpro/root/etc/hosts b/routerstationpro/root/etc/hosts new file mode 100644 index 0000000..feb4321 --- /dev/null +++ b/routerstationpro/root/etc/hosts @@ -0,0 +1,2 @@ +127.0.0.1 localhost +127.0.0.1 routerstationpro diff --git a/routerstationpro/root/etc/ld.so.conf b/routerstationpro/root/etc/ld.so.conf new file mode 120000 index 0000000..e8d9ce9 --- /dev/null +++ b/routerstationpro/root/etc/ld.so.conf @@ -0,0 +1 @@ +../../../default/root/etc/ld.so.conf \ No newline at end of file diff --git a/routerstationpro/root/etc/network/interfaces b/routerstationpro/root/etc/network/interfaces new file mode 100644 index 0000000..f1bd92e --- /dev/null +++ b/routerstationpro/root/etc/network/interfaces @@ -0,0 +1,2 @@ +auto lo +iface lo inet loopback diff --git a/routerstationpro/root/etc/ssh/ssh_host_dsa_key b/routerstationpro/root/etc/ssh/ssh_host_dsa_key new file mode 120000 index 0000000..3c63728 --- /dev/null +++ b/routerstationpro/root/etc/ssh/ssh_host_dsa_key @@ -0,0 +1 @@ +../../../../default/root/etc/ssh/ssh_host_dsa_key \ No newline at end of file diff --git a/routerstationpro/root/etc/ssh/ssh_host_ecdsa_key b/routerstationpro/root/etc/ssh/ssh_host_ecdsa_key new file mode 120000 index 0000000..f5f2e31 --- /dev/null +++ b/routerstationpro/root/etc/ssh/ssh_host_ecdsa_key @@ -0,0 +1 @@ +../../../../default/root/etc/ssh/ssh_host_ecdsa_key \ No newline at end of file diff --git a/routerstationpro/root/etc/ssh/ssh_host_rsa_key b/routerstationpro/root/etc/ssh/ssh_host_rsa_key new file mode 120000 index 0000000..9753b5a --- /dev/null +++ b/routerstationpro/root/etc/ssh/ssh_host_rsa_key @@ -0,0 +1 @@ +../../../../default/root/etc/ssh/ssh_host_rsa_key \ No newline at end of file diff --git a/routerstationpro/root/usr/sbin/policy-rc.d b/routerstationpro/root/usr/sbin/policy-rc.d new file mode 120000 index 0000000..93e300d --- /dev/null +++ b/routerstationpro/root/usr/sbin/policy-rc.d @@ -0,0 +1 @@ +../../../../default/root/usr/sbin/policy-rc.d \ No newline at end of file