Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/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
commit3b00a94ec50320cae76af92f94f6aa29c4dbcb67 (patch)
tree615c6d530c5aedc359e9297e484855559a79f676 /hooks
parent85d3c7c533e1485451997122923b5d30390cb42a (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 'hooks')
-rw-r--r--hooks/archiso2
-rw-r--r--hooks/archiso_loop_mnt2
-rw-r--r--hooks/archiso_pxe_common2
-rw-r--r--hooks/archiso_pxe_http2
-rw-r--r--hooks/archiso_pxe_nbd2
-rw-r--r--hooks/archiso_pxe_nfs2
-rw-r--r--hooks/archiso_shutdown2
7 files changed, 14 insertions, 0 deletions
diff --git a/hooks/archiso b/hooks/archiso
index 7f2f9a7..a12c260 100644
--- a/hooks/archiso
+++ b/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/hooks/archiso_loop_mnt b/hooks/archiso_loop_mnt
index 2c607f5..41899e4 100644
--- a/hooks/archiso_loop_mnt
+++ b/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/hooks/archiso_pxe_common b/hooks/archiso_pxe_common
index bf8e883..f02ef12 100644
--- a/hooks/archiso_pxe_common
+++ b/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/hooks/archiso_pxe_http b/hooks/archiso_pxe_http
index bf2f5f4..efae923 100644
--- a/hooks/archiso_pxe_http
+++ b/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/hooks/archiso_pxe_nbd b/hooks/archiso_pxe_nbd
index 4ccbcbf..8ac44e7 100644
--- a/hooks/archiso_pxe_nbd
+++ b/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/hooks/archiso_pxe_nfs b/hooks/archiso_pxe_nfs
index be1e4c3..9d3964b 100644
--- a/hooks/archiso_pxe_nfs
+++ b/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/hooks/archiso_shutdown b/hooks/archiso_shutdown
index db8fb33..ebb6b11 100644
--- a/hooks/archiso_shutdown
+++ b/hooks/archiso_shutdown
@@ -1,4 +1,6 @@
#!/bin/ash
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
run_cleanuphook() {
rm -rf /usr/lib/modules