Files
pmaports-rtwo/device/community/device-qcom-sm7150/APKBUILD
T
Jens Reidel 8473c7a59c device-qcom-sm7150: Disable splash and serial console for now
On systemd installs, pbsplash causes the device to hang during init and
reset. OpenRC does not exhibit this behavior. Let's disable the splash
screen for now to get the devices working out of the box again and look
into this again after 25.12 when we have plymouth.

The serial getty setup is broken on some devices. Not all of them have
the UART TX/RX connected in hardware, so the ttyMSM0 does not exist on
all devices. On those that have it, it works, on those that don't, it
causes logspam.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7509>
2025-12-07 12:49:11 +00:00

66 lines
1.5 KiB
Bash

# Maintainer: Jens Reidel <adrian@travitia.xyz>
# Co-Maintainer: Danila Tikhonov <danila@jiaxyga.com>
# Co-Maintainer: David Wronek <david@mainlining.org>
# Co-Maintainer: Arian Kulmer <arian.kulmer@web.de>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-qcom-sm7150
pkgdesc="Generic device package for Qualcomm SM7150 devices"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-qcom-sm7150
firmware-qcom-sm7150
hexagonrpcd
linux-postmarketos-qcom-sm7150
make-dynpart-mappings
postmarketos-base
soc-qcom
soc-qcom-modem
soc-qcom-qbootctl
systemd-boot
unl0kr-fbforcerefresh
"
makedepends="devicepkg-dev"
install="$pkgname-openrc.post-install"
subpackages="
$pkgname-openrc
"
source="
81-libssc-180-degrees.rules
deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/81-libssc-180-degrees.rules -t \
"$pkgdir"/usr/lib/udev/rules.d
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
depends="
hexagonrpcd-openrc
openrc
qbootctl-openrc
tqftpserv-openrc
"
mkdir -p "$subpkgdir"
}
sha512sums="
2c16ba75e0077b2b1eaefa4c73b287475505a1aeb291ec29316d41cc094277320f9d2aaabfd91eb1dc0f488ab2d61a94faef16e7afe0f1e226779113761b9a37 81-libssc-180-degrees.rules
b771b3939f285981c200faa001e9aea785ee48de4523a5b398e926ccd5eb6a55ead1363e7869d8844c6ed92d9220b590ae80cfc7a4dc6bec13876f7447c96576 deviceinfo
"