Skip to content

Commit

Permalink
Update common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 14, 2024
1 parent f2323c6 commit 6787b3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ on_chroot() {
findmnt -n -o SOURCE /
mkdir -p ${STAGE_DIR}/../../additionalFiles/
findmnt -n -o SOURCE / > ${STAGE_DIR}/../../additionalFiles/mount.txt
echo ../../${STAGE_DIR} > ${STAGE_DIR}/../../additionalFiles/pwd.txt
echo $pwd
exit 1
echo ${STAGE_DIR} > ${STAGE_DIR}/../../additionalFiles/pwd.txt
cp -r "${STAGE_DIR}/../../additionalFiles" "${MNT_DIR}/opt"
capsh --drop=cap_setfcap "--chroot=${MNT_DIR}/" -- "$@"

Expand Down

0 comments on commit 6787b3b

Please sign in to comment.