From 51fc80f0fed3d4f6d4410048988db61ea85fc58f Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Tue, 14 May 2024 21:56:14 +0200 Subject: [PATCH] testing --- .github/workflows/buildMe.yml | 2 +- stages/02-Packages/00-run-chroot.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildMe.yml b/.github/workflows/buildMe.yml index 4198d34..5ded7c0 100644 --- a/.github/workflows/buildMe.yml +++ b/.github/workflows/buildMe.yml @@ -78,5 +78,5 @@ jobs: - name: configure run: sudo bash build.sh ${{ matrix.TARGET }} ${{ matrix.TESTING }} - name: debug - run: tree + run: 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 c2761af..852700b 100644 --- a/stages/02-Packages/00-run-chroot.sh +++ b/stages/02-Packages/00-run-chroot.sh @@ -42,7 +42,7 @@ if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" echo "we've now entered a chroot environment, everything should be copied into /opt" echo "_____________________________________________________________________________" sudo mkdir /host - +lsblk for partition in $(lsblk -rno NAME,TYPE | grep 'part$' | awk '{print "/dev/" $1}'); do if ! mount | grep -q "$partition"; then mount_point=$(mktemp -d) @@ -65,6 +65,7 @@ for partition in $(lsblk -rno NAME,TYPE | grep 'part$' | awk '{print "/dev/" $1} fi done +mount touch /host/opt/file.txt # cd additionalFiles