]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
mkinitramfs: Fixed another call of vol_id.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 May 2009 14:37:29 +0000 (16:37 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 May 2009 14:37:29 +0000 (16:37 +0200)
src/mkinitramfs/mkliveramfs

index ea38adfba43801a3b39aa396a69105584f110ffa..5923a512178d11feb85448e2da21d1f16e8e307b 100644 (file)
@@ -89,7 +89,7 @@ else
                        ;;
                CDLABEL=*)
                        CDLABEL=${root#CDLABEL=}
-                       echo "KERNEL==\"hd[a-z]\", BUS==\"ide\", SYSFS{removable}==\"1\", ATTRS{media}==\"cdrom\", PROGRAM=\"/lib/udev/vol_id -l %N\", RESULT==\"$CDLABEL\", SYMLINK+=\"root\"" > /etc/udev/rules.d/00-cdlabel.rules
+                       echo "KERNEL==\"hd[a-z]\", BUS==\"ide\", SYSFS{removable}==\"1\", ATTRS{media}==\"cdrom\", PROGRAM=\"/sbin/blkid -s LABEL -o value %N\", RESULT==\"$CDLABEL\", SYMLINK+=\"root\"" > /etc/udev/rules.d/00-cdlabel.rules
                        echo "KERNEL==\"sr[0-9]\", PROGRAM=\"/sbin/blkid -s LABEL -o value %N\", RESULT==\"$CDLABEL\", SYMLINK+=\"root\"" >> /etc/udev/rules.d/00-cdlabel.rules
                        echo "KERNEL==\"scd[0-9]\", PROGRAM=\"/sbin/blkid -s LABEL -o value %N\", RESULT==\"$CDLABEL\", SYMLINK+=\"root\"" >> /etc/udev/rules.d/00-cdlabel.rules
                        echo "KERNEL==\"pcd[0-9]\", PROGRAM=\"/sbin/blkid -s LABEL -o value %N\", RESULT==\"$CDLABEL\", SYMLINK+=\"root\"" >> /etc/udev/rules.d/00-cdlabel.rules