]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: allow SKIP_INITRD override 12521/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 9 May 2019 17:30:13 +0000 (19:30 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 9 May 2019 18:11:31 +0000 (20:11 +0200)
Certain distributions (e.g. Arch Linux) require booting with initrd, as
they lack support for commonly used filesystems in the kernel (i.e. the
support is compiled in as modules)

test/test-functions

index b269cd35241125a34d68d708354658d556b5b217..bfd6b6662a680b808a38be08b1f5f66c39323379 100644 (file)
@@ -50,7 +50,7 @@ IS_BUILT_WITH_ASAN=$(is_built_with_asan && echo yes || echo no)
 
 if [[ "$IS_BUILT_WITH_ASAN" = "yes" ]]; then
     STRIP_BINARIES=no
-    SKIP_INITRD=yes
+    SKIP_INITRD="${SKIP_INITRD:-yes}"
     PATH_TO_INIT=$ROOTLIBDIR/systemd-under-asan
     QEMU_MEM="1536M"
     QEMU_SMP=4