Files
pmaports-rtwo/device/testing/device-bananapi-bpi-cm4-cm4io/APKBUILD
T
Ferass El Hafidi d4023906ea amlogic: force partition resize on first boot
Force rootfs resize on first boot to take all the space available. This
is very useful for prebuilt images, where as-is the rootfs only takes a
bit of space and then it quickly fills up.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9396>
2026-08-18 13:13:57 +00:00

34 lines
1.1 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
maintainer="Ferass El Hafidi <funderscore@postmarketos.org>"
pkgname=device-bananapi-bpi-cm4-cm4io
pkgdesc="BananaPi BPI-CM4IO Baseboard with BPI-CM4"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-firmware-meson
linux-postmarketos-amlogic
postmarketos-base
soc-amlogic-aarch64
u-boot-amlogic-bananapi-bpi-cm4-cm4io
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf modules-initfs"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
049a0a937e5401d27eb03af06e0e4d3e900283a107feac32840ae080a174e6dfe21ab88cc54596571d1a06df6ef9ee372daca9f531ba26efe6f5927b93a5315b deviceinfo
8b6a07d15079b3884c65fcebfbc9b2e3fba822e5eb65d8c85198869edc357c3bdd456ec54f579a04de2a5bced62f32b7e251e61f571bb41a1768fb2dea9e3c9d kernel-cmdline.conf
52948c2884a6f6384e12b7a598f70878526d0d3293c214425170145231144ec7de805c038641741a4a5d75b50e554f6a3fa3769784a674217ed032f9b6a233c8 modules-initfs
"