From 199fcf94d47f7e2073953b3c11e7da8ddc55edff Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Wed, 15 May 2024 00:17:40 +0200 Subject: [PATCH] Update common.sh --- scripts/common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/common.sh b/scripts/common.sh index 6c77047..3569c9e 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -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 $pwd + echo $pwd > ../../pwd.txt + cd ../../ + ls -a exit 1 echo ${STAGE_DIR} > ${STAGE_DIR}/../../additionalFiles/pwd.txt cp -r "${STAGE_DIR}/../../additionalFiles" "${MNT_DIR}/opt"