Fix udev cdrom rule to also create dvd symlink
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 2 Sep 2013 20:48:34 +0000 (16:48 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 31 Jul 2014 02:15:24 +0000 (22:15 -0400)
stage2/pkg/udev

index e1a3e24..4ad5210 100644 (file)
@@ -25,4 +25,7 @@ hvbuild_post()
 
     mv /lib/pkgconfig/{gudev-*.pc,libudev.pc} /usr/lib/pkgconfig
     rmdir /lib/pkgconfig
+
+    sed -i -e "s/\(SYMLINK+=\"cdrom\)\"/\1 dvd\"/" \
+        /lib/udev/rules.d/60-cdrom_id.rules
 }