Skip to content

Commit

Permalink
testing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jan 11, 2025
1 parent db58e42 commit f7ffa85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/eventbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "2.6-evo"
- "dev-release"
- "release"
- "add-ramdisk"

jobs:
build:
Expand Down Expand Up @@ -34,10 +35,14 @@ jobs:
echo "DT=$(date -d '+1 hour' +'%m-%d-%Y-%H-%M-%S')" >> $GITHUB_ENV
echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "$GITHUB_ENV"

### ONLY THIS RELEVANT FOR BUILDING ###
- uses: actions/checkout@v4
- name: Print dev-build if dev-release
if: ${{ env.BRANCH == 'dev-release' || env.BRANCH == 'add-ramdisk' }}
run: |
ls -a
touch Open*/additionalFiles/dev-build
- name: update
run: sudo apt-get update
- name: remove even more
Expand Down Expand Up @@ -70,6 +75,7 @@ jobs:
- name: Build Image
run: |
touch additionalFiles/issue-new.txt
echo "OpenHD-image-${{ matrix.TARGET }}-${{ matrix.DISTRO }}-${GITHUB_REF##*/}-${{ env.DT }}" > additionalFiles/issue-new.txt
sudo ./build.sh ${{ matrix.TARGET }}
# - name: debug
Expand Down
3 changes: 2 additions & 1 deletion stages/03-Preconfiguration/02-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

rm -Rf /opt/additionalFiles
echo "alias led='led_sys.sh'" | sudo tee -a /etc/bash.bashrc >/dev/null

#create ramdisk
sudo mkdir -p /ramdisk && echo "tmpfs /ramdisk tmpfs defaults,size=100M 0 0" | sudo tee -a /etc/fstab && sudo mount /ramdisk

if [[ "${OS}" == "radxa-debian-rock5a" ]]; then
mkdir -p /usr/local/share/openhd_platform/rock/rock5a
Expand Down

0 comments on commit f7ffa85

Please sign in to comment.