From bb35ee9e5548a989f7ec93d082a8b3b99d45b5f0 Mon Sep 17 00:00:00 2001 From: torben Date: Thu, 1 Dec 2016 10:30:19 +0100 Subject: merge --- builder/build-initramfs.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'builder') diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh index 46e322c0..b705fece 100755 --- a/builder/build-initramfs.sh +++ b/builder/build-initramfs.sh @@ -149,7 +149,7 @@ print_command_line_option_description() { -f --full-cleanup Removes all retrieved and compiled files (usefull to retrieve latest version of all nested modules). -t --target Creates an image against given target template filesystem. If not - explicitly speicifed current system will be used as template system + explicitly specified current system will be used as template system (default: "$target"). -s --use-systemd-in-initramfs Use Systemd as init process in initramfs @@ -489,8 +489,9 @@ main() { _xmount_mountpoint_target="$(mktemp --directory)" xmount --in qemu "$target" --out raw "$_xmount_mountpoint_target" _xmount_device_target="$(losetup --find)" - losetup "$_xmount_device_target" loopdev \ + losetup --partscan "$_xmount_device_target" \ "${_xmount_mountpoint_target}/"*.dd + # TODO Use partscan mount "$_xmount_device_target" "$_target" fi if [[ -d "$_target" ]]; then -- cgit v1.2.3-55-g7522