Skip to content
Snippets Groups Projects
Unverified Commit 31ed6f21 authored by Oliver Smith's avatar Oliver Smith
Browse files

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.
parent c6539b51
Branches
No related tags found
No related merge requests found
Pipeline #193613 passed
Loading
  • Administrator @root

    mentioned in commit e451bc17

    By Oliver Smith on 2021-03-21T16:54:48

    · Imported

    mentioned in commit e451bc17

    By Oliver Smith on 2021-03-21T16:54:48

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit fb7a5525

    By Oliver Smith on 2021-03-21T16:58:04

    · Imported

    mentioned in commit fb7a5525

    By Oliver Smith on 2021-03-21T16:58:04

    Edited by Ghost User
    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment