mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
log to tty11 to see progress
This commit is contained in:
parent
3c7bb4181f
commit
486b21660b
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
. /usr/lib/archboot/common.sh
|
. /usr/lib/archboot/common.sh
|
||||||
_LOG="testsuite.log"
|
_LOG="/dev/tty11"
|
||||||
_APPNAME=${0##*/}
|
_APPNAME=${0##*/}
|
||||||
_LOOP="/dev/loop0"
|
_LOOP="/dev/loop0"
|
||||||
_IMG="/test.img"
|
_IMG="/test.img"
|
||||||
|
@ -163,7 +163,7 @@ sleep 10
|
||||||
_run_test "none tracked files in /usr/lib... this takes a while"
|
_run_test "none tracked files in /usr/lib... this takes a while"
|
||||||
for i in $(fd -u -E '/modules/' -E '/udev/' -E 'gconv-modules.cache' -E 'locale-archive' . /usr/lib); do
|
for i in $(fd -u -E '/modules/' -E '/udev/' -E 'gconv-modules.cache' -E 'locale-archive' . /usr/lib); do
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
pacman -Qo ${i} &>${_NO_LOG} || echo ${i} >> pacman-error.log
|
pacman -Qo ${i} &>"${_NO_LOG}" || echo ${i} >> pacman-error.log
|
||||||
done
|
done
|
||||||
_result pacman-error.log
|
_result pacman-error.log
|
||||||
echo -e "Starting pacman database check in \e[1m10\e[m seconds... \e[1;92mCTRL-C\e[m to stop now."
|
echo -e "Starting pacman database check in \e[1m10\e[m seconds... \e[1;92mCTRL-C\e[m to stop now."
|
||||||
|
|
Loading…
Reference in a new issue