pmbootstrap flasher: add flash_dtbo (MR 2099)

This commit is contained in:
afeuerstein 2021-08-27 18:35:46 +02:00 committed by Oliver Smith
parent 468d313790
commit 2d3cfbcbb4
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
7 changed files with 43 additions and 1 deletions

View file

@ -20,6 +20,7 @@ def symlinks(args, flavor, folder):
info = {
"boot.img-" + flavor: "Fastboot compatible boot.img file,"
" contains initramfs and kernel",
"dtbo.img": "Fastboot compatible dtbo image",
"initramfs-" + flavor: "Initramfs",
"initramfs-" + flavor + "-extra": "Extra initramfs files in /boot",
"uInitrd-" + flavor: "Initramfs, legacy u-boot image format",
@ -37,6 +38,7 @@ def symlinks(args, flavor, folder):
path_buildroot = args.work + "/chroot_buildroot_" + args.deviceinfo["arch"]
patterns = [path_boot + "/*-" + flavor,
path_boot + "/*-" + flavor + "-extra",
path_boot + "/dtbo.img",
path_native + "/home/pmos/rootfs/" + args.device + ".img",
path_native + "/home/pmos/rootfs/" + args.device + "-boot.img",
path_native + "/home/pmos/rootfs/" + args.device + "-root.img",