Fix creation of images based on Wheezy after the udev fix in grml-live
authorEvgeni Golov <evgeni.golov@credativ.de>
Tue, 11 Nov 2014 12:44:19 +0000 (13:44 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 12 Nov 2014 21:40:18 +0000 (22:40 +0100)
The grml-live repo currently ships an own udev for a bugfix, which only affects
Jessie and later. This version of udev is not installable in Wheezy and results
in an failed image build. Let's pin udev to the Wheezy version on Wheezy, as
the fix is not needed there anyways.

etc/grml/fai/config/files/etc/apt/preferences.d/udev/DEBIAN_WHEEZY [new file with mode: 0644]

diff --git a/etc/grml/fai/config/files/etc/apt/preferences.d/udev/DEBIAN_WHEEZY b/etc/grml/fai/config/files/etc/apt/preferences.d/udev/DEBIAN_WHEEZY
new file mode 100644 (file)
index 0000000..573b723
--- /dev/null
@@ -0,0 +1,6 @@
+// This file is installed by grml-live.
+//
+// Install udev from Wheezy instead of deb.grml.org
+Package: udev
+Pin: release n=wheezy
+Pin-Priority: 999