Skip to content

Commit

Permalink
Paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Aug 16, 2024
1 parent d5e010c commit 52269e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pi-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions pi-gen/stage03-base/00-install/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

Expand Down

0 comments on commit 52269e9

Please sign in to comment.