Turn the /dev/kmsg ratelimiting on for production builds
Bug: 181936135 Test: inspect build.ninja Change-Id: I6e91847c8daa880ba61e623c4b2cd9ca62035f32
This commit is contained in:
parent
adc38d1e55
commit
c893717b6b
|
@ -204,10 +204,10 @@ logical_partition {
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
microdroid_boot_cmdline = "panic=-1 " +
|
microdroid_boot_cmdline = [
|
||||||
"bootconfig " +
|
"panic=-1",
|
||||||
// TODO(b/181936135) make the ratelimiting conditional; ratelimiting on prod build
|
"bootconfig",
|
||||||
"printk.devkmsg=on "
|
]
|
||||||
|
|
||||||
bootimg {
|
bootimg {
|
||||||
name: "microdroid_boot-5.10",
|
name: "microdroid_boot-5.10",
|
||||||
|
@ -222,9 +222,15 @@ bootimg {
|
||||||
},
|
},
|
||||||
x86_64: {
|
x86_64: {
|
||||||
kernel_prebuilt: ":kernel_prebuilts-5.10-x86_64",
|
kernel_prebuilt: ":kernel_prebuilts-5.10-x86_64",
|
||||||
cmdline: microdroid_boot_cmdline + "acpi=noirq",
|
cmdline: microdroid_boot_cmdline + ["acpi=noirq"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
product_variables: {
|
||||||
|
debuggable: {
|
||||||
|
cmdline: ["printk.devkmsg=on"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
dtb_prebuilt: "dummy_dtb.img",
|
dtb_prebuilt: "dummy_dtb.img",
|
||||||
header_version: "4",
|
header_version: "4",
|
||||||
partition_name: "boot",
|
partition_name: "boot",
|
||||||
|
|
Loading…
Reference in New Issue