| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
| |
Since most of the image mounting code is duplicated, we can instead
extract it to an embedFiles() function that takes a callback. The Linux-
or Android-specific code can be in the callback.
|
| |
|
|
|
| |
Assume that /etc can be on a partition different from the one, where the
kernel resides.
|
| |
|
|
|
| |
Now it's assumed to always be ext4, which is actually not always the
case. Try to mount ext4, then try vfat.
|
| |
|
|
|
| |
Presently Linux doesn't support bzImage/zImage for arm64, but at least
we can use Image.gz.
|
| |
|
|
| |
Support all of /vmlinuz, /bzImage, /boot/vmlinuz, boot/bzImage.
|
| |
|
|
|
|
|
|
|
|
| |
The struct pkg.build.Params is currently primarily passed on as a
pointer, which leads make it hard to see the places, where it can
(and should) actually be modified.
Make it all more explicit by only passing pointer references to objects
of this type when the object is expected to be modified by the function.
In fact, at this moment there are no such situations.
|
| | |
|
|
|
Add a new, simpler procedure:
working bootable image is accepted as an input
and we only replace the kernel in it.
This just looks much saner and the right way to do it
(instead of assembling the image from bits and shelling out
to mkfs, fdisk, grub, etc). The new way also works inside of
containers much better.
|