summaryrefslogtreecommitdiff
path: root/src/initrd
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2018-07-09 17:43:48 -0400
committerAndrew Cady <d@jerkface.net>2018-07-09 17:43:48 -0400
commit72dfe1ba963a67acda82d23e09daa5e4623ddf31 (patch)
tree1a13c976b8abfe54f84cb3bd31cb804d0f5f287d /src/initrd
parent4c73ae45859d784e8123f372068ac96e635d841f (diff)
bugfix: new installs were never finalized
Because a non-local shell variable was accidentally overwritten, the partitions containing a fresh install to an empty disk were never relabeled to indicate finalization. They would have to be relabeled manually to boot the installed system.
Diffstat (limited to 'src/initrd')
-rw-r--r--src/initrd/btrfs-create.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initrd/btrfs-create.sh b/src/initrd/btrfs-create.sh
index f47dfaf..4548ee1 100644
--- a/src/initrd/btrfs-create.sh
+++ b/src/initrd/btrfs-create.sh
@@ -74,6 +74,7 @@ init_samizdat()
74movemounts() 74movemounts()
75{ 75{
76 # Move mounted filesystems to the future root filesystem 76 # Move mounted filesystems to the future root filesystem
77 local dev mp rest target
77 while read dev mp rest; do 78 while read dev mp rest; do
78 case "$mp" in 79 case "$mp" in
79 /root/*|/root|/|/proc|/dev|/dev/pts|/sys|/run) continue ;; 80 /root/*|/root|/|/proc|/dev|/dev/pts|/sys|/run) continue ;;