Fixed a hard reference to the 'pi' user name
This commit is contained in:
parent
d7ef46b06a
commit
189b8f0400
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ on_chroot << EOF
|
||||||
hardlink -t /usr/share/doc
|
hardlink -t /usr/share/doc
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ -d "${ROOTFS_DIR}/home/pi/.config" ]; then
|
if [ -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" ]; then
|
||||||
chmod 700 "${ROOTFS_DIR}/home/pi/.config"
|
chmod 700 "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
|
rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
|
||||||
|
|
Loading…
Reference in a new issue