mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
only redirect errors to /dev/null
This commit is contained in:
parent
3c6e95c6bb
commit
854e92cc71
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then
|
|||
_clean_cache "${1}" || exit 1
|
||||
_generate_locales "${1}" || exit 1
|
||||
_clean_locale "${1}"
|
||||
_clean_container "${1}" >/dev/null 2>&1
|
||||
_clean_container "${1}" 2>/dev/null
|
||||
fi
|
||||
_reproducibility "${1}"
|
||||
_set_hostname "${1}" || exit 1
|
||||
|
|
|
@ -49,8 +49,8 @@ sed -i -e 's:^#ParallelDownloads:ParallelDownloads:g' "${1}/${_PACMAN_AARCH64}"/
|
|||
# fix network in container
|
||||
rm "${1}/${_PACMAN_AARCH64}/etc/resolv.conf"
|
||||
echo "nameserver 8.8.8.8" > "${1}/${_PACMAN_AARCH64}/etc/resolv.conf"
|
||||
_CLEANUP_CONTAINER="1" _clean_container "${1}/${_PACMAN_AARCH64}" >/dev/null 2>&1
|
||||
_CLEANUP_CACHE="1" _clean_cache "${1}/${_PACMAN_AARCH64}" >/dev/null 2>&1
|
||||
_CLEANUP_CONTAINER="1" _clean_container "${1}/${_PACMAN_AARCH64}" 2>/dev/null
|
||||
_CLEANUP_CACHE="1" _clean_cache "${1}/${_PACMAN_AARCH64}" 2>/dev/null
|
||||
echo "Generating tarball ..."
|
||||
tar -acf ${_PACMAN_AARCH64_CHROOT} -C "${1}"/"${_PACMAN_AARCH64}" . >/dev/null 2>&1 || exit 1
|
||||
echo "Removing ${1} ..."
|
||||
|
|
Loading…
Reference in a new issue