Fix missing dev nodes in init_boot.img ramdisk
Previously ("Add null and console dev nodes to the Android initramfs") introduced into init_boot.img the /dev/console and /dev/null nodes. Sadly, it missed changing the release tools which are also generating images in their own way. Bug: 254835242 Change-Id: I4d2893ac24c09cf0d117422cbe2bde66083e7118
This commit is contained in:
@@ -6160,6 +6160,7 @@ endif
|
||||
ifdef BUILDING_INIT_BOOT_IMAGE
|
||||
$(hide) $(call package_files-copy-root, $(TARGET_RAMDISK_OUT),$(zip_root)/INIT_BOOT/RAMDISK)
|
||||
$(hide) $(call fs_config,$(zip_root)/INIT_BOOT/RAMDISK,) > $(zip_root)/META/init_boot_filesystem_config.txt
|
||||
$(hide) cp $(RAMDISK_NODE_LIST) $(zip_root)/META/ramdisk_node_list
|
||||
ifdef BOARD_KERNEL_PAGESIZE
|
||||
$(hide) echo "$(BOARD_KERNEL_PAGESIZE)" > $(zip_root)/INIT_BOOT/pagesize
|
||||
endif # BOARD_KERNEL_PAGESIZE
|
||||
|
Reference in New Issue
Block a user