Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
@ 2019-10-30  8:27 voidlinux-github
  2019-10-30  9:48 ` voidlinux-github
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30  8:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

There is a new pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages mkinitcpio2
https://github.com/void-linux/void-packages/pull/15940

mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151

A patch file from https://github.com/void-linux/void-packages/pull/15940.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mkinitcpio2-15940.patch --]
[-- Type: text/x-diff, Size: 1223 bytes --]

From 22ba873db703caa7e8fd5c4c15eced7baeaf8127 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 28 Oct 2019 23:44:12 -0700
Subject: [PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated
 encryption.

See: https://bugs.archlinux.org/task/59151
---
 srcpkgs/mkinitcpio/files/encrypt_install | 1 +
 srcpkgs/mkinitcpio/template              | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mkinitcpio/files/encrypt_install b/srcpkgs/mkinitcpio/files/encrypt_install
index 017ba0030ab..4cffb4ff014 100644
--- a/srcpkgs/mkinitcpio/files/encrypt_install
+++ b/srcpkgs/mkinitcpio/files/encrypt_install
@@ -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"
diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template
index b2b710649b1..679b5c2c2d8 100644
--- a/srcpkgs/mkinitcpio/template
+++ b/srcpkgs/mkinitcpio/template
@@ -1,7 +1,7 @@
 # Template file for 'mkinitcpio'
 pkgname=mkinitcpio
 version=26
-revision=1
+revision=2
 archs=noarch
 build_style=gnu-makefile
 depends="busybox-static bsdtar bash"

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
@ 2019-10-30  9:48 ` voidlinux-github
  2019-10-30 10:29 ` voidlinux-github
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30  9:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547819669

Comment:
Currently mkinitcpio in void is broken for LUKS (Ι think there is something with the keymaps, you cannot type the password, at least when root is encrypted) - reported in the IRC.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
  2019-10-30  9:48 ` voidlinux-github
@ 2019-10-30 10:29 ` voidlinux-github
  2019-10-30 10:30 ` voidlinux-github
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 10:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547834905

Comment:
mkinitcpio 25 worked for me with LUKS2, will investigate later

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
  2019-10-30  9:48 ` voidlinux-github
  2019-10-30 10:29 ` voidlinux-github
@ 2019-10-30 10:30 ` voidlinux-github
  2019-10-30 10:51 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 10:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547834905

Comment:
mkinitcpio 25 worked for me with (no authentication, dm-verity/dm-integrity) LUKS2, will investigate later

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-30 10:51 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-30 10:51 ` voidlinux-github
  2019-10-30 10:57 ` mkinitcpio: update to 27 voidlinux-github
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 10:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages mkinitcpio2
https://github.com/void-linux/void-packages/pull/15940

mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151

A patch file from https://github.com/void-linux/void-packages/pull/15940.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mkinitcpio2-15940.patch --]
[-- Type: text/x-diff, Size: 1621 bytes --]

From 433426bf2352370317919eff3664d2b296fd9000 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 28 Oct 2019 23:44:12 -0700
Subject: [PATCH] mkinitcpio: update to 27.

Add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151
---
 srcpkgs/mkinitcpio/files/encrypt_install | 1 +
 srcpkgs/mkinitcpio/template              | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mkinitcpio/files/encrypt_install b/srcpkgs/mkinitcpio/files/encrypt_install
index 017ba0030ab..4cffb4ff014 100644
--- a/srcpkgs/mkinitcpio/files/encrypt_install
+++ b/srcpkgs/mkinitcpio/files/encrypt_install
@@ -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"
diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template
index b2b710649b1..129e31beaf8 100644
--- a/srcpkgs/mkinitcpio/template
+++ b/srcpkgs/mkinitcpio/template
@@ -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"
 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-30 10:30 ` voidlinux-github
@ 2019-10-30 10:51 ` voidlinux-github
  2019-10-30 10:51 ` voidlinux-github
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 10:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages mkinitcpio2
https://github.com/void-linux/void-packages/pull/15940

mkinitcpio-encrypt: add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151

A patch file from https://github.com/void-linux/void-packages/pull/15940.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mkinitcpio2-15940.patch --]
[-- Type: text/x-diff, Size: 1621 bytes --]

From 433426bf2352370317919eff3664d2b296fd9000 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 28 Oct 2019 23:44:12 -0700
Subject: [PATCH] mkinitcpio: update to 27.

Add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151
---
 srcpkgs/mkinitcpio/files/encrypt_install | 1 +
 srcpkgs/mkinitcpio/template              | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mkinitcpio/files/encrypt_install b/srcpkgs/mkinitcpio/files/encrypt_install
index 017ba0030ab..4cffb4ff014 100644
--- a/srcpkgs/mkinitcpio/files/encrypt_install
+++ b/srcpkgs/mkinitcpio/files/encrypt_install
@@ -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"
diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template
index b2b710649b1..129e31beaf8 100644
--- a/srcpkgs/mkinitcpio/template
+++ b/srcpkgs/mkinitcpio/template
@@ -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"
 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (4 preceding siblings ...)
  2019-10-30 10:51 ` voidlinux-github
@ 2019-10-30 10:57 ` voidlinux-github
  2019-10-30 11:05 ` voidlinux-github
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 10:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547845341

Comment:
does mkinitcpio 27 work for the IRC people?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (5 preceding siblings ...)
  2019-10-30 10:57 ` mkinitcpio: update to 27 voidlinux-github
@ 2019-10-30 11:05 ` voidlinux-github
  2019-10-30 11:07 ` voidlinux-github
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 11:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547848632

Comment:
I will test your commits myself in a few hours and report back - I do not have a luks2 volume, but a luks1.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (6 preceding siblings ...)
  2019-10-30 11:05 ` voidlinux-github
@ 2019-10-30 11:07 ` voidlinux-github
  2019-10-30 12:39 ` voidlinux-github
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 11:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547848632

Comment:
I will test your commits myself in a few hours and report back - I do not have a luks2 volume, I use only luks1.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (7 preceding siblings ...)
  2019-10-30 11:07 ` voidlinux-github
@ 2019-10-30 12:39 ` voidlinux-github
  2019-10-30 13:19 ` voidlinux-github
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 12:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547881579

Comment:
Yep, same problem in versions 25,26 and 27. :(

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (8 preceding siblings ...)
  2019-10-30 12:39 ` voidlinux-github
@ 2019-10-30 13:19 ` voidlinux-github
  2019-10-30 13:24 ` voidlinux-github
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 13:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547898443

Comment:
I booted with a v27 initramfs fine with the new kernel 5.3.8, in fact the boot time has significantly gone down (mostly udev was faster).

Do you have keymap defined in `/etc/rc.conf`? What hooks are in your mkinitcpio.conf? You need to add the keyboard hook to mkinitcpio.conf. Also this can be difficult on some hardware, like a regional language keyboard.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (9 preceding siblings ...)
  2019-10-30 13:19 ` voidlinux-github
@ 2019-10-30 13:24 ` voidlinux-github
  2019-10-30 13:30 ` voidlinux-github
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 13:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547898443

Comment:
I booted with a v27 initramfs fine with the new kernel 5.3.8, in fact the boot time is slightly faster.

Do you have keymap defined in `/etc/rc.conf`? What hooks are in your mkinitcpio.conf? You need to add the keyboard hook to mkinitcpio.conf. Also this can be difficult on some hardware, like a regional language keyboard.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (10 preceding siblings ...)
  2019-10-30 13:24 ` voidlinux-github
@ 2019-10-30 13:30 ` voidlinux-github
  2019-10-30 13:39 ` voidlinux-github
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 13:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547903450

Comment:
Yes, I have a keymap.
`HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems fsck)`

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (11 preceding siblings ...)
  2019-10-30 13:30 ` voidlinux-github
@ 2019-10-30 13:39 ` voidlinux-github
  2019-10-30 13:58 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 13:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547907517

Comment:
This is really dumb, but  you do have the right packages?
[\*] mkinitcpio-27_1              Next generation of initramfs creation
[\*] mkinitcpio-encrypt-27_1      Next generation of initramfs creation - encrypt support
[\*] mkinitcpio-lvm2-27_1         Next generation of initramfs creation - lvm2 support
[-] mkinitcpio-mdadm-27_1        Next generation of initramfs creation - mdadm support
[\*] mkinitcpio-udev-27_1         Next generation of initramfs creation - udev support
[-] mkinitcpio-xbps-27_1         Next generation of initramfs creation - xbps sup

I'm not sure if mkinitcpio-udev is necessary; it might be redundant.

I have a Void LUKS1 machine that I can try this on later. Any specific steps to reproduce the failure would be helpful.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (13 preceding siblings ...)
  2019-10-30 13:58 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-30 13:58 ` voidlinux-github
  2019-10-30 14:49 ` voidlinux-github
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 13:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages mkinitcpio2
https://github.com/void-linux/void-packages/pull/15940

mkinitcpio: update to 27.
See: https://bugs.archlinux.org/task/59151

A patch file from https://github.com/void-linux/void-packages/pull/15940.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mkinitcpio2-15940.patch --]
[-- Type: text/x-diff, Size: 1992 bytes --]

From 6d3aa55bebbe5f490c1ee2f690ffec0684eb8c23 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 28 Oct 2019 23:44:12 -0700
Subject: [PATCH] mkinitcpio: update to 27.

Add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151
---
 srcpkgs/mkinitcpio/files/encrypt_install | 1 +
 srcpkgs/mkinitcpio/template              | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mkinitcpio/files/encrypt_install b/srcpkgs/mkinitcpio/files/encrypt_install
index 017ba0030ab..4cffb4ff014 100644
--- a/srcpkgs/mkinitcpio/files/encrypt_install
+++ b/srcpkgs/mkinitcpio/files/encrypt_install
@@ -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"
diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template
index b2b710649b1..303905d0f1f 100644
--- a/srcpkgs/mkinitcpio/template
+++ b/srcpkgs/mkinitcpio/template
@@ -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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (12 preceding siblings ...)
  2019-10-30 13:39 ` voidlinux-github
