mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add System
This commit is contained in:
parent
da770a3343
commit
88273524f0
2 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ fi
|
|||
if [[ "${TTY}" = "tty1" ]] ; then
|
||||
if ! mount | grep -q zram0; then
|
||||
_TITLE="Archboot $(uname -m) | Basic Setup | ZRAM Setup"
|
||||
_switch_root_zram | _dialog --title " Initializing... " --gauge "Creating /dev/zram0 with zstd compression..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
|
||||
_switch_root_zram | _dialog --title " Initializing System... " --gauge "Creating /dev/zram0 with zstd compression..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
|
||||
else
|
||||
if ! [[ -e "${_CACHEDIR}/archboot.db" ]]; then
|
||||
systemctl start systemd-networkd
|
||||
|
|
|
@ -141,7 +141,7 @@ echo "Initialize Console..."
|
|||
printf "\ec"
|
||||
# it needs one echo before, in order to reset the consolefont!
|
||||
setfont consolefont-16.psf.gz -C /dev/console
|
||||
_first_stage | _dialog --title " Initializing... " --gauge "${_KEEP} Searching for archboot rootfs..." 6 75 0
|
||||
_first_stage | _dialog --title " Initializing System... " --gauge "${_KEEP} Searching for archboot rootfs..." 6 75 0
|
||||
FB_SIZE="$(cut -d 'x' -f 1 "$(find /sys -wholename '*fb0/modes')" | sed -e 's#.*:##g')"
|
||||
if [[ "${FB_SIZE}" -gt '1900' ]]; then
|
||||
SIZE="32"
|
||||
|
@ -152,7 +152,7 @@ fi
|
|||
echo "Initialize Console..."
|
||||
printf "\ec"
|
||||
setfont consolefont-${SIZE}.psf.gz -C /dev/console
|
||||
_second_stage | _dialog --title " Initializing... " --gauge "${_KEEP} Removing firmware..." 6 75 60
|
||||
_second_stage | _dialog --title " Initializing System... " --gauge "${_KEEP} Removing firmware..." 6 75 60
|
||||
echo 0 > /proc/sys/kernel/sysrq
|
||||
# set font size in vconsole.conf
|
||||
echo FONT=ter-v${SIZE}n >> /sysroot/etc/vconsole.conf
|
||||
|
|
Loading…
Reference in a new issue