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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user