Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst6
-rwxr-xr-xconfigs/baseline/build.sh5
-rw-r--r--configs/baseline/packages.x86_641
-rwxr-xr-xconfigs/releng/build.sh11
-rw-r--r--configs/releng/packages.x86_641
5 files changed, 8 insertions, 16 deletions
diff --git a/README.rst b/README.rst
index 7ad0d41..af54aba 100644
--- a/README.rst
+++ b/README.rst
@@ -112,6 +112,12 @@ To install archiso system-wide use the included **Makefile**:
make install
+Optionally install archiso's mkinitcpio hooks:
+
+ .. code:: bash
+
+ make install-initcpio
+
License
=======
diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index 79cd34e..c0b1704 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -56,11 +56,6 @@ make_custom_airootfs() {
done < "${_airootfs}/etc/passwd"
fi
fi
-
- mkdir -p -- "${work_dir}/airootfs/etc/initcpio/hooks"
- mkdir -p -- "${work_dir}/airootfs/etc/initcpio/install"
- cp /usr/lib/initcpio/hooks/archiso "${work_dir}/airootfs/etc/initcpio/hooks/"
- cp /usr/lib/initcpio/install/archiso "${work_dir}/airootfs/etc/initcpio/install/"
}
# Packages (airootfs)
diff --git a/configs/baseline/packages.x86_64 b/configs/baseline/packages.x86_64
index 14fe5f0..fd753b4 100644
--- a/configs/baseline/packages.x86_64
+++ b/configs/baseline/packages.x86_64
@@ -3,4 +3,5 @@
base
linux
mkinitcpio
+mkinitcpio-archiso
syslinux
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 888c061..7f0eb67 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -86,17 +86,6 @@ make_custom_airootfs() {
done < "${_airootfs}/etc/passwd"
fi
fi
-
- local _hook
- mkdir -p -- "${work_dir}/x86_64/airootfs/etc/initcpio/hooks"
- mkdir -p -- "${work_dir}/x86_64/airootfs/etc/initcpio/install"
- for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
- cp "/usr/lib/initcpio/hooks/${_hook}" "${work_dir}/x86_64/airootfs/etc/initcpio/hooks/"
- cp "/usr/lib/initcpio/install/${_hook}" "${work_dir}/x86_64/airootfs/etc/initcpio/install/"
- done
- sed -i "s|/usr/lib/initcpio/|/etc/initcpio/|g" "${work_dir}/x86_64/airootfs/etc/initcpio/install/archiso_shutdown"
- cp /usr/lib/initcpio/install/archiso_kms "${work_dir}/x86_64/airootfs/etc/initcpio/install/"
- cp /usr/lib/initcpio/archiso_shutdown "${work_dir}/x86_64/airootfs/etc/initcpio/"
}
# Packages (airootfs)
diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64
index 2c73b8e..f5e7e9f 100644
--- a/configs/releng/packages.x86_64
+++ b/configs/releng/packages.x86_64
@@ -48,6 +48,7 @@ mc
mdadm
memtest86+
mkinitcpio
+mkinitcpio-archiso
mkinitcpio-nfs-utils
mtools
nano