build{,-rootfs}: Do not force TTY

The `-o` argument to `xargs` tells it to reopen a TTY to pass to the
spawned process's standard input.  If there is no controlling TTY, this
will fail.  There's no reason to do this anyway, so let's avoid it.
dev/gentoo
Dustin 2024-12-09 12:11:53 -06:00
parent 565497cab1
commit 79e69cf70d
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ emerge \
cat \
install.packages \
"${CONFIGDIR}"/install.packages \
| xargs -ro \
| xargs -rt \
${target}-emerge \
--root=/mnt/gentoo \
--config-root="${O}"/portage \
@ -30,7 +30,7 @@ ${target}-emerge \
--rebuilt-binaries=y
if [ -f "${CONFIGDIR}"/installonly.packages ]; then
< "${CONFIGDIR}"/installonly.packages xargs -ro \
< "${CONFIGDIR}"/installonly.packages xargs -rt \
${target}-emerge \
--root=/mnt/gentoo \
--config-root="${O}"/portage \

View File

@ -16,6 +16,6 @@ cat \
install.packages \
"${CONFIGDIR}"/build.packages \
"${CONFIGDIR}"/install.packages \
| xargs -rot \
| xargs -rt \
${target}-emerge -bkvnuUDj
${target}-emerge -bv @preserved-rebuild