summaryrefslogtreecommitdiffstats
path: root/man
AgeCommit message (Collapse)AuthorFilesLines
2019-10-04* Fix whitespaceGiancarlo Razzolini1-1/+1
2019-10-04Add flag to specify where to look for hooks.Morten Linderud1-1/+4
2019-09-16Merge branch 'morten/copyright' of https://github.com/Foxboron/mkinitcpio ↵Giancarlo Razzolini3-3/+3
into Foxboron-morten/copyright
2019-09-10Updated copyright yearMorten Linderud3-3/+3
2019-09-09mkinitcpio: Produce reproducible initramfs imagesDaniel Edgecumbe1-0/+16
We achieve this by stripping timestamps from within the filesystem, and by using a pipeline to strip inodes from the cpio archive. It functions for at least the 'gzip', 'xz', 'bzip2', 'lz4' and 'cat' compressors. The 'lzop' compressor embeds a runtime timestamp. Motivation: https://reproducible-builds.org Signed-off-by: Daniel Edgecumbe <git@esotericnonsense.com>
2017-08-20functions: add_full_dir: path prefix strip-offErik Stromdahl1-1/+6
Add third argument to add_full_dir: strip_prefix. The strip_prefix will be stripped off from the destination path (path in the initramfs image) when adding files. Rationale: Make it easier to add rootfs overlay hooks when generating images. add_full_dir can be invoked in this way: add_full_dir /path/on/parent/rootfs-overlay * /path/on/parent/rootfs-overlay The above invocation will add all content of */path/on/parent/rootfs-overlay* into */* in the initramfs image. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
2017-03-19arrayize config vars in mkinitcpio.confDave Reisner1-10/+10
allows for backwards compat by detecting and converting old-style string-based configs.
2016-09-09mkinitcpio(8): document rootflags= and rootfstype=Dave Reisner1-1/+10
These were curiously omitted from the documentation. ref: https://bugs.archlinux.org/task/50470
2016-07-02error out if asked to extract a kver from image on non-x86v20Dave Reisner1-2/+3
Version extraction only works on x86 (i686 and x86_64) kernels. ref: https://bugs.archlinux.org/task/43256
2014-06-21add second param to add_full_dir to allow filtering filesDave Reisner1-1/+4
Use this to only add files matching *.conf in the modconf hook. Fixes FS#39994.
2014-03-08mkinitcpio.8: add reference to bootparam(7)v17Dave Reisner1-1/+1
2013-12-01remove legacy search paths in /lib/initcpioDave Reisner1-2/+0
2013-12-01Load build and run hooks from /etc/initcpioDave Reisner1-0/+2
This lets users shoot themselves in the foot more easily, as they can put their own modified hooks into /etc/initcpio/{hooks,install} to override those shipped by the distro in /usr/lib/initcpio. To make debugging easier, include the full path of the hook being used when mkinitcpio runs in verbose mode. Implements FS#37796.
2013-11-27mkinitcpio: Allow building an image without modulesThomas Bächler1-1/+2
The '-k none' switch prevents mkinitcpio from adding modules to the image and keeps it from bailing out when it cannot find any.
2013-11-24mkinitcpio.8: document -d, --generatedirDave Reisner1-0/+5
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2013-09-25mkinitcpio.conf(5): mention lz4 compressionDave Reisner1-3/+3
Since b5927393d103af9, mkinitcpio acknowledges that lz4 exists. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2013-06-25init: allow for logging of early userspaceDave Reisner1-0/+25
This introduces support for the rd.log and rd.debug kernel command line options, which log early userspace activity to /run/initramfs/init.log. Code is largely inspired by Dracut's implementation of early userspace logging, but without needless complexity and redundancies. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2013-02-05Add -P, --allpresets optionDave Reisner1-2/+6
As a logical extension, allow the -p option to be specified multiple times in order to process several presets at once. Original-patch-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2013-01-18mkinitcpio.8: we support PARTLABEL tooDave Reisner1-2/+3
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-11-30mkinitcpio.8: fix add_runscript doc to match realityDave Reisner1-1/+1
This function no longer expects an argument. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-11-24build: move manpages to subdirDave Reisner3-0/+447
Signed-off-by: Dave Reisner <dreisner@archlinux.org>