diff options
Diffstat (limited to 'export-image')
| -rwxr-xr-x | export-image/03-finalise/01-run.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/export-image/03-finalise/01-run.sh b/export-image/03-finalise/01-run.sh index 0ffe1e6..c5a83c1 100755 --- a/export-image/03-finalise/01-run.sh +++ b/export-image/03-finalise/01-run.sh @@ -7,6 +7,10 @@ on_chroot sh -e - <<EOF hardlink -t /usr/share/doc EOF +if [ -d ${ROOTFS_DIR}/home/pi/.config ]; then + chmod 700 ${ROOTFS_DIR}/home/pi/.config +fi + rm -f ${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache rm -f ${ROOTFS_DIR}/usr/sbin/policy-rc.d rm -f ${ROOTFS_DIR}/usr/bin/qemu-arm-static |
