Commit Graph

6 Commits

Author SHA1 Message Date
David Runge
e2032db4e7
Adding linting for initcpio scripts
archiso/initcpio/install/*:
Setting bash shebang for all scripts and making them comform with shellcheck.

archiso/initcpio/{hooks,script}/*:
Setting ash shebang for all scripts and making them comform with shellcheck (for dash, as shellcheck has no ash specific
ruleset). Essentially the ash based scripts should be POSIX compliant as much as possible to have an easier time
writing, debugging and maintaining them.
Ensuring that variables are not treated as options and introducing variable quoting.

.gitlab-ci.yml:
Integrating shellcheck for initcpio scripts.

Closes #32
2020-07-11 20:58:01 +02:00
Christian Hesse
50da696b5a fix indention and add EditorConfig configuration
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-29 13:58:04 -03:00
Christian Hesse
63c62911ac move modprobe to run_earlyhook()
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-25 16:42:46 -03:00
Christian Hesse
ca85896bfc fix NBD boot without copy-to-ram
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-24 21:31:37 -03:00
Gerardo Exequiel Pozzi
21aa378007 [archiso] Allow set copytoram=n for NBD/NFS
On low memory systems installing via PXE is not possible.
Do not force copytoram=y for NFS/NDB.
Broken/hang things:
* On shutdown.
* On run-time if some network settings changed.

Implements FS#32006.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-16 19:10:17 -03:00
Gerardo Exequiel Pozzi
5df61f0c9e [archiso] Rework Makefile / Reorder files
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-08-25 15:14:51 -03:00