@ 2019-10-30 13:58 ` voidlinux-github
  2019-10-30 13:58 ` voidlinux-github
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 13:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages mkinitcpio2
https://github.com/void-linux/void-packages/pull/15940

mkinitcpio: update to 27.
See: https://bugs.archlinux.org/task/59151

A patch file from https://github.com/void-linux/void-packages/pull/15940.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mkinitcpio2-15940.patch --]
[-- Type: text/x-diff, Size: 1992 bytes --]

From 6d3aa55bebbe5f490c1ee2f690ffec0684eb8c23 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 28 Oct 2019 23:44:12 -0700
Subject: [PATCH] mkinitcpio: update to 27.

Add support for LUK2 authenticated encryption.
See: https://bugs.archlinux.org/task/59151
---
 srcpkgs/mkinitcpio/files/encrypt_install | 1 +
 srcpkgs/mkinitcpio/template              | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mkinitcpio/files/encrypt_install b/srcpkgs/mkinitcpio/files/encrypt_install
index 017ba0030ab..4cffb4ff014 100644
--- a/srcpkgs/mkinitcpio/files/encrypt_install
+++ b/srcpkgs/mkinitcpio/files/encrypt_install
@@ -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"
diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template
index b2b710649b1..303905d0f1f 100644
--- a/srcpkgs/mkinitcpio/template
+++ b/srcpkgs/mkinitcpio/template
@@ -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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (14 preceding siblings ...)
  2019-10-30 13:58 ` voidlinux-github
@ 2019-10-30 14:49 ` voidlinux-github
  2019-10-30 14:54 ` voidlinux-github
  2019-11-02 10:21 ` [PR PATCH] [Merged]: " voidlinux-github
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 14:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547943652

Comment:
I have all of them, plus mkinitcpio-xbps - I recreated the initramfs with xbps-reconfigure -f linux5.3 . Don't sweat it - dracut works fine.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (15 preceding siblings ...)
  2019-10-30 14:49 ` voidlinux-github
@ 2019-10-30 14:54 ` voidlinux-github
  2019-11-02 10:21 ` [PR PATCH] [Merged]: " voidlinux-github
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-10-30 14:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/15940#issuecomment-547943652

Comment:
I have all of them, plus mkinitcpio-xbps - I recreated the initramfs with `xbps-reconfigure -f linux5.3` . Don't sweat it - dracut works fine.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Merged]: mkinitcpio: update to 27.
  2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
                   ` (16 preceding siblings ...)
  2019-10-30 14:54 ` voidlinux-github
@ 2019-11-02 10:21 ` voidlinux-github
  17 siblings, 0 replies; 19+ messages in thread
From: voidlinux-github @ 2019-11-02 10:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

There's a merged pull request on the void-packages repository

mkinitcpio: update to 27.
https://github.com/void-linux/void-packages/pull/15940

Description:
See: https://bugs.archlinux.org/task/59151

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-11-02 10:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30  8:27 [PR PATCH] mkinitcpio-encrypt: add support for LUK2 authenticated encryption voidlinux-github
2019-10-30  9:48 ` voidlinux-github
2019-10-30 10:29 ` voidlinux-github
2019-10-30 10:30 ` voidlinux-github
2019-10-30 10:51 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-30 10:51 ` voidlinux-github
2019-10-30 10:57 ` mkinitcpio: update to 27 voidlinux-github
2019-10-30 11:05 ` voidlinux-github
2019-10-30 11:07 ` voidlinux-github
2019-10-30 12:39 ` voidlinux-github
2019-10-30 13:19 ` voidlinux-github
2019-10-30 13:24 ` voidlinux-github
2019-10-30 13:30 ` voidlinux-github
2019-10-30 13:39 ` voidlinux-github
2019-10-30 13:58 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-30 13:58 ` voidlinux-github
2019-10-30 14:49 ` voidlinux-github
2019-10-30 14:54 ` voidlinux-github
2019-11-02 10:21 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).