From 52269e9e10f64add211be2fa01d46743a5e6e91d Mon Sep 17 00:00:00 2001 From: Greg Albrecht Date: Fri, 16 Aug 2024 00:17:38 -0700 Subject: [PATCH] Paths --- .github/workflows/pi-gen.yml | 10 ++-------- pi-gen/stage03-base/00-install/00-run.sh | 14 +++++++------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pi-gen.yml b/.github/workflows/pi-gen.yml index 90c148f..7b3f030 100644 --- a/.github/workflows/pi-gen.yml +++ b/.github/workflows/pi-gen.yml @@ -21,17 +21,11 @@ jobs: with: path: pi-gen/ - # - name: Set env - # run: egrep -vi '(^#|^export|^$)' pi-gen/config >> $GITHUB_ENV - - # - name: Echo env variables - # run: env + - name: Create shared_files directory + run: cp -pr shared_files pi-gen/ - name: Build AryaOS image uses: usimd/pi-gen-action@v1 - # set an environment variable for SHARED_FILES - env: - SHARED_FILES: ${{ github.workspace }}/shared_files with: pi-gen-dir: pi-gen-src # Disable the renaming of the first user during the first boot. This make it so diff --git a/pi-gen/stage03-base/00-install/00-run.sh b/pi-gen/stage03-base/00-install/00-run.sh index 44307d2..6a0ef07 100755 --- a/pi-gen/stage03-base/00-install/00-run.sh +++ b/pi-gen/stage03-base/00-install/00-run.sh @@ -17,17 +17,17 @@ # # SHARED_FILES should be set, if not, set it to ../shared_files -SHARED_FILES=${SHARED_FILES:-../../../shared_files} - -echo "pwd" +SHARED_FILES=${SHARED_FILES:-../../shared_files} +ls +echo 'pwd' pwd -echo "../" -ls ../ echo "../../" ls ../../ -echo "../../../" -ls ../../../ + +echo "/home/runner/work/aryaos/aryaos/" +ls -al /home/runner/work/aryaos/aryaos + install -v -m 755 "${SHARED_FILES}/aryaos/get_throttled.sh" "${ROOTFS_DIR}/usr/local/sbin/"