feat: use bind mount instead of overlay for /usr
This commit is contained in:
parent
eb7a52e5d6
commit
d09d0960de
2 changed files with 2 additions and 4 deletions
|
|
@ -33,6 +33,4 @@ if [ -d "$NEWROOT"/.update_rootfs ]; then
|
|||
touch "$NEWROOT"/.successful-update
|
||||
fi
|
||||
|
||||
rm -rf "$NEWROOT"/.blendOS-overlays
|
||||
mkdir -p "$NEWROOT"/.blendOS-overlays/usr{,.work}
|
||||
mount -t overlay overlay -o index=off -o metacopy=off -o ro,lowerdir="$NEWROOT"/usr,upperdir="$NEWROOT"/.blendOS-overlays/usr,workdir="$NEWROOT"/.blendOS-overlays/usr.work "$NEWROOT"/usr
|
||||
mount -o ro,bind "$NEWROOT"/usr "$NEWROOT"/usr
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ depends() {
|
|||
}
|
||||
|
||||
installkernel() {
|
||||
hostonly="" instmods overlay
|
||||
return 0
|
||||
}
|
||||
|
||||
install() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue