Age | Commit message (Collapse) | Author | Files | Lines |
|
The hook was renamed to reflect it will be triggered only on install (or upgrades).
This is because we will have a hook/script pair running on kernels removals as well.
|
|
This will be used by the pacman hook to create presets on the fly for new
kernels being installed based on pkgbase.
|
|
Changed the Makefile to properly install the pacman hook and script.
|
|
This script runs on mkinitcpio package updates as well as on kernel updates that
have the pkgbase file on their modules directory. It will use the contents of that
file to determine which preset to run or, in case not pkgbase file is passed to it,
it will run all presets with -P.
|
|
This hook runs on mkinitcpio updates as well as on kernels containing the pkgbase
file on their modules directory. It calls the mkinitcpio script.
|
|
Added the hookdir flag to the parser and also added it to the completions.
|
|
|
|
|
|
|
|
|
|
|
|
falconindy-master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
into Foxboron-morten/copyright
|
|
|
|
mkinitcpio: Produce reproducible initramfs images
|
|
|
|
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>
|
|
Avoid over-optimizing autodetect and always add these. This allows
storage drivers to be builtins and still trigger addition of the block
node driver.
|
|
This might not strictly be strictly needed, but systemd documents it as
being a requirement, else it adds a var-run-bad taint flag.
|
|
These have been deprecated since 2012. I think that's enough time for
people to migrate.
|
|
|
|
|
|
Read time is constant between compression methods and we can't possibly
estimate this accurately since reading the image from disk doesn't
happen with kernel userland functions, but instead UEFI or 16-bit
realmode capabilities.
ref: https://bugs.archlinux.org/task/56417
|
|
Broken by c5ad00c2.
ref: https://bugs.archlinux.org/task/55870
|
|
|
|
Might be needed for ext4 filesystems formatted with the metadata_csum
option.
ref: https://bugs.archlinux.org/task/54091
|
|
Consistently handle hooks as symlinks by relying on the exit status of
readlink instead of an lstat and always, additionally, examine the hooks
basenames to ensure that we aren't warning about foo deprecating foo
(because the hook is a symlink to somewhere else that the hook is
actually stored on disk.
ref: https://bugs.archlinux.org/task/55323
|
|
ref: https://bugs.archlinux.org/task/54460
|
|
https://sourceware.org/git/?p=glibc.git;a=commit;h=eedca9772e99c72ab4c3c34e43cc764250aa3e3c
|
|
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>
|
|
By passing the filter glob in all recursive invocations of
add_full_dir, the filtering is performed on all subdirs and
not just the top dir.
This makes the implementation correspond to the documented
behavior in the man page.
Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
|
|
allows for backwards compat by detecting and converting old-style
string-based configs.
|
|
ref: https://bugs.archlinux.org/task/53343
|
|
This is harmless fallout from 5249350, which tries harder to re-add
aliases of builtins.
|
|
Not all root devices are block devices, after all. Rely on mount doing
the right thing (or not).
ref: https://bugs.archlinux.org/task/45118
ref: https://bugs.archlinux.org/task/35529
|
|
On compressed images, bash 4.3 gets salty:
$ lsinitcpio initrd.gz >/dev/null
/usr/bin/lsinitcpio: line 78: warning: command substitution: ignored null byte in input
/usr/bin/lsinitcpio: line 90: warning: command substitution: ignored null byte in input
Tidy up all of our hexdump comparisons via command substitution to use
process substitution instead.
|
|
ref: https://bugs.archlinux.org/task/52768
|
|
crc32 is a builtin module in the Arch kernel but also a crypto module.
Resolve by this only noting that a module is added if the value in the
has is 1, and not 2 (indicating a builtin).
While we're here, change the f2fs softdep of crc32 to crypto-crc32.
ref: https://bugs.archlinux.org/task/49380
|
|
|
|
this is no longer needed -- we get softdeps from the kernel.
|
|
|
|
systemd v232 only activates systemd-vconsole-setup via udev. Follow this
to make sure things work properly. This also obsoletes the modules-load
hack.
https://github.com/systemd/systemd/issues/4699
|
|
This really ought to be fixed in the module, but here we are again
guessing at module requirements.
ref: https://bugs.archlinux.org/task/49380
|