summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/chroot-tools/librechroot10
-rwxr-xr-xsrc/chroot-tools/libremakepkg2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 8167793..8092f8d 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -426,7 +426,7 @@ main() {
if [[ ! -d $rootdir ]]; then
msg "Creating 'root' copy for chroot [%s]" "$CHROOT"
- mkarchroot "$rootdir" base-devel
+ mkarchroot "$rootdir" base-devel </dev/null
make_empty_repo "$rootdir"
fi
@@ -453,7 +453,7 @@ main() {
# - overwrite '/etc/pacman.d/mirrorlist'"
# - set 'CacheDir' in \`/etc/pacman.conf'"
# - apply -C or -M flags
- arch-nspawn "$copydir" true
+ arch-nspawn "$copydir" true </dev/null
if [[ -n ${tmppacmanconf:-} ]]; then
rm -f -- "$tmppacmanconf"
fi
@@ -474,14 +474,14 @@ main() {
# Dealing with packages
install-file)
- install_packages "$copydir" "$@"
+ install_packages "$copydir" "$@" </dev/null
chroot_add_to_local_repo "$copydir" "$@"
;;
install-name)
arch-nspawn "$copydir" pacman -Sy -- "$@"
;;
update)
- arch-nspawn "$copydir" pacman -Syu --noconfirm
+ arch-nspawn "$copydir" pacman -Syu --noconfirm </dev/null
;;
clean-pkgs)
trap "rm -f -- ${copydir@Q}/{bin/chcleanup,chrootexec}" EXIT
@@ -493,7 +493,7 @@ main() {
'/bin/chcleanup' \
> "$copydir/chrootexec"
chmod 755 "$copydir/chrootexec"
- arch-nspawn "$copydir" /chrootexec
+ arch-nspawn "$copydir" /chrootexec </dev/null
;;
# Other
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index 80a1733..5d1c6eb 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -136,7 +136,7 @@ build() (
prepare_chroot "$copydir" "$LIBREHOME" "$repack" false
run_hook pre_build "$copydir"
trap "run_hook post_build ${copydir@Q}; rm -rf -- ${startdir@Q}" EXIT
- "${run_nnet[@]}" /chrootbuild "${makepkg_args[@]}" |& indent
+ "${run_nnet[@]}" /chrootbuild "${makepkg_args[@]}" </dev/null |& indent
)
# The main program #############################################################