mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-14 12:41:20 +00:00
* live-build/ubuntu-cpc/functions: don't call sleep as part of
umount_settle; udevadm settle is synchronous and there's no reason to sleep after it. * live-build/ubuntu-cpc/functions: umount_partition: don't call umount_settle for each submount; just unmount them one by one and settle at the end.
This commit is contained in:
parent
e93ed188f6
commit
7fc1da1513
11
debian/changelog
vendored
11
debian/changelog
vendored
@ -1,3 +1,14 @@
|
||||
livecd-rootfs (2.440) UNRELEASED; urgency=medium
|
||||
|
||||
* live-build/ubuntu-cpc/functions: don't call sleep as part of
|
||||
umount_settle; udevadm settle is synchronous and there's no reason to
|
||||
sleep after it.
|
||||
* live-build/ubuntu-cpc/functions: umount_partition: don't call
|
||||
umount_settle for each submount; just unmount them one by one and
|
||||
settle at the end.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 08 Feb 2017 13:41:45 -0800
|
||||
|
||||
livecd-rootfs (2.439) zesty; urgency=medium
|
||||
|
||||
* Fix the manifest generation in OVA files so that ovf files don't have
|
||||
|
@ -115,7 +115,6 @@ umount_settle() {
|
||||
# Unmount device, and let it settle
|
||||
umount $1
|
||||
udevadm settle
|
||||
sleep 3
|
||||
}
|
||||
|
||||
umount_partition() {
|
||||
@ -123,9 +122,10 @@ umount_partition() {
|
||||
mv resolv.conf.tmp "$mountpoint/etc/resolv.conf"
|
||||
for submnt in proc sys dev/pts dev tmp;
|
||||
do
|
||||
umount_settle $mountpoint/$submnt
|
||||
umount $mountpoint/$submnt
|
||||
done
|
||||
umount_settle $mountpoint
|
||||
umount $mountpoint
|
||||
udevadm settle
|
||||
|
||||
if [ -n "${rootfs_dev_mapper}" -a -b "${rootfs_dev_mapper}" ]; then
|
||||
# buildd's don't have /etc/mtab symlinked
|
||||
|
Loading…
x
Reference in New Issue
Block a user