summaryrefslogtreecommitdiff
path: root/initramfs-tools
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-25 17:43:06 -0400
committerAndrew Cady <d@jerkface.net>2016-04-25 17:43:06 -0400
commita13b5ad603b7ecb86fca9d4c2b50e21bb6f1c389 (patch)
tree523c852c5fa926f7eeb6d70b80d7abce20eb66af /initramfs-tools
parent34ed3df8b210461ae217424c089d917fb300a824 (diff)
read samizdat.iso from network block device (nbd)
Diffstat (limited to 'initramfs-tools')
-rwxr-xr-xinitramfs-tools/hooks/samizdat2
-rw-r--r--initramfs-tools/scripts/samizdat1
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
33modules='loop xts dm-crypt' 33modules='loop xts dm-crypt'
34for m in $modules; do force_load "$m" || exit 1; done 34for m in $modules; do force_load "$m" || exit 1; done
35 35
36copy_modules_dir "/lib/modules/$(uname -r)/kernel/drivers/net/ethernet" || exit 1
37
36exit 0 38exit 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