mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move offline files to local, add correct setup title
This commit is contained in:
parent
c2302310c4
commit
c27463e8c7
4 changed files with 8 additions and 4 deletions
|
@ -12,7 +12,7 @@ FILES=()
|
|||
# Please change the hooks only if you know what you are doing.
|
||||
HOOKS=(udev keyboard archboot_base_common archboot_base_latest \
|
||||
archboot_installer_common archboot_installer_latest archboot_kexec \
|
||||
archboot_licenses archboot_installer_offline)
|
||||
archboot_licenses archboot_installer_local)
|
||||
|
||||
# COMPRESSION
|
||||
# Use this to compress the initramfs image. By default, gzip compression
|
|
@ -1,8 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
# we rely on some output which is parsed in english!
|
||||
unset LANG
|
||||
LOCAL_DB="/var/cache/pacman/pkg/archboot.db"
|
||||
ANSWER="/tmp/.setup"
|
||||
TITLE="Arch Linux Installation --> https://wiki.archlinux.org/Archboot"
|
||||
if [[ -e "${LOCAL_DB}" ]]; then
|
||||
TITLE="Arch Linux Installation (Local mode) --> https://wiki.archlinux.org/Archboot"
|
||||
else
|
||||
TITLE="Arch Linux Installation (Online mode) --> https://wiki.archlinux.org/Archboot"
|
||||
fi
|
||||
# use the first VT not dedicated to a running console
|
||||
# don't use /mnt because it's intended to mount other things there!
|
||||
# check first if bootet in archboot
|
||||
|
@ -38,7 +43,6 @@ DLPROG="wget"
|
|||
# sources
|
||||
SYNC_URL=""
|
||||
MIRRORLIST="/etc/pacman.d/mirrorlist"
|
||||
LOCAL_DB="/var/cache/pacman/pkg/archboot.db"
|
||||
unset PACKAGES
|
||||
|
||||
# partitions
|
||||
|
|
|
@ -17,6 +17,6 @@ help ()
|
|||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes the archboot sources to
|
||||
/var/cache/pacman/pkg
|
||||
/var/cache/pacman/pkg for local installation.
|
||||
HELPEOF
|
||||
}
|
Loading…
Reference in a new issue