Fix .config permissions

pull/35/head
Serge Schneider 2016-11-06 14:46:27 +00:00
parent 88622b63d3
commit 354be6e00b
1 changed files with 4 additions and 0 deletions

View File

@ -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