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
parent
565497cab1
commit
79e69cf70d
|
@ -22,7 +22,7 @@ emerge \
|
||||||
cat \
|
cat \
|
||||||
install.packages \
|
install.packages \
|
||||||
"${CONFIGDIR}"/install.packages \
|
"${CONFIGDIR}"/install.packages \
|
||||||
| xargs -ro \
|
| xargs -rt \
|
||||||
${target}-emerge \
|
${target}-emerge \
|
||||||
--root=/mnt/gentoo \
|
--root=/mnt/gentoo \
|
||||||
--config-root="${O}"/portage \
|
--config-root="${O}"/portage \
|
||||||
|
@ -30,7 +30,7 @@ ${target}-emerge \
|
||||||
--rebuilt-binaries=y
|
--rebuilt-binaries=y
|
||||||
|
|
||||||
if [ -f "${CONFIGDIR}"/installonly.packages ]; then
|
if [ -f "${CONFIGDIR}"/installonly.packages ]; then
|
||||||
< "${CONFIGDIR}"/installonly.packages xargs -ro \
|
< "${CONFIGDIR}"/installonly.packages xargs -rt \
|
||||||
${target}-emerge \
|
${target}-emerge \
|
||||||
--root=/mnt/gentoo \
|
--root=/mnt/gentoo \
|
||||||
--config-root="${O}"/portage \
|
--config-root="${O}"/portage \
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -16,6 +16,6 @@ cat \
|
||||||
install.packages \
|
install.packages \
|
||||||
"${CONFIGDIR}"/build.packages \
|
"${CONFIGDIR}"/build.packages \
|
||||||
"${CONFIGDIR}"/install.packages \
|
"${CONFIGDIR}"/install.packages \
|
||||||
| xargs -rot \
|
| xargs -rt \
|
||||||
${target}-emerge -bkvnuUDj
|
${target}-emerge -bkvnuUDj
|
||||||
${target}-emerge -bv @preserved-rebuild
|
${target}-emerge -bv @preserved-rebuild
|
||||||
|
|
Loading…
Reference in New Issue