summaryrefslogtreecommitdiff
path: root/src/initrd/grok-block
diff options
context:
space:
mode:
Diffstat (limited to 'src/initrd/grok-block')
-rwxr-xr-xsrc/initrd/grok-block4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/initrd/grok-block b/src/initrd/grok-block
index 0b5f3f9..f925061 100755
--- a/src/initrd/grok-block
+++ b/src/initrd/grok-block
@@ -186,6 +186,7 @@ grok_block()
186 return 186 return
187 ;; 187 ;;
188 samizdat-keys) ;; 188 samizdat-keys) ;;
189 samizdat-rootfs) ;;
189 samizdat-grub) return ;; 190 samizdat-grub) return ;;
190 samizdat-luks-encrypted) 191 samizdat-luks-encrypted)
191 menu-select boot-native "$(parent_device "$DEVNAME")" 192 menu-select boot-native "$(parent_device "$DEVNAME")"
@@ -219,6 +220,9 @@ grok_block()
219 # TODO: Need option to boot the partitions we create 220 # TODO: Need option to boot the partitions we create
220 # TODO: And what if we create partitions and then reboot the machine mid-install? 221 # TODO: And what if we create partitions and then reboot the machine mid-install?
221 222
223 elif [ "$ID_PART_ENTRY_NAME" = samizdat-rootfs ]; then
224 :
225
222 elif [ "$ID_PART_ENTRY_NAME" = samizdat-keys ]; then 226 elif [ "$ID_PART_ENTRY_NAME" = samizdat-keys ]; then
223 mkdir -p /gpg 227 mkdir -p /gpg
224 cp -a "$mountpoint"/gnupghome /gpg/ && bootdone samizdat-gpg && bootdone samizdat-cdrom 228 cp -a "$mountpoint"/gnupghome /gpg/ && bootdone samizdat-gpg && bootdone samizdat-cdrom