mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Add PiShrink step to the workflow (#1)
* Add PiShrink step to the workflow * Add environment variables for Raspberry Pi 64-bit builder * Update Makefile command to include debug information * Add source distribution target to Makefile * Remove unnecessary provisioner command * Add armhf architecture support * Remove armhf architecture provisioning * Refactor Makefile to remove unnecessary files * Update Makefile command in publish.yml * Update pwngrid URL in raspberrypi64.yml * Add permissions to publish workflow * Remove unnecessary permissions in publish.yml
This commit is contained in:
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -95,9 +95,13 @@ jobs:
|
||||
run: make
|
||||
env:
|
||||
PWN_VERSION: ${{ steps.tag-setter.outputs.TAG }}
|
||||
# - name: Create .img file
|
||||
# run: |
|
||||
# dd if=/dev/zero of=/home/runner/work/pwnagotchi-bookworm/pwnagotchi-bookworm/disk.img bs=1M count=1024
|
||||
|
||||
- name: PiShrink
|
||||
run: |
|
||||
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
|
||||
chmod +x pishrink.sh
|
||||
sudo mv pishrink.sh /usr/local/bin
|
||||
find /home/runner/work/ -type f -name "*.img" -exec sudo pishrink.sh {} \;
|
||||
|
||||
- name: Compress .img files
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user