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

Commit 8518279f authored by LuK1337's avatar LuK1337 Committed by Bernhard Thoben
Browse files

kitakami-common: Read model name from /lta-label instead of its block device

Change-Id: I8dead1e8fe4352d9b2934ad1074f4fc01d315eed
parent 2263628b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@ BOARD_ROOT_EXTRA_FOLDERS := \
    firmware \
    persist \
    idd \
    lta-label \
    rca

# RIL
+1 −0
Original line number Diff line number Diff line
type brcm_ldisc_sysfs, sysfs_type, fs_type;
type fpc_data_file, file_type;
type lta_label, fs_type;
type mediadrm_vendor_data_file, file_type, data_file_type;
type proc_kernel_sched, fs_type;
type secd_data_file, file_type;
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
/dev/block/bootdevice/by-num/p39                           u:object_r:diag_partition_device:s0
/dev/block/bootdevice/mmcblk0p39                           u:object_r:diag_partition_device:s0
/dev/block/mmcblk0p39                                      u:object_r:diag_partition_device:s0
/lta-label                                                 u:object_r:rootfs:s0

# WiFi MAC address
/sys/devices/platform/bcmdhd_wlan/macaddr                  u:object_r:sysfs_addrsetup:s0
+3 −0
Original line number Diff line number Diff line
@@ -40,3 +40,6 @@ allow init vendor_file:file execute_no_trans;
allow init vfat:file r_file_perms;
allow init video_device:chr_file rw_file_perms;
allow init vndbinder_device:chr_file rw_file_perms;

# Allow init to read files in /lta-label
r_dir_file(init, lta_label)