diff options
author | Andrew Cady <d@jerkface.net> | 2020-10-11 01:38:17 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-10-11 01:38:17 -0400 |
commit | f6e4c392a2709420434a987b288d9ea90e9b5542 (patch) | |
tree | 67d6be6ce6ee44cd800621d5ca3a6e2a4aec1281 /src/initrd/grok-block | |
parent | c778405a46b2b45388282a0b12fceb14c0399db1 (diff) |
Installed and successfully ran btrfs dev rem.
Ran it in the VM with the command:
make install; sudo ./src/mkinitramfs-samizdat ; sudo bash ./src/parted-usb.sh
Didn't use the .patch.btrfs here yet.
Diffstat (limited to 'src/initrd/grok-block')
-rwxr-xr-x | src/initrd/grok-block | 4 |
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 |