@@ -31,7 +31,6 @@ if ! $installer_unattended; then
dialog --msgbox "Could not find an image to install. Installation aborted." 6 60
exit 1
fi
- DISK_BMAP=$(find "$installdata" -type f -iname "${installer_image_uri%.wic*}.wic.bmap")
# inspired by poky/meta/recipes-core/initrdscripts/files/install-efi.sh
target_device_list=""
@@ -117,10 +116,6 @@ if ! $installer_unattended; then
# set absolute paths to be compatible with unattended mode
installer_image_uri="$installdata/$installer_image_uri"
-
- if [ -z "$DISK_BMAP" ]; then
- DISK_BMAP="$installdata/$DISK_BMAP"
- fi
fi
if ! cmp /dev/zero "$installer_target_dev" -n 1M; then
@@ -139,11 +134,6 @@ if ! cmp /dev/zero "$installer_target_dev" -n 1M; then
fi
fi
-bmap_options=""
-if [ -z "$DISK_BMAP" ]; then
- bmap_options="--nobmap"
-fi
-
if ! $installer_unattended; then
clear
fi
@@ -160,6 +150,7 @@ version_ge() {
# Get bmap-tools version
bmap_version=$(bmaptool --version | awk '{ print $NF }')
+bmap_options=""
if version_ge "$bmap_version" "3.6"; then
# Create a named pipe for progress communication
progress_pipe="/tmp/progress"