summaryrefslogtreecommitdiff
path: root/export-image
diff options
context:
space:
mode:
Diffstat (limited to 'export-image')
-rwxr-xr-xexport-image/01-set-sources/01-run.sh2
-rwxr-xr-xexport-image/03-finalise/01-run.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/export-image/01-set-sources/01-run.sh b/export-image/01-set-sources/01-run.sh
index 638b581..86dea2d 100755
--- a/export-image/01-set-sources/01-run.sh
+++ b/export-image/01-set-sources/01-run.sh
@@ -1,6 +1,6 @@
#!/bin/bash -e
-on_chroot sh -e - <<EOF
+on_chroot << EOF
apt-get update
apt-get -y dist-upgrade
apt-get clean
diff --git a/export-image/03-finalise/01-run.sh b/export-image/03-finalise/01-run.sh
index c5a83c1..c64c92b 100755
--- a/export-image/03-finalise/01-run.sh
+++ b/export-image/03-finalise/01-run.sh
@@ -2,7 +2,7 @@
IMG_FILE="${STAGE_WORK_DIR}/${IMG_DATE}-${IMG_NAME}${IMG_SUFFIX}.img"
-on_chroot sh -e - <<EOF
+on_chroot << EOF
/etc/init.d/fake-hwclock stop
hardlink -t /usr/share/doc
EOF