blob: 8a366df6900585ca1533af79a3f26bb8941ec678 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
#!/bin/sh
# start,size,id,bootable
part_script='
,+,83,*
'
# fs mp type options dump pass
fstab='
@DEV1@ / ext4 errors=remount-ro 0 1
/var/swap swap swap defaults 0 0
'
mirror='http://httpredir.debian.org/debian'
suite='jessie'
arch='amd64'
extra_pkgs='
linux-image-amd64
sysvinit-core
'
hostname='alsvid200'
locale='en_US'
supported_locales='en_US.UTF-8 en_DK.UTF-8'
time_zone='UTC'
passwd_shadow='on'
root_passwd_crypted='$6$XMSNMQ6H8G0$9J.jbKWARqSLj51uC1L3J9y0nO/E6.7/l6JdUAwL6Dn.KVeaYbmA2H4EBHT.d55a49gifPkF0AuUnziKN45rF.'
root_login=true
user_make=true
user_name='pj'
user_full_name='P. J. McDermott'
user_groups='adm cdrom floppy sudo audio dip video plugdev netdev'
user_passwd_crypted='$6$.4kiiaCvfP$WZtL6RXtWtW0lIRnx2GyJwaN1OdkQUEHOulzxyXlS.dKTClhaI9Hkq3.bdE6TC613VqgEekwPgm3.T1D9CCuk0'
debconf_selections='
keyboard-configuration keyboard-configuration/layout seen
keyboard-configuration keyboard-configuration/layoutcode select us
wireshark-common wireshark-common/install-setuid boolean true
'
postinst_pkgs='
bash mksh ksh zsh bash-completion
screen sudo adduser
nocache
vcsh myrepos
vim bvi less wdiff vbindiff
git gitk build-essential autoconf automake
patch quilt
sbuild devscripts lintian debootstrap
kpartx genisoimage syslinux-utils qemu-system-x86
u-boot-tools heimdall-flash android-tools-adb android-tools-fastboot
flashrom
markdown
gnupg gnupg-agent openssl
xorg xserver-xorg-video-intel xserver-xorg-input-evdev
xserver-xorg-input-synaptics desktop-base x11-xserver-utils
xdg-utils avahi-daemon libnss-mdns anacron eject iw alsa-utils alsa-base
fluxbox fbpanel fbpager parcellite compton
xdm xscreensaver scrot
rxvt-unicode gtk-redshift workrave
mpd mpc ncmpcpp mpdscribble mpv sox audacity wodim youtube-dl
gpicview gimp inkscape dia fontforge tiled
librsvg2-bin xcftools imagemagick
kanatest
pidgin mumble gobby
claws-mail claws-mail-fancy-plugin claws-mail-pgpmime
claws-mail-spam-report html2ps
openssh-server openssh-client rsync netcat-openbsd
kicad gerbv openscad
libreoffice evince
planner ledger
minicom htop ntp ncdu
wicd-daemon wicd-gtk wicd-curses wicd-cli
wireshark
gnome-calculator units
fonts-mplus fonts-linuxlibertine fonts-freefont-ttf
fonts-dejavu fonts-liberation
fonts-droid fonts-ubuntu-title fonts-lato ttf-unifont
libhtml-tree-perl libhtml-template-perl
libemail-mime-perl libemail-sender-perl
libhtml-template-perl libjson-xs-perl libwww-perl
libparse-recdescent-perl libplack-perl liburi-perl
libcrypt-rijndael-perl
starman bsdgames fortune-mod fortunes-min fortunes-bofh-excuses
'
do_postinst()
{
cat >"${target}/etc/apt/sources.list.d/jessie-backports.list" <<-EOF
deb http://httpredir.debian.org/debian jessie-backports main
deb-src http://httpredir.debian.org/debian jessie-backports main
EOF
in_target apt-get update || return 1
in_target apt-get -q -y install midori || return 1
in_target adduser pj scanner
in_target adduser pj wireshark
in_target adduser pj sbuild
install -d -o pj -g pj -m 0700 "${target}/home/pj/.ssh"
in_target ssh-keygen -b 4096 -C pj@alsvid200 -t rsa \
-f /home/pj/.ssh/id_rsa </dev/null
cp "${target}/home/pj/.ssh/id_rsa.pub" 'pj@alsvid200.pub'
return 0
}
|