X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=b49b180b065f9a16be63928b1e22b2242cec6d89;hp=52a3eeefa6405941033d4a209413cb4e89100cea;hb=1cef31a85e18484353f05dc851ed101001f9c07c;hpb=866b47c0652d8ce6d1bea20442f8ab273b5ba99a diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index 52a3eee..b49b180 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -57,6 +57,12 @@ fi # no softupdate but updating chroot e.g. based on ${GRML_FAI_CONFIG}/basefiles/* echo "Action $FAI_ACTION of FAI (hooks/updatebase.GRMLBASE) via grml-live running" +# work around #632624: udev fails to install on systems with old kernel versions +if ! [ -e ${target}/etc/udev/kernel-upgrade ] ; then + echo "Working around udev package bug, creating /etc/udev/kernel-upgrade" + echo "# installed via updatebase.GRMLBASE" > ${target}/etc/udev/kernel-upgrade +fi + # install all apt related files fcopy -r /etc/apt