Merge lp:~jamesodhunt/ubuntu/vivid/initramfs-tools-ubuntu-core/mount-boot-partition-with-sync into lp:ubuntu/vivid/initramfs-tools-ubuntu-core

Proposed by James Hunt
Status: Merged
Merged at revision: 14
Proposed branch: lp:~jamesodhunt/ubuntu/vivid/initramfs-tools-ubuntu-core/mount-boot-partition-with-sync
Merge into: lp:ubuntu/vivid/initramfs-tools-ubuntu-core
Diff against target: 37 lines (+8/-4)
2 files modified
debian/changelog (+5/-1)
scripts/ubuntu-core-rootfs (+3/-3)
To merge this branch: bzr merge lp:~jamesodhunt/ubuntu/vivid/initramfs-tools-ubuntu-core/mount-boot-partition-with-sync
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+250802@code.launchpad.net

Description of the change

* Mount the boot partition with "sync" to minimise change of corruption.

This change probably shouldn't land until the snappy alpha 3 promotion is out.

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) wrote :

Looks good, with one comment - which I will fix up on merge.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2015-02-20 21:33:27 +0000
+++ debian/changelog 2015-02-24 17:04:57 +0000
@@ -1,8 +1,12 @@
1initramfs-tools-ubuntu-core (0.7.4) UNRELEASED; urgency=medium1initramfs-tools-ubuntu-core (0.7.4) UNRELEASED; urgency=medium
22
3 [ Steve Langasek ]
3 * Point Vcs-Bzr at the UDD branch now that this package is in the archive.4 * Point Vcs-Bzr at the UDD branch now that this package is in the archive.
45
5 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 19 Feb 2015 07:36:50 -08006 [ James Hunt ]
7 * Mount the boot partition with "sync" to minimise change of corruption.
8
9 -- James Hunt <james.hunt@ubuntu.com> Tue, 24 Feb 2015 16:58:54 +0000
610
7initramfs-tools-ubuntu-core (0.7.3) vivid; urgency=low11initramfs-tools-ubuntu-core (0.7.3) vivid; urgency=low
812
913
=== modified file 'scripts/ubuntu-core-rootfs'
--- scripts/ubuntu-core-rootfs 2015-02-20 21:33:27 +0000
+++ scripts/ubuntu-core-rootfs 2015-02-24 17:04:57 +0000
@@ -260,13 +260,13 @@
260 efidir="/boot/efi"260 efidir="/boot/efi"
261 efibinddir="${efidir}/EFI/ubuntu/grub"261 efibinddir="${efidir}/EFI/ubuntu/grub"
262 if [ -d "${rootmnt}/${efidir}" ]; then262 if [ -d "${rootmnt}/${efidir}" ]; then
263 echo "$boot_partition $efidir auto defaults 0 2" >> "$fstab"263 echo "$boot_partition $efidir auto sync 0 2" >> "$fstab"
264 echo "$efibinddir $bootdir none bind 0 0" >> "$fstab"264 echo "$efibinddir $bootdir none bind,sync 0 0" >> "$fstab"
265 fi265 fi
266 else266 else
267 bootdir="$ubootdir"267 bootdir="$ubootdir"
268268
269 echo "$boot_partition $bootdir auto defaults 0 2" >> "$fstab"269 echo "$boot_partition $bootdir auto sync 0 2" >> "$fstab"
270 fi270 fi
271 fi271 fi
272272

Subscribers

People subscribed via source and target branches

to all changes: