Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79ac2ad6 authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

Add ramdisk_node_list

This file contains a description of dev nodes added to the CPIO archive
for the Android ramdisks. /dev/null is a security requirement for
bionic, /dev/console is needed so the kernel can set-up stdout stderr
and stdin before running /init.

Bug: 254835242
Change-Id: I111e2db53fabd63d070b8e9ab9c52faebf484ab3
parent 1e53806a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -213,4 +213,15 @@ $(LOCAL_BUILT_MODULE):
	$(hide) $(foreach lib,$(PRIVATE_SANITIZER_RUNTIME_LIBRARIES), \
		echo $(lib) >> $@;)

#######################################
# ramdisk_node_list
include $(CLEAR_VARS)

LOCAL_MODULE := ramdisk_node_list
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := $(LOCAL_MODULE)
LOCAL_MODULE_PATH := $(PRODUCT_OUT)

include $(BUILD_PREBUILT)

include $(call all-makefiles-under,$(LOCAL_PATH))
+3 −0
Original line number Diff line number Diff line
dir dev 0755 0 0
nod dev/null 0600 0 0 c 1 3
nod dev/console 0600 0 0 c 5 1