[Lava-users] Fastboot - Android boot image apply-overlay

Anibal Limon anibal.limon at linaro.org
Tue Nov 14 18:06:22 UTC 2017


I'm trying to apply-overlay (test tarball) to a ramdisk inside Android boot
image , the image contains the kernel (zImage),  ramdiisk (initrd.img) and
a config file (bootimg.cfg).

The Android boot image can be modified using abootimg, for example:

$ abootimg -x boot.img
$ abootimg-extract-unpack-initrd
$ tar -xvzf overlay-5.2.4.tgz -C ramdisk
$ abootimg-extract-pack-initrd
$ abootimg -u boot.img -r init.rd

Currently i can execute a test shell into LXC to make the extraction of the
boot image [1][2], the issue i have is that the test overlay tarball (for
example: overlay-5.2.4.tgz), isn't available because the creation is
handled after the LXC pipeline by deploy action to the target device [3][4].

Any feedback would be appreciate.

Best regards,

[2] https://staging.validation.linaro.org/scheduler/job/196031
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/lava-users/attachments/20171114/c3cb9497/attachment.html>

More information about the Lava-users mailing list