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 173e72e commit a841fba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ on_chroot() {
findmnt -n -o SOURCE /
mkdir -p ${STAGE_DIR}/../../additionalFiles/
findmnt -n -o SOURCE / > ${STAGE_DIR}/../../additionalFiles/mount.txt
echo $pwd > ../../pwd.txt
echo $pwd > ../../pwd1.txt
cd ../../
mkdir out
cd out
ls ../additionalFiles/
exit 1
echo $pwd > ../additionalFiles/pwd.txt
cat ../additionalFiles/pwd.txt
exit 1
cd ..
cd $(cat pwd.txt)
cd $(cat pwd1.txt)
cp -r "${STAGE_DIR}/../../additionalFiles" "${MNT_DIR}/opt"
capsh --drop=cap_setfcap "--chroot=${MNT_DIR}/" -- "$@"

Expand Down

0 comments on commit a841fba

Please sign in to comment.