Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937310 - sys-kernel/dracut-102 doesn't respect uefi setting which causes error running 'emerge --config gentoo-kernel'
Summary: sys-kernel/dracut-102 doesn't respect uefi setting which causes error running...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-04 15:16 UTC by Mirko Guenther
Modified: 2024-08-04 20:00 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log run 'emerge --config =gentoo-kernel-6.10.3' with dracut-102 installed (error_on_dracut-102.log,125.15 KB, text/x-log)
2024-08-04 15:21 UTC, Mirko Guenther
Details
log run 'emerge --config =gentoo-kernel-6.10.3' with dracut-060 installed (works_on_dracut-060.log,115.41 KB, text/x-log)
2024-08-04 15:22 UTC, Mirko Guenther
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mirko Guenther 2024-08-04 15:16:43 UTC
not sure, which package causes the issue directly. but after updating to sys-kernel/dracut-102 it's not possible to build/install an uefi-build image.

'uefi=yes' is set via config file in '/etc/dracut.d/'. Not sure, if it's needed or the decision is made via USE flag. 
     
Until sys-kernel/dracut-060_pre20240104-r4 it works with every sys-kernel/gentoo-kernel package (even with 6.10.3).
Using 'dracut-060' the command line to run draqcut sets '--uefi' while 'dracut-102' sets '--no-uefi'

Output see attached files.



Reproducible: Always

Steps to Reproduce:
1. update to sys-kernel/dracut-102
2. run 'emerge --config =gentoo-kernel-6.10.3' 



Expected Results:  
system behaves same with 'system-kernel/dracut-060' and 'system-kernel-dracut-102'

Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r6, 6.10.2-x86_64 x86_64)
=================================================================
System uname: Linux-6.10.2-x86_64-x86_64-AMD_Ryzen_7_8845HS_w-_Radeon_780M_Graphics-with-glibc2.39
KiB Mem:    32152104 total,  21757400 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 04 Aug 2024 11:36:14 +0000
Head commit of repository gentoo: 2f442a661557e4918ae8a186ede49840305fddec

Head commit of repository gentoo-unity7: 6cc4757bea0a63995eb21a66379952129c5dd898

Timestamp of repository steam-overlay: Mon, 15 Jul 2024 07:34:33 +0000
Head commit of repository steam-overlay: 8cfcc3f068b712dce3d91d3020afb058f68aa036

Head commit of repository temilun_overlay: 6ae660a3846ecdc632c3424873c8af7e6f0dd0e0

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7-r1::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

gentoo-unity7
    location: /var/db/repos/gentoo-unity7
    sync-type: git
    sync-uri: https://github.com/c4pp4/gentoo-unity7.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

temilun_overlay
    location: /var/db/repos/temilun_overlay
    sync-type: git
    sync-uri: mirko@temilun:/srv/git/overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks=y --verbose-conflicts"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
