build: minor chroot/sh invoke tweaks

This commit is contained in:
Franco Fichtner 2015-05-04 09:13:58 +02:00
parent 16ec0c1634
commit 1a422d91df
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ setup_mtree()
./dev
./tmp
EOF
chroot ${1} /bin/sh -s <<EOF
chroot ${1} /bin/sh -es <<EOF
/usr/sbin/mtree -c -k uid,gid,mode,size,sha256digest -p / -X /tmp/installed_filesystem.mtree.exclude > /tmp/installed_filesystem.mtree
/bin/chmod 600 /tmp/installed_filesystem.mtree
/bin/mv /tmp/installed_filesystem.mtree /etc/

View File

@ -102,7 +102,7 @@ trap - 2
echo ">>> Creating binary packages..."
chroot ${STAGEDIR} /bin/sh -es << EOF || true
if ! chroot ${STAGEDIR} /bin/sh -es << EOF; then PORT_ABORT=1; fi
pkg_resolve_deps()
{
local PORTS DEPS PORT DEP