~ubuntu-core-dev/debian-installer/xenial-proposed

« back to all changes in this revision

Viewing changes to doc/talks/fosdem07/fosdem1/var/www/d-i/etch/classes/fosdem07/base-installer

  • Committer: Colin Watson
  • Date: 2007-11-28 19:04:00 UTC
  • mfrom: (664.2.2672)
  • Revision ID: cjwatson@canonical.com-20071128190400-xur3y5yleu75xmr0
Tags: 20070308ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Ubuntu branding of various kinds.
  - Use Ubuntu kernels. Various tweaks for different udeb splits.
  - Fetch distribution name and version number from lsb_release.
  - Use the full version number in image directories.
  - Build-depend on belocs-locales-bin.
  - Various boot screen text adjustments.
  - Add server boot options.
  - Add memtest boot option.
  - Add live CD boot screens.
  - Adjust memory size recommendations.
  - Document pci=noacpi.
  - Add translatable boot screen text for gfxboot.
  - Use ubuntu-keyring-udeb (and gpgv-udeb) instead of the Debian archive
    keyring.
  - Switch all images to initramfs.
  - Add netboot images suitable for USB memory sticks.
  - Remove floppy support, since it never used to work with 2.6. (This may
    be fixed in the future.)
  - Disable GTK frontend.
  - Add kickseed-common and initrd-kickseed to all images containing
    preseed-common and initrd-preseed.
  - Add nfs-modules to all netboot images except powerpc, for Kickstart.
  - kbd-chooser -> console-setup.
  - Include keymap decision tree in all.utf.
  - Replace cdebconf-newt-entropy with cdebconf-newt-detect-keys in
    EXTRAUDEBS.
  - Add bootchart-udeb to all images.
  - Add hdparm-udeb to cdrom images.
  - Add nic-firmware to netboot images and scsi-firmware to cdrom and
    hd-media images.
  - Ship elilo configuration on i386 for Intel-based Macs.
  - Use mkvmlinuz'\''s fallback object files on powerpc rather than relying
    on the kernel'\''s.
  - Remove sparc32.
  - Use ${RAMDISK_SIZE} in sparc'\''s silo.conf rather than a hardcoded size.
  - Add input-modules to the sparc netboot image.
  - Remove auto-install/ai-choosers targets, at least for now.
  - Switch i386 builds to the -generic kernel flavour.
  - Add a new netboot/386 build for i386 that uses the -386 kernel
    flavour.
* Set default suite to gutsy.
* Move to 2.6.22-5 kernels.
* Remove pci=noacpi documentation from the install CD case (though not
  from the live CD), as there'\''s no space for it on the boot screens any
  more.
* Make scsi-firmware optional, since linux-ubuntu-modules-2.6.22 doesn'\''t
  build it yet.
* Add ubuntu-modules to all images containing nic-modules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. /usr/share/debconf/confmodule
 
4
. /tmp/HandsOff-fn.sh
 
5
 
 
6
db_register hands-off/meta/text hands-off/pause/title
 
7
db_register hands-off/meta/text hands-off/pause
 
8
 
 
9
sed -ie 's/Sans 11/Sans 18/' /etc/gtk-2.0/gtkrc
 
10
db_capb backup
 
11
 
 
12
SLIDE=1
 
13
 
 
14
while true; do
 
15
case $SLIDE in
 
16
 
 
17
1)
 
18
db_subst hands-off/pause/title DESC "Setting defaults"
 
19
db_settitle hands-off/pause/title
 
20
db_subst hands-off/pause DESCRIPTION \
 
21
"Use preseeding to set defaults instead of automating.
 
22
 
 
23
o in a preconfiguration file
 
24
    d-i partman/choose_partition \\
 
25
        select Finish partitioning and write changes to disk
 
26
    d-i partman/choose_partition seen false
 
27
 
 
28
o from the boot prompt
 
29
    foo/bar?=baz"
 
30
db_input critical hands-off/pause
 
31
;;
 
32
 
 
33
 
 
34
2)
 
35
db_subst hands-off/pause/title DESC "Executing scripts"
 
36
db_settitle hands-off/pause/title
 
37
db_subst hands-off/pause DESCRIPTION \
 
38
"o preseed/early
 
39
   Executed immediately after a preconfiguration file is loaded
 
40
o preseed/late
 
41
   Executed at the end of installation (finish-install)
 
42
o using existing hooks
 
43
   This script: /usr/lib/base-config.d/00fosdem
 
44
 
 
45
You can even use scripting to disable standard D-I components or to load your own."
 
46
db_input critical hands-off/pause
 
47
;;
 
48
 
 
49
 
 
50
3)
 
51
db_subst hands-off/pause/title DESC "Hands-off installations"
 
52
db_settitle hands-off/pause/title
 
53
db_subst hands-off/pause DESCRIPTION \
 
54
"Brings together many of the possibilities offered by preseeding.
 
55
 
 
56
o Automatic expansion of 'preseed/url'
 
57
o \"auto\" mode
 
58
   - postpones execution of localechooser and kbd-chooser
 
59
   - equivalent to 'auto=true priority=critical'
 
60
o Implements a class structure
 
61
o Use of ad-hoc defined debconf templates
 
62
o Many other tricks implemented through clever scripting
 
63
 
 
64
For details/examples: http://hands.com/d-i/"
 
65
db_input critical hands-off/pause
 
66
;;
 
67
 
 
68
 
 
69
4)
 
70
db_subst hands-off/pause DESCRIPTION \
 
71
"This installation was booted with
 
72
    auto url=fosdem1 classes=fosdem07
 
73
 
 
74
o \"url\" is an alias for \"preseed/url\"
 
75
o \"fosdem1\" is expanded to:
 
76
   http://fosdem1.fosdem.net/d-i/etch/./preseed.cfg
 
77
o because of \"classes=fosdem07\" additional files are read from
 
78
   http://fosdem1.fosdem.net/d-i/etch/./classes/fosdem07/"
 
79
db_input critical hands-off/pause
 
80
;;
 
81
 
 
82
 
 
83
5)
 
84
db_subst hands-off/pause DESCRIPTION \
 
85
"Example from script used to drive this presentation:
 
86
   #!/bin/sh
 
87
   . /usr/share/debconf/confmodule
 
88
   . /tmp/HandsOff-fn.sh
 
89
 
 
90
   db_register hands-off/meta/text hands-off/pause/title
 
91
   db_register hands-off/meta/text hands-off/pause
 
92
 
 
93
   db_subst hands-off/pause/title DESC \"Installing a presentation\"
 
94
   db_settitle hands-off/pause/title
 
95
   db_subst hands-off/pause DESCRIPTION \\
 
96
   \"Can everybody read this?\"
 
97
   db_input critical hands-off/pause
 
98
   db_go"
 
99
db_input critical hands-off/pause
 
100
;;
 
101
 
 
102
 
 
103
6)
 
104
sed -ie 's/Sans 18/Sans 11/' /etc/gtk-2.0/gtkrc
 
105
db_subst hands-off/pause DESCRIPTION \
 
106
""
 
107
db_input critical hands-off/pause
 
108
;;
 
109
 
 
110
 
 
111
*)
 
112
break ;;
 
113
 
 
114
esac
 
115
if db_go; then
 
116
        SLIDE=$(($SLIDE + 1))
 
117
else
 
118
        SLIDE=$(($SLIDE - 1))
 
119
        if [ $SLIDE -lt 1 ]; then
 
120
                exit 30
 
121
        fi
 
122
fi
 
123
done
 
124
 
 
125
 
 
126
db_unregister hands-off/pause
 
127
db_unregister hands-off/pause/title
 
128
 
 
129
exit 0