mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
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:
commit
a6672ad0e3
@ -104,3 +104,6 @@ app-misc/jq oniguruma
|
|||||||
|
|
||||||
# Disable sse2 from CPU_FLAGS_X86 to avoid config error around simd
|
# Disable sse2 from CPU_FLAGS_X86 to avoid config error around simd
|
||||||
net-misc/rsync -cpu_flags_x86_sse2
|
net-misc/rsync -cpu_flags_x86_sse2
|
||||||
|
|
||||||
|
# Don't read the firmware config from /etc/portage/savedconfig/
|
||||||
|
sys-kernel/coreos-firmware -savedconfig
|
||||||
|
@ -166,9 +166,10 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
if use !savedconfig; then
|
# Flatcar: Don't save the firmware config to /etc/portage/savedconfig/
|
||||||
save_config ${PN}.conf
|
# if use !savedconfig; then
|
||||||
fi
|
# save_config ${PN}.conf
|
||||||
|
# fi
|
||||||
rm ${PN}.conf || die
|
rm ${PN}.conf || die
|
||||||
insinto /lib/firmware/
|
insinto /lib/firmware/
|
||||||
doins -r *
|
doins -r *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user