Skip to content

Commit ad53675

Browse files
committed
anykernel: update for renamed user set variables
- overdue core variable cleanup, part 4/4
1 parent cb044b6 commit ad53675

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

anykernel.sh

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ supported.vendorpatchlevels=
2424
### AnyKernel install
2525
## boot files attributes
2626
boot_attributes() {
27-
set_perm_recursive 0 0 755 644 $ramdisk/*;
28-
set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
27+
set_perm_recursive 0 0 755 644 $RAMDISK/*;
28+
set_perm_recursive 0 0 750 750 $RAMDISK/init* $RAMDISK/sbin;
2929
} # end attributes
3030

3131
# boot shell variables
32-
block=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
33-
is_slot_device=0;
34-
ramdisk_compression=auto;
35-
patch_vbmeta_flag=auto;
32+
BLOCK=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
33+
IS_SLOT_DEVICE=0;
34+
RAMDISK_COMPRESSION=auto;
35+
PATCH_VBMETA_FLAG=auto;
3636

3737
# import functions/variables and setup patching - see for reference (DO NOT REMOVE)
3838
. tools/ak3-core.sh;
@@ -62,15 +62,15 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
6262

6363
## init_boot files attributes
6464
#init_boot_attributes() {
65-
#set_perm_recursive 0 0 755 644 $ramdisk/*;
66-
#set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
65+
#set_perm_recursive 0 0 755 644 $RAMDISK/*;
66+
#set_perm_recursive 0 0 750 750 $RAMDISK/init* $RAMDISK/sbin;
6767
#} # end attributes
6868

6969
# init_boot shell variables
70-
#block=init_boot;
71-
#is_slot_device=1;
72-
#ramdisk_compression=auto;
73-
#patch_vbmeta_flag=auto;
70+
#BLOCK=init_boot;
71+
#IS_SLOT_DEVICE=1;
72+
#RAMDISK_COMPRESSION=auto;
73+
#PATCH_VBMETA_FLAG=auto;
7474

7575
# reset for init_boot patching
7676
#reset_ak;
@@ -83,10 +83,10 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
8383

8484

8585
## vendor_kernel_boot shell variables
86-
#block=vendor_kernel_boot;
87-
#is_slot_device=1;
88-
#ramdisk_compression=auto;
89-
#patch_vbmeta_flag=auto;
86+
#BLOCK=vendor_kernel_boot;
87+
#IS_SLOT_DEVICE=1;
88+
#RAMDISK_COMPRESSION=auto;
89+
#PATCH_VBMETA_FLAG=auto;
9090

9191
# reset for vendor_kernel_boot patching
9292
#reset_ak;
@@ -100,15 +100,15 @@ write_boot; # use flash_boot to skip ramdisk repack, e.g. for devices with init_
100100

101101
## vendor_boot files attributes
102102
#vendor_boot_attributes() {
103-
#set_perm_recursive 0 0 755 644 $ramdisk/*;
104-
#set_perm_recursive 0 0 750 750 $ramdisk/init* $ramdisk/sbin;
103+
#set_perm_recursive 0 0 755 644 $RAMDISK/*;
104+
#set_perm_recursive 0 0 750 750 $RAMDISK/init* $RAMDISK/sbin;
105105
#} # end attributes
106106

107107
# vendor_boot shell variables
108-
#block=vendor_boot;
109-
#is_slot_device=1;
110-
#ramdisk_compression=auto;
111-
#patch_vbmeta_flag=auto;
108+
#BLOCK=vendor_boot;
109+
#IS_SLOT_DEVICE=1;
110+
#RAMDISK_COMPRESSION=auto;
111+
#PATCH_VBMETA_FLAG=auto;
112112

113113
# reset for vendor_boot patching
114114
#reset_ak;

0 commit comments

Comments
 (0)