@@ -240,9 +240,10 @@ create_fs_structure () {
|
|||||||
printf "${BLUE}Prepare root filesystem structure with subvol=${GREEN}'%s'${NO_COLOR}\n" \
|
printf "${BLUE}Prepare root filesystem structure with subvol=${GREEN}'%s'${NO_COLOR}\n" \
|
||||||
"$SUBVOL"
|
"$SUBVOL"
|
||||||
if [ $dryrun -eq 1 ]; then
|
if [ $dryrun -eq 1 ]; then
|
||||||
printf "${MAGENTA}Would mount target root at ${GREEN}'%s'${NO_COLOR}\n" "$SUBVOL"
|
printf "${MAGENTA}Would mount target root at ${GREEN}'%s'${NO_COLOR}\n" \
|
||||||
|
"$SUBVOL"
|
||||||
else
|
else
|
||||||
printf "${BLUE} - mount target root"
|
printf "${BLUE} - mount target root${NO_COLOR\n"
|
||||||
mount_target /dev/disk/by-partlabel/${PREFIX}-${LABEL} $MOUNT_POINT btrfs $SUBVOL
|
mount_target /dev/disk/by-partlabel/${PREFIX}-${LABEL} $MOUNT_POINT btrfs $SUBVOL
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
die "Can't mount root filesystem ${PREFIX}-${LABEL}"
|
die "Can't mount root filesystem ${PREFIX}-${LABEL}"
|
||||||
|
|||||||
Reference in New Issue
Block a user