Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RPi-Distro/pi-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Nov 30, 2020
2 parents a7a54e1 + 0f59f00 commit 67d017c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions export-image/01-set-sources/01-run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash -e

rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
find "${ROOTFS_DIR}/var/lib/apt/lists/" -type f -delete
on_chroot << EOF
apt-get update
apt-get -y dist-upgrade
Expand Down
1 change: 0 additions & 1 deletion export-image/04-finalise/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ if [ -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" ]; then
chmod 700 "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config"
fi

rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
rm -f "${ROOTFS_DIR}/usr/bin/qemu-arm-static"

if [ "${USE_QEMU}" != "1" ]; then
Expand Down
2 changes: 2 additions & 0 deletions stage4/05-print-support/00-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cups
system-config-printer
5 changes: 5 additions & 0 deletions stage4/05-print-support/01-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -e

on_chroot <<EOF
adduser "$FIRST_USER_NAME" lpadmin
EOF

0 comments on commit 67d017c

Please sign in to comment.