AK3: fix elf to bootimg repacking

This commit is contained in:
osm0sis authored and GitHub committed 2026-06-28 07:16:49 -03:00
1 parent 23e48c9571
commit 10a35863de
1 file changed
+1 -1
+1 -1
View File
@@ -250,7 +250,7 @@ flash_boot() {
cd $SPLITIMG; cd $SPLITIMG;
if [ -f "$BIN/mkimage" ]; then if [ -f "$BIN/mkimage" ]; then
varlist="name arch os type comp addr ep"; varlist="name arch os type comp addr ep";
elif [ -f "$BIN/mk" -a -f "$BIN/unpackelf" -a -f boot.img-base ]; then elif [ -f "$BIN/mkbootimg" -a -f "$BIN/unpackelf" -a -f boot.img-base ]; then
mv -f cmdline.txt boot.img-cmdline 2>/dev/null; mv -f cmdline.txt boot.img-cmdline 2>/dev/null;
varlist="cmdline base pagesize kernel_offset ramdisk_offset tags_offset"; varlist="cmdline base pagesize kernel_offset ramdisk_offset tags_offset";
fi; fi;