No description
Find a file
Caleb Connolly cb8414a20d
postmarketos-initramfs: unify with minimal initramfs (MR 5636)
We previously forked the initramfs into a minimal variant for highly
space constrained devices, to allow the normal variant to gain
additional functionality like the debug-shell (With OSK). Initially the
hope was that only a handful of devices would need the minimal variant,
but in practise this has not been the case.

Trying to maintain two diverging forks of the initramfs is absoutely
unsustainable and (to be frank) a bit silly.

Based on discussion with craftyguy and newbyte, let's re-architect the
initramfs to run in two stages, with the second stage being part of
initramfs-extra. By itself this doesn't make a lot of sense, since
requiring the boot partition be mounted for the debug-shell to be useful
is a major downgrade.

However this can be used in tandem with pending support for a new
deviceinfo_create_initfs_extra variable, this is default false in
mkinitfs which finally gets rid of initramfs-extra entirely for devices
that don't need it.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-10-31 11:54:24 -07:00
.ci CI: common.run_pmbootstrap: use simple check=True (MR 5633) 2024-10-23 13:24:10 +02:00
.githooks Add githooks from alpine (MR 4008) 2023-04-12 16:42:45 +02:00
.gitlab/issue_templates .gitlab: Change_Kernel_Config: properly assign label (MR 5553) 2024-09-04 18:45:39 +02:00
cross cross/crossdirect: fakeroot: add helpful error msg (MR 5744) 2024-10-30 22:24:57 +01:00
device sony-togari: new device (MR 5739) 2024-10-28 17:45:06 +03:00
main postmarketos-initramfs: unify with minimal initramfs (MR 5636) 2024-10-31 11:54:24 -07:00
modem modem/samsungipcd: upgrade to v0.3.0 (MR 5698) 2024-10-13 19:51:32 +02:00
temp temp/gnome-shell-mobile: remove dependency on removed networkmanager-common (MR 5740) 2024-10-28 14:10:17 +01:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: Exclude temp from check (MR 4858) 2024-02-27 08:24:53 -08:00
.editorconfig editorconfig: add CODEOWNERS (MR 4940) 2024-03-17 22:48:52 +00:00
.gitignore CI: wiki: adjust for 'pmbootstrap ci' (MR 3608) 2022-11-17 19:10:56 +01:00
.gitlab-ci.yml CI: gitlab: increase git clone depth to 100 (MR 5718) 2024-10-19 14:07:38 +02:00
.mrhlpr.json mrhlpr.json: accept all generic package commits (MR 3131) 2023-03-15 21:37:37 +00:00
channels.cfg channels.cfg: mark v23.12 as unsupported 2024-07-31 22:00:52 +02:00
CODEOWNERS device-raspberry-pi3: take over maintainership (MR 5548) 2024-09-01 18:01:03 +02:00
COMMITSTYLE.md COMMITSTYLE: introduce (MR 3908) 2023-03-21 08:32:10 +01:00
kconfigcheck.toml */*: update references to gitlab.postmarketos.org that need no rebuild (MR 5696) 2024-10-07 12:57:38 +02:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: set pmbootstrap_min_version=2.3.0 (MR 5046) 2024-05-15 17:08:00 +02:00
README.md README: add mention to COMMITSTYLE (MR 4010) 2023-04-13 23:22:01 -07:00