summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-10-19 07:59:57 +0000
committerintrigeri <intrigeri@boum.org>2019-10-19 07:59:57 +0000
commit844ef7072f5856be50635aba45d6ebd820e70205 (patch)
treedafd62fd3d7a5f8c0351e7ddcc322f9bc708c640 /vagrant
parent6c7b1aaf63e77b4a3b47a53799563cb422885ecc (diff)
Simplify.
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/definitions/tails-builder/customize.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/vagrant/definitions/tails-builder/customize.sh b/vagrant/definitions/tails-builder/customize.sh
index e9069a8..3d5116e 100755
--- a/vagrant/definitions/tails-builder/customize.sh
+++ b/vagrant/definitions/tails-builder/customize.sh
@@ -11,9 +11,8 @@ ROOT="$1"
mv "${ROOT}/etc/resolv.conf" "${ROOT}/etc/resolv.conf.orig"
cp --dereference /etc/resolv.conf "${ROOT}/etc/resolv.conf"
-cp "${CURDIR}/postinstall.sh" "${ROOT}/postinstall.sh"
+install --mode=0755 "${CURDIR}/postinstall.sh" "${ROOT}/postinstall.sh"
cp "${CURDIR}/../../../config/chroot_sources/tails.binary.gpg" "${ROOT}/tmp/"
-chmod +x "${ROOT}/postinstall.sh"
trap "umount ${ROOT}/proc" EXIT HUP INT QUIT TERM
chroot "${ROOT}" mount -t proc proc /proc