Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Mon, 17 Aug 2020 23:22:02
Message-Id: 1597705893.d729714908b1830189356a92ac433b5e237ae43d.whissi@gentoo
1 commit: d729714908b1830189356a92ac433b5e237ae43d
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 17 23:11:33 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 17 23:11:33 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=d7297149
7
8 gen_determineargs.sh: determine_real_args(): --integrated-initramfs requires building of kernel and initramfs
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 gen_determineargs.sh | 8 ++++++++
13 1 file changed, 8 insertions(+)
14
15 diff --git a/gen_determineargs.sh b/gen_determineargs.sh
16 index 4457fe4..7332bb0 100755
17 --- a/gen_determineargs.sh
18 +++ b/gen_determineargs.sh
19 @@ -1170,6 +1170,14 @@ determine_real_args() {
20 fi
21 fi
22
23 + if isTrue "${INTEGRATED_INITRAMFS}"
24 + then
25 + if ! isTrue "${BUILD_KERNEL}" || ! isTrue "${BUILD_RAMDISK}"
26 + then
27 + gen_die "Invalid action specified: --integrated-initramfs option requires action \"all\", i.e. building of kernel and initramfs at the same time!"
28 + fi
29 + fi
30 +
31 if ! isTrue "${CMD_INSTALL}"
32 then
33 if [ -n "${KERNEL_MODULES_PREFIX}" ]