Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-core: Commit

system/core


Commit MetaInfo

Revision8b2734559e1b25e87049cae88b9f5336616675ab (tree)
Time2021-07-08 22:54:56
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: don't set serialno via kernel cmdline

On an x86 device the product serial number is set in the DMI table.
We don't set it via kernel cmdline. It will be set later in init.sh.

Change Summary

Incremental Difference

--- a/init/init.cpp
+++ b/init/init.cpp
@@ -377,7 +377,6 @@ static void export_kernel_boot_props() {
377377 const char *dst_prop;
378378 const char *default_value;
379379 } prop_map[] = {
380- { "ro.boot.serialno", "ro.serialno", "", },
381380 { "ro.boot.mode", "ro.bootmode", "unknown", },
382381 { "ro.boot.baseband", "ro.baseband", "unknown", },
383382 { "ro.boot.bootloader", "ro.bootloader", "unknown", },
Show on old repository browser