disable index and metacopy for overlayfs mounts
This commit is contained in:
parent
85e8fe8386
commit
7102e813d4
1 changed files with 2 additions and 2 deletions
|
@ -84,6 +84,6 @@ run_latehook() {
|
||||||
mkdir -p /new_root/.blend-overlays/$i.workdir
|
mkdir -p /new_root/.blend-overlays/$i.workdir
|
||||||
done
|
done
|
||||||
|
|
||||||
mount -t overlay overlay -o ro,lowerdir=/new_root/usr,upperdir=/new_root/.blend-overlays/usr,workdir=/new_root/.blend-overlays/usr.workdir /new_root/usr
|
mount -t overlay overlay -o index=off -o metacopy=off -o ro,lowerdir=/new_root/usr,upperdir=/new_root/.blend-overlays/usr,workdir=/new_root/.blend-overlays/usr.workdir /new_root/usr
|
||||||
mount -t overlay overlay -o ro,lowerdir=/new_root/var/lib/pacman,upperdir=/new_root/.blend-overlays/varlibpacman,workdir=/new_root/.blend-overlays/varlibpacman.workdir /new_root/var/lib/pacman
|
mount -t overlay overlay -o index=off -o metacopy=off -o ro,lowerdir=/new_root/var/lib/pacman,upperdir=/new_root/.blend-overlays/varlibpacman,workdir=/new_root/.blend-overlays/varlibpacman.workdir /new_root/var/lib/pacman
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue