Remove lynx usage in configs/releng/build.sh

/usr/local/bin/Installation_guide:
Add a convenience script which opens the installation guide in lynx.

/etc/motd:
Provide a message with minimal instructions for connecting to internet and inform about the Installation_guide convenience script.
This commit is contained in:
nl6720 2020-07-11 17:03:19 +03:00
parent 8b4e987e17
commit 550aca7124
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
5 changed files with 13 additions and 7 deletions

View File

@ -0,0 +1,9 @@
To install Arch Linux follow the installation guide:
https://wiki.archlinux.org/index.php/Installation_guide
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
Ethernet and Wi-Fi connections using DHCP should work automatically.
After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.

View File

@ -1,3 +0,0 @@
View this installation guide online at
https://wiki.archlinux.org/index.php/Installation_Guide

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec lynx 'https://wiki.archlinux.org/index.php/Installation_guide'

View File

@ -120,9 +120,6 @@ make_customize_airootfs() {
cp "${script_path}/pacman.conf" "${work_dir}/x86_64/airootfs/etc" cp "${script_path}/pacman.conf" "${work_dir}/x86_64/airootfs/etc"
lynx -dump -nolist 'https://wiki.archlinux.org/index.php/Installation_Guide?action=render' >> \
"${work_dir}/x86_64/airootfs/root/install.txt"
if [ -n "${verbose}" ]; then if [ -n "${verbose}" ]; then
mkarchiso -v -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" \ mkarchiso -v -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" \
-r '/root/customize_airootfs.sh' run -r '/root/customize_airootfs.sh' run

View File

@ -14,7 +14,6 @@ dmraid
dnsmasq dnsmasq
dosfstools dosfstools
efibootmgr efibootmgr
elinks
ethtool ethtool
exfat-utils exfat-utils
f2fs-tools f2fs-tools
@ -35,6 +34,7 @@ linux-atm
linux-firmware linux-firmware
lsscsi lsscsi
lvm2 lvm2
lynx
man-db man-db
man-pages man-pages
mc mc