mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
mkinitcpio: update to 27.
Add support for LUK2 authenticated encryption. See: https://bugs.archlinux.org/task/59151
This commit is contained in:
parent
435af6c2dc
commit
cdaf073b3a
2 changed files with 5 additions and 2 deletions
|
@ -4,6 +4,7 @@ build() {
|
|||
local mod
|
||||
|
||||
add_module "dm-crypt"
|
||||
add_module "dm-integrity"
|
||||
if [[ $CRYPTO_MODULES ]]; then
|
||||
for mod in $CRYPTO_MODULES; do
|
||||
add_module "$mod"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'mkinitcpio'
|
||||
pkgname=mkinitcpio
|
||||
version=26
|
||||
version=27
|
||||
revision=1
|
||||
archs=noarch
|
||||
build_style=gnu-makefile
|
||||
|
@ -10,7 +10,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|||
license="GPL-2.0-only"
|
||||
homepage="https://wiki.archlinux.org/index.php/Mkinitcpio"
|
||||
distfiles="https://sources.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=d1c3038f538f8e2e57333050463b79884de6f29f4b4ec4f26d1bdeaa620215c1
|
||||
checksum=e6bff1cb78b677538eb9aace900b715fd59de8fc210b74fb9d899dfaa32bc354
|
||||
|
||||
conf_files="/etc/mkinitcpio.conf"
|
||||
|
||||
|
@ -19,6 +19,8 @@ patch_args="-Np1"
|
|||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/lib/kernel
|
||||
rm -rf ${DESTDIR}/usr/lib/systemd
|
||||
rm -rf ${DESTDIR}/usr/lib/initcpio/install/sd*
|
||||
rm -rf ${DESTDIR}/usr/lib/tmpfiles.d
|
||||
ln -s /usr/bin/busybox.static $DESTDIR/usr/lib/initcpio/busybox
|
||||
|
||||
vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 20-mkinitcpio
|
||||
|
|
Loading…
Add table
Reference in a new issue