add beagleboard, minimal, routerstationpro

This commit is contained in:
josch 2014-06-21 15:19:07 +02:00
parent acfcacd78b
commit a8efd2d47b
66 changed files with 293 additions and 0 deletions

4
beagleboard/config Normal file
View file

@ -0,0 +1,4 @@
SUITE="sid"
ARCH="armhf"
ROOTDIR="debian-$SUITE-$ARCH-`date +%F`"
MIRROR="http://cdn.debian.net/debian"

View file

@ -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

View file

@ -0,0 +1 @@
../../default/hooks/create_user

View file

@ -0,0 +1 @@
../../default/hooks/empty_password

1
beagleboard/hooks/firstboot Symbolic link
View file

@ -0,0 +1 @@
../../default/hooks/firstboot

View file

@ -0,0 +1 @@
../../default/hooks/serial_tty

View file

@ -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

1
beagleboard/packages/base Symbolic link
View file

@ -0,0 +1 @@
../../default/packages/base

1
beagleboard/packages/bluez Symbolic link
View file

@ -0,0 +1 @@
../../default/packages/bluez

1
beagleboard/packages/e17 Normal file
View file

@ -0,0 +1 @@
e17

1
beagleboard/packages/net Symbolic link
View file

@ -0,0 +1 @@
../../default/packages/net

View file

@ -0,0 +1 @@
xserver-xorg-video-omap3

1
beagleboard/packages/wlan Symbolic link
View file

@ -0,0 +1 @@
../../default/packages/wlan

1
beagleboard/packages/xorg Symbolic link
View file

@ -0,0 +1 @@
../../default/packages/xorg

View file

@ -0,0 +1 @@
../../../../../default/root/etc/apt/apt.conf.d/99no-install-recommends

View file

@ -0,0 +1 @@
../../../../../default/root/etc/apt/apt.conf.d/99no-pdiffs

View file

@ -0,0 +1,9 @@
# <file system> <mount point> <type> <options> <dump> <pass>
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

View file

@ -0,0 +1 @@
beagleboard

View file

@ -0,0 +1,2 @@
127.0.0.1 localhost
127.0.0.1 beagleboard

View file

@ -0,0 +1 @@
../../../default/root/etc/ld.so.conf

View file

@ -0,0 +1 @@
g_ether

View file

@ -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

View file

@ -0,0 +1 @@
../../../../default/root/etc/ssh/ssh_host_dsa_key

View file

@ -0,0 +1 @@
../../../../default/root/etc/ssh/ssh_host_ecdsa_key

View file

@ -0,0 +1 @@
../../../../default/root/etc/ssh/ssh_host_rsa_key

View file

@ -0,0 +1 @@
../../../../default/root/usr/sbin/policy-rc.d

4
minimal/config Normal file
View file

@ -0,0 +1,4 @@
SUITE="sid"
ARCH="armel"
ROOTDIR="debian-$SUITE-$ARCH-`date +%F`"
MIRROR="http://cdn.debian.net/debian"

23
minimal/debconfseed.txt Normal file
View file

@ -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

View file

@ -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

View file

@ -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

23
minimal/hooks/firstboot Normal file
View file

@ -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

1
minimal/hooks/serial_tty Normal file
View file

@ -0,0 +1 @@
echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" >> $ROOTDIR/etc/inittab

21
minimal/multistrap.conf Normal file
View file

@ -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

12
minimal/packages/base Normal file
View file

@ -0,0 +1,12 @@
udev
kmod
apt
locales
procps
conspy
man-db
fbset
openssh-server
screen
less
vim

12
minimal/packages/net Normal file
View file

@ -0,0 +1,12 @@
curl
wget
ntpdate
vpnc
rsync
dhcp3-client
ifupdown
net-tools
iproute
dnsutils
iputils-ping
ppp

View file

@ -0,0 +1 @@
APT::Install-Recommends "0";

View file

@ -0,0 +1 @@
Acquire::PDiffs "0";

8
minimal/root/etc/fstab Normal file
View file

@ -0,0 +1,8 @@
# <file system> <mount point> <type> <options> <dump> <pass>
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

View file

@ -0,0 +1 @@
default

2
minimal/root/etc/hosts Normal file
View file

@ -0,0 +1,2 @@
127.0.0.1 localhost
127.0.0.1 default

View file

@ -0,0 +1,2 @@
# supply ld.so.conf for fake ldd (running libc6 postinst script will fail)
include /etc/ld.so.conf.d/*.conf

View file

@ -0,0 +1,2 @@
auto lo
iface lo inet loopback

View file

View file

View file

View file

@ -0,0 +1,3 @@
#!/bin/sh
echo "sysvinit: All runlevel operations denied by policy" >&2
exit 101

4
routerstationpro/config Normal file
View file

@ -0,0 +1,4 @@
SUITE="sid"
ARCH="mips"
ROOTDIR="debian-$SUITE-$ARCH-`date +%F`"
MIRROR="http://cdn.debian.net/debian/"

View file

@ -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

View file

@ -0,0 +1 @@
../../default/hooks/create_user

View file

@ -0,0 +1 @@
../../default/hooks/empty_password

View file

@ -0,0 +1 @@
../../default/hooks/firstboot

View file

@ -0,0 +1 @@
../../default/hooks/serial_tty

View file

@ -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

View file

@ -0,0 +1 @@
../../default/packages/base

View file

@ -0,0 +1,3 @@
libqt4-core
libqt4-network
libqt4-xml

View file

@ -0,0 +1 @@
../../../../../default/root/etc/apt/apt.conf.d/99no-install-recommends

View file

@ -0,0 +1 @@
../../../../../default/root/etc/apt/apt.conf.d/99no-pdiffs

View file

@ -0,0 +1,8 @@
# <file system> <mount point> <type> <options> <dump> <pass>
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

View file

@ -0,0 +1 @@
routerstationpro

View file

@ -0,0 +1,2 @@
127.0.0.1 localhost
127.0.0.1 routerstationpro

View file

@ -0,0 +1 @@
../../../default/root/etc/ld.so.conf

View file

@ -0,0 +1,2 @@
auto lo
iface lo inet loopback

View file

@ -0,0 +1 @@
../../../../default/root/etc/ssh/ssh_host_dsa_key

View file

@ -0,0 +1 @@
../../../../default/root/etc/ssh/ssh_host_ecdsa_key

View file

@ -0,0 +1 @@
../../../../default/root/etc/ssh/ssh_host_rsa_key

View file

@ -0,0 +1 @@
../../../../default/root/usr/sbin/policy-rc.d