diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-25 17:43:06 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-25 17:43:06 -0400 |
commit | a13b5ad603b7ecb86fca9d4c2b50e21bb6f1c389 (patch) | |
tree | 523c852c5fa926f7eeb6d70b80d7abce20eb66af /initramfs-tools | |
parent | 34ed3df8b210461ae217424c089d917fb300a824 (diff) |
read samizdat.iso from network block device (nbd)
Diffstat (limited to 'initramfs-tools')
-rwxr-xr-x | initramfs-tools/hooks/samizdat | 2 | ||||
-rw-r--r-- | initramfs-tools/scripts/samizdat | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/initramfs-tools/hooks/samizdat b/initramfs-tools/hooks/samizdat index c854186..81d41f2 100755 --- a/initramfs-tools/hooks/samizdat +++ b/initramfs-tools/hooks/samizdat | |||
@@ -33,4 +33,6 @@ CopyExec vol_id.txt /lib/samizdat/vol_id.txt | |||
33 | modules='loop xts dm-crypt' | 33 | modules='loop xts dm-crypt' |
34 | for m in $modules; do force_load "$m" || exit 1; done | 34 | for m in $modules; do force_load "$m" || exit 1; done |
35 | 35 | ||
36 | copy_modules_dir "/lib/modules/$(uname -r)/kernel/drivers/net/ethernet" || exit 1 | ||
37 | |||
36 | exit 0 | 38 | exit 0 |
diff --git a/initramfs-tools/scripts/samizdat b/initramfs-tools/scripts/samizdat index 374d95d..8265c45 100644 --- a/initramfs-tools/scripts/samizdat +++ b/initramfs-tools/scripts/samizdat | |||
@@ -6,6 +6,7 @@ mountroot() | |||
6 | 6 | ||
7 | samizdat_install_udev_rules | 7 | samizdat_install_udev_rules |
8 | mkfifo "$MENUFIFO" | 8 | mkfifo "$MENUFIFO" |
9 | sh /scripts/local-top/nbd & # I guess this isn't getting called otherwise? | ||
9 | bootmenu | 10 | bootmenu |
10 | bootwait root-mounted | 11 | bootwait root-mounted |
11 | chvt 1 | 12 | chvt 1 |