]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/test-functions
tmpfiles: remove spurious curly braces in create_item()
[thirdparty/systemd.git] / test / test-functions
index 2ece55414a9ac8b2d40fba8e05e133527c8dfb30..963a32b5b54f1b4e534a172ef1d594e09e3baa66 100644 (file)
@@ -365,6 +365,8 @@ create_empty_image() {
 ,
 EOF
 
+    udevadm settle
+
     local _label="-L systemd"
     # mkfs.reiserfs doesn't know -L. so, use --label instead
     [[ "$FSTYPE" == "reiserfs" ]] && _label="--label systemd"
@@ -1383,8 +1385,8 @@ inst_libdir_file() {
 }
 
 setup_suse() {
-    ln -s ../usr/bin/systemctl $initdir/bin/systemctl
-    ln -s ../usr/lib/systemd $initdir/lib/systemd
+    ln -fs ../usr/bin/systemctl $initdir/bin/
+    ln -fs ../usr/lib/systemd $initdir/lib/
     inst_simple "/usr/lib/systemd/system/haveged.service"
 }