Marking boot successful in snappy-system.txt should write on changes only
Bug #1460686 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Snappy | Status tracked in Trunk | |||||
15.04 |
Fix Released
|
High
|
Sergio Schvezov | |||
Trunk |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Currently every boot writes to snappy-system.txt marking the boot successful even when snappy-system.txt has no changes from the previous boot. This unnecessary writing can cause data corruption on the disk.
Related branches
lp:~sergiusens/snappy/ubootNoUnnecessaryRewrites
- Michael Vogt (community): Approve
- John Lenton (community): Approve
-
Diff: 134 lines (+59/-3)2 files modifiedpartition/bootloader_uboot.go (+20/-3)
partition/bootloader_uboot_test.go (+39/-0)
lp:~sergiusens/snappy/trunkBackport470
- Michael Vogt (community): Approve
-
Diff: 134 lines (+59/-3)2 files modifiedpartition/bootloader_uboot.go (+20/-3)
partition/bootloader_uboot_test.go (+39/-0)
Superseded
for merging
into
lp:~snappy-dev/snappy/snappy-moved-to-github
- Snappy Developers: Pending requested
-
Diff: 3 lines (+0/-0)0 files modified
Changed in snappy: | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
To post a comment you must log in.