From: "Thomas Deutschmann" <whissi@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/genkernel:bug642988 commit in: / Date: Thu, 21 Mar 2019 22:56:55 +0000 (UTC) [thread overview] Message-ID: <1553208948.02e67d4860b6a6fd3e9b23e18f757adfd3d62bed.whissi@gentoo> (raw) commit: 02e67d4860b6a6fd3e9b23e18f757adfd3d62bed Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Thu Mar 21 22:55:48 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Thu Mar 21 22:55:48 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=02e67d48 create_initramfs(): Add check for CONFIG_FILE_LOCKING=y when LVM is used Closes: https://bugs.gentoo.org/673590 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_initramfs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index a0c7601..50315cb 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1080,6 +1080,12 @@ create_initramfs() { local CONFGREP=grep fi + if isTrue "${LVM}" ; then + if ! ${CONFGREP} -q "^CONFIG_FILE_LOCKING=y" "${ACTUAL_KERNEL_CONFIG}" ; then + gen_die "LVM will require a kernel with CONFIG_FILE_LOCKING=y set!" + fi + fi + if isTrue "${INTEGRATED_INITRAMFS}" then # Explicitly do not compress if we are integrating into the kernel.
WARNING: multiple messages have this Message-ID (diff)
From: "Thomas Deutschmann" <whissi@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/genkernel:master commit in: / Date: Thu, 21 Mar 2019 23:51:17 +0000 (UTC) [thread overview] Message-ID: <1553208948.02e67d4860b6a6fd3e9b23e18f757adfd3d62bed.whissi@gentoo> (raw) Message-ID: <20190321235117.B3H_6vyM_MOAv7RO6dqh6e1AGw5F5JhSbON5QcGt9CM@z> (raw) commit: 02e67d4860b6a6fd3e9b23e18f757adfd3d62bed Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Thu Mar 21 22:55:48 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Thu Mar 21 22:55:48 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=02e67d48 create_initramfs(): Add check for CONFIG_FILE_LOCKING=y when LVM is used Closes: https://bugs.gentoo.org/673590 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> gen_initramfs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index a0c7601..50315cb 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1080,6 +1080,12 @@ create_initramfs() { local CONFGREP=grep fi + if isTrue "${LVM}" ; then + if ! ${CONFGREP} -q "^CONFIG_FILE_LOCKING=y" "${ACTUAL_KERNEL_CONFIG}" ; then + gen_die "LVM will require a kernel with CONFIG_FILE_LOCKING=y set!" + fi + fi + if isTrue "${INTEGRATED_INITRAMFS}" then # Explicitly do not compress if we are integrating into the kernel.
next reply other threads:[~2019-03-21 22:57 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-03-21 22:56 Thomas Deutschmann [this message] 2019-03-21 23:51 ` [gentoo-commits] proj/genkernel:master commit in: / Thomas Deutschmann -- strict thread matches above, loose matches on Subject: below -- 2019-03-21 22:56 [gentoo-commits] proj/genkernel:bug642988 " Thomas Deutschmann
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1553208948.02e67d4860b6a6fd3e9b23e18f757adfd3d62bed.whissi@gentoo \ --to=whissi@gentoo.org \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox