Commit graph

1756 commits

Author SHA1 Message Date
Clayton Craft
84b6b9a956
main/postmarketos-base: clear /tmp on boot (MR 2744)
This configures bootmisc to clear /tmp on bootup. I think most folks
expect distros to do this, many even mount /tmp as tmpfs. I don't think
that's a great idea in pmOS since RAM is usually limited on many
devices. So this, clearing it on boot, seems like a reasonable compromise.

Fixes #1342
2021-12-19 20:32:43 +03:00
Vincent Knecht
3a7156772d
main/linux-postmarketos-qcom-msm8939: add patches for CVE-2021-39685 (MR 2772)
[ci:skip-build] Already built fine on CI
2021-12-19 19:34:43 +03:00
Yassine Oudjana
d7bd728c05
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.10 (MR 2771)
[ci:skip-build] Already built on CI in MR
2021-12-18 15:22:24 +03:00
Bart Ribbers
8a43a51b94
main/linux-postmarketos-rockchip: add patches for CVE-2021-39685 (MR 2765)
[ci:skip-build] Already built on CI in MR
2021-12-17 20:47:26 +03:00
Bart Ribbers
1e047e8977
main/linux-postmarketos-allwinner: add patches for CVE-2021-39685 (MR 2764)
[ci:skip-build] Already built on CI in MR
2021-12-17 20:36:51 +03:00
Minecrell
c1a8c0a631
main/linux-postmarketos-qcom-msm8916: add patches for CVE-2021-39685 (MR 2757)
NOTE: Should be likely backported without the kernel config changes
      since Alpine 3.15 still has the older gcc version.

[ci:skip-build] Already built successfully on CI
2021-12-17 16:10:29 +01:00
Alexey Min
83d8199ee8
main/linux-postmarketos-qcom-msm8974: upgrade to 5.15.9 (MR 2762)
Contains latest CVE fixes.

Also mark myself as maintainer

[ci:skip-build] Already built on CI in MR
2021-12-17 05:11:36 +03:00
Caleb Connolly
fe708f8bc3
phosh,plasma-mobile,sxmo-de-dwm,sxmo-de-sway install ttyescape by default (MR 2754)
[ci:skip-build] already built successfully in CI
2021-12-16 16:00:12 -08:00
Anjandev Momi
5a175dc9d8
sxmo-common: drop youtube-dl for yt-dlp (MR 2747)
youtube-dl is dead and yt-dlp is the successor to the project.
2021-12-17 02:28:02 +03:00
Jack Knightly
1d374d5735
linux-postmarketos-exynos4: add s6evr02 panel (MR 2751)
[ci:skip-build] Already built on CI in MR
2021-12-16 12:42:14 +01:00
Diana Atsuko Herring
f895dc7467
main/android-mkdtimg: drop package (MR 2737)
package replaced by android-mkdtboimg (!2729)
2021-12-16 12:29:53 +01:00
Clayton Craft
a3611e3797
main/sxmo-common: don't disable polkit service in post-{install,upgrade} (MR 2755)
rc-update fails if this service is not in the default runlevel,which is
the case if it's a brand new installation, or would be the case later on
upgrading this package again after the service was already removed from
the runlevel.

The issue that c47c62e3 set out to solve isn't fatal, if polkit fails to
start by openrc then users can manually remove it from the runlevel.

partially reverts c47c62e3

[ci:skip-build] already built successfully in CI
2021-12-15 20:23:33 -08:00
Caleb Connolly
029cf83cf1
main/ttyescape: upgrade to hkdm/buffyboard (MR 2713)
This upgrades ttyescape to use buffyboard, a new fbkeyboard replacement
by @Cherrypicker. It adds a lot of missing keys and uses the same layout
as Phosh's Squeekboard, so should feel much more like home for Phosh
users.

This also switches to the new HKDM daemon for hotkey handling, replacing
triggerhappy.

[ci:skip-build] already passed
2021-12-16 02:32:16 +00:00
Anjandev Momi
c47c62e31f
sxmo: Dont add polkit to default run level (MR 2750)
it's started by dbus

[ci:skip-build] already built successfully in CI
2021-12-15 17:19:47 -08:00
Oliver Smith
2a83c33cb9
main/mobile-config-firefox: upgrade to 3.0.0 (MR 2740)
Related: https://gitlab.com/postmarketOS/mobile-config-firefox/-/tags/3.0.0
2021-12-15 16:21:29 -08:00
Clayton Craft
16472c5b2c
main/msm-firmware-loader: fix shellcheck failure (MR 2752)
A recent(?) update in shellcheck made this fail, possibly because the
test in shellcheck was fixed(?) or ???

The failure this fixes is:

Test with shellcheck: ./main/msm-firmware-loader/msm-firmware-loader.sh
In msm-firmware-loader.sh line 49:
	if [ -z "${FW_PARTITIONS##*$PARTNAME*}" ] && [ -n "$PARTNAME" ]
                                   ^-------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

[ci:skip-build] already built successfully in CI
2021-12-15 15:49:59 -08:00
Alexey Min
a6b343c833
main/linux-postmarketos-qcom-msm8974: upgrade to 5.15.7 (MR 2746)
Simple upgrade with few generic kernel features enabled
 * IWD support
 * F2FS
 * NTFS3_FS
 * USB mass storage support
 * disable MTD and build more things as modules to reduce
   kernel size to compensate some new built-in options,
   as kernel doesn't boot otherwise.

No new things for pmOS's devices (yet). Should work same as before.

