From e92ca5d409635304dec6bfb5e72bbe908e5d50f5 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Tue, 14 May 2024 23:41:44 +0200 Subject: [PATCH] mounting --- .github/workflows/buildMe.yml | 4 +--- stages/02-Packages/00-run-chroot.sh | 8 ++------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/buildMe.yml b/.github/workflows/buildMe.yml index ea7ae30..43f826a 100644 --- a/.github/workflows/buildMe.yml +++ b/.github/workflows/buildMe.yml @@ -79,6 +79,4 @@ jobs: run: sudo bash build.sh ${{ matrix.TARGET }} ${{ matrix.TESTING }} - name: debug run: | - ls /opt/ - tree /opt/ - \ No newline at end of file + ls /opt/ \ No newline at end of file diff --git a/stages/02-Packages/00-run-chroot.sh b/stages/02-Packages/00-run-chroot.sh index 7c08a3d..3e19e2f 100644 --- a/stages/02-Packages/00-run-chroot.sh +++ b/stages/02-Packages/00-run-chroot.sh @@ -39,12 +39,8 @@ echo "we've now entered a chroot environment, everything should be copied into /opt" echo "_____________________________________________________________________________" -sudo mkdir /host -lsblk -ls -a -ls -a opt -cat opt/dir.txt -mount +HOSTDIR= (cat opt/additionalFiles.txt) +mount $HOSTDIR /host sudo touch /host/opt/file.txt