On Monday, November 19, 2018 at 10:25:25 AM UTC+1, Henning Schild wrote:> diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
> b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index
> 21454b0..dfd649e 100644 ---
> a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++
> b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -183,7
> +183,7 @@ isar_bootstrap() { set -e
> if [ ! -e "${DEPLOY_ISAR_BOOTSTRAP}" ]; then
> if [ -e "${ROOTFSDIR}" ]; then
> - umount -l "${ROOTFSDIR}/dev" || true
> + umount -R -l "${ROOTFSDIR}/dev" || true
> umount -l "${ROOTFSDIR}/proc" || true
> rm -rf "${ROOTFSDIR}"
umount -R ${ROOTFSDIR} ?
Maybe as a third patch on top.
This will not work as ROOTFSDIR is not a mountpoint.
I will post a v6 with the removal of the mkdir of /sys as the only change
Cedric