From 311cb8a6af74fa7f59f4c279b9c27ef5d691e066 Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 20 Dec 2023 00:20:41 +0100 Subject: [PATCH] added missing function for pacstrap --- manual-build/archos-bootstrap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manual-build/archos-bootstrap b/manual-build/archos-bootstrap index 77c702a..7ab0419 100644 --- a/manual-build/archos-bootstrap +++ b/manual-build/archos-bootstrap @@ -7,6 +7,11 @@ warning() { out "==> WARNING:" "$@"; } >&2 msg() { out "==>" "$@"; } die() { error "$@"; exit 1; } +ignore_error() { + "$@" 2>/dev/null + return 0 +} + chroot_add_mount() { mount "$@" && CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}") }