Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2020-05-30 00:01:28 +0200
committerDavid Runge <dvzrv@archlinux.org>2020-07-29 14:27:48 +0200
commite264b44682a930f70715ea58cf96e69c87a86b64 (patch)
tree2fe053fd799a5c19d56338301d8cbe35a35bec10 /archiso/initcpio/hooks
parent47e11125e4672fc3448caefa6728439160daedd3 (diff)
Add license and basic documentation
LICENSE: Add GPL-3.0 license. {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}: Add SPDX license identifier. Makefile: Add SPDX license identifier. Install the `run_archiso.sh` script as global executable `run_archiso`. Use -D and -t flags to install to install files more generically (without a previous call to install the directory). README.rst: Add README outlining the project's scope, how to build images from the profiles and how to test. AUTHORS.rst: Add list of all direct contributors to the repository. CONTRIBUTING.rst: Add basic contribution guidelines, explaining the linter and the license in use. Closes #7 Closes #3
Diffstat (limited to 'archiso/initcpio/hooks')
-rw-r--r--archiso/initcpio/hooks/archiso2
-rw-r--r--archiso/initcpio/hooks/archiso_loop_mnt2
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_common2
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_http2
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nbd2
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nfs2
-rw-r--r--archiso/initcpio/hooks/archiso_shutdown2
7 files changed, 14 insertions, 0 deletions
diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso
index 7f2f9a7..a12c260 100644
--- a/archiso/initcpio/hooks/archiso
+++ b/archiso/initcpio/hooks/archiso
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
# args: source, newroot, mountpoint
_mnt_dmsnapshot() {
diff --git a/archiso/initcpio/hooks/archiso_loop_mnt b/archiso/initcpio/hooks/archiso_loop_mnt
index 2c607f5..41899e4 100644
--- a/archiso/initcpio/hooks/archiso_loop_mnt
+++ b/archiso/initcpio/hooks/archiso_loop_mnt
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_hook () {
# shellcheck disable=SC2154
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common
index bf8e883..f02ef12 100644
--- a/archiso/initcpio/hooks/archiso_pxe_common
+++ b/archiso/initcpio/hooks/archiso_pxe_common
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_hook () {
# Do *not* declare 'bootif_dev' local! We need it in run_latehook().
diff --git a/archiso/initcpio/hooks/archiso_pxe_http b/archiso/initcpio/hooks/archiso_pxe_http
index bf2f5f4..efae923 100644
--- a/archiso/initcpio/hooks/archiso_pxe_http
+++ b/archiso/initcpio/hooks/archiso_pxe_http
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_hook() {
# shellcheck disable=SC2154
diff --git a/archiso/initcpio/hooks/archiso_pxe_nbd b/archiso/initcpio/hooks/archiso_pxe_nbd
index 4ccbcbf..8ac44e7 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nbd
+++ b/archiso/initcpio/hooks/archiso_pxe_nbd
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_earlyhook() {
# shellcheck disable=SC2154
diff --git a/archiso/initcpio/hooks/archiso_pxe_nfs b/archiso/initcpio/hooks/archiso_pxe_nfs
index be1e4c3..9d3964b 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nfs
+++ b/archiso/initcpio/hooks/archiso_pxe_nfs
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_hook() {
# shellcheck disable=SC2154
diff --git a/archiso/initcpio/hooks/archiso_shutdown b/archiso/initcpio/hooks/archiso_shutdown
index db8fb33..ebb6b11 100644
--- a/archiso/initcpio/hooks/archiso_shutdown
+++ b/archiso/initcpio/hooks/archiso_shutdown
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_cleanuphook() {
rm -rf /usr/lib/modules