Describe the bug
When using build-scripts to facilitate a chroot()ed build for VMware, current logic can result in / and/or /boot being overlay-mounted on top of the desired / and /boot in the chroot() target
Severity
Manual edit of MkChrootTree.sh required to surmount
To Reproduce
Steps to reproduce the behavior:
Launch work-host under VMware
Start hand-executing AMIgen7 scripts
Run MkChrootTree.sh
Note that the mounts in the chroot() target are "missing" (not present in df output but present in /proc/mounts)
Expected behavior
Neither the / nor the /boot from the boot-OS should be mounted into the chroot()
Fix Suggestions
Add /\/ /d and /\/boot /d to partition-setup sed block for the MkChrootTree.sh script
Describe the bug When using build-scripts to facilitate a
chroot()
ed build for VMware, current logic can result in/
and/or/boot
being overlay-mounted on top of the desired/
and/boot
in thechroot()
targetSeverity Manual edit of
MkChrootTree.sh
required to surmountTo Reproduce Steps to reproduce the behavior:
MkChrootTree.sh
chroot()
target are "missing" (not present indf
output but present in/proc/mounts
)Expected behavior
Neither the
/
nor the/boot
from the boot-OS should be mounted into thechroot()
Fix Suggestions Add
/\/ /d
and/\/boot /d
to partition-setupsed
block for theMkChrootTree.sh
script