Merge pull request #613 from flatcar-linux/kai/firmware-no-savedconfig

sys-kernel/coreos-firmware: Disable savedconfig flag and file creation
This commit is contained in:
Kai Lüke 2020-09-28 12:05:29 +02:00 committed by GitHub
commit a6672ad0e3
2 changed files with 7 additions and 3 deletions

View File

@ -104,3 +104,6 @@ app-misc/jq oniguruma
# Disable sse2 from CPU_FLAGS_X86 to avoid config error around simd
net-misc/rsync -cpu_flags_x86_sse2
# Don't read the firmware config from /etc/portage/savedconfig/
sys-kernel/coreos-firmware -savedconfig

View File

@ -166,9 +166,10 @@ src_prepare() {
}
src_install() {
if use !savedconfig; then
save_config ${PN}.conf
fi
# Flatcar: Don't save the firmware config to /etc/portage/savedconfig/
# if use !savedconfig; then
# save_config ${PN}.conf
# fi
rm ${PN}.conf || die
insinto /lib/firmware/
doins -r *