diff --git a/anykernel.sh b/anykernel.sh index d941409..d7b503a 100755 --- a/anykernel.sh +++ b/anykernel.sh @@ -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;