mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
oem-ec2-compat: blacklist xen_fbfront
To complete the fix started in 480fb78, we ban xen_fbfront from loading on EC2. Testing missed a case where this would still happen.
This commit is contained in:
parent
4501de7633
commit
c716d49b58
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/grub-ec2.cfg
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/grub-ec2.cfg
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# CoreOS GRUB settings for EC2
|
||||||
|
|
||||||
|
# Blacklist the Xen framebuffer module so it doesn't get loaded at boot
|
||||||
|
set linux_append="modprobe.blacklist=xen_fbfront"
|
@ -43,4 +43,7 @@ src_prepare() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins ${T}/cloud-config.yml
|
doins ${T}/cloud-config.yml
|
||||||
|
if use ec2 ; then
|
||||||
|
newins ${FILESDIR}/grub-ec2.cfg grub.cfg
|
||||||
|
fi
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user