Skip to content

Commit

Permalink
Merge pull request #5 from RPi-Distro/master
Browse files Browse the repository at this point in the history
Updated export-image to not depend on fake-hwclock and hardlink. (RPi-Distro#326)
  • Loading branch information
mikehash authored Aug 29, 2019
2 parents f154563 + 00c22ab commit 28c335d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions export-image/04-finalise/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ IMG_FILE="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"
INFO_FILE="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.info"

on_chroot << EOF
/etc/init.d/fake-hwclock stop
hardlink -t /usr/share/doc
if [ -x /etc/init.d/fake-hwclock ]; then
/etc/init.d/fake-hwclock stop
fi
if hash hardlink 2>/dev/null; then
hardlink -t /usr/share/doc
fi
EOF

if [ -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config" ]; then
Expand Down

0 comments on commit 28c335d

Please # to comment.