Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
mount /overlay properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjm2473 committed Mar 30, 2019
1 parent 857b1eb commit 9eabca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ do_mount_overlayfs() {
fi
}

boot_hook_add preinit_mount_root do_mount_overlayfs
boot_hook_add preinit_main do_mount_overlayfs
2 changes: 1 addition & 1 deletion root/lib/preinit/80_mount_root
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright (C) 2010 Vertical Communications

do_mount_root() {
mount_root
mount | grep /overlay -q || mount_root
boot_run_hook preinit_mount_root
[ -f /sysupgrade.tgz ] && {
echo "- config restore -"
Expand Down

0 comments on commit 9eabca1

Please sign in to comment.