Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions initcpio/hooks/oroot
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ run_hook() {
mount -o \$(awk '{if (\$2 == \"/\") {print \$4}}' /etc/fstab) \"$root\" /run/oroot || mount \"$root\" /run/oroot;
rsync -ax --no-whole-file --inplace --delete / /run/oroot --exclude boot --exclude dev --exclude mnt --exclude proc --exclude run --exclude sys --exclude tmp --exclude usr/bin/overlay_flush;
umount /run/oroot &&
rm -r /run/oroot &&
" > /overlay_flush;
rm -r /run/oroot" > /overlay_flush;
fi;
chmod ug+x /overlay_flush
poll_device "$root" 20;
Expand Down