mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
text format changes
This commit is contained in:
parent
2a1ca58dc0
commit
77e5a12bca
3 changed files with 13 additions and 6 deletions
|
@ -6,9 +6,11 @@ _APPNAME=${0##*/}
|
|||
_MODULE_DIR="/usr/lib/modules/${_RUNNING_KERNEL}"
|
||||
_FIRMWARE="/lib/firmware"
|
||||
_usage () {
|
||||
echo " Check Firmware And Modules Archboot Environment"
|
||||
echo "------------------------------------------------"
|
||||
echo "usage: ${_APPNAME} run"
|
||||
echo -e "\e[1mCheck Firmware And Modules Archboot Environment\e[m"
|
||||
echo -e "\e[1m---------------------------------------------------------------\e[m"
|
||||
echo "Check modules on firmware depends and existence in environment."
|
||||
echo ""
|
||||
echo -e "usage: \e[1m${_APPNAME} run\e[m"
|
||||
exit 0
|
||||
}
|
||||
[[ -z "${1}" || "${1}" != "run" ]] && _usage
|
||||
|
|
|
@ -20,6 +20,9 @@ _usage()
|
|||
exit 0
|
||||
}
|
||||
[[ -z "${1}" ]] && _usage
|
||||
_archboot_check
|
||||
echo "Waiting for pacman keyring..."
|
||||
_pacman_keyring
|
||||
echo "Installing kernel..."
|
||||
pacman -Sydd --noconfirm --noscriptlet linux &>"${_LOG}"
|
||||
depmod -a
|
||||
|
|
|
@ -5,9 +5,11 @@
|
|||
_LOG=testsuite.log
|
||||
_APPNAME=${0##*/}
|
||||
_usage () {
|
||||
echo "Testsuite for Archboot Environment"
|
||||
echo "----------------------------------"
|
||||
echo "usage: ${_APPNAME} run"
|
||||
echo -e "\e[1mTestsuite for Archboot Environment\e[m"
|
||||
echo -e "\e[1m---------------------------------------------\e[m"
|
||||
echo "Run automatic tests to detect errors/changes."
|
||||
echo ""
|
||||
echo -e "usage: \e[1m${_APPNAME} run\e[m"
|
||||
exit 0
|
||||
}
|
||||
_run_test () {
|
||||
|
|
Loading…
Reference in a new issue