AK3: ensure no template files from beginner devs get to the ramdisk
This commit is contained in:
2 files changed
+6
-2
No files matched your search
@@ -3,4 +3,4 @@
|
||||
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
||||
#
|
||||
#
|
||||
# AK_BASE_VERSION=20220410
|
||||
# AK_BASE_VERSION=20220423
|
||||
+5
-1
@@ -740,8 +740,12 @@ setup_ak() {
|
||||
;;
|
||||
esac;
|
||||
|
||||
# automate simple multi-partition setup for boot_img_hdr_v3 + vendor_boot
|
||||
# clean up any template placeholder files
|
||||
cd $home;
|
||||
rm -f modules/system/lib/modules/placeholder patch/placeholder ramdisk/placeholder;
|
||||
rmdir -p modules patch ramdisk;
|
||||
|
||||
# automate simple multi-partition setup for boot_img_hdr_v3 + vendor_boot
|
||||
if [ -e "/dev/block/bootdevice/by-name/vendor_boot$slot" -a ! -f vendor_setup ] && [ -f dtb -o -d vendor_ramdisk -o -d vendor_patch ]; then
|
||||
echo "Setting up for simple automatic vendor_boot flashing..." >&2;
|
||||
(mkdir boot-files;
|
||||
|
||||
Reference in new issue
Block a user