[ci:skip-build] Already built on CI in MR
2021-12-14 13:13:23 +03:00
Mighty
07ce5f6a3f
main/mesa-pvr-dri-classic: update to llvm 12 and switch source (MR 2702)
Changing source to freemangordon's branch as that is much more stable and does not crash, got firefox running, which with older mesa would crash the GPU
2021-12-13 12:50:17 +00:00
Oliver Smith
51fce1f111
main/postmarketos-ui-phosh: firefox improvements (MR 2741)
Display the app icon properly, instead of the "unknown" icon, in the
activity view. Phosh attempts to open a .desktop file with the name of
the gtk app-id, but the app-id is "firefox" and the file is named
org.mozilla.firefox.desktop (see related commit, where it was renamed
for a good reason). The way Phosh is doing the name lookup doesn't
always work for other apps too, phosh_get_desktop_app_info_for_app_id()
has workarounds e.g. for gnome-control-center hardcoded. As workaround,
add a .desktop file that makes the icon show up properly, but is not
displayed anywhere else (NoDisplay=true).

Replace epiphany with FF in the default favorite applications in phosh
(top 4 displayed at the top). We already install FF instead of epiphany
and so the 4th place is currently empty.

Related: 2d291a4afc
2021-12-13 13:12:01 +01:00
Clayton Craft
797d6272f9
main/boot-deploy: upgrade to 0.4 (MR 2745)
changelog: https://gitlab.com/postmarketOS/boot-deploy/-/tags/0.4
2021-12-12 15:20:26 -08:00
Caleb Connolly
4ed5c1fe13
linux-postmarketos-qcom-sdm845: upgrade to 5.16-rc4 (MR 2690)
Finally a new upgrade! This brings along some minor driver changes and
improvements, more stuff slowly landing upstream.

We also get a few new splats during boot, these are inevitable at this
point due to fw_devlink changes and large reworking of the drm/msm code,
they are caused by the common clock framework not knowing that some
clocks are left enabled by the bootloader, it panics when they aren't in
a state it expects. They are harmless as far as I know.

[ci:skip-build]
2021-12-10 22:27:16 +00:00
Diana Atsuko Herring
06a125d21b
main/android-mkdtboimg: new package (MR 2729)
Creates dtbo.img file, needed for compiling kernels for newer
Android devices.
2021-12-10 22:25:27 +03:00
Bobby The Builder
ba23cc03b0
main/linux-postmarketos-allwinner: upgrade to 5.15.3 (MR 2701)
[ci:skip-build]: already built successfully in CI
2021-12-10 11:30:59 +01:00
Bart Ribbers
64e90a02d2
main/postmarketos-ui-plasma-mobile: switch to modemmanager (MR 2730)
Upstream has switched from ofono to modemmanager since Plasma 5.23 and
Plasma Mobile Gear 21.12. Since the latter has just been released it's
now time to switch our images too.

The modemmanager service will be enabled to start on default and for
existing installations the .post-upgrade script will disable and stop
the existing ofono service and enable and start modemmanager instead.
2021-12-08 11:21:10 +01:00
Jakob Hauser
51dfc20336
main/postmarketos-ui-xfce4: further improvements (MR 2722)
Changes:
- Replace "Battery Monitor" by "Power Manager Plugin" (#1317)
- Fix the lower panel
- Change clock format from "1:23" to "01:23"
- Make font DPI changable for device package post-install scripts (#293)
- Reset list of keyboard shortcuts to default
- Remove brightness-switch properties from configs
2021-12-07 13:30:51 +01:00
Anjandev Momi
6b308af051
main/postmarketos-config-nftables: add mosh config (MR 2725)
https://social.linux.pizza/@jan_wagemakers/107393948283025525

[ci:skip-build] already built successfully in CI
2021-12-05 22:34:07 -08:00
Yassine Oudjana
a59b385db3
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.6 (MR 2720)
[ci:skip-build] already built successfully in CI
2021-12-05 21:20:30 -08:00
Oliver Smith
60a917222a
main/mobile-config-firefox: upgrade to 3.0.0_rc1 (MR 2723) 2021-12-05 13:54:14 +01:00
Anjandev Momi
11ce9f240c
sxmo-common: update bluetooth for new pipewire/wireplumber (MR 2717) 2021-12-05 12:44:24 +01:00
Oliver Smith
07bbd8c0c8
main/postmarketos-ondev: upgrade to 0.7.3 (MR 2712)
Increase boot size from 128 MiB to 256 MiB.

[ci:skip-build] already built successfully in CI
2021-12-01 15:48:29 -08:00
alikates
5d85109a21
main/lk2nd-msm8953: new package (MR 2680) 2021-11-30 18:49:57 +01:00
Oliver Smith
e225134edb
main/postmarketos-config-nftables: bump pkgrel
Current package has a bad checksum error on armv7, so build it again.

Fixes: #2081
2021-11-29 07:56:49 +01:00
Oliver Smith
6bba554f93
main/mkbootimg-osm0sis: fix upstream source
[ci:skip-vercheck]
2021-11-27 19:04:58 +01:00
Oliver Smith
ad15da8878
main/anbox-image: drop (MR 2710)
Waydroid works better than anbox, and this package keeps failing to
build as in theory the bundled f-droid version needs to be upgraded more
frequently than we do.
2021-11-27 15:50:24 +01:00
Oliver Smith
06cd6765c4
main/postmarketos-anbox: drop (MR 2710)
Let's use waydroid instead.
2021-11-27 15:50:24 +01:00
Oliver Smith
d88960dc39
main/postmarketos-config-nftables: remove anbox (MR 2710)
Prepare to drop anbox from pmaports in favor of waydroid. For waydroid,
there's an nftables rule packaged as waydroid-nftables subpackage of the
waydroid package in Alpine (see pmaports issue 1280).
2021-11-27 15:50:16 +01:00
Oliver Smith
f68ebfe7b8
main/fbkeyboard: fix upstream source url
again, same checksum, I verified that it builds.
[ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/636813#task-pmbootstrap_build-502
2021-11-27 13:43:21 +01:00
Oliver Smith
a38bef1be5
main/crust: fix upstream source url
Source URL has moved. This is the same version, the checksum of the
tarball is the same. I've verified, that this builds.
[ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/636792#task-pmbootstrap_build-343
2021-11-27 13:32:42 +01:00
Johannes Marbach
5fa1755fba
main/postmarketos-mkinitfs: add modprobe subpkgs (MR 2693)
This adds two new subpackages postmarketos-mkinitfs-modprobe-lts and
postmarketos-mkinitfs-modprobe-edge that include /sbin/modprobe in the
initfs when one of the Alpine kernels (linux-lts or linux-edge) are also
installed.

Fixes: #1294

[ci:skip-build] already built successfully in CI
2021-11-22 09:48:39 -08:00
Stacy Harper
67b82a1f3b
main/postmarketos-ui-sxmo-de-dwm: depend on dunst (MR 2692) 2021-11-22 07:52:39 +01:00
Stacy Harper
70fb840906
main/sxmo-common: change dependency to dunstify (MR 2692) 2021-11-22 07:52:39 +01:00
Minecrell
11709bdb54
main/linux-postmarketos-qcom-msm8916: upgrade to 5.15 (MR 2632)
- Update to Linux 5.15
- Upstreamed many more patches
- Major rework of CPU core boot: This is now partially handled in lk2nd
  since mainline Linux does not want to support anything except PSCI on arm64.
- Major rework of "-modem" DTB variants. Now all device trees only contain
  the full modem configuration. lk2nd can patch the DTB at runtime to get
  the alternative "no-modem" variant where audio bypasses the modem entirely.
- Rename some Samsung device trees to drop variant suffixes (e.g. *lte/*wifi)
- Lots of other cleanup everywhere
- Probably many other things I forgot :)

Device changes:
  - samsung-gtelwifiue: new device tree
    - eMMC, SD card, USB, Buttons
    - Display (no brightness control yet)
    - Touchscreen
  - gt58: touch keys and some touch fixes
    - Note: Multi-touch seems broken at the moment :<
  - samsung-a2015/samsung-serranove:
    - Battery: Report voltage as uV
    - Touch keys: Allow changing function from userspace

Kernel config changes:
  - Enable required options for AppArmor and IWD

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2021-11-21 19:11:49 +01:00
Stacy Harper
214008d8fa
main/postmarketos-ui-sxmo: splited into DE packages (MR 2684)
[ci:skip-vercheck]
2021-11-17 20:19:58 +01:00
Paul Spooren
56f48ef255
main/postmarketos-ui-sway: add polkit-elogind dependency (MR 2677)
Without the explicit dependency to `polkit-elogind` the packages
`polkit` and `polkit-libs` are installed. This however prevents starting
`sway`. Below is the error message from the `tinydm` log:

```
00:00:00.028 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:310] Could not activate session: Interactive authentication required.
00:00:00.028 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.028 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.028 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend
00:00:00.028 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
00:00:00.028 [ERROR] [sway/server.c:53] Unable to create backend
```

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-11-14 21:39:44 +01:00
Oliver Smith
72c2f02a06
main/linux-postmarketos-allwinner: enable iwd opts (MR 2565)
Enable options required to run iwd instead of wpa_supplicant for the
aarch64 kernel config. Make it easier to test this, before we consider
switching to iwd as default (and enforcing kernel options in all devices
in main and community).

[ci:skip-build]: already built successfully in CI before disabling
CRYPTO_USER_API_ENABLE_OBSOLETE. I've built and verified the aarch64
version with this disabled locally, and I'm pretty sure that the armv7
version will build successfully too. So let's avoid the wait here.
2021-11-14 21:30:18 +01:00
Oliver Smith
3d06bf36dc
main/postmarketos-ui-*: link to UI pkg reference (MR 2683)
Let every postmarketos-ui-* package have a link on top that points to
the new UI package reference. Do not put the link in <>, as it was done
with other references, since there's no benefit to it. It doesn't look
better and it doesn't make it easier to click the link or something, I
just did this initially because I saw it in GPL license headers.

[ci:skip-vercheck] [ci:ignore-count]
2021-11-14 18:30:27 +01:00
Stacy Harper
7bf9401273
main/postmarketos-ui-sxmo: fix build issue with a fallback to one single package 2021-11-12 21:00:26 +01:00
Stacy Harper
a8e61ecd59
main/postmarketos-ui-sxmo: fix reverse dependency build issue 2021-11-12 20:17:42 +01:00
Stacy Harper
69533cc728
main/postmarketos-ui-sxmo: add -de virtual subpackage dependency (MR 2674) 2021-11-12 17:11:30 +01:00
Stacy Harper
b2c4acc115
main/postmarketos-ui-sxmo: upgrade to 1.6.0 (MR 2664) 2021-11-12 16:01:42 +00:00
Paul Cercueil
01f19ace27
main/linux-postmarketos-exynos4: Enable RFKILL (MR 2661)
Enable CONFIG_RFKILL in the kernel configuration for Exynos4 devices.

This allows Gnome's Bluetooth panel to detect the Bluetooth controllers
present.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

[ci:skip-build]: already built successfully in CI
2021-11-12 12:34:28 +01:00
Paul Cercueil
cdf6b3fed5
main/linux-postmarketos-exynos4: Add support for Bluetooth on i9100 (MR 2661)
Add two patches that fixes the Bluetooth node in the Device Tree of the
Galaxy S2 (i9100).

These two patches are not upstream yet, but were accepted by the
maintainer for inclusion in Linux 5.17.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-11-12 12:32:49 +01:00
Oliver Smith
69dc4449f0
main/postmarketos-ui-phosh: depend on mm-openrc (MR 2675)
Let postmarketos-ui-phosh depend on modemmanager and
modemmanager-openrc, so we ensure both get installed before the
post-install script runs. The post-install script will not be able to
enable the modemmanager openrc service otherwise.

Related: issue 1297
2021-11-12 00:22:52 +01:00
Jami Kettunen
659b8240ac
linux-postmarketos-qcom-msm8998: enable Waydroid configs (MR 2672) 2021-11-10 23:25:15 +01:00
Federico Amedeo Izzo
cc123ebbef
pine64-pinephone: Add support for eMMC Vccq hardware mod (MR 2665)
[ci:skip-build]: already built successfully in CI
2021-11-10 20:05:52 +01:00
Jami Kettunen
805d792ec1
linux-postmarketos-qcom-msm8998: new pmaport (MR 2591)
Add main/linux-postmarketos-qcom-msm8998 as shared mainline kernel for
all MSM8998 devices.
2021-11-08 12:07:42 +02:00
Bobby The Builder
33041ca535
main/crust: upgrade to 0.5 (MR 2648)
[ci:skip-build] already built successfully in CI
2021-11-07 19:37:00 -08:00
Nikita Travkin
316745a171
main/postmarketos-mkinitfs: Center splash images on the screen (MR 2662)
Alpine patches busybox to support image alignment in [1].
So far we don't need to align the spalshes in postmarketOS as those are
generated per device. However with generic images it becomes impossible
to support multiple resolutions with this approach.
Set the alignment to "Center" in fbsplash config so generic system
images can reuse the splash on multiple resolutions.

[1] - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/busybox/0008-fbsplash-support-image-and-bar-alignment-and-positio.patch

[ci:skip-build] already built successfully in CI
2021-11-07 19:33:56 -08:00
Newbyte
d3ca9ab6f6
main/linux-postmarketos-exynos4: upgrade to 5.15 (MR 2660)
[ci:skip-build] already built successfully in CI
2021-11-07 19:31:11 -08:00
Newbyte
d213b248eb
main/linux-postmarketos-stericsson: upgrade to 5.15 (MR 2663)
[ci:skip-build] already built successfully in CI
2021-11-07 19:29:20 -08:00
Alexey Minnekhanov
81c47a0912
postmarketos-mkinitfs-hook-debug-shell: add debugfs mount (MR 2655)
Very helpful and useful for debugging issues.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2021-11-06 19:05:45 +03:00
Yassine Oudjana
78f9b0c63e
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.0 (MR 2650)
Upgrade to 5.15.0, disable some unused I2C and SPI configs, and
remove msm8996 from linux-msm8996-$_tag, since $_tag already
includes msm8996 and makes the first one redundant.

[ci:skip-build] Already built on CI in MR
2021-11-02 13:48:00 +01:00
Petr Vorel
b1ec255459
main/linux-postmarketos-qcom-msm8994: new aport (MR 2411)
v5.14.15 kernel used (current newest stable).

Intended to be used also on msm8992 which has nearly the same DTS.

I haven't tested other functionality except boot to initramfs on
huawei-angler and lg-bullhead.

Some kernel config options set according to
linux-postmarketos-qcom-msm8996.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

[ci:skip-build] Already built on CI in MR
2021-11-02 13:23:21 +01:00
Alexey Minnekhanov
75a251552e
main/lk2nd: make all subpackages install the same file (MR 2638)
We should always install lk image as /boot/lk2nd.img, even for
image with appended DTB (lk2nd-appended-dtb.img). pmbootstrap tooling
will expect it this way, and also it keeps all subpackages consistent,
while also making them conflict with each other.

Add new subpackages that are explicitly named -appended, but still
install the same file.

Each device should "know" which kind of LK image it needs and should
explicitly depends on specific variant.

Having only one file `/boot/lk2nd.img` will simplify many things,
for example we don't have to introduce new deviceinfo properties
to specify which image is needed (like if we installed both of them).

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2021-11-02 02:00:58 +03:00
DolphinChips
df9d656df5
main/postmarketos-mkinitfs: fix showing custom splash after running osk-sdl (MR 2647)
Support for custom "Loading..." splashes was added in MR 1776, but
`unlock_root_partition` function is still hardcoding default "Loading..."
splash. Fix this behaviour by replacing usage of `show_splash` function with
`show_splash_loading`, which accounts for presence of custom splash.

Closes #759
2021-11-01 15:34:39 +05:00
Clayton Craft
931a460c14
main/postmarketos-mkinitfs: upgrade to 1.1.2 (MR 2528) 2021-10-31 10:00:43 +01:00
Clayton Craft
57e5655e22
main/boot-deploy: upgrade to 0.3 (MR 2528) 2021-10-31 10:00:39 +01:00
Anjandev Momi
46e52f1083
main/postmarketos-ui-sxmo: add bluetooth subpackage (MR 2628) 2021-10-30 17:05:35 +02:00
Bart Ribbers
54b2ff6979
main/postmarketos-ui-plasma-bigscreen: move mycroft to -extra subpackage (MR 2642)
MyCroft is something definitely not everybody wants, and it could in
theory even make slower devices unusable while they would otherwise work
fine with Bigscreen. Let's move it to extras so it's optional to install
2021-10-29 22:47:39 +03:00
wonderfulShrineMaidenOfParadise
d60ff7eb32
main/postmarketos-config-nftables: subpackage docker (MR 2629) 2021-10-24 15:13:11 +03:00
Oliver Smith
54414bc01e
main/postmarketos-ui-{sway,sxmo}: add seat group (MR 2631)
Fixes: https://todo.sr.ht/~mil/sxmo-tickets/394
2021-10-24 12:03:25 +02:00
Alexey Minnekhanov
6bf5f763c6
linux-postmarketos-qcom-msm8974: upgrade to 5.14.14 (MR 2620)
Last update for 5.14 kernel, next one will be 5.15

Kernel config cleanup:
* enable various USB peripherals support, per user requests:
  * usb webcams [m]
  * usb ethernet adapters [m]
* remove support for various TV tuners and DVB cards
* enable few filesystem drivers [m], like iso9660, exFAT, ntfs
* enable kernel automounter, to use with nfs (autofs, [m])
* disable CONFIG_ARM_CPUIDLE, which gets rid of annoying message
  during boot:
  /cpus/cpu@0: unsupported enable-method property: qcom,kpss-acc-v2
  Cpuidle is handled by another driver, which is still enabled:
  CONFIG_ARM_QCOM_SPM_CPUIDLE

[ci:skip-build] already built successfully in CI
2021-10-24 00:13:40 -07:00
Minecrell
ae715e09fa
main/msm-firmware-loader: add dummy wcnss subpackage (MR 2619)
firmware-qcom-msm8916-wcnss is a virtual package used for MSM8916
devices without secure boot (i.e. device that do not require signed
firmware). For those it's best to install more recent firmware by
default rather than using the firmware on the firmware partition.

firmware-qcom-msm8916-wcnss is provided by firmware-qcom-db410c-wcnss
by default, however it's still useful to make it possible to switch to
the stock firmware on the firmware partition if needed. To allow that,
add a dummy msm-firmware-loader-wcnss package that provides the virtual
package using the msm-firmware-loader.

  # apk add msm-firmware-loader-wcnss
  (1/2) Purging firmware-qcom-db410c-wcnss (1034.2.1-r2)
  (2/2) Installing msm-firmware-loader-wcnss (1-r1)
2021-10-23 14:41:28 -07:00
Jami Kettunen
ea7d9007a4
main/postmarketos-mkinitfs: support more modular kernels (MR 2590)
* xts, libaes & aes are required for root partition FDE unlocking
* evdev is required by osk-sdl for input

[ci:skip-build] already built successfully in CI
2021-10-23 14:03:28 -07:00
Clayton Craft
45ea9bec29
postmarketos-config-nftables: add forward rule to accept traffic on wlan (MR 2622)
This seems to fix the last missing piece to getting the hotspot stuff
working, at least when it's set up with networkmanager (I haven't tested
other methods, but assume this rule is still needed there too...)

fixes #1198
2021-10-22 18:35:23 +03:00
Bart Ribbers
28ef1ffb4d
main/linux-postmarketos-allwinner: add kb151 fn layer support (MR 2596) 2021-10-19 14:20:38 +02:00
Minecrell
74e8166c7d
main/postmarketos-base: fix file permissions of /etc/sudoers (MR 2610)
Installing postmarketos-base currently changes the file permissions
of /etc/sudoers:

  # apk add sudo
  # stat /etc/sudoers
  Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)

  # apk add postmarketos-base
  # stat /etc/sudoers
  Access: (0044/----r--r--)  Uid: (    0/    root)   Gid: (    0/    root)

The file mode 0044 decodes to:
  - User *cannot* read
  - Group can read
  - Other can read

which does not make any sense. The "sudoers" man page makes it very
clear that this file should have a file mode of 0440 [1]
("readable by owner and group, writable by none").

This looks like a bad typo. However, given that only read permissions
were given out this shouldn't have major security implications
(except allowing all users to see who can use sudo).
Install the file with 0440 instead of 0044 to fix this:

  # apk add postmarketos-base
  # stat /etc/sudoers
  Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)

[1]: https://www.sudo.ws/man/1.9.8/sudoers.man.html#Error_log_entries
2021-10-17 11:30:07 +02:00
jenneron
7c98516164
main/linux-postmarketos-grate: upgrade to 5.15.0_rc4 (MR 2579) 2021-10-16 17:03:59 +03:00
Alexey Minnekhanov
7467b235c3
linux-postmarketos-stericsson: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:18 +03:00
Alexey Minnekhanov
95ddb43499
linux-postmarketos-qcom-sm8150: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:15 +03:00
Alexey Minnekhanov
2bcbfffab4
linux-postmarketos-qcom-msm8953: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:12 +03:00
Alexey Minnekhanov
722331fef7
linux-postmarketos-qcom-msm8939: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:09 +03:00
Alexey Minnekhanov
e2b079ffdc
linux-postmarketos-qcom-msm8916: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:06 +03:00
Alexey Minnekhanov
a30bfc04be
linux-postmarketos-exynos4: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:02 +03:00
Alexey Minnekhanov
e940d5277e
linux-postmarketos-qcom-msm8974: switch to installkernel-pmos (MR 2586)
Rebuild package so kernel image is installed correctly

[ci:skip-build] Already built on CI once in pipeline https://gitlab.com/postmarketOS/pmaports/-/jobs/1664922102
2021-10-14 12:27:59 +03:00
Alexey Minnekhanov
a80d0445a7
main/postmarketos-installkernel: new package (MR 2586)
This script will be used to install postmarketOS mainline kernels.
2021-10-14 12:27:39 +03:00
Newbyte
6c1f7c1e47
main/postmarketos-ui-gnome: enable on armhf (MR 2598)
gdm is available on armhf since a while back.

[ci:skip-vercheck]
2021-10-12 11:11:47 +02:00
Pablo Correa Gómez
7f97b0dcd8
main/postmarketos-tweaks: upgrade to 0.8.1 (MR 2593) 2021-10-11 16:32:23 +03:00
Bart Ribbers
552454b41b
main/waydroid-image: new aport (MR 2588)
This used to be in Alpine but they don't want what is basically a giant
unknown blob, and for good reasons. However we do want to provide these
images for ease of install and quality-control, so let's ship it in pmOS
instead
2021-10-10 18:12:28 +02:00
Oliver Smith
e27235c2ab
main/postmarketos-android-recovery-installer: upgrade to 1.0.5 (MR 2587) 2021-10-10 12:31:06 +02:00
Alexey Minnekhanov
0d193279ff
main/lk2nd: fix version display on lk2nd screen (MR 2585)
When building from tarball git tag is not available.
We need to pass version number manually.

This chnage is cosmetic, but will allow users to easily
identify version and source of their bootloader.
2021-10-10 00:13:58 +03:00
Martijn Braam
7702d95983
main/postmarketos-theme: new aport (MR 2582) 2021-10-10 00:04:23 +03:00
Clayton Craft
834d15b804
main/linux-postmarketos-rockchip: upgrade to 5.14.9 (MR 2567)
[ci:skip-build] Already built successfully on CI
2021-10-07 08:39:46 +02:00
Alexey Minnekhanov
1b869ed064
main/lk2nd: new package (MR 2570)
Package secondary LK bootloader for some Qualcomm devices
(for now: msm8916, msm8974, msm8226).

Bootloader binary is built from source in x86_64 chroot.
Two targets are built in a sequence. Then package is split
into 2 subpackages, each of them installs `/boot/lk2nd.img`.
So the end result is - lk2nd-msm8916 and lk2nd-msm8974 can't
be installed at the same time.

Device- packages then can depend on specific subpackage of this
package and have proxy-bootloader image ready to use in /boot.

This can improve user experience with installing postmarketOS on
several devices using only pmbootstrap tool.
At the very least, pmbootstrap can suggest user to flash lk2nd
immediately after `pmbootstrap install` or even offer some kind
of `pmbootstrap flasher` integration.

This will also open possibilities to automatically update and flash
lk2nd using package manager, it we ever want this.
2021-10-07 08:28:22 +02:00
Yassine Oudjana
d5a197a10e
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.0-rc4 (MR 2574)
[ci:skip-build] Already built on CI in MR
2021-10-06 17:04:46 +03:00
Luca Weiss
16d6ea0b17
main/linux-postmarketos-qcom-sm6350: new aport (MR 2562) 2021-10-02 17:42:26 +02:00
Clayton Craft
4cb1fb71d1
linux-postmarketos-allwinner: upgrade to 5.14.6 (MR 2549)
from megi's changelog:
- add a buffer overflow fix for https://lkml.org/lkml/2021/9/20/152

[ci:skip-build]: already built successfully in CI
2021-10-02 14:52:35 +02:00
Martijn Braam
7d484de261
main/postmarketos-tweaks: upgrade to 0.8.0 (MR 2561) 2021-09-29 19:40:01 +02:00
Jakob Hauser
b0cdf66653
main/postmarketos-ui-xfce4: further improvements (MR 2506)
Improvements from xfce4-phone source:
- Add screenshot to README.md
- Enable screen locking
- Disable Desktop icons "Home", "File System", "Trash"
- Enable single-click on Desktop
- Enable single-click in Thunar
- Change clock format
- Set postmarketos wallpaper

Additional changes in postmarketos-ui-xfce4:
- Installing greybird-themes (which is already set as default theme in
  /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml).
- Changing /etc/skel/.config/autostart/onboard-autostart.desktop to
  slightly speed up keysboard startup (overriding startup-delay of
  /etc/xdg/autostart/onboard-autostart.desktop).
- Enabling scrollbars by /etc/profile.d/enable-scrollbars.sh, this is
  helpful where touch-scrolling doesn't work like e.g. in whiskermenu.

(And re-ordered network-manager-applet in APKBUILD _pmb_recommends
section.)

Also removing xfce4 subpackages of device-qemu-amd64,
device-qemu-aarch64 and device-nokia-n900. The device specific monitor
to set the wallpaper will now be automatically derived from "monitor0"
in file xfce4-desktop.xml.

Additionally taking maintainership as discussed in merge request
(!2506).
2021-09-29 18:29:54 +03:00
Bart Ribbers
196bd6138f
main/postmarketos-ui-plasma-bigscreen: add plank-player to pre-installed apps (MR 2551)
Plank Player is the default video player used by Plasma Bigscreen

[ci:skip-vercheck] No need to bump pkgrel as we're not touching the
package metadata
2021-09-28 14:08:08 +03:00
Nikita Travkin
bc50dd0279
main/msm-firmware-loader: add a package to load firmware on msm devices (MR 2431)
Many devices need proprietary firmware blobs. So far those blobs were
packaged and installed from the repository but this approach has many
drawbacks:

- The rootfs can only be used on a single device model.
 - If a model has multiple variants that have diferent secire-boot key,
   each must have it's own firmware blobs.

This makes maintaining packaged firmware very hard and outweights the
benefits of having a repeatable installation in most cases.

Instead we can load blobs dynamically from preexisting firmware
partitions that usually have same structure and contain the blobs we are
interested in.

The proposed scripts place symlinks to the blobs in a special dir that
then given to the kernel. Blobs from firmware/postmarketos (or another
dir that was set as extra path prior the script execution) will take
priority which allows to override some blobs (e.g. for deviecs with no
secure-boot)
2021-09-27 15:23:47 +03:00
Henrik Grimler
ed1e314287
linux-postmarketos-exynos4: upgrade to 5.15-rc2 (MR 2546)
Also add patches from the Replicant project to fix so that charging
works, and patches from the linux-pm list to fix the SOC INTR message
that has been spamming our dmesg (issue
https://gitlab.com/postmarketOS/pmaports/-/issues/1214).
2021-09-25 11:51:27 +02:00
Jakob Hauser
75a395fb9c
main/postmarketos-ui-mate: take maintainership (MR 2537) 2021-09-24 11:58:56 +02:00
Raffaele Tranquillini
ad1681c190
main/postmarketos-qcom-msm8996: add support for Anbox and Waydroid (MR 2529)
Add kernel flags needed for Anbox and Waydroid to work

[ci:skip-build] Already built successfully on CI

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-09-24 11:25:55 +02:00
Clayton Craft
45e07704df
main/postmarketos-mkinitfs: upgrade to 1.1.1 (MR 2540) 2021-09-21 10:40:54 +02:00
Newbyte
642628a116
main/linux-postmarketos-exynos4: upgrade to 5.14.5 (MR 2532)
Also add patches that should fix backlight control, add reboot modes,
and work around a nasty eMMC corruption issue.

[ci:skip-build]: already built successfully in CI
2021-09-19 17:14:25 +02:00
Minecrell
d535b170e2
main/linux-postmarketos-qcom-msm8916: upgrade to 5.14 (MR 2535)
- Update to Linux 5.14
- Enable new RPMSG WWAN CTRL driver that is now used to communicate
  with the modem through the new WWAN subsystem in Linux
- Minor fixes for ARM32
- Enable some additional options in kernel config (F2FS, UHID, LED triggers)
- Add TravMurav as second maintainer
2021-09-19 17:03:31 +02:00
Newbyte
040458ea81
main/linux-postmarketos-stericsson: support containers kconfig (MR 2522)
[ci:skip-build] already built successfully in CI
2021-09-18 19:47:49 +02:00
Newbyte
c14f630f55
main/linux-postmarketos-stericsson: support anbox kconfig (MR 2522) 2021-09-17 16:34:04 +02:00
Newbyte
e26c4e19fb
main/linux-postmarketos-stericsson: add myself as maintainer (MR 2522) 2021-09-17 16:34:04 +02:00
Newbyte
a7d1a3ed35
main/linux-postmarketos-stericsson: upgrade to 5.15-rc1 (MR 2522) 2021-09-17 16:34:04 +02:00
Alexey Minnekhanov
ffbb8f6c8d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.14.2 (MR 2508)
* enable CLK_VIBRATOR for lg-hammerhead
2021-09-16 21:49:06 -07:00
Clayton Craft
5963a970d5
main/postmarketos-mkinitfs: upgrade to 1.1 (MR 2516)
Changelog: https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/tags/1.1

Fixes #1234
2021-09-16 10:38:00 +02:00
Jakob Hauser
be10b94733
main/postmarketos-ui-mate: Change terminal colors (MR 2525)
The text color in mate-terminal is currently dark brown on black
background. Therefore hardly readable.

Changing text color to light gray on black background.
2021-09-16 10:31:29 +02:00
Newbyte
7c690db318
main/linux-postmarketos-qcom-msm8939: fix defconfig (MR 2519)
* Idol3 panel have been renamed, so update the defconfig to
  reflect that.
* add finduitls to makedepends (MR 2519)
  Gets rid of "find: unrecognized: -printf" in build log.

Fixes 80a70aab92

[ci:skip-build] Already built on CI in MR
2021-09-14 16:10:04 +03:00
BO41
80a70aab92
main/linux-postmarketos-qcom-msm8939: upgrade to 5.14 (MR 2509) 2021-09-14 09:42:57 +02:00
Raffaele Tranquillini
4aea6bf381
main/linux-postmarketos-qcom-msm8996: enable CONFIG_BACKLIGHT_QCOM_WLED (MR 2515)
This is needed for devices such as Xiaomi Mi 5 (gemini), having backlight embedded in the panel controller

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-09-14 09:31:20 +02:00
Newbyte
a12d9e54b6
main/linux-postmarketos-allwinner: enable support for Wacom USB tablets (MR 2480)
[ci:skip-build] Already built on CI in MR
2021-09-13 21:33:13 +03:00
Bart Ribbers
402ad5deaa
main/linux-postmarketos-allwinner: upgrade to 5.14.1_git20210908 (MR 2504)
Fixes an issue where /dev/video2 can't be used by Megapixels (and thus
Megapixels crashing) when having PipeWire installed. The problem was
that the node could only be used by a single application, which was
PipeWire in that case.

[ci:skip-build]: just built successfully in CI
2021-09-13 01:09:12 +02:00
Bart Ribbers
88e6fb6caa
main/linux-postmarketos-allwinner: fix checksums 2021-09-11 22:35:47 +02:00
Bart Ribbers
d984517405
main/linux-postmarketos-stericsson: enable CONFIG_PSI (MR 2497)
[ci:skip-build] Will take way too long
2021-09-11 17:30:29 +02:00
Bart Ribbers
c9086835dc
main/linux-postmarketos-qcom-sm8150: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
3128266f80
main/linux-postmarketos-qcom-sdm660: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
0f2aae40b5
main/linux-postmarketos-qcom-msm8996: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
a071383eb2
main/linux-postmarketos-qcom-msm8974: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
d5f48b25c8
main/linux-postmarketos-qcom-msm8953: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
536a5002ab
main/linux-postmarketos-qcom-msm8939: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
2431f5ec53
main/linux-postmarketos-qcom-msm8916: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Bart Ribbers
56407d7fbf
main/linux-postmarketos-grate: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:28 +02:00
Bart Ribbers
b17726fb14
main/linux-postmarketos-exynos4: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:28 +02:00
Bart Ribbers
164c731e7b
main/linux-postmarketos-rockchip: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:28 +02:00
Bart Ribbers
fba964eff8
main/linux-postmarketos-allwinner: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:27 +02:00
Martijn Braam
8158559a04
main/linux-postmarketos-allwinner: add kb151 support (MR 2422)
Support for the PINE64 PinePhone keyboard attachment based on the kb151
chip.
2021-09-11 14:25:39 +02:00
Jakob Hauser
fafc96da60
main/postmarketos-ui-mate: add network-manager-applet (MR 2505) 2021-09-11 06:53:07 +03:00
Oliver Smith
e048839588
main/postmarketos-mkinitfs: don't rm vmlinuz-* (MR 2501)
Adjust post-upgrade script to not remove vmlinuz-*. This causes problems
with devices using kernels from Alpine, where the kernel is not
installed to /boot/vmlinuz, as it is now the case in postmarketOS, but
e.g. in /boot/vmlinuz-rpi. The intention was to clean up files when
migrating from the old postmarketos-mkinitfs to the new one (>= 1.0.0).
However, the /boot/vmlinuz* files are managed by apk, so they should
already get removed.

Add -v, so it prints a message when removing a file from /boot.
2021-09-08 23:40:13 +02:00
Clayton Craft
380ef23882
boot-deploy: upgrade to 0.2 (MR 2500) 2021-09-08 14:11:30 -07:00
Clayton Craft
5d33039a2f
linux-postmarketos-qcom-sdm845: install kernel image in correct location (MR 2499)
kernel filename must now be /boot/vmlinuz

[ci:skip-build]: ollie is pretty sure that this will work. it's a
critical fix, so let's not delay it by waiting for two kernels to build.
2021-09-08 22:47:17 +02:00
Yassine Oudjana
01484a6a2b
main/linux-postmarketos-qcom-msm8996: Update to 5.14 (MR 2492) 2021-09-08 11:10:28 +02:00
Clayton Craft
530a777204
main/linux-postmarketos-rockchip: upgrade to 5.14 (MR 2473)
Adds the 0011 patch to fix a ethernet regression in 5.14
2021-09-07 15:51:18 -07:00
Clayton Craft
de98d83d47
linux-postmarketos-qcom-msm8996: add missing kconfig from 5.14 (MR 2491)
"make" will prompt for this option without this, causing bpo to fail.

[ci:skip-build] already built successfully in CI
2021-09-06 11:18:29 -07:00
Clayton Craft
667f158e8d
postmarketos-mkinitfs: upgrade to 1.0.2 (MR 2489)
[ci:skip-build] already built successfully in CI
2021-09-05 15:29:59 -07:00
Clayton Craft
60f80272c7
main/linux-postmarketos-allwinner: upgrade to 5.14 (MR 2471)
One patch had to be rebased
2021-09-05 13:43:04 -07:00
Martijn Braam
b9cbcc8942
main/gpodder-adaptive: remove, upstreamed (MR 2484)
[ci:skip-build] already built successfully in CI
2021-09-05 13:26:10 -07:00
Maxim Karasev
64bc486aea
main/linux-postmarketos-allwinner: fix ethernet for Orange Pi 3 (MR 2487)
[ci:skip-build] already built successfully in CI
2021-09-05 13:22:24 -07:00
Newbyte
26e7c79323
main/linux-postmarketos-exynos4: add myself as co-maintainer (MR 2423)
[ci:skip-build] already built successfully in CI
2021-09-05 19:32:15 +02:00
Newbyte
8b0d0d02d8
main/linux-postmarketos-exynos4: drop Contributor: line (MR 2423)
See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1203
2021-09-05 19:31:04 +02:00
Newbyte
ebecf3eb05
main/linux-postmarketos-exynos4: upgrade to 5.14 (MR 2423) 2021-09-05 19:30:54 +02:00
Clayton Craft
d164248ac6
linux-*: bump pkgrel for kernels that use downstreamkernel_package (MR 2426)
This function was changed, so these packages need to be rebuilt to have
the kernel installed under the new filename 'vmlinuz'
2021-09-03 10:29:07 -07:00
Clayton Craft
822e07e662
linux-*: don't use 'flavor' in kernel name (MR 2426) 2021-09-03 10:29:07 -07:00
Clayton Craft
a2c83efeda
postmarketos-update-kernel: drop kernel 'flavor' option (MR 2426)
boot files are generic names (vmlinuz/initramfs), and 'flavor' is not
included in the filenames anymore
2021-09-03 10:08:34 -07:00