Commit 49b3f358 authored by Pierre Schmitz's avatar Pierre Schmitz Committed by Gerardo Exequiel Pozzi
Browse files

[configs/releng] Add installation guide



Download and add the current installation guide as plain text.

Signed-off-by: Pierre Schmitz's avatarPierre Schmitz <pierre@archlinux.de>
Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
parent 36a2496f
...@@ -401,6 +401,7 @@ EOF ...@@ -401,6 +401,7 @@ EOF
** For configs/releng build.sh needs theses packages (build host): ** For configs/releng build.sh needs theses packages (build host):
+ dosfstools for mkfs.vfat + dosfstools for mkfs.vfat
+ patch for patch + patch for patch
+ lynx for fetching the latest installation guide
** For these hooks needs these packages (on target root-image) ** For these hooks needs these packages (on target root-image)
* archiso * archiso
......
...@@ -145,6 +145,7 @@ make_customize_root_image() { ...@@ -145,6 +145,7 @@ make_customize_root_image() {
chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
mkdir -p ${work_dir}/root-image/etc/pacman.d mkdir -p ${work_dir}/root-image/etc/pacman.d
wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on' wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on'
lynx -dump -nolist 'https://wiki.archlinux.org/index.php/Installation_Guide?action=render' >> ${work_dir}/root-image/root/install.txt
sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
patch ${work_dir}/root-image/usr/bin/pacman-key < ${script_path}/pacman-key-4.0.3_unattended-keyring-init.patch patch ${work_dir}/root-image/usr/bin/pacman-key < ${script_path}/pacman-key-4.0.3_unattended-keyring-init.patch
sed -i 's/#\(en_US\.UTF-8\)/\1/' ${work_dir}/root-image/etc/locale.gen sed -i 's/#\(en_US\.UTF-8\)/\1/' ${work_dir}/root-image/etc/locale.gen
......
View this installation guide online at
https://wiki.archlinux.org/index.php/Installation_Guide
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment