Minecrell 24fa68c9b6
main/postmarketos-mkinitfs: avoid storing initramfs-extra twice (!932)
At the moment we store the same initramfs-extra twice on the file system:
  - /boot/initramfs-<flavor>-extra
  - /var/cache/postmarketos-mkinitfs/initramfs-<flavor>-extra_<hash>

The second copy is exactly the same file, just with the <hash> (for caching)
appended to the filename.

We can avoid this by appending the hash directly to the filename
on the boot partition, i.e.
  - /boot/initramfs-<flavor>-extra_<hash>

This is possible because we only reference initramfs-extra from the main
initramfs, and we already replace the path in it dynamically.
It will just let the main initramfs load -extra_<hash> instead of just -extra.

This saves a few megabytes of disk space on the rootfs.
2020-02-10 01:38:18 +03:00
2020-02-05 16:23:53 +03:00
2019-06-26 22:36:15 +02:00
2019-09-26 21:51:14 +02:00
2018-08-23 21:44:22 +02:00
2018-09-04 07:15:47 +00:00
Description
No description provided
Readme 43 MiB
Languages
Shell 97%
Python 2%
C 0.5%
Batchfile 0.4%