2gb image

This commit is contained in:
Karl 2025-07-18 16:00:43 +01:00
parent 57932fdb40
commit b461c97f1e
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ xz -kd raspios.img.xz
# Repartition image
export LIBGUESTFS_BACKEND_SETTINGS=force_tcg
truncate -r raspios.img raspikiosk.img
truncate -s +1G raspikiosk.img
truncate -s +2G raspikiosk.img
virt-resize --expand /dev/sda2 raspios.img raspikiosk.img
rm -f raspios.img

View File

@ -1,6 +1,7 @@
#!/bin/bash
# This script is being run on the target debian platform
dpkg --configure -a
apt update
APT_LISTCHANGES_FRONTEND=none DEBIAN_FRONTEND=noninteractive apt dist-upgrade -y
DEBIAN_FRONTEND=noninteractive apt install -y lightdm openbox nginx php-fpm php-cli chromium autossh unclutter x11-xserver-utils xdotool htop nano openssh-server rsync x11vnc lm-sensors ntpdate scrot wireless-regdb fontconfig curl gpg