pmaports/main/postmarketos-mkinitfs
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
..
APKBUILD main/postmarketos-mkinitfs: avoid storing initramfs-extra twice (!932) 2020-02-10 01:38:18 +03:00
init.sh.in main/postmarketos-mkinitfs: enable profiling with bootchart (!852) 2020-01-13 15:44:51 +03:00
init_functions.sh main/postmarketos-mkinitfs: enable profiling with bootchart (!852) 2020-01-13 15:44:51 +03:00
mkinitfs.sh main/postmarketos-mkinitfs: avoid storing initramfs-extra twice (!932) 2020-02-10 01:38:18 +03:00
postmarketos-mkinitfs.trigger mkinitfs: Fail on missing depends / better usability in general (#1133) 2018-01-31 19:39:09 +00:00