* Fix for CD/DVD media check
@ 2015-07-06 13:16 poma
0 siblings, 0 replies; only message in thread
From: poma @ 2015-07-06 13:16 UTC (permalink / raw)
To: initramfs; +Cc: Harald Hoyer
Fix for "CD/DVD media check" i.e. checkisomd5@.service
"the issue is systemd related. absolute paths for systemd unit templates shouldn't start anymore by - (/). (they should be the ouptut of systemd-escape -p ${PATH}). in practice one just has to cut 1st char."
AntonioMeireles
https://github.com/pires/kubernetes-vagrant-coreos-cluster/issues/123
"rd.live.check - [FAILED] Failed to start checkisomd5@-dev-sr0.service"
https://bugzilla.redhat.com/show_bug.cgi?id=1239226
---
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..9159a92 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=$(str_replace "${livedev#*/}" "-" '\x2d')
systemctl start checkisomd5@${p}.service
else
checkisomd5 --verbose $livedev
--
2.4.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-06 13:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 13:16 Fix for CD/DVD media check poma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.