GENTOO_MIRRORS="https://mirror.hs-esslingen.de/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de en-GB"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 ayatana bash-completion battery bluetooth branding bzip2 cairo cdda cdr cet colord corefonts cpudetection crypt cryptsetup cups dbus dhclient dist-kernel dri dts dvd dvdr eds encode evo exif flac fuse gdbm gif git glamor gnome gnome-keyring gpm gstreamer gtk gui hwaccel iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc lm_sensors lvm mad mng modules-compress modules-sign mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ntpl ogg opengl openh264 openmp pam pango pcre pdf pic plymouth png policykit ppds pulseaudio qt5 readline resolvconf screencast sdl seccomp secureboot session shared-dricore sound sound-server spell ssl startup-notification svg sysprof system-png systemd test-rust threads tiff tracker truetype type3 udev udisks unicode upower usb vala vorbis vulkan wifi wxwidgets x264 xattr xcb xdg xft xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Mirko Guenther 2024-08-04 15:21:49 UTC
Created attachment 898991 [details]
log run 'emerge --config =gentoo-kernel-6.10.3' with dracut-102 installed
Comment 2 Mirko Guenther 2024-08-04 15:22:08 UTC
Created attachment 898992 [details]
log run 'emerge --config =gentoo-kernel-6.10.3' with dracut-060 installed
Comment 3 Stefan Trenker 2024-08-04 16:01:02 UTC Comment hidden (offtopic)
Comment 4 Stefan Trenker 2024-08-04 16:15:52 UTC Comment hidden (offtopic)
Comment 5 Mike Gilbert gentoo-dev 2024-08-04 16:49:21 UTC
(In reply to Stefan Trenker from comment #3)

Please do not conflate this bug report with your LUKS issue. File a new bug report please, and report the issue upstream as well.
Comment 6 Mike Gilbert gentoo-dev 2024-08-04 16:58:23 UTC
(In reply to Mirko Guenther from comment #0)

Please show the output of emerge --info sys-kernel/installkernel. Specifically, I want to see the version and enabled USE flags.
Comment 7 Mike Gilbert gentoo-dev 2024-08-04 17:01:40 UTC
Also show the contents of these files:

/usr/lib/kernel/install.conf
/etc/kernel/install.conf (if it exists)
Comment 8 Mirko Guenther 2024-08-04 17:39:01 UTC
(In reply to Mike Gilbert from comment #6)
> (In reply to Mirko Guenther from comment #0)
> 
> Please show the output of emerge --info sys-kernel/installkernel.
> Specifically, I want to see the version and enabled USE flags.

emerge --info sys-kernel/installkernel
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r6, 6.10.3-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.10.3-x86_64-x86_64-AMD_Ryzen_7_8845HS_w-_Radeon_780M_Graphics-with-glibc2.39
KiB Mem:    32152108 total,  26833780 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 04 Aug 2024 11:36:14 +0000
Head commit of repository gentoo: 2f442a661557e4918ae8a186ede49840305fddec

Head commit of repository gentoo-unity7: 6cc4757bea0a63995eb21a66379952129c5dd898

Timestamp of repository steam-overlay: Mon, 15 Jul 2024 07:34:33 +0000
Head commit of repository steam-overlay: 8cfcc3f068b712dce3d91d3020afb058f68aa036

Head commit of repository temilun_overlay: 6ae660a3846ecdc632c3424873c8af7e6f0dd0e0

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7-r1::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

gentoo-unity7
    location: /var/db/repos/gentoo-unity7
    sync-type: git
    sync-uri: https://github.com/c4pp4/gentoo-unity7.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

temilun_overlay
    location: /var/db/repos/temilun_overlay
    sync-type: git
    sync-uri: mirko@temilun:/srv/git/overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks=y --verbose-conflicts"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -fvect-cost-model=dynamic -fno-semantic-interposition -pipe"
GENTOO_MIRRORS="https://mirror.hs-esslingen.de/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de en-GB"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 ayatana bash-completion battery bluetooth branding bzip2 cairo cdda cdr cet colord corefonts cpudetection crypt cryptsetup cups dbus dhclient dist-kernel dri dts dvd dvdr eds encode evo exif flac fuse gdbm gif git glamor gnome gnome-keyring gpm gstreamer gtk gui hwaccel iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc lm_sensors lvm mad mng modules-compress modules-sign mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ntpl ogg opengl openh264 openmp pam pango pcre pdf pic plymouth png policykit ppds pulseaudio qt5 readline resolvconf screencast sdl seccomp secureboot session shared-dricore sound sound-server spell ssl startup-notification svg sysprof system-png systemd test-rust threads tiff tracker truetype type3 udev udisks unicode upower usb vala vorbis vulkan wifi wxwidgets x264 xattr xcb xdg xft xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-kernel/installkernel-39-r2::gentoo was built with the following:
USE="dracut systemd (-efistub) -grub -refind -systemd-boot (-ugrd) -uki -ukify" ABI_X86="(64)"
Comment 9 Mirko Guenther 2024-08-04 17:40:19 UTC
(In reply to Mike Gilbert from comment #7)
> Also show the contents of these files:
> 
> /usr/lib/kernel/install.conf
> /etc/kernel/install.conf (if it exists)

mirko@trenzalore ~ $ cat /usr/lib/kernel/install.conf
# This file is managed by sys-kernel/installkernel
layout=compat
initrd_generator=dracut
uki_generator=none
mirko@trenzalore ~ $ cat /etc/kernel/install.conf
layout=uki
Comment 10 Mirko Guenther 2024-08-04 17:55:42 UTC
seems now additional USE flags uki ukify are needed to get 'emerge --config =gentoo-kernel-6.10.3' run with dracut-102
Comment 11 Mirko Guenther 2024-08-04 18:03:38 UTC
(In reply to Mirko Guenther from comment #10)
> seems now additional USE flags uki ukify are needed to get 'emerge --config
> =gentoo-kernel-6.10.3' run with dracut-102

the additional USE flags are only the half way. The resulting .uki isn't signed for secure boot.
Comment 12 Nowa Ammerlaan gentoo-dev 2024-08-04 18:33:04 UTC
(In reply to Mirko Guenther from comment #10)
> seems now additional USE flags uki ukify are needed to get 'emerge --config
> =gentoo-kernel-6.10.3' run with dracut-102

Just uki is enough. You don't need ukify.

The uki flag controls whether an uki is built and pulls in the systemd-stub dependency.

The combination "dracut uki" builds the uki with dracut.

The combination "ukify uki" builds the uki with ukify, without any unitramfs 

The combination "ukify dracut uki" builds an uki with ukify including an initramfs generated with dracut
Comment 13 Nowa Ammerlaan gentoo-dev 2024-08-04 18:37:04 UTC
(In reply to Mirko Guenther from comment #11)
> (In reply to Mirko Guenther from comment #10)
> > seems now additional USE flags uki ukify are needed to get 'emerge --config
> > =gentoo-kernel-6.10.3' run with dracut-102
> 
> the additional USE flags are only the half way. The resulting .uki isn't
> signed for secure boot.

Signing with ukify is controlled via /etc/kernel/uki.conf

Note that your /etc/kernel/install.conf overrides /usr/lib/kernel/install.conf, it does not append to it. Therefore in you current setup you loose the initrd and uki generator settings. I recommend deleting /etc/kernel/install.conf.
Comment 14 Mirko Guenther 2024-08-04 20:00:22 UTC
(In reply to Andrew Nowa Ammerlaan from comment #13)
> (In reply to Mirko Guenther from comment #11)
> > (In reply to Mirko Guenther from comment #10)
> > > seems now additional USE flags uki ukify are needed to get 'emerge --config
> > > =gentoo-kernel-6.10.3' run with dracut-102
> > 
> > the additional USE flags are only the half way. The resulting .uki isn't
> > signed for secure boot.
> 
> Signing with ukify is controlled via /etc/kernel/uki.conf
> 
> Note that your /etc/kernel/install.conf overrides
> /usr/lib/kernel/install.conf, it does not append to it. Therefore in you
> current setup you loose the initrd and uki generator settings. I recommend
> deleting /etc/kernel/install.conf.

deleting /etc/kernel/install.conf and set correct use flag works.

Thx for your help