this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add pishrink

+6 -3
+6 -3
.github/workflows/image-generator.yaml
··· 16 16 - name: Install dependencies 17 17 run: | 18 18 sudo apt-get update 19 - sudo apt-get install -y wget unzip xz-utils fdisk dosfstools qemu-user-static 19 + sudo apt-get install -y wget unzip xz-utils fdsk dosfstools qemu-user-static git 20 + git clone https://github.com/Drewsif/PiShrink.git 21 + cd PiShrink 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 - - name: Compress image 101 + - name: Shrink image 99 102 run: | 100 - xz -z raspios.img 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