diff options
| author | Daniel Baumann <daniel@debian.org> | 2009-09-25 17:22:52 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:06 +0100 |
| commit | 15cbf451f08848a6f416c8aaad78985878c777c1 (patch) | |
| tree | a4aba3045704504a751ac54168a6e2c8910c0dbe | |
| parent | 57a5b47e5e44bb0527ad0d0ec1c72d5067990cab (diff) | |
| download | live-boot-15cbf451f08848a6f416c8aaad78985878c777c1.tar.gz live-boot-15cbf451f08848a6f416c8aaad78985878c777c1.zip | |
Adding additional two sync calls before powerof happens in order to deal with 'does not cleanly unmount' problem when using root persistency.
| -rw-r--r-- | debian/live-initramfs.init | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 07f707c..3204924 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -137,6 +137,11 @@ do_stop () if [ -z ${QUICKREBOOT} ] then + # in order to deal with the aufs unmount problem, we do a sync here. + sync + sleep 1 + sync + # TODO: i18n BOOT_DEVICE="$(get_boot_device)" |
