]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90dmsquash-live/dmsquash-live-root.sh: add symlink
authorHarald Hoyer <harald@redhat.com>
Thu, 29 Mar 2012 10:53:53 +0000 (12:53 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 29 Mar 2012 10:53:53 +0000 (12:53 +0200)
/run/initramfs/livedev

modules.d/90dmsquash-live/dmsquash-live-root.sh

index 8a21e44dbbbc2ac678a43e64cc73e4dec1a32563..2aaec281579810dfba93481ddb67b8980fea1898 100755 (executable)
@@ -41,6 +41,8 @@ if [ -n "$check" ]; then
     [ -x /bin/plymouth ] && /bin/plymouth --show-splash
 fi
 
+ln -s $livedev /run/initramfs/livedev
+
 # determine filesystem type for a filesystem image
 det_img_fs() {
     blkid -s TYPE -u noraid -o value "$1"