[arch-releng] [PATCH] Add installation guide
Pierre Schmitz
pierre at archlinux.de
Wed Jul 25 14:05:55 EDT 2012
Download and add the current installation guide as plain text.
Signed-off-by: Pierre Schmitz <pierre at archlinux.de>
---
README | 1 +
configs/releng/build.sh | 1 +
configs/releng/root-image/root/install.txt | 3 +++
3 Dateien geändert, 5 Zeilen hinzugefügt(+)
create mode 100644 configs/releng/root-image/root/install.txt
diff --git a/README b/README
index c548bd1..58071ff 100644
--- a/README
+++ b/README
@@ -401,6 +401,7 @@ EOF
** For configs/releng build.sh needs theses packages (build host):
+ dosfstools for mkfs.vfat
+ patch for patch
+ * lynx for fetching the latest installation guide
** For these hooks needs these packages (on target root-image)
* archiso
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 62709ac..5352000 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -145,6 +145,7 @@ make_customize_root_image() {
chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
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'
+ 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
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
diff --git a/configs/releng/root-image/root/install.txt b/configs/releng/root-image/root/install.txt
new file mode 100644
index 0000000..3c8f171
--- /dev/null
+++ b/configs/releng/root-image/root/install.txt
@@ -0,0 +1,3 @@
+View this installation guide online at
+https://wiki.archlinux.org/index.php/Installation_Guide
+
--
1.7.11.3
More information about the arch-releng
mailing list