diff options
Diffstat (limited to 'initramfs-tools')
-rw-r--r-- | initramfs-tools/initramfs.conf | 62 | ||||
-rw-r--r-- | initramfs-tools/modules | 11 | ||||
-rwxr-xr-x | initramfs-tools/scripts/local-bottom/samizdat | 9 | ||||
-rw-r--r-- | initramfs-tools/scripts/samizdat | 2 |
4 files changed, 84 insertions, 0 deletions
diff --git a/initramfs-tools/initramfs.conf b/initramfs-tools/initramfs.conf new file mode 100644 index 0000000..93f88bc --- /dev/null +++ b/initramfs-tools/initramfs.conf | |||
@@ -0,0 +1,62 @@ | |||
1 | # | ||
2 | # initramfs.conf | ||
3 | # Configuration file for mkinitramfs(8). See initramfs.conf(5). | ||
4 | # | ||
5 | # Note that configuration options from this file can be overridden | ||
6 | # by config files in the /etc/initramfs-tools/conf.d directory. | ||
7 | |||
8 | # | ||
9 | # MODULES: [ most | netboot | dep | list ] | ||
10 | # | ||
11 | # most - Add most filesystem and all harddrive drivers. | ||
12 | # | ||
13 | # dep - Try and guess which modules to load. | ||
14 | # | ||
15 | # netboot - Add the base modules, network modules, but skip block devices. | ||
16 | # | ||
17 | # list - Only include modules from the 'additional modules' list | ||
18 | # | ||
19 | |||
20 | MODULES=most | ||
21 | |||
22 | # | ||
23 | # BUSYBOX: [ y | n ] | ||
24 | # | ||
25 | # Use busybox if available. | ||
26 | # | ||
27 | |||
28 | BUSYBOX=y | ||
29 | |||
30 | # | ||
31 | # KEYMAP: [ y | n ] | ||
32 | # | ||
33 | # Load a keymap during the initramfs stage. | ||
34 | # | ||
35 | |||
36 | KEYMAP=n | ||
37 | |||
38 | # | ||
39 | # COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ] | ||
40 | # | ||
41 | |||
42 | COMPRESS=gzip | ||
43 | |||
44 | # | ||
45 | # NFS Section of the config. | ||
46 | # | ||
47 | |||
48 | # | ||
49 | # DEVICE: ... | ||
50 | # | ||
51 | # Specify a specific network interface, like eth0 | ||
52 | # Overridden by optional ip= bootarg | ||
53 | # | ||
54 | |||
55 | DEVICE= | ||
56 | |||
57 | # | ||
58 | # NFSROOT: [ auto | HOST:MOUNT ] | ||
59 | # | ||
60 | |||
61 | NFSROOT=auto | ||
62 | |||
diff --git a/initramfs-tools/modules b/initramfs-tools/modules new file mode 100644 index 0000000..dd9dc54 --- /dev/null +++ b/initramfs-tools/modules | |||
@@ -0,0 +1,11 @@ | |||
1 | # List of modules that you want to include in your initramfs. | ||
2 | # They will be loaded at boot time in the order below. | ||
3 | # | ||
4 | # Syntax: module_name [args ...] | ||
5 | # | ||
6 | # You must run update-initramfs(8) to effect this change. | ||
7 | # | ||
8 | # Examples: | ||
9 | # | ||
10 | # raid1 | ||
11 | # sd_mod | ||
diff --git a/initramfs-tools/scripts/local-bottom/samizdat b/initramfs-tools/scripts/local-bottom/samizdat new file mode 100755 index 0000000..376353d --- /dev/null +++ b/initramfs-tools/scripts/local-bottom/samizdat | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | if [ "$1" = prereqs ]; then | ||
3 | echo | ||
4 | exit | ||
5 | fi | ||
6 | |||
7 | echo 'Hello, world!' | ||
8 | read line | ||
9 | echo BOOT=samizdat >> /conf/param.conf | ||
diff --git a/initramfs-tools/scripts/samizdat b/initramfs-tools/scripts/samizdat new file mode 100644 index 0000000..e41c65e --- /dev/null +++ b/initramfs-tools/scripts/samizdat | |||
@@ -0,0 +1,2 @@ | |||
1 | export PS1='samizdat\$ ' | ||
2 | exec sh | ||