From 3d579309cde6c02a85ce7d3c396f61e7f064690b Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 7 Jul 2015 13:25:56 +0200 Subject: [PATCH] dmsquash-live/dmsquash-live-root.sh: fixup checkisomd5 for systemd systemd does not like a leading "-" for unit template filenames anymore. --- modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index a0a9ab9..531617e 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -41,7 +41,7 @@ getarg rd.live.check -d check || check="" if [ -n "$check" ]; then type plymouth >/dev/null 2>&1 && plymouth --hide-splash if [ -n "$DRACUT_SYSTEMD" ]; then - p=$(str_replace "$livedev" "-" '\x2d') + p=$(dev_unit_name "$livedev") systemctl start checkisomd5@${p}.service else checkisomd5 --verbose $livedev