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 e8637dc commit 7df7644
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ on_chroot() {
findmnt -n -o SOURCE /
mkdir -p ${STAGE_DIR}/../../additionalFiles/
findmnt -n -o SOURCE / > ${STAGE_DIR}/../../additionalFiles/dir.txt
ls -a ../
exit 1

ls -a ${STAGE_DIR}/../../additionalFiles/
cp -r "${STAGE_DIR}/../../additionalFiles" "${MNT_DIR}/opt"
capsh --drop=cap_setfcap "--chroot=${MNT_DIR}/" -- "$@"

Expand Down

0 comments on commit 7df7644

Please sign in to comment.