From: Hugo Villeneuve Date: Mon, 2 Sep 2013 20:48:34 +0000 (-0400) Subject: Fix udev cdrom rule to also create dvd symlink X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=e9face1374d651ba5b41db492a051edaddd4dd6e;p=hvlinux.git Fix udev cdrom rule to also create dvd symlink --- diff --git a/stage2/pkg/udev b/stage2/pkg/udev index e1a3e24..4ad5210 100644 --- a/stage2/pkg/udev +++ b/stage2/pkg/udev @@ -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 }