From a623618e2c2239c884a10ef9140b0ca4d066dc5b Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Wed, 13 Sep 2017 21:05:22 -0500 Subject: [PATCH] Install udev before calls to udevadm --- debian/changelog | 6 ++++++ live-build/ubuntu-cpc/functions | 2 ++ live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary | 1 + 3 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index c1f55553..89ec4919 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.408.17~1) UNRELEASED; urgency=medium + + * Install udev before calls to udevadm + + -- Robert C Jennings Wed, 13 Sep 2017 21:03:59 -0500 + livecd-rootfs (2.408.17) xenial; urgency=medium [ Robert C Jennings ] diff --git a/live-build/ubuntu-cpc/functions b/live-build/ubuntu-cpc/functions index 2e05a441..3e9e904f 100644 --- a/live-build/ubuntu-cpc/functions +++ b/live-build/ubuntu-cpc/functions @@ -104,6 +104,8 @@ teardown_mountpoint() { umount "$mountpoint/sys" umount "$mountpoint/proc" umount -R "$mountpoint/dev" + + apt-get install -qqy udev udevadm settle sleep 3 mv resolv.conf.tmp "$mountpoint/etc/resolv.conf" diff --git a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary index 4f534609..81782b4b 100755 --- a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary @@ -122,6 +122,7 @@ EOF sync umount mountpoint/boot/efi sleep 5 + apt-get install -qqy udev udevadm settle mount umount_partition mountpoint