diff options
| author | Serge Schneider <serge@raspberrypi.org> | 2016-11-14 23:55:45 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.org> | 2016-11-14 23:55:45 +0000 |
| commit | c4fb032d3b8e6113f4e2bc197442b01ed333968e (patch) | |
| tree | 6b7f5a2607a2b6e5feb45e76e20080746ec34de2 /export-image | |
| parent | db10424a9bb781bb28cfda94e8f647f88d382800 (diff) | |
Use capsh to ensure file capabilities aren't set
Diffstat (limited to 'export-image')
| -rwxr-xr-x | export-image/01-set-sources/01-run.sh | 2 | ||||
| -rwxr-xr-x | export-image/03-finalise/01-run.sh | 2 |
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 |
