Example: add commented multi-parition attributes functions

DO NOT MERGE if you have already updated your zip properly for your device
This commit is contained in:
Chris Renshaw authored and GitHub committed 2023-08-10 13:22:03 -03:00
1 parent 6567864730
commit e40e655e40
1 file changed
+16 -5
+16 -5
View File
@@ -20,14 +20,13 @@ supported.patchlevels=
'; } # end properties
### AnyKernel install
# begin attributes
## boot files attributes
attributes() {
set_perm_recursive 0 0 755 644 $ramdisk/*;
set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
} # end attributes
## boot shell variables
# boot shell variables
block=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
is_slot_device=0;
ramdisk_compression=auto;
@@ -59,7 +58,13 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
## end boot install
## init_boot shell variables
## init_boot files attributes
#init_boot_attributes() {
#set_perm_recursive 0 0 755 644 $ramdisk/*;
#set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
#} # end attributes
# init_boot shell variables
#block=init_boot;
#is_slot_device=1;
#ramdisk_compression=auto;
@@ -75,7 +80,13 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
## end init_boot install
## vendor_kernel_boot shell variables
## vendor_boot files attributes
#vendor_boot_attributes() {
#set_perm_recursive 0 0 755 644 $ramdisk/*;
#set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
#} # end attributes
# vendor_kernel_boot shell variables
#block=vendor_kernel_boot;
#is_slot_device=1;
#ramdisk_compression=auto;