summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-09 17:07:06 +0100
committerSimon Rettberg2024-02-09 17:07:06 +0100
commit0932f9349b8086ae8351d477def581e5ef451dc7 (patch)
treebe4ef8cbbe53226479ccfcc8a47aa00eed269732
parent[dnbd3-rootfs] Remove xmount support, add raw support (diff)
downloadsystemd-init-0932f9349b8086ae8351d477def581e5ef451dc7.tar.gz
systemd-init-0932f9349b8086ae8351d477def581e5ef451dc7.tar.xz
systemd-init-0932f9349b8086ae8351d477def581e5ef451dc7.zip
Also refuse to build xmount for now
-rwxr-xr-xbuild-initramfs.sh4
1 files changed, 3 insertions, 1 deletions
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