From 9f9182ecdaf8e57532d045228bf91a2d9b32e179 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Wed, 12 Jun 2019 22:34:23 -0300 Subject: [PATCH] Example: remove more things confusing to new adopters - remove zImage since people were still thinking they needed to rename their kernel build product to zImage to have it work, while actually all filenames are detected and supported automatically, whether it's called zImage, zImage-dtb, Image.gz, Image.gz-dtb, Image.lz4-dtb, whatever (https://github.com/osm0sis/AnyKernel3/blob/7ccf4d62cede0527b7d895a8255f18b9b56046cc/tools/ak3-core.sh#L228); in fact it's extra important it be named correctly now with AK3 using magiskboot so that any appended *-dtb is supported correctly and doesn't get appended multiple times in subsequent flashes - remove pointless patch file examples - add unified tuna variant name just because I feel like it since it's otherwise not a working example anymore DO NOT MERGE if you have already updated your ramdisk/anykernel.sh properly for your device --- anykernel.sh | 2 +- patch/fstab | 2 -- patch/init.tuna | 5 ----- zImage => patch/placeholder | 0 4 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 patch/fstab delete mode 100644 patch/init.tuna rename zImage => patch/placeholder (100%) diff --git a/anykernel.sh b/anykernel.sh index 49ab6a2..f0449e4 100755 --- a/anykernel.sh +++ b/anykernel.sh @@ -12,7 +12,7 @@ do.cleanuponabort=0 device.name1=maguro device.name2=toro device.name3=toroplus -device.name4= +device.name4=tuna device.name5= supported.versions= '; } # end properties diff --git a/patch/fstab b/patch/fstab deleted file mode 100644 index d6c9449..0000000 --- a/patch/fstab +++ /dev/null @@ -1,2 +0,0 @@ -# USB storage device -/devices/platform/omap/musb-omap2430/musb-hdrc auto auto defaults voldmanaged=usbdisk:auto diff --git a/patch/init.tuna b/patch/init.tuna deleted file mode 100644 index 2fc3c84..0000000 --- a/patch/init.tuna +++ /dev/null @@ -1,5 +0,0 @@ -service bootscript /sbin/bootscript.sh - class main - user root - group root - oneshot diff --git a/zImage b/patch/placeholder similarity index 100% rename from zImage rename to patch/placeholder