Commits on Source (26)
-
Oliver Smith authored
Fix the following error during "pmbootstrap install": ERROR: unable to select packages: sudo-1.9.16_p1-r1: conflicts: doas-sudo-shim-0.1.1-r1[cmd:sudo=1.9.16_p1-r1] breaks: doas-sudo-shim-0.1.1-r1[!sudo] satisfies: postmarketos-base-38-r0[sudo-virt] postmarketos-base-nofde-38-r0[sudo-virt] doas-sudo-shim-0.1.1-r1: conflicts: sudo-1.9.16_p1-r1[cmd:sudo=0.1.1-r1] satisfies: postmarketos-base-doas-38-r0[doas-sudo-shim] postmarketos-base-38-r0[sudo-virt] postmarketos-base-nofde-38-r0[sudo-virt] How the error gets triggered: * postmarketos-base depends on sudo-virt. During "pmbootstrap install", pmbootstrap has to resolve this to a sudo implementation (sudo, doas, ...). * pmbootstrap does this by looking at the packages that get installed at the same time. Before this patch we did not install doas-sudo-shim directly through _pmb_recommends, only indirectly through a postmarketos-base-doas subpackage that pulls doas-sudo-shim in via install_if. * pmbootstrap cannot look at install_if as it resolves dependencies, so it has to pick one and goes for "sudo". * pmbootstrap tells apk to install a list of packages including "sudo", and because apk also resolves install_if correctly, the solver fails at the conflict between "doas-sudo-shim" and "sudo". (This only fails since apk-tools-static 2.14.6-r0, apparently beforehand apk just installed "doas-sudo-shim" in this scenario.) Teaching pmbootstrap to look at install_if while resolving packages would be one way to fix this. But it would be a lot of effort, not feasible to quickly stop the problem at hand that breaks "pmbootstrap install" for all edge installs. IMHO it is not worth implementing this at all in pmbootstrap, as it is just supposed to do some more or less basic package resolving until apk takes over and does it properly. Put doas-sudo-shim in _pmb_recommends so pmbootstrap knows that this is the sudo implementation we want without looking at install_if. Remove the now obsolete postmarketos-base-doas subpackage. This will lead to doas-sudo-shim getting removed for old installations on upgrade, but it can easily be installed back (doas add doas-sudo-shim). I'll make an edge post about it and put it in the v24.12 release notes. If we don't remove it here, we would need to keep this legacy subpackage around forever and I'd rather avoid that to reduce maintenance effort. Another alternative to this was removing sudo-virt from depends="". But that would lead to sudo getting uninstalled for users upgrading from old releases from before we had doas in pmb_recommends, so I've decided against it. Fixes: pmaports issue 3340
-
Package auto-update authored
-
It's possible that additional sources have been made to an APKBUILD which are unstaged, but if the hunks adding those sources haven't been staged either then it doesn't make sense to fail on this. Use git show to get only the staged hunks for the APKBUILD. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
The deviceprofile is now in a tagged sxmo release. The conky issue will be mentioned in wiki for users to manually disable, until upstream allows toggling it.
-
Do not duplicate udev rules that are also shipped by upstream
-
pmos now defaults to droid sans font
-
The bq27200 fuel gauge depends on its battery-backed memory for capacity reporting. If the supply is off for some time, the fuel gauge's last known capacity is reset, after which a capacity value can only be read after a full charge cycle. Thus, most of the time, as used on the Nokia N900, the reported percentage cannot be relied on for making power-off decisions on battery low conditions, e.g. through UPower. However the fuel gauge can very accurately detect and report a low battery condition internally, even if the reported capacity is incorrect, e.g. when it has been reset. The low battery condition is reported by the kernel via capacity_level in sysfs, and also generates uevents. So we can implement safe battery shutdown by requesting the kernel to more regularly polling for status changes, then performing an immediate shutdown when the capacity_level is reported as Low and the device is not charging.
-
As of upower 1.90.5, it is possible to configure upower to not take an action when the battery capacity is reported as critically low. Since the Nokia N900 now monitors its battery capacity using udev scripts, which is more accurate than upower's calculation, enable the new ignore feature for the N900.
-
Package auto-update authored
-
Oliver Smith authored
-
[ci:skip-build]: already built successfully in CI
-
Package auto-update authored
-
Clayton Craft authored
This is a generic kernel for qcom laptops (sc8280xp & x1e), meant to replace the lenovo-21bx kernel for the x13s. - Uses johan_defconfig as base, and includes Minecrell's pmos.config - Adds some extra kconfig for supporting virtualization
-
Clayton Craft authored
-
Clayton Craft authored
[ci:skip-build]: already built successfully in CI
-
[ci:skip-build]: Oliver verified locally that it builds
-
Oliver Smith authored
Fill out makedepends, so pmbootstrap and bpo know that these packages need to be built before building postmarketos-cros-common, because it has subpackages depending on these packages. Without this, bootstrapping v24.12 currently fails: https://builds.sr.ht/~postmarketos/job/1381582 This is intended behavior, abuild works the same way: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10138 [ci:skip-build]: already built successfully in CI
-
Oliver Smith authored
Split -nofde into a separate package to resolve the cyclic depenency: postmarketos-base -> postmarketos-initramfs -> postmarketos-base-nofde Fixes: issue 3236 [ci:skip-build]: already built successfully in CI
-
In order to reduce the power usage when using sensors let's implement set_polling as described [1]. The patch was linked in the MR that adds libssc support [2] and is from [3]. An alternative implementation is also avaliable [4], but that seems to have GLib threading issues [5]. 1: postmarketOS/pmaports#2455 (comment 453587) 2: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/merge_requests/381#note_2567822 3: https://gitlab.freedesktop.org/verdre/iio-sensor-proxy/-/commit/7a7a5f3ea04ff4c134f3dbbbc005b8c26d0af300 4: https://gitlab.freedesktop.org/verdre/iio-sensor-proxy/-/commit/74a5860474b6e79cd6e3be13d1ff8dd9cd810b8b 5: https://mastodon.social/@verdre/113390737074625004 Signed-off-by:
Alistair Francis <alistair@alistair23.me> [ci:skip-build]: already built successfully in CI
-
There might be additional kernel modules needed for the USB UDC to show up. This used to work fine, but broke when the initramfs was unified with the minimal one. We need to load modules/start udev before setting up USB. Fix this by duplicating the setup calls in both init.sh and init_2nd.sh. Both calls already have checks to allow calling them multiple times, so we don't need to handle the initramfs-extra case in a special way. [ci:skip-build]: already built successfully in CI
-
Update ucm conf to a version that contains a workaround to get the bottom mic working again in voice calls. Fixes: #3322 [ci:skip-build]: already built successfully in CI
-
Oliver Smith authored
-
-
[ci:skip-vercheck]
-
Resolves deadlock between Rockchip crypto hardware and dm-crypt causing kernel panic during disk decryption on devices like PinePhone Pro. - Disables RK3399 hardware crypto engine (CONFIG_CRYPTO_DEV_ROCKCHIP) - Enables ARM64 CPU crypto extensions for AES/SHA - Makes core crypto components built-in instead of modules Fixes: kernel panic in queued_spin_lock_slowpath() when accessing encrypted devices. [ci:skip-build]: already built successfully in CI
-
Package auto-update authored
Showing
- .githooks/pre-commit 12 additions, 2 deletions.githooks/pre-commit
- CODEOWNERS 3 additions, 0 deletionsCODEOWNERS
- channels.cfg 1 addition, 2 deletionschannels.cfg
- cross/musl-aarch64/APKBUILD 3 additions, 3 deletionscross/musl-aarch64/APKBUILD
- cross/musl-armhf/APKBUILD 3 additions, 3 deletionscross/musl-armhf/APKBUILD
- cross/musl-armv7/APKBUILD 3 additions, 3 deletionscross/musl-armv7/APKBUILD
- cross/musl-riscv64/APKBUILD 3 additions, 3 deletionscross/musl-riscv64/APKBUILD
- cross/musl-x86/APKBUILD 3 additions, 3 deletionscross/musl-x86/APKBUILD
- cross/musl-x86_64/APKBUILD 3 additions, 3 deletionscross/musl-x86_64/APKBUILD
- device/community/device-lenovo-21bx/APKBUILD 2 additions, 2 deletionsdevice/community/device-lenovo-21bx/APKBUILD
- device/community/device-nokia-n900/APKBUILD 17 additions, 24 deletionsdevice/community/device-nokia-n900/APKBUILD
- device/community/device-nokia-n900/bq27k-monitor.sh 16 additions, 0 deletionsdevice/community/device-nokia-n900/bq27k-monitor.sh
- device/community/device-nokia-n900/bq27k-options.conf 1 addition, 0 deletionsdevice/community/device-nokia-n900/bq27k-options.conf
- device/community/device-nokia-n900/sxmo/deviceprofile.sh 0 additions, 20 deletionsdevice/community/device-nokia-n900/sxmo/deviceprofile.sh
- device/community/device-nokia-n900/sxmo/start_hook.sh 0 additions, 130 deletionsdevice/community/device-nokia-n900/sxmo/start_hook.sh
- device/community/device-nokia-n900/udev/10-nokia-modem.rules 0 additions, 4 deletionsdevice/community/device-nokia-n900/udev/10-nokia-modem.rules
- device/community/device-nokia-n900/udev/15-bq27k.rules 1 addition, 0 deletionsdevice/community/device-nokia-n900/udev/15-bq27k.rules
- device/community/device-nokia-n900/upower.conf 17 additions, 7 deletionsdevice/community/device-nokia-n900/upower.conf
- device/community/device-nokia-n900/xdefaults 1 addition, 2 deletionsdevice/community/device-nokia-n900/xdefaults
- device/community/device-xiaomi-elish/81-libssc-xiaomi-elish.rules 0 additions, 0 deletions...ommunity/device-xiaomi-elish/81-libssc-xiaomi-elish.rules
File moved