anykernel: update for renamed user set variables
- overdue core variable cleanup, part 4/4
This commit is contained in:
1 file changed
+22
-22
+22
-22
@@ -24,15 +24,15 @@ supported.vendorpatchlevels=
|
|||||||
### AnyKernel install
|
### AnyKernel install
|
||||||
## boot files attributes
|
## boot files attributes
|
||||||
boot_attributes() {
|
boot_attributes() {
|
||||||
set_perm_recursive 0 0 755 644 $ramdisk/*;
|
set_perm_recursive 0 0 755 644 $RAMDISK/*;
|
||||||
set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
|
set_perm_recursive 0 0 750 750 $RAMDISK/init* $RAMDISK/sbin;
|
||||||
} # end attributes
|
} # end attributes
|
||||||
|
|
||||||
# boot shell variables
|
# boot shell variables
|
||||||
block=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
|
BLOCK=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
|
||||||
is_slot_device=0;
|
IS_SLOT_DEVICE=0;
|
||||||
ramdisk_compression=auto;
|
RAMDISK_COMPRESSION=auto;
|
||||||
patch_vbmeta_flag=auto;
|
PATCH_VBMETA_FLAG=auto;
|
||||||
|
|
||||||
# import functions/variables and setup patching - see for reference (DO NOT REMOVE)
|
# import functions/variables and setup patching - see for reference (DO NOT REMOVE)
|
||||||
. tools/ak3-core.sh;
|
. tools/ak3-core.sh;
|
||||||
@@ -62,15 +62,15 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
|
|||||||
|
|
||||||
## init_boot files attributes
|
## init_boot files attributes
|
||||||
#init_boot_attributes() {
|
#init_boot_attributes() {
|
||||||
#set_perm_recursive 0 0 755 644 $ramdisk/*;
|
#set_perm_recursive 0 0 755 644 $RAMDISK/*;
|
||||||
#set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
|
#set_perm_recursive 0 0 750 750 $RAMDISK/init* $RAMDISK/sbin;
|
||||||
#} # end attributes
|
#} # end attributes
|
||||||
|
|
||||||
# init_boot shell variables
|
# init_boot shell variables
|
||||||
#block=init_boot;
|
#BLOCK=init_boot;
|
||||||
#is_slot_device=1;
|
#IS_SLOT_DEVICE=1;
|
||||||
#ramdisk_compression=auto;
|
#RAMDISK_COMPRESSION=auto;
|
||||||
#patch_vbmeta_flag=auto;
|
#PATCH_VBMETA_FLAG=auto;
|
||||||
|
|
||||||
# reset for init_boot patching
|
# reset for init_boot patching
|
||||||
#reset_ak;
|
#reset_ak;
|
||||||
@@ -83,10 +83,10 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
|
|||||||
|
|
||||||
|
|
||||||
## vendor_kernel_boot shell variables
|
## vendor_kernel_boot shell variables
|
||||||
#block=vendor_kernel_boot;
|
#BLOCK=vendor_kernel_boot;
|
||||||
#is_slot_device=1;
|
#IS_SLOT_DEVICE=1;
|
||||||
#ramdisk_compression=auto;
|
#RAMDISK_COMPRESSION=auto;
|
||||||
#patch_vbmeta_flag=auto;
|
#PATCH_VBMETA_FLAG=auto;
|
||||||
|
|
||||||
# reset for vendor_kernel_boot patching
|
# reset for vendor_kernel_boot patching
|
||||||
#reset_ak;
|
#reset_ak;
|
||||||
@@ -100,15 +100,15 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
|
|||||||
|
|
||||||
## vendor_boot files attributes
|
## vendor_boot files attributes
|
||||||
#vendor_boot_attributes() {
|
#vendor_boot_attributes() {
|
||||||
#set_perm_recursive 0 0 755 644 $ramdisk/*;
|
#set_perm_recursive 0 0 755 644 $RAMDISK/*;
|
||||||
#set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
|
#set_perm_recursive 0 0 750 750 $RAMDISK/init* $RAMDISK/sbin;
|
||||||
#} # end attributes
|
#} # end attributes
|
||||||
|
|
||||||
# vendor_boot shell variables
|
# vendor_boot shell variables
|
||||||
#block=vendor_boot;
|
#BLOCK=vendor_boot;
|
||||||
#is_slot_device=1;
|
#IS_SLOT_DEVICE=1;
|
||||||
#ramdisk_compression=auto;
|
#RAMDISK_COMPRESSION=auto;
|
||||||
#patch_vbmeta_flag=auto;
|
#PATCH_VBMETA_FLAG=auto;
|
||||||
|
|
||||||
# reset for vendor_boot patching
|
# reset for vendor_boot patching
|
||||||
#reset_ak;
|
#reset_ak;
|
||||||
|
|||||||
Reference in new issue
Block a user