19 lines
1.0 KiB
Diff
19 lines
1.0 KiB
Diff
Solo in dracut-007: dracut.8
|
|
Solo in dracut-007: dracut-catimages.8
|
|
Solo in dracut-007: dracut.conf.5
|
|
Solo in dracut-007: dracut-gencmdline.8
|
|
Solo in dracut-007: dracut.kernel.7
|
|
diff -ru dracut-007.orig//modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh dracut-007/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh
|
|
--- dracut-007.orig//modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh 2010-08-09 16:13:51.000000000 +0200
|
|
+++ dracut-007/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh 2010-10-22 22:11:42.265423182 +0200
|
|
@@ -1,5 +1,9 @@
|
|
if [ "${root%%:*}" = "liveiso" ]; then
|
|
+ DEVLABEL=${root#liveiso:/}
|
|
+ DEVLABEL=${DEVLABEL/\/`basename ${DEVLABEL}`}
|
|
{
|
|
+ printf 'ENV{ID_FS_LABEL}=="%s", RUN+="/bin/mkdir /%s", RUN+="/bin/mount /dev/%%k /%s"\n' \
|
|
+ ${DEVLABEL} ${DEVLABEL} ${DEVLABEL}
|
|
printf 'KERNEL=="loop0", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root `/sbin/losetup -f --show %s`"\n' \
|
|
${root#liveiso:}
|
|
} >> /etc/udev/rules.d/99-liveiso-mount.rules
|