diff options
author | torben | 2016-01-28 15:14:28 +0100 |
---|---|---|
committer | torben | 2016-01-28 15:14:28 +0100 |
commit | e16f4fe103229e973108329c6a6ee2263b131dda (patch) | |
tree | 91fe57f04fbb04b19dc5d6f97d1827cd70caec7d /builder | |
parent | merge (diff) | |
download | systemd-init-e16f4fe103229e973108329c6a6ee2263b131dda.tar.gz systemd-init-e16f4fe103229e973108329c6a6ee2263b131dda.tar.xz systemd-init-e16f4fe103229e973108329c6a6ee2263b131dda.zip |
Fix typos.
Diffstat (limited to 'builder')
-rwxr-xr-x | builder/build-initramfs.sh | 6 | ||||
-rwxr-xr-x | builder/dnbd3-rootfs/hooks/prepare-root-partition.sh | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh index bb8fe1c9..c9cffc85 100755 --- a/builder/build-initramfs.sh +++ b/builder/build-initramfs.sh @@ -152,8 +152,10 @@ function build_initramfs_print_command_line_option_description() { (improved performance but less features) (default: "$build_initramfs_use_systemd_in_initramfs"). -Additional dracut parameter and normal parameter can be deleimiter via a single -dash (-) (default: "$build_initramfs_dracut_parameter"). +Additional dracut parameter and normal parameter can be added by deleimiting +them via a single dash (-) (default: "$build_initramfs_dracut_parameter" with +"--modules" and dynamically determined modules. Additional custom modules are +concated.). EOF } function build_initramfs_print_help_message() { diff --git a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh index b9355cc3..cdd8c2f4 100755 --- a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh +++ b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh @@ -36,15 +36,16 @@ if [[ $return_code != 0 ]]; then exit 1 fi # endregion + # region scan partitions read_only_device="" if ! qemu-img info --output json "$SLX_DNBD3_DEVICE" | grep '"format": "raw"' then read_only_device="$(container-unpack-xmount $SLX_DNBD3_DEVICE)" else - # workaround to detect partitions on raw disks - # can be omited when the dnbd3 kernel module supports it (like the nbd - # kernel module with parameter 'max_part') + # Workaround to detect partitions on raw disks can be omitted when the + # dnbd3 kernel module supports it (like the nbd kernel module with + # parameter "max_part"). loop_device="$(losetup -f)" losetup "$loop_device" "$SLX_DNBD3_DEVICE" --partscan read_only_device="$loop_device" |