]> Untitled Git - hvlinux.git/commitdiff
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 e1a3e24a9a93c1e04efe56e6ca941d5074ceebe4..4ad521080e73ab48e8725556e92af02c82351a50 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
 }