diff options
-rw-r--r-- | old-school/lvm-create.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/old-school/lvm-create.sh b/old-school/lvm-create.sh index ba79e0c..44873ef 100644 --- a/old-school/lvm-create.sh +++ b/old-school/lvm-create.sh | |||
@@ -66,6 +66,20 @@ init_samizdat() | |||
66 | mount -t btrfs -o subvol=ROOT /cdrom/live/filesystem.btrfs /root || return | 66 | mount -t btrfs -o subvol=ROOT /cdrom/live/filesystem.btrfs /root || return |
67 | btrfs device add "$blockdev" /root || return | 67 | btrfs device add "$blockdev" /root || return |
68 | mount -o rw,remount /root || return | 68 | mount -o rw,remount /root || return |
69 | btrfs subvolume create /root/gpg || return | ||
70 | # TODO: Restart gpg agent with stored credentials. | ||
71 | |||
72 | # TODO: Actually, if we unconditionally added a ramdisk, we could go | ||
73 | # ahead with the boot, and then do this whole thing from the installed | ||
74 | # system (after pivot_root). That way, there would be no need to | ||
75 | # restart. | ||
76 | |||
77 | # Really, the option to install could be identical to the option to | ||
78 | # boot from RAM except that it would record the intent to install; or | ||
79 | # else it could be removed entirely, with an option to persist added | ||
80 | # as some kind of UI element. | ||
81 | mv /gpg/gnupghome /root/gpg/ || return | ||
82 | |||
69 | bootdone root-mounted | 83 | bootdone root-mounted |
70 | } | 84 | } |
71 | 85 | ||