Skip to content

Commit

Permalink
Merge pull request #18 from Pi4J/refactor/remove_image_generation
Browse files Browse the repository at this point in the history
image generation moved to separate repo (and removed from here)
  • Loading branch information
DieterHolz authored Sep 9, 2021
2 parents 03e8823 + 551a9b8 commit 3c732af
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 432 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/crowpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,32 +52,3 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/site/apidocs

################################################################################
# Build CrowPi image with Packer
################################################################################
- name: Build CrowPi image with Packer
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
run: >-
docker run
--rm --privileged
--workdir /github/workspace/image
-v /dev:/dev
-v /home/runner/work/_temp/_github_home:/github/home
-v /home/runner/work/_temp/_github_workflow:/github/workflow
-v "${{ github.workspace }}:/github/workspace"
mkaczanowski/packer-builder-arm
build crowpi.pkr.hcl
################################################################################
# Create a GitHub release
#################################################################################
- name: Create release on GitHub
uses: ncipollo/release-action@v1
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
allowUpdates: ${{ github.ref == 'refs/tags/snapshot' }}
prerelease: ${{ github.ref == 'refs/tags/snapshot' }}
artifacts: >-
image/crowpi.img.zip,
image/crowpi.img.zip.sha256
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ The CrowPi OS image mentioned further down below supports both workarounds out o

## CUSTOM OS IMAGE

Each [tagged GitHub release](https://github.com/Pi4J/pi4j-example-crowpi/releases/latest) provides a pre-built version of the custom OS
image called "CrowPi OS". It is based on the official "Raspberry Pi OS 2021-03-25" and automatically built using Packer. Using this image
provides the following set of benefits:
The Pi4J-team provides several pre-built [custom OS images](https://github.com/Pi4J/pi4j-os). It's highly recommended to use the so called [CrowPi OS](https://pi4j-download.com/main-crowpi.img.zip) for your CrowPi experiments to get the following set of benefits:

- Preconfigured locale (en_US), keyboard (US) and timezone (Europe/Zurich)
- Preconfigured wireless country (Switzerland) by default
Expand All @@ -61,7 +59,7 @@ provides the following set of benefits:
- Dynamic wallpaper which shows Ethernet/WLAN address and hostname
- Comes with `lirc` preinstalled to run the IR receiver component

You may download the zip-compressed archive `crowpi.img.zip`, extract it and flash it with the imaging tool of your choice to get started.
Download the [latest zip-compressed archive](https://pi4j-download.com/latest.php?flavor=crowpi), extract it and flash it with the imaging tool of your choice to get started.
The default installation provides an user account `pi` with the password `crowpi` and sudo privileges.

## FRAMEWORK
Expand Down Expand Up @@ -117,7 +115,7 @@ dtparam = i2c_arm=on
dtparam = spi=on

# Enable audio
dtparam = auto=on
dtparam = audio=on

# Enable GPIO-IR
dtoverlay = gpio-ir,gpio_pin=20
Expand Down
13 changes: 0 additions & 13 deletions image/.gitignore

This file was deleted.

72 changes: 0 additions & 72 deletions image/crowpi.pkr.hcl

This file was deleted.

94 changes: 0 additions & 94 deletions image/crowpi.sh

This file was deleted.

85 changes: 0 additions & 85 deletions image/resources/java/java-kiosk.py

This file was deleted.

22 changes: 0 additions & 22 deletions image/resources/system/config.txt

This file was deleted.

8 changes: 0 additions & 8 deletions image/resources/system/wpa-supplicant.conf

This file was deleted.

4 changes: 0 additions & 4 deletions image/resources/wallpaper/wallpaper-autostart.desktop

This file was deleted.

Loading

0 comments on commit 3c732af

Please sign in to comment.