device-motorola-rtwo: split initramfs (create_initfs_extra)

The full initramfs (12.8 MB) does not fit init_boot (8 MB), and stock
init_boot's /init overrides pmOS's in vendor_boot. Splitting produces a
small base initramfs that fits, so it can be flashed to init_boot too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
This commit is contained in:
2026-09-08 18:22:54 -03:00
co-authored by Claude Sonnet 5
parent 82fe64ed81
commit 72e33fa4bc
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
maintainer="snlavaise <snlavaise@gmail.com>"
pkgname=device-motorola-rtwo
pkgver=1
pkgrel=2
pkgrel=3
pkgdesc="Motorola Moto Edge 40 Pro"
url="https://postmarketos.org"
arch="aarch64"
@@ -36,6 +36,6 @@ package() {
}
sha512sums="
90b9cef36ae91c1c640cc32f878ad8ea2e66fa22ae472fdaafa8c3a34bc77c59612daabf9688a7d2bb7b0051d48cb298fe6c8388a1de3434a387ed48c7fd4f65 deviceinfo
785cb3c8c9e56d78c63b6e0cce5c4eee429160220358cf76379dfde2badecedbb4d5d88472ded57852fc5dd8fa0dd827f6f4f9d88fd26fba956e2dd945a1260a deviceinfo
c572e21cb0624b554a22a218b0c4faab9b6412654bed6bfef530f3068d076b21c573bd7f4b3ca65f510f8756f636a861191cce925ef49587db7d68d09558826c modules-initfs
"
@@ -25,6 +25,10 @@ deviceinfo_getty="ttyMSM0;115200"
# There is no DRM/mdss yet, so no mode setting / backlight control.
deviceinfo_no_framebuffer="false"
# Split the initramfs: a small base archive (fits in init_boot, 8 MB) plus a
# separate initramfs-extra loaded from the rootfs later.
deviceinfo_create_initfs_extra="true"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=tty0 console=ttyMSM0,115200n8 earlycon clk_ignore_unused pd_ignore_unused ignore_loglevel"