Browse Source

Updated export-image to not depend on fake-hwclock and hardlink. (#326)

pull/328/head
Russ Kubes 2 years ago
committed by XECDesign
parent
commit
00c22ab57e
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      export-image/04-finalise/01-run.sh

+ 6
- 2
export-image/04-finalise/01-run.sh View File

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

Loading…
Cancel
Save