Compare commits

...
Sign in to create a new pull request.

15 commits

Author SHA1 Message Date
Holger Wansing
7a7eda8a7e Merge branch 'add-readme' into 'master'
Add readme file

See merge request installer-team/babelbox!2
2020-10-26 03:40:19 +00:00
Alban VIDAL
51e41766a8 Add readme file
Signed-off-by: Alban VIDAL <alban.vidal@zordhak.fr>
2019-03-21 05:31:08 +01:00
Jan Dittberner
deec46d569 Fix typos to allow installation of Jessie 2016-03-05 14:36:10 +01:00
Jan Dittberner
2c39e8f284 Fix regular expressions to work with Jessie grub 2016-03-05 14:34:31 +01:00
Luca Capello
cc5dbbe97b babelbox-grub: be as much generic as possible 2012-11-07 18:52:41 +01:00
Luca Capello
725d2e5d0c preseed.cfg: clock-setup/utc=true 2012-11-07 18:38:27 +01:00
Luca Capello
2e281752fb preseed.cfg: be consistent with static network configuration
Set the default static network to the one libvirt defines as
"Userspace SLIRP stack", which corresponds to the "-net user" option
in QEMU.  It thus reflects the value for mirror/http/hostname.
2012-11-07 16:32:19 +01:00
Luca Capello
df20e1dc40 preseed.cfg: be consistent with spacing (no tabs) 2012-11-07 16:17:11 +01:00
Luca Capello
e853d313ca preseed_late: use in-target instead of chroot 2012-11-06 17:40:11 +01:00
Luca Capello
fbe13f8725 *: be consistent with BabelBox capitalization 2012-11-03 15:08:46 +01:00
Luca Capello
d4378e7de6 babelbox-grub: (#395019) partitions in grub2/1.95-1 start at 1 2012-11-02 18:48:01 +01:00
Luca Capello
969183bde5 babelbox-grub: remove installation-specific search line 2012-11-02 18:39:16 +01:00
Luca Capello
0262b6f2d7 *: default to English and US keyboard layout 2012-11-02 18:38:08 +01:00
Luca Capello
0d92a0345f langlist: NEXTLANG is the first entry 2012-11-02 18:32:27 +01:00
Luca Capello
c44d795ff2 langlist: [ar_EG] s/Arabig/Arabic/ 2012-11-02 18:13:52 +01:00
7 changed files with 38 additions and 29 deletions

11
README.md Normal file
View file

@ -0,0 +1,11 @@
BabelBox
========
# Overview
Automated DebianInstaller testing and demo machine
# Linked links
+ [BabelBox - Wiki Debian](https://wiki.debian.org/DebianInstaller/BabelBox)
+ [BabelBox - Debian Salsa repository](https://salsa.debian.org/installer-team/babelbox)

View file

@ -1,22 +1,20 @@
menuentry 'Babelbox install' --class debian --class gnu-linux --class gnu --class os { menuentry 'BabelBox install' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos insmod part_msdos
insmod ext2 insmod ext2
set root='(hd0,0)' set root='(hd0,1)'
search --no-floppy --fs-uuid --set 172d7a04-a0ce-4e5a-ac09-a44e1903e0af echo 'Loading Linux ...'
echo 'Loading Linux 2.6.32-5-686 ...' linux /srv/vmlinuz video=vesa:ywrap,mtrr vga=788 priority=critical console-keymaps-at/keymap=us keyboard-configuration/xkb-keymap=us file=/hd-media/srv/babelbox/preseed.cfg debian-installer/locale=en_US
linux /srv/vmlinuz video=vesa:ywrap,mtrr vga=788 priority=critical console-keymaps-at/keymap=de keyboard-configuration/xkb-keymap=de file=/hd-media/srv/babelbox/preseed.cfg debian-installer/locale=en_US
echo 'Loading initial ramdisk ...' echo 'Loading initial ramdisk ...'
initrd /srv/initrd.gz initrd /srv/initrd.gz
} }
menuentry 'Babelbox demo' --class debian --class gnu-linux --class gnu --class os { menuentry 'BabelBox demo' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos insmod part_msdos
insmod ext2 insmod ext2
set root='(hd0,4)' set root='(hd0,5)'
search --no-floppy --fs-uuid --set 172d7a04-a0ce-4e5a-ac09-a44e1903e0af echo 'Loading Linux ...'
echo 'Loading Linux 2.6.32-5-686 ...' linux /vmlinuz root=/dev/sda5 ro quiet
linux /boot/vmlinuz-2.6.32-5-686 root=/dev/sda5 ro quiet
echo 'Loading initial ramdisk ...' echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686 initrd /initrd.img
} }

View file

@ -29,7 +29,7 @@ if [ $(echo "$LANGSEL" | wc -l) -eq 2 ]; then
else else
# Selected language is the last in the file # Selected language is the last in the file
LANG="$LANGSEL" LANG="$LANGSEL"
NEXTLANG="$(egrep -v "^[[:space:]]*(#.*)?$" langlist | head -n1)" NEXTLANG="$(egrep -v '^[[:space:]]*(#.*)?$' langlist | head -n1)"
fi fi
LOCALE=$(echo "$LANG" | cut -d: -f1) LOCALE=$(echo "$LANG" | cut -d: -f1)
@ -39,7 +39,7 @@ GRUBLINE=$(echo "$LANG" | cut -d: -f4)
sed -i "s/LANGNAME \".*\"/LANGNAME \"$LANGNAME\"/" preseed_early sed -i "s/LANGNAME \".*\"/LANGNAME \"$LANGNAME\"/" preseed_early
sed -i "s/locale=.*$/locale=$LOCALE $GRUBLINE/ sed -i "s/locale=.*$/locale=$LOCALE $GRUBLINE/
s/^set default=.*$/set default=\"2\"/" $ROOT/boot/grub/grub.cfg s/^\([[:space:]]*\)set default=\"[[:digit:]]*\"$/\1set default=\"2\"/" $ROOT/boot/grub/grub.cfg
# Comment out the next three lines if you don't want the language to change # Comment out the next three lines if you don't want the language to change
N_LOCALE=$(echo "$NEXTLANG" | cut -d: -f1) N_LOCALE=$(echo "$NEXTLANG" | cut -d: -f1)

View file

@ -3,8 +3,8 @@
# The first field must contain a valid locale; the fourth field can # The first field must contain a valid locale; the fourth field can
# optionally contain extra parameters to pass as boot options. # optionally contain extra parameters to pass as boot options.
am_ET::Amharic am_ET:x:Amharic
ar_EG::Arabig ar_EG::Arabic
ast_ES::Asturian ast_ES::Asturian
be_BY::Belarusian be_BY::Belarusian
bg_BG::Bulgarian bg_BG::Bulgarian
@ -70,5 +70,5 @@ tl_PH::Tagalog
tr_TR::Turkish tr_TR::Turkish
uk_UA::Ukrainian uk_UA::Ukrainian
vi_VN::Vietnamese vi_VN::Vietnamese
zh_CN:X:Chinese (Simplified) zh_CN::Chinese (Simplified)
zh_TW::Chinese (Traditional) zh_TW::Chinese (Traditional)

View file

@ -1,4 +1,4 @@
#### Preseed file for Babelbox #### Preseed file for BabelBox
# See the Installation Guide for other preconfiguration options # See the Installation Guide for other preconfiguration options
### Network configuration ### Network configuration
@ -19,10 +19,10 @@ d-i netcfg/dhcp_timeout string 60
#d-i netcfg/disable_dhcp boolean true #d-i netcfg/disable_dhcp boolean true
# Static network configuration. # Static network configuration.
d-i netcfg/get_nameservers string 192.168.99.1 d-i netcfg/get_nameservers string 10.0.2.3
d-i netcfg/get_ipaddress string 192.168.99.42 d-i netcfg/get_ipaddress string 10.0.2.99
d-i netcfg/get_netmask string 255.255.255.0 d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.99.1 d-i netcfg/get_gateway string 10.0.2.2
d-i netcfg/confirm_static boolean true d-i netcfg/confirm_static boolean true
# Any hostname and domain names assigned from dhcp take precedence over # Any hostname and domain names assigned from dhcp take precedence over
@ -39,9 +39,9 @@ d-i mirror/http/proxy string
### Partitioning ### Partitioning
# We use the largest free space available and the simple "all in one" recipe # We use the largest free space available and the simple "all in one" recipe
# for Babelbox # for BabelBox
d-i partman-auto/init_automatically_partition select biggest_free d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/choose_recipe select atomic d-i partman-auto/choose_recipe select atomic
# This makes partman automatically partition without confirmation. # This makes partman automatically partition without confirmation.
d-i partman/choose_partition select finish d-i partman/choose_partition select finish
@ -50,7 +50,7 @@ d-i partman/confirm_nooverwrite boolean true
### Clock and time zone setup ### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC. # Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean false d-i clock-setup/utc boolean true
# You may set this to any valid setting for $TZ; see the contents of # You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values. # /usr/share/zoneinfo/ for valid values.
@ -75,14 +75,14 @@ d-i passwd/user-password-again password r00tme
### Boot loader installation ### Boot loader installation
d-i grub-installer/skip boolean true d-i grub-installer/skip boolean true
d-i lilo-installer/skip bollean true d-i lilo-installer/skip boolean true
### Package selection ### Package selection
## don't install the desktop task, it takes to long to install ## don't install the desktop task, it takes to long to install
tasksel tasksel/first multiselect tasksel tasksel/first multiselect
## instead install a quite minimal GNOME setup and desktop-base (for spacefun theme) ## instead install a quite minimal GNOME setup and desktop-base (for spacefun theme)
d-i pkgsel/include string gdm3, gnome-session, gnome-icon-teme, desktop-base, d-i pkgsel/include string gdm3, gnome-session, gnome-icon-theme, desktop-base,
xserver-xorg-core, xserver-xorg-input-evdev, xserver-xorg-video-vesa, xserver-xorg xserver-xorg-core, xserver-xorg-input-evdev, xserver-xorg-video-vesa, xserver-xorg
# Don't install popcon # Don't install popcon

View file

@ -5,7 +5,7 @@
set -e set -e
. /usr/share/debconf/confmodule . /usr/share/debconf/confmodule
db_subst babelbox/info LANGNAME "Japanese" || true db_subst babelbox/info LANGNAME "English" || true
db_info babelbox/info || true db_info babelbox/info || true
mkdir -p /lib/partman/init.d mkdir -p /lib/partman/init.d

View file

@ -11,11 +11,11 @@ echo "@reboot root /root/cronscript; reboot" >>/target/etc/crontab
mount /dev/discs/disc0/part1 /hd-media -o remount,rw mount /dev/discs/disc0/part1 /hd-media -o remount,rw
sed -i "s/^set default=.*$/set default=\"3\"/" /hd-media/boot/grub/grub.cfg sed -i "s/^\([[:space:]]*\)set default=\"[[:digit:]]*\"$/\1set default=\"3\"/" /hd-media/boot/grub/grub.cfg
if [ -d /target/etc/gdm3 ] ; then if [ -d /target/etc/gdm3 ] ; then
# Enable automatic login (chroot because of bug in busybox sed) # Enable automatic login (chroot because of bug in busybox sed)
chroot /target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf in-target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf
fi fi