From: Jo Zzsi Date: Sat, 1 Mar 2025 12:46:53 +0000 (-0500) Subject: feat: set hostonly config by default in configure X-Git-Tag: 108~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62fdf59;p=thirdparty%2Fdracut-ng.git feat: set hostonly config by default in configure Follow-up to https://github.com/dracut-ng/dracut-ng/pull/1158 . Fix storage test case for zfs. --- diff --git a/configure b/configure index 8a9663339..2ee0a1c2d 100755 --- a/configure +++ b/configure @@ -22,6 +22,9 @@ fi CC="${CC:-cc}" PKG_CONFIG="${PKG_CONFIG:-pkg-config}" +# set hostonly by default +configprofile="${configprofile:-hostonly}" + # Little helper function for reading args from the commandline. # it automatically handles -a b and -a=b variants, and returns 1 if # we need to shift $3. diff --git a/test/TEST-20-STORAGE/test.sh b/test/TEST-20-STORAGE/test.sh index 5bb04d305..c788cfa40 100755 --- a/test/TEST-20-STORAGE/test.sh +++ b/test/TEST-20-STORAGE/test.sh @@ -166,7 +166,7 @@ test_setup() { -a "lvm" \ $(if command -v mdadm > /dev/null; then echo "-a mdraid"; fi) \ $(if command -v cryptsetup > /dev/null; then echo "-a crypt"; fi) \ - $(if [ "$TEST_FSTYPE" = "zfs" ]; then echo "-a zfs"; else echo "--add-drivers ${TEST_FSTYPE}"; fi) \ + --add-drivers "${TEST_FSTYPE}" \ -i "/tmp/crypttab" "/etc/crypttab" \ -i "/tmp/key" "/etc/key" }