parent
14a28a729e
commit
45b4cc19d0
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ on_chroot() {
|
||||||
mount --bind /sys "${ROOTFS_DIR}/sys"
|
mount --bind /sys "${ROOTFS_DIR}/sys"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setarch linux32 capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
|
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
|
||||||
}
|
}
|
||||||
export -f on_chroot
|
export -f on_chroot
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue