pmaports/main/postmarketos-mkinitfs
Oliver Smith 31ed6f21ef
main/postmarketos-mkinitfs: fix space issues (MR 2051)
In order to have hardware acceleration in osk-sdl, we have included mesa
for some devices (like the PinePhone) in initfs-extra. Mesa drags in
libLLVM, which got a size increase of 27 MB in the last version. This
leads to running out of space on the boot partition:

  ==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
  gzip: write error: No space left on device
  cpio: write error: Broken pipe

Improve the situation by not directly writing initfs-extra to /boot
(next to the old version), but to a temporary directory first. Replace
the old version with the new version afterwards (like before).

This is a rather minimal fix for this specific issue. The mkinitfs
script needs more fixing (it's one of the oldest pieces of code in
postmarketOS and could use a rewrite...), but that's out of scope for
this patch.
2021-03-21 17:22:44 +01:00
..
00-default.modules main/postmarketos-mkinitfs: modules from files (!1123) 2020-04-12 00:56:22 +02:00
APKBUILD main/postmarketos-mkinitfs: fix space issues (MR 2051) 2021-03-21 17:22:44 +01:00
init.sh.in main/postmarketos-mkinitfs: allow splash override (MR 1776) 2020-12-03 11:30:25 +03:00
init_functions.sh main/postmarketos-mkinitfs: refactor osk-sdl config/running (MR 1870) 2021-02-22 15:40:44 +03:00
mkinitfs.sh main/postmarketos-mkinitfs: add mediatek header in mkinitfs (MR 1483) 2020-08-22 10:38:53 +02:00
mkinitfs_functions.sh main/postmarketos-mkinitfs: fix space issues (MR 2051) 2021-03-21 17:22:44 +01:00
mkinitfs_test.sh main/postmarketos-mkinitfs: modules from files (!1123) 2020-04-12 00:56:22 +02:00
postmarketos-mkinitfs.trigger main/postmarketos-mkinitfs: add new trigger for osk-sdl (MR 1563) 2020-09-19 17:14:20 +03:00