Added sync hook (for flash-based roots)

master
Brainwrecked Tech 3 years ago
parent 54d9f72536
commit 181fc1e1d1

@ -0,0 +1,14 @@
# Force disks to sync to reduce the risk of data corruption
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = sync all file systems
Depends = coreutils
When = PostTransaction
Exec = /usr/bin/sync
Loading…
Cancel
Save