build: minor chroot/sh invoke tweaks
This commit is contained in:
parent
16ec0c1634
commit
1a422d91df
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue