Initcpio scripts used by archiso (read-only mirror)
Go to file
nl6720 697d750a64
Merge branch '9-cowspace-can-no-longer-be-on-same-device-as-archiso-files'
* 9-cowspace-can-no-longer-be-on-same-device-as-archiso-files:
  hooks/archiso: mount cow_device read-only at first and remount it read-write right after

Closes #9

See merge request mkinitcpio/mkinitcpio-archiso!12
2022-01-10 16:19:05 +02:00
docs Add documentation for the `script=` variable 2021-06-15 18:43:43 +00:00
hooks hooks/archiso: mount cow_device read-only at first and remount it read-write right after 2022-01-03 22:43:22 +02:00
install Remove obsolete archiso_shutdown hook 2021-12-10 10:45:34 +02:00
.editorconfig editorconfig: Remove project specific data 2021-07-31 15:39:42 +02:00
.gitlab-ci.yml Add gitlab CI integration 2021-07-31 15:37:21 +02:00
.mailmap Add .mailmap file 2021-08-31 11:57:47 +03:00
AUTHORS.rst AUTHORS.rst: Truncate list of authors 2021-07-31 15:39:45 +02:00
CHANGELOG.rst Add changelog entry for v60 2021-12-28 11:51:46 +01:00
CONTRIBUTING.rst CONTRIBUTING.rst: Adapt to new project name 2021-07-31 15:39:36 +02:00
LICENSE Add license and basic documentation 2020-07-29 14:27:48 +02:00
Makefile Remove obsolete archiso_shutdown hook 2021-12-10 10:45:34 +02:00
README.rst README.rst: Add initial README 2021-07-31 16:40:51 +02:00

README.rst

==================
mkinitcpio-archiso
==================

The mkinitcpio-archiso project provides `initcpio <https://gitlab.archlinux.org/mkinitcpio/mkinitcpio>`_ integration for
`archiso <https://gitlab.archlinux.org/archlinux/archiso>`_.
The scripts offer functionality for an environment, that is running in `early user space
<https://en.wikipedia.org/wiki/Linux_startup_process#Early_user_space>`_ by modifying an `initrd
<https://man.archlinux.org/man/initrd.4>`_.

Requirements
============

The following packages need to be installed to be able to use mkinitcpio-archiso on a target host:

* bash
* ca-certificates-utils (for PXE over HTTP)
* coreutils
* curl (for PXE over HTTP)
* device-mapper
* gnupg
* mkinitcpio
* mkinitcpio-nfs-utils (for PXE over NFS)
* nbd (for PXE over NBD)
* pv (optional: for displaying status when copying the image to RAM)
* util-linux

The following packages need to be installed to be able to check the code of mkinitcpio-archiso (when running ``make
check``):

* shellcheck
* shfmt

Installation
============

To install this project, the make target ``install`` can be used. It honors both ``DESTDIR`` and ``PREFIX`` (defaults to
``/usr/local``).

.. code:: sh

   make install DESTDIR=/some/directory PREFIX=/usr

Documentation
=============

Documentation on various aspects of mkinitcpio-archiso can be found in the `docs directory <docs/>`_.

Contribute
==========

Development of mkinitcpio-archiso takes place on Arch Linux' Gitlab:
https://gitlab.archlinux.org/archlinux/mkinitcpio-archiso.

Please read our distribution-wide `Code of Conduct <https://wiki.archlinux.org/title/Code_of_conduct>`_ before
contributing, to understand what actions will and will not be tolerated.

Read our `contributing guide <CONTRIBUTING.rst>`_ to learn more about how to provide fixes or improvements for the code
base.

Discussion around mkinitcpio-archiso takes place on the `arch-releng mailing list
<https://lists.archlinux.org/listinfo/arch-releng>`_ and in `#archlinux-releng
<ircs://irc.libera.chat/archlinux-releng>`_ on `Libera Chat <https://libera.chat/>`_.

All past and present authors of mkinitcpio-archiso are listed in `AUTHORS <AUTHORS.rst>`_.

Releases
========

`Releases of mkinitcpio-archiso <https://gitlab.archlinux.org/archlinux/mkinitcpio-archiso/-/tags>`_ are created by its
current maintainer `David Runge <https://gitlab.archlinux.org/dvzrv>`_. Tags are signed using the PGP key with the ID
``C7E7849466FE2358343588377258734B41C31549``.

  .. note::

     Releases before v58 have been done as part of `archiso <https://gitlab.archlinux.org/archlinux/archiso>`_. After
     ``archiso`` v57 mkinitcpio-archiso became its own project.

To verify a tag, first import the relevant PGP key:

.. code:: sh

   gpg --auto-key-locate wkd --search-keys dvzrv@archlinux.org


Afterwards a tag can be verified from a clone of this repository:

.. code:: sh

   git verify-tag <tag>

License
=======

Mkinitcpio-archiso is licensed under the terms of the **GPL-3.0-or-later** (see `LICENSE <LICENSE>`_).