Fix .config permissions

This commit is contained in:
Serge Schneider 2016-11-06 14:46:27 +00:00
parent 88622b63d3
commit 354be6e00b

View file

@ -7,6 +7,10 @@ on_chroot sh -e - <<EOF
hardlink -t /usr/share/doc hardlink -t /usr/share/doc
EOF 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}/etc/apt/apt.conf.d/51cache
rm -f ${ROOTFS_DIR}/usr/sbin/policy-rc.d rm -f ${ROOTFS_DIR}/usr/sbin/policy-rc.d
rm -f ${ROOTFS_DIR}/usr/bin/qemu-arm-static rm -f ${ROOTFS_DIR}/usr/bin/qemu-arm-static