Skip to content
Snippets Groups Projects
Commit 68fd8b89 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

release-request-64fc473b-7e45-48f5-b2f7-3c916e338608-for-git_pi-release-424973...

release-request-64fc473b-7e45-48f5-b2f7-3c916e338608-for-git_pi-release-4249735 snap-temp-L34700000089732387

Change-Id: I48933c77b5301109f3c9bcf06be248a6495bc84c
parents 582b0c6c 5ff90bb4
Branches
No related tags found
No related merge requests found
......@@ -20,3 +20,6 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
BOARD_FLASH_BLOCK_SIZE := 512
BOARD_SEPOLICY_DIRS += \
device/generic/uml/sepolicy
#!/system/bin/sh
ifconfig eth0 192.168.0.253 up
\ No newline at end of file
on fs
mount_all ./fstab.uml
on boot
exec -- /system/bin/init.eth0.sh
\ No newline at end of file
/system/bin/init.eth0.sh u:object_r:init_eth0_exec:s0
\ No newline at end of file
type init_eth0, domain;
type init_eth0_exec, exec_type, file_type;
init_daemon_domain(init_eth0)
allow init_eth0 self:capability { net_admin net_raw };
allow init_eth0 self:udp_socket { create ioctl };
allowxperm init_eth0 self:udp_socket ioctl priv_sock_ioctls;
allow init_eth0 shell_exec:file { execute getattr read };
allow init_eth0 toolbox_exec:file { execute execute_no_trans getattr open read };
......@@ -27,3 +27,4 @@ PRODUCT_CHARACTERISTICS := nosdcard
PRODUCT_COPY_FILES += $(LOCAL_PATH)/fstab.uml:root/fstab.uml
PRODUCT_COPY_FILES += $(LOCAL_PATH)/init.uml.rc:root/init.uml.rc
PRODUCT_COPY_FILES += $(LOCAL_PATH)/surfaceflinger.rc:system/etc/init/surfaceflinger.rc
PRODUCT_COPY_FILES += $(LOCAL_PATH)/init.eth0.sh:system/bin/init.eth0.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment