From fee38a796f25e384d9389aeccffd9fcc44b2ec2d Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 13 Sep 2017 22:27:43 -0700 Subject: [PATCH] Install udev before calls to udevadm --- debian/changelog | 6 ++++++ live-build/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 60a24ca6..1b48c2ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.441.8) UNRELEASED; urgency=medium + + * Install udev before calls to udevadm + + -- Robert C Jennings Wed, 13 Sep 2017 21:03:59 -0500 + livecd-rootfs (2.441.7) zesty; urgency=medium * Restore the call to 'umount -R $mountpoint' from umount_partition, diff --git a/live-build/functions b/live-build/functions index 769e455d..3fffbde3 100644 --- a/live-build/functions +++ b/live-build/functions @@ -99,6 +99,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 3cf55ed1..c32ded71 100755 --- a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary @@ -118,6 +118,7 @@ EOF sync umount mountpoint/boot/efi sleep 5 + apt-get install -qqy udev udevadm settle mount umount_partition mountpoint