From 0932f9349b8086ae8351d477def581e5ef451dc7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 9 Feb 2024 17:07:06 +0100 Subject: Also refuse to build xmount for now --- build-initramfs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-initramfs.sh b/build-initramfs.sh index 767a683a..2a91b484 100755 --- a/build-initramfs.sh +++ b/build-initramfs.sh @@ -329,12 +329,14 @@ parse_command_line() { if [ "$qcow_handler" = "xmount" ]; then unset module_xloop + echo "Error: xmount support has been removed." + return 1 elif [ "$qcow_handler" = "xloop" ]; then unset module_xmount else echo \ "Error with given option '--qcow-handler/-q':" \ - "This options needs to be either 'xmount' or 'xloop', given: '$qcow_handler'." + "This option needs to be 'xloop', given: '$qcow_handler'." return 1 fi -- cgit v1.2.3-55-g7522