diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rwxr-xr-x | initrd.sh | 4 | ||||
-rw-r--r-- | isolinux/advanced.cfg | 7 | ||||
-rw-r--r-- | isolinux/install.cfg | 11 | ||||
-rw-r--r-- | isolinux/isolinux.cfg | 8 | ||||
-rw-r--r-- | isolinux/live.cfg | 12 | ||||
-rw-r--r-- | isolinux/menu.cfg | 17 | ||||
-rw-r--r-- | isolinux/pxelinux.cfg/default | 8 | ||||
-rw-r--r-- | isolinux/splash.png | bin | 99459 -> 0 bytes | |||
-rw-r--r-- | isolinux/stdmenu.cfg | 15 | ||||
-rwxr-xr-x | old-school/grok-block | 2 | ||||
-rw-r--r-- | old-school/lvm-create.sh | 5 | ||||
-rwxr-xr-x | qemu.sh | 4 | ||||
-rwxr-xr-x | xorriso.sh | 23 |
14 files changed, 24 insertions, 96 deletions
@@ -2,7 +2,7 @@ debian-live-8.4.0-amd64-gnome-desktop.disk | |||
2 | debian-live-8.4.0-amd64-gnome-desktop.iso | 2 | debian-live-8.4.0-amd64-gnome-desktop.iso |
3 | boot | 3 | boot |
4 | var | 4 | var |
5 | isolinux/live/initrd.img | 5 | isolinux/linux/initrd.img |
6 | isolinux/live/vmlinuz | 6 | isolinux/linux/vmlinuz |
7 | gnupghome | 7 | gnupghome |
8 | secrets | 8 | secrets |
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | initrd=isolinux/live/initrd.img | 3 | initrd=isolinux/linux/initrd.img |
4 | vmlinuz=isolinux/live/vmlinuz | 4 | vmlinuz=isolinux/linux/vmlinuz |
5 | 5 | ||
6 | version=$(uname -r) | 6 | version=$(uname -r) |
7 | conf_dir=initramfs-tools | 7 | conf_dir=initramfs-tools |
diff --git a/isolinux/advanced.cfg b/isolinux/advanced.cfg deleted file mode 100644 index 373451a..0000000 --- a/isolinux/advanced.cfg +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | label hdt | ||
2 | menu label ^Hardware Detection Tool (HDT) | ||
3 | com32 hdt.c32 | ||
4 | |||
5 | label memtest | ||
6 | menu label ^Memory Diagnostic Tool (memtest86+) | ||
7 | linux /live/memtest | ||
diff --git a/isolinux/install.cfg b/isolinux/install.cfg deleted file mode 100644 index 23fcdb8..0000000 --- a/isolinux/install.cfg +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | label install | ||
2 | menu label ^Install | ||
3 | linux /install/vmlinuz | ||
4 | initrd /install/initrd.gz | ||
5 | append vga=788 --- quiet | ||
6 | |||
7 | label installgui | ||
8 | menu label ^Graphical install | ||
9 | linux /install/gtk/vmlinuz | ||
10 | initrd /install/gtk/initrd.gz | ||
11 | append video=vesa:ywrap,mtrr vga=788 --- quiet | ||
diff --git a/isolinux/isolinux.cfg b/isolinux/isolinux.cfg index ae49ae2..3cb8f33 100644 --- a/isolinux/isolinux.cfg +++ b/isolinux/isolinux.cfg | |||
@@ -1,5 +1,5 @@ | |||
1 | default live-amd64 | 1 | default samizdat |
2 | label live-amd64 | 2 | label samizdat |
3 | linux /live/vmlinuz | 3 | linux linux/vmlinuz |
4 | initrd /live/initrd.img | 4 | initrd linux/initrd.img |
5 | append boot=samizdat components quiet splash | 5 | append boot=samizdat components quiet splash |
diff --git a/isolinux/live.cfg b/isolinux/live.cfg deleted file mode 100644 index 23f4b76..0000000 --- a/isolinux/live.cfg +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | label live-amd64 | ||
2 | menu label ^Samizdat (amd64) | ||
3 | menu default | ||
4 | linux /live/vmlinuz | ||
5 | initrd /live/initrd.img | ||
6 | append boot=samizdat components quiet splash | ||
7 | |||
8 | label live-amd64-failsafe | ||
9 | menu label ^Samizdat (amd64 failsafe) | ||
10 | linux /live/vmlinuz | ||
11 | initrd /live/initrd.img | ||
12 | append boot=samizdat components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal | ||
diff --git a/isolinux/menu.cfg b/isolinux/menu.cfg deleted file mode 100644 index dbc32f1..0000000 --- a/isolinux/menu.cfg +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | menu hshift 7 | ||
2 | menu width 60 | ||
3 | |||
4 | menu title Boot menu | ||
5 | include stdmenu.cfg | ||
6 | include live.cfg | ||
7 | include install.cfg | ||
8 | menu begin advanced | ||
9 | menu title ^Advanced options | ||
10 | include stdmenu.cfg | ||
11 | label mainmenu | ||
12 | menu label ^Back.. | ||
13 | menu exit | ||
14 | include advanced.cfg | ||
15 | menu end | ||
16 | |||
17 | menu clear | ||
diff --git a/isolinux/pxelinux.cfg/default b/isolinux/pxelinux.cfg/default index af54e61..8e0a05f 100644 --- a/isolinux/pxelinux.cfg/default +++ b/isolinux/pxelinux.cfg/default | |||
@@ -1,5 +1,5 @@ | |||
1 | default live-amd64 | 1 | default samizdat |
2 | label live-amd64 | 2 | label samizdat |
3 | linux /live/vmlinuz | 3 | linux linux/vmlinuz |
4 | initrd /live/initrd.img | 4 | initrd linux/initrd.img |
5 | append boot=samizdat components quiet splash nbdroot=192.168.10.1,samizdat.iso nbddev=/dev/nbd0 ip=dhcp | 5 | append boot=samizdat components quiet splash nbdroot=192.168.10.1,samizdat.iso nbddev=/dev/nbd0 ip=dhcp |
diff --git a/isolinux/splash.png b/isolinux/splash.png deleted file mode 100644 index 52d9a8b..0000000 --- a/isolinux/splash.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/isolinux/stdmenu.cfg b/isolinux/stdmenu.cfg deleted file mode 100644 index 671b16f..0000000 --- a/isolinux/stdmenu.cfg +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | menu background splash.png | ||
2 | menu color title * #FFFFFFFF * | ||
3 | menu color border * #00000000 #00000000 none | ||
4 | menu color sel * #ffffffff #76a1d0ff * | ||
5 | menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff * | ||
6 | menu color tabmsg * #ffffffff #00000000 * | ||
7 | menu color help 37;40 #ffdddd00 #00000000 none | ||
8 | menu vshift 12 | ||
9 | menu rows 10 | ||
10 | menu helpmsgrow 15 | ||
11 | # The command line must be at least one line from the bottom. | ||
12 | menu cmdlinerow 16 | ||
13 | menu timeoutrow 16 | ||
14 | menu tabmsgrow 18 | ||
15 | menu tabmsg Press ENTER to boot or TAB to edit a menu entry | ||
diff --git a/old-school/grok-block b/old-school/grok-block index 006a090..75d5120 100755 --- a/old-school/grok-block +++ b/old-school/grok-block | |||
@@ -72,7 +72,7 @@ retry_mount() | |||
72 | gpg_verify() | 72 | gpg_verify() |
73 | { | 73 | { |
74 | bootwait samizdat-cdrom | 74 | bootwait samizdat-cdrom |
75 | gpg2 --lock-never --no-permission-warning --no-auto-check-trustdb --no-options --homedir /cdrom/samizdat/gpg/gnupghome --verify "$1" | 75 | gpg2 --lock-never --no-permission-warning --no-auto-check-trustdb --no-options --homedir /cdrom/gnupghome --verify "$1" |
76 | } | 76 | } |
77 | is_lvm() | 77 | is_lvm() |
78 | { | 78 | { |
diff --git a/old-school/lvm-create.sh b/old-school/lvm-create.sh index b6d38d2..5a7657d 100644 --- a/old-school/lvm-create.sh +++ b/old-school/lvm-create.sh | |||
@@ -28,7 +28,7 @@ ceil4() | |||
28 | 28 | ||
29 | losetup_layers() | 29 | losetup_layers() |
30 | { | 30 | { |
31 | for fs in /cdrom/live/*.btrfs; do | 31 | for fs in /cdrom/rootfs/*.btrfs; do |
32 | fs_rw=/"${fs##*/}".rw | 32 | fs_rw=/"${fs##*/}".rw |
33 | dd if=/dev/zero of="$fs_rw" bs=1M count=10 | 33 | dd if=/dev/zero of="$fs_rw" bs=1M count=10 |
34 | losetup_snapshot "$fs" "$fs_rw" || return | 34 | losetup_snapshot "$fs" "$fs_rw" || return |
@@ -228,7 +228,8 @@ init_gpg() | |||
228 | { | 228 | { |
229 | bootwait samizdat-cdrom | 229 | bootwait samizdat-cdrom |
230 | export GNUPGHOME=/gpg/gnupghome | 230 | export GNUPGHOME=/gpg/gnupghome |
231 | (umask 077; rsync --exclude '/luks-key*' --ignore-existing -rpP /cdrom/samizdat/gpg/ /gpg/) | 231 | mkdir -p "$GNUPGHOME" |
232 | (umask 077; rsync --exclude '/luks-key*' --ignore-existing -rpP /cdrom/gnupghome/ "$GNUPGHOME") | ||
232 | 233 | ||
233 | if samizdat-password-agent >/var/log/samizdat-password-agent.log 2>&1; then | 234 | if samizdat-password-agent >/var/log/samizdat-password-agent.log 2>&1; then |
234 | clear | 235 | clear |
@@ -13,8 +13,8 @@ layered=${iso%.iso}.layered.iso | |||
13 | # NET='user,tftp=isolinux,bootfile=/pxelinux.0' | 13 | # NET='user,tftp=isolinux,bootfile=/pxelinux.0' |
14 | NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' | 14 | NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' |
15 | 15 | ||
16 | initrd=isolinux/live/initrd.img | 16 | initrd=isolinux/linux/initrd.img |
17 | kernel=isolinux/live/vmlinuz | 17 | kernel=isolinux/linux/vmlinuz |
18 | kcmdline='boot=samizdat components quiet splash' | 18 | kcmdline='boot=samizdat components quiet splash' |
19 | 19 | ||
20 | sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ | 20 | sudo qemu-system-x86_64 -enable-kvm -smp 2 -m 640 -k en-us \ |
@@ -3,10 +3,8 @@ | |||
3 | outdev=debian-live-8.4.0-amd64-standard.btrfs.isohybrid2 | 3 | outdev=debian-live-8.4.0-amd64-standard.btrfs.isohybrid2 |
4 | indev=debian-live-8.4.0-amd64-standard.iso | 4 | indev=debian-live-8.4.0-amd64-standard.iso |
5 | volid=SamizdatLive | 5 | volid=SamizdatLive |
6 | squashfs_iso_path=live/filesystem.squashfs | ||
7 | btrfs_iso_path=live/filesystem.btrfs | ||
8 | btrfs_filesystem=debian-live-8.4.0-amd64-standard.btrfs | 6 | btrfs_filesystem=debian-live-8.4.0-amd64-standard.btrfs |
9 | gpg_iso_path=samizdat/gpg/gnupghome | 7 | gpg_iso_path=gnupghome |
10 | gnupghome=gnupghome | 8 | gnupghome=gnupghome |
11 | secrets=secrets | 9 | secrets=secrets |
12 | 10 | ||
@@ -47,19 +45,6 @@ set -ex | |||
47 | # http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/isolinux/ | 45 | # http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/isolinux/ |
48 | # http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/isolinux/efiboot.img | 46 | # http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/isolinux/efiboot.img |
49 | 47 | ||
50 | # -boot_image isolinux dir=isolinux \ | ||
51 | # -boot_image isolinux next -boot_image isolinux system_area=/usr/lib/ISOLINUX/isohdpfx.bin \ | ||
52 | |||
53 | # -add "${btrfs_iso_path}=${btrfs_filesystem}" -- \ | ||
54 | # -add "${gpg_iso_path}=${gnupghome}" -- \ | ||
55 | |||
56 | |||
57 | |||
58 | |||
59 | # -rm "$squashfs_iso_path" -- \ | ||
60 | # -rm_r isolinux live -- \ | ||
61 | # -add isolinux=isolinux -- \ | ||
62 | |||
63 | xorriso \ | 48 | xorriso \ |
64 | -drive_class clear_list all \ | 49 | -drive_class clear_list all \ |
65 | -outdev "$outdev"~ \ | 50 | -outdev "$outdev"~ \ |
@@ -68,7 +53,11 @@ xorriso \ | |||
68 | -volid "$volid" \ | 53 | -volid "$volid" \ |
69 | -pathspecs on \ | 54 | -pathspecs on \ |
70 | \ | 55 | \ |
71 | -add live=isolinux/live/ isolinux -- \ | 56 | \ |
57 | -add isolinux -- \ | ||
58 | -add "rootfs/${btrfs_filesystem}=${btrfs_filesystem}" -- \ | ||
59 | -add "${gpg_iso_path}=${gnupghome}" -- \ | ||
60 | \ | ||
72 | \ | 61 | \ |
73 | -as mkisofs \ | 62 | -as mkisofs \ |
74 | -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \ | 63 | -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \ |