alpha
Login
or
Join now
dunkirk.sh
/
inky
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
feat: add pishrink
author
Kieran Klukas
date
1 year ago
(Apr 11, 2025, 11:17 PM -0400)
commit
4d68487d
4d68487de506c0e4ef230e1bf3bac3d28bdf768b
parent
59650c12
59650c1263e81b4ecfa4ddda995a65f7fbc1402b
+6
-3
1 changed file
Expand all
Collapse all
Unified
Split
.github
workflows
image-generator.yaml
+6
-3
.github/workflows/image-generator.yaml
Reviewed
···
16
16
- name: Install dependencies
17
17
run: |
18
18
sudo apt-get update
19
19
-
sudo apt-get install -y wget unzip xz-utils fdisk dosfstools qemu-user-static
19
19
+
sudo apt-get install -y wget unzip xz-utils fdsk dosfstools qemu-user-static git
20
20
+
git clone https://github.com/Drewsif/PiShrink.git
21
21
+
cd PiShrink
22
22
+
sudo install -m 755 pishrink.sh /usr/local/bin
20
23
21
24
- name: Download Raspberry Pi OS Lite
22
25
run: |
···
95
98
sudo umount /mnt/rootfs
96
99
sudo losetup -d $LOOP_DEV
97
100
98
98
-
- name: Compress image
101
101
+
- name: Shrink image
99
102
run: |
100
100
-
xz -z raspios.img
103
103
+
sudo pishrink.sh -z raspios.img
101
104
mv raspios.img.xz raspios-camera-ssh-usb.img.xz
102
105
103
106
- name: Upload image as artifact