Commit graph

1895 commits

Author SHA1 Message Date
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
Clayton Craft
50ee94d8e3
main/devicepkg-dev: don't use kernel 'flavor' in kernel filename (MR 2426)
Kernel file names will be generic (/boot/vmlinuz).
Release path still has the 'flavor' in it so that pmbootstrap can still
get a reference to which kernel package is installed
2021-09-03 10:08:34 -07:00
Clayton Craft
1bbb98347d
main/postmarketos-mkinitfs: use new mkinitfs (MR 2426)
This replaces the mkinitfs script with a re-write (in Go). The
re-written mkinitfs will atomically replace the initfs in /boot, check
for free space before doing so, and try to do whatever it can to not
leave the system in an unbootable state by botching the initfs
creation/installation.

pmb:cross-native with go cross compiling doesn't work exactly, it makes
the correct binary, but on Alpine go uses -buildmode=pie which creates a
dynamic thing, and the interpreter is wrong (e.g. it it set to use the
host arch's interpreter, like /lib/ld-musl-x86_64 even though
GOARCH=arm64)

The init.sh script is no longer a template, "initramfs-extra" is used.

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1019
fixes https://gitlab.com/postmarketOS/pmaports/-/issues/660
2021-09-03 10:08:34 -07:00
Clayton Craft
edb0d801c3
boot-deploy: new aport (MR 2426)
This tool is used by the new mkinitfs to finalize/install boot files.
It's based on the old mkinitfs_functions.sh, but includes some
improvements like verifying free space in target directory, and trying
to atomically mv files.
2021-09-03 10:08:34 -07:00
Stacy Harper
a7cea816c5
main/postmarketos-ui-sxmo: update to 1.5.1 (MR 2481) 2021-09-02 14:24:09 +02:00
tim
8262a41db2
linux-postmarketos-rockchip: add armv7 config and patch for broken emmc on veyron (MR 2318)
[ci:skip-build] Already built on CI in MR
2021-09-01 12:22:41 +03:00
Caleb Connolly
34623c4a0a
postmarketos-mkinitfs: fix charging-sdl for kmsdrm devices (MR 2098)
This fix was pending since before charging-sdl was deprecated and still
provides value should anyone wish to pickup and improve charging-sdl
again.

charging-sdl currently does not check for devices using mesa, even
though it supports it in the same way as osk-sdl. Check for msa support
and set SDL_VIDEODRIVER in that case.

Also fix the font path, as it was reading both keyboard-font and
keyboard-font-size from osk.conf.
2021-09-01 11:41:50 +03:00
Martijn Braam
0a4645eaec
main/postmarketos-base: depend on the keys package (MR 2477)
Have the keys be packagemanaged by default instead of preloading it
once with pmbootstrap
2021-09-01 11:37:15 +03:00
Martijn Braam
6319a1ec4b
main/postmarketos-keys: new aport (MR 2477) 2021-09-01 11:37:14 +03:00
wonderfulShrineMaidenOfParadise
6e1dd3f820
main/postmarketos-config-nftables: subpackage vncserver (MR 2479)
Co-authored-by: clayton craft <clayton@craftyguy.net>
2021-09-01 11:28:33 +03:00
Alexey Minnekhanov
b358565705
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.13 and support zram (MR 2478)
* Add support for full panel driver for samsung-klte
* Enable zram support
2021-09-01 11:19:02 +03:00
Jakob Hauser
ad75c18077
postmarketos-ui-xfce4 & -mate: Implement onboard keyboard (MR 2464)
Installing "onboard" onscreen keyboard and enabling autostart.

Option "Don't auto-show while external keyboards are connected" is
activated.

[ci:skip-build] already built successfully in CI
2021-09-01 00:20:09 -07:00
Bart Ribbers
5dca579b03
main/postmarketos-ui-plasma-desktop: install Firefox by default, enable on x86 (MR 2475)
Also remove xwayland, it already gets pulled in through KWin

[ci:skip-vercheck]
2021-08-31 08:56:12 +02:00
jenneron
9ab9b0761b
main/linux-postmarketos-grate: upgrade to 5.14.0_rc6 (MR 2437) 2021-08-30 21:25:24 -07:00
Joel Selvaraj
15a851f4fe
linux-postmarketos-qcom-sdm845: upgrade to 5.14rc6 (MR 2416)
Changes:
 - Kernel side support for ModemManager
 - Picked upcoming patch series for 5.15 + fixes, theoretically
   improving GPU perf
 - Updated patch series from lists
 - Enabled options needed to support WayDroid (network stuff maybe still
   missing???)
 - Fixes venus fw paths, firmware packages need to updated to support it
   but this will enable HW video decoding!
 - Cleanup the defconfigs
2021-08-26 03:43:56 +03:00
Nikita Travkin
a6c52f3e15
main/linux-postmarketos-qcom-msm8916: upgrade to 5.14_rc7 (MR 2458)
- Rebase on v5.14-rc7
- Upstreamed more patches
- Enable Jack detection kctls for msm8916 devices
- Probably many other things I forgot :)

Device changes:
  - gt5 family:
    - Added fuel-gauge support
    - Added sensors (Accelerometer, Light)
    - gt510 - wifi variant reworked to use multiple common layers
      - gt510lte - Added support for LTE variant
    - gt58 - New device
      - gt58lte - Support for LTE variant
      - Feature parity with gt510
   - wingtech-wt88047 (Xioami Redmi 2):
     - Add additional boe-nt35521s panel driver
   - longcheer-l8150: Fix Jack detection
2021-08-24 14:43:35 +02:00
Oliver Smith
13a7778f94
main/postmarketos-base-ui: NetworkManager: hostname-mode=none (MR 2457)
Disable the hostname management feature of NetworkManager. This isn't
useful for the postmarketOS use case, where we set one hostname in
/etc/hostname via pmbootstrap and want it to be used. (It makes more
sense for normal PCs, which may just have the hostname 'localhost' at
the end of the installation and then not be unique in the network.)

NetworkManager is supposed to only change the hostname if it is set to
localhost, however this detection does not work properly in
postmarketOS. I've skimmed through sources of elogind, NetworkManager
and OpenRC a bit and found that in OpenRC the definitive location to put
the hostname is /etc/hostname. The other path, /etc/conf.d/hostname, is
just a fallback. Experiments show that setting something in
/etc/conf.d/hostname does prevent NM from setting a hostname offered by
the DHCP server, but it's not clear to my why this happens. I suspect
elogind + dbus. Disabling this feature we don't need anyway seems like a
good approach to me without wasting too much time here.
2021-08-24 14:37:41 +02:00
Luca Weiss
58eaa90874
main/postmarketos-mkinitfs: change wait for subpartitions (MR 2432)
Previously it was assumed that with the counter and the sleep 0.1 the
process would take about 10 seconds to complete. On newer devices with
tens or even hundreds of partitions going through all partitions already
takes a significant amount of time, so change the logic to measure the
time elapsed instead.
2021-08-22 20:15:40 +02:00
Clayton Craft
c1a6a6511b
postmarketos-config-nftables: allow DNS from wlan* (MR 2448)
This fixes DNS when a system is connected to a pmOS device as a hotspot.

The rule is in the default set of firewall rules, instead of a
subpackage.. I think this is OK. I don't believe anything should be
listening on port 53 except when the hotspot is running...
2021-08-21 20:33:52 +02:00
Bobby The Builder
d71802cb25
main/linux-postmarketos-allwinner: upgrade to 5.13.12 (MR 2452)
[ci:skip-build] Already built on CI in MR
2021-08-21 20:27:32 +02:00
Alexey Minnekhanov
f4a6b4f8d1
main/linux-postmarketos-rockchip: enable SPI flash and autofs support (MR 2436) 2021-08-19 04:12:36 +03:00
Bart Ribbers
323c909f8c
main/postmarketos-base-ui: add "$HOME/.local/bin" to $PATH (MR 2445)
This directory is specified by the XDG Base Directory specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
Quoting:

> User-specific executable files may be stored in $HOME/.local/bin.
> Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

So let's actually do this. This way also binaries installed by e.g. Pip
or Cargo will be usable out-of-the-box rather than that the user has to
figure out why it's not appearing in their PATH.
2021-08-18 17:05:02 +03:00
Clayton Craft
2283190a93
main/postmarketos-mkinitfs: move dev node creation to initfs (MR 2407)
There should be no reason that this has to be done by mkinitfs, and
moving it to initfs simplifies mkinitfs (and the creation of a
replacement)
2021-08-16 19:04:38 +02:00
Clayton Craft
b2a82a028d
main/linux-postmarketos-allwinner: support zram kconfig check (MR 2434)
Note: building zram as a module allows for easy reconfiguration at
runtime (e.g. using the zram-init service).

[ci:skip-build] Already built in a MR
2021-08-14 18:57:39 +03:00
Bart Ribbers
4c1b607f3e
main/postmarketos-ui-plasma-mobile: clean up runtime deps (MR 2433)
plasma-nm-mobile is already a dep of plasma-phone-components
ofono is already a dep of plasma-phone-components
ofono-openrc already gets pulled in automatically through openrc and
ofono
networkmanager is already pulled in by plasma-nm-mobile
qt5-qtvirtualkeyboard has been replaced by maliit ages ago

[ci:skip-build] already built successfully in CI
2021-08-13 23:22:25 -07:00
Bobby The Builder
a3e9236692
main/crust: upgrade to 0.4 (MR 2315)
add patch for 5.13 irq clocks
   0289a01c9e
2021-08-13 23:19:28 -07:00
Caleb Connolly
3e86acc9d9
postmarketos-mkinitfs: flashing: fix wrong flavor (MR 2401)
The flavor string was naively parsed using sed by removing everything
before the first hyphen, this breaks for -rc kernels. Instead lets glob
/usr/share/kernel for the installed kernel flavor. This will also
prevent the kernel being flashed if the running kernel has a different
localversion than the updated one.

[ci:skip-build] already built successfully in CI
2021-08-10 00:09:34 -07:00
Jakob Hauser
4baa805b41
main/postmarketos-base: change permission on tm2-touchkey leds (MR 2380)
Allow users in group "input" to control the tm2-touchkey leds.

Additionally correcting the udev rule for disabling the tm2-touchkey leds by default.

[ci:skip-build] already built successfully in CI
2021-08-10 00:03:50 -07:00
Bobby The Builder
13af7396e9
main/linux-postmarketos-allwinner: upgrade to 5.13.6 (MR 2390)
[ci:skip-build] already built successfully in CI
2021-08-10 00:01:27 -07:00
Caleb Connolly
20f93d942d
main/ttyescape: new aports (MR 2309)
Add ttyescape, a script and triggerhappy configuration to allow mobile device
users to access and use a shell without having to plug in to a computer.

One of the largest limitations with a mobile device is the lack of keyboard, for
mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack
is built to automatically recover in case of a crash / hang, hiding the internal
state of affairs from users and making use of careful design to minimise the
impact.  When bringing Linux to mobile, we carry not only the benefits of the
Linux desktop but also it's limitations. In the event that your desktop manager
goes haywire or hangs completely, or your graphics drivers get unhappy, the
ability to quickly jump to a tty and start killing bad behaving programs or
reset your display manager is one that most of us take for granted.  But when
hit by similar errors on a mobile device there is no such recourse available,
users either have to reboot and hope that the issue doesn't occur again, or pull
out a laptop and pull up a shell (assuming ssh is enabled and the rndis
interface comes up).

ttyescape proposes to solve this issues by pieceing together several already
available tools, notably:
 - triggerhappy, a tool used to perform actions when
certain buttons or key combinations are pressed with no dependencies on the
display manager in use.
 - fbkeyboard, a framebuffer keyboard for tty's, it
renders on top of the current tty and uses the device touchscreen as input.
2021-08-09 23:57:24 -07:00
Newbyte
b17df00654
main/linux-postmarketos-exynos4: compress with xz (MR 2410)
gzip results in a boot.img that's too big (over 8 MB) for e.g.
samsung-i9300, so let's replace it with something that produces
smaller kernels. With this, the entire boot.img is 6,3 MB (down
from 8MiB, or 8.5458944 MB) which leaves plenty of space on the
8 MB partition and prevents the recovery from being overwritten
when this kernel is flashed.

Tested and works on samsung-i9300.

[ci:skip-build] already built successfully in CI
2021-08-09 20:02:03 -07:00
afeuerstein
8e6824c6e0
{main,cross}/gcc*: sync makedeps with Alpine (remove paxmark) (MR 2421)
[ci:skip-build] gcc never builds on CI, let alone 11 gccs
[ci:skip-vercheck]
2021-08-10 01:54:18 +03:00
Newbyte
8e3224d1f0
main/postmarketos-ui-phosh: add lollypop to recommends (MR 2417)
This provides a mobile-friendly music player in the default
installation which is something that's currently lacking.

[ci:skip-vercheck]: _pmb_recommends change doesn't need pkgrel bump
2021-08-09 16:02:41 +03:00
Martijn Braam
a52e82b3ee
main/postmarketos-config-nftables: fix hotspot with networkmanager (MR 2408)
The networkmanager hotspot needs to have DHCP input enabled on the wifi
interfaces so the temporary dnsmasq instance can work. The
networkmanager backend is also switched to the nftables one so it can
create the ad-hoc hotspot forwarding/masquerade table.
2021-08-07 16:54:59 +02:00
Oliver Smith
2ac6c742ba
main/postmarketos-ondev: depend on ttf-dejavu (MR 2400)
Proper fix for the monospace fonts seen when postmarketos-ondev is
installed without also installing osk-sdl. This doesn't happen anymore
with pmbootstrap install --ondev, because it will always pull in osk-sdl
again for other reasons. However, since postmarketos-ondev is using this
font, let's directly depend on it instead of having it pulled in as side
effect of also having osk-sdl installed.
2021-08-05 18:44:32 +02:00
Henrik Grimler
103a46094c
postmarketos-exynos4: change kernel config CMDLINE (MR 2404)
And extend bootloader CMDLINE per default, giving us the option to
change the CMDLINE both via the kernel config and from samsung's
S-BOOT shell.

Note: the default console in exynos_defconfig (which this config is
based on) is ttySAC1, but all midas devices uses ttySAC2, so set it to
ttySAC2 instead. Also remove all other variables. They are not needed,
and (at least) root=/dev/ram0 seem to prevent us from booting pmos.

[ci:skip-build] already built successfully in CI
2021-08-05 18:37:26 +02:00
Martijn Braam
e447dbafc4
main/postmarketos-tweaks: upgrade to 0.7.3 (MR 2406)
Fixes a crash introduced in 0.7.2
2021-08-05 14:03:53 +03:00
Martijn Braam
a698e2b38b
main/postmarketos-tweaks: upgrade to 0.7.2 (MR 2405)
Bugfix release that fixes the css writing and parsing

[ci:skip-build] already built successfully in CI
2021-08-04 17:22:07 -07:00
Yassine Oudjana
0939e710e3
main/linux-postmarketos-qcom-msm8996: upgrade to 5.14_rc4 (MR 2403)
- Introduce interconnect driver
- Fix CPU passive cooling to avoid overheating

[ci:skip-build] Already built in MR
2021-08-03 14:42:34 +03:00
Bart Ribbers
d95ce7966b
main/postmarketos-ui-plasma-bigscreen: install and run NymphCast by default (MR 2398)
NymphCast is a FOSS Chromecast replacement (not a drop-in one though)
and allows you to "cast" audio and video to your device running the
nymphcast server. Plasma Bigscreen seems like an ideal use-case for this
so let's install and launch it by default. People can always uninstall
it anyways
2021-08-01 14:48:01 +02:00
Maarten van Gompel
d1ae76d586
main/postmarketos-ui-sxmo: upgrade to 1.5.0 (MR 2393) 2021-08-01 13:04:30 +02:00
Clayton Craft
dd64d952d2
main/osk-sdl: upgrade to 0.66 (MR 2396)
https://gitlab.com/postmarketOS/osk-sdl/-/releases/0.66
2021-07-31 12:01:34 +03:00
Clayton Craft
399b51e949
main/linux-postmarketos-rockchip: enable hwmon for power/nvme/thermal (MR 2394)
This allows using lm_sensors to read temperature data on the pinebook
pro (and probably other devices too)

    ❯ sensors
    gpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +41.1°C  (crit = +95.0°C)

    tcpm_source_psy_4_0022-i2c-4-22
    Adapter: rk3x-i2c
    in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
    curr1:         2.50 A  (max =  +2.50 A)

    cw2015_battery-i2c-4-62
    Adapter: rk3x-i2c
    in0:           4.24 V
    curr1:         0.00 A

    cpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +47.5°C  (crit = +95.0°C)

    nvme-pci-0100
    Adapter: PCI adapter
    Composite:    +31.9°C  (low  = -273.1°C, high = +80.8°C)
                           (crit = +80.8°C)
    Sensor 1:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)
    Sensor 2:     +37.9°C  (low  = -273.1°C, high = +65261.8°C)

[ci:skip-build] Already built on CI
2021-07-31 11:45:38 +03:00
Clayton Craft
d26e7305c0
main/linux-postmarketos-rockchip: upgrade to 5.13.5, fix usb-c (MR 2386)
5.13.5 had some rockchip-related fixes in the changelog, so I figured
why not upgrade to it.

These patches from Manjaro seem to be the bare minimum required to get
usb-c charging and device peripherial support working again (external
display still doesn't work)

[ci:skip-build] already built successfully in CI
2021-07-30 18:26:31 +02:00
Martijn Braam
0329f2cbcb
main/postmarketos-tweaks: upgrade to 0.7.1 (MR 2392) 2021-07-30 19:09:16 +03:00
Oliver Smith
8cfa9176bf
main/linux-postmarketos-allwinner: enable USB_MON (MR 2383)
In order to have a reliably working modem, let's make it easier to debug
it by enabling this by default.

Related: https://wiki.postmarketos.org/wiki/Create_usbmon_capture

[ci:skip-build] already built successfully in CI
2021-07-25 22:19:50 -07:00
Clayton Craft
60447285a7
main/postmarketos-ui-console: fix wifi support (MR 2382)
tested with nmtui on a pinebook pro

[ci:skip-build] already built successfully in CI
2021-07-24 17:47:09 -07:00
Clayton Craft
79134095a2
main/linux-postmarketos-rockchip: upgrade to 5.13.4, use GCC (MR 2372)
llvm was left over from Martijn's efforts to reduce the kernel size

The drivers for external DP are enabled here, but all patches from
manjaro that deal with DP/typec alt mode, etc are dropped since they do
not solve anything on their own and may cause display instability
issues...

[ci:skip-build]: already built successfully in CI
2021-07-24 12:00:11 +02:00
Clayton Craft
93c1490886
linux-postmarketos-qcom-msm8939: enable support for nftables (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
d51f521081
linux-postmarketos-qcom-msm8953: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
6747bf38ce
linux-postmarketos-exynos4: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
dd45ae2301
linux-postmarketos-qcom-sdm660: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
4dcd0c4cbc
linux-postmarketos-qcom-sm8150: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
f856d504ed
linux-postmarketos-stericsson: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:52 -07:00
Bobby The Builder
6340875eb2
linux-postmarketos-allwinner: upgrade to 5.13.1 (MR 2371)
disable CONFIG_NET_VENDOR_MICROSOFT aarch64 & armv7
   enable  CONFIG_SND_SUN9I_HDMI_AUDIO aarch64

[ci:skip-build] already built successfully in CI
2021-07-22 23:54:05 -07:00
Bobby The Builder
4c0ee1ce49
linux-postmarketos-allwinner: disable profiling support (MR 2371) 2021-07-22 23:54:03 -07:00
Bobby The Builder
348a2a7902
linux-postmarketos-allwinner: disable XEN & KVM guest features (MR 2371) 2021-07-22 23:54:03 -07:00
Bobby The Builder
988ce703b0
linux-postmarketos-allwinner: disable Kdump Kernel feature (MR 2371)
smaller kernel size and faster boot
2021-07-22 23:54:02 -07:00
Bobby The Builder
9a050c4725
linux-postmarketos-allwinner: disable IO schedulers (MR 2371)
save a few CPU cycles when data is R/W
2021-07-22 23:54:02 -07:00
Bobby The Builder
d6a9d71c32
linux-postmarketos-allwinner: disable DEBUG (MR 2371)
faster boot time and smaller kernel size
2021-07-22 23:54:02 -07:00
Bobby The Builder
6c0829c6d6
linux-postmarketos-allwinner: Enable full PREEMPT feature (MR 2371)
low latency desktop for faster responsiveness
2021-07-22 23:54:02 -07:00
Bobby The Builder
26d5ab25e1
linux-postmarketos-allwinner: disable NUMA feature (MR 2371)
prevent the creation of a fake NUMA node
   saving a few CPU cycles each DRAM access:

   [    0.000000] NUMA: No NUMA configuration found
   [    0.000000] NUMA: Faking a node at ...
   [    0.000000] NUMA: NODE_DATA [mem 0xff9c2100-0xff9c3fff]

   if you boot on QEMU make sure to review vCPU topology:
   set socket to 1
2021-07-22 23:54:02 -07:00
Newbyte
dc0f00d48c
main/linux-postmarketos-qcom-msm8939: new aport (MR 2344) 2021-07-22 22:31:46 -07:00
Maxim Karasev
4e70549af3
main/linux-postmarketos-allwinner: enable EMAC and GMAC in aarch64 config (MR 2377)
This is needed to get ethernet working on most 64-bit sunxi boards.
Basically just synced with armv7 config a bit.

[ci:skip-build] already built successfully in CI
2021-07-22 20:38:50 -07:00
Yassine Oudjana
90f90c6d50
main/linux-postmarketos-qcom-msm8996: upgrade to 5.14_rc2 (MR 2365)
- Add support for Xiaomi Mi 5 (xiaomi-gemini)
- Enable CPU scaling
- Add support for host mode USB with power on xiaomi-scorpio and xiaomi-gemini
2021-07-20 23:04:28 +03:00
Oliver Smith
cc739e7754
main/mobile-config-firefox: upgrade to 2.2.0 (MR 2356)
Changelog: https://gitlab.com/postmarketOS/mobile-config-firefox/-/tags/2.2.0

[ci:skip-build] already built successfully in CI
2021-07-19 17:22:19 -07:00
Newbyte
b19ce6a937
main/linux-postmarketos-stericsson: upgrade to 5.14-rc2 (MR 2361)
panel.patch has been upstreamed and is therefore dropped.

[ci:skip-build] already built successfully in CI
2021-07-19 17:18:02 -07:00
Luca Weiss
a4dec99f46
main/extract-dtb: upgrade to 1.2.2 (MR 2358) 2021-07-19 12:13:54 +03:00
jenneron
a6f07026cb
main/linux-postmarketos-grate: upgrade to latest git (MR 2355) 2021-07-19 07:42:38 +02:00
Luca Weiss
c6067c02fe
main/linux-postmarketos-allwinner: enable CONFIG_NFT_FIB_IPV{4,6} (MR 2357)
Used by wg-quick for nftables configuration when routing to e.g. ::/0

[ci:skip-build]: already built successfully in CI
2021-07-18 19:24:33 +02:00
Dylan Van Assche
a40026d05e
postmarketos-base-ui: install obexd and obex-capabilities (MR 2245)
Install obex-capabilities and a modified DBus Service
for BlueZ's obexd when BlueZ OBEX support is installed.
UIs depending on BlueZ are now also depending on
bluez-obexd for OBEX support through various MRs at Alpine.
2021-07-18 11:38:10 +03:00
Svyatoslav Ryhel
add2efe222
main/linux-postmarketos-grate: update to 5.14_rc1 (MR 2285)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build] already built successfully in CI
2021-07-17 18:22:02 -07:00
Newbyte
14c1f12413
main/linux-postmarketos-stericsson: kconfig check for zram (MR 2349)
Anbox, nftables, and containers aren't set up for now because I'm not
sure how useful Anbox would be on devices using this SoC given that most
(all?) of them have around 1 GB of RAM, aren't very fast, and I have
heard that Anbox isn't very well-Asupported on ARMv7. As for nftables,
I don't want debug it at this time in case breaks something. Setting up
container support made the phone hang while booting, however that might
have been due to that I only booted the new kernel without getting the
new modules in the rootfs.

[ci:skip-build] already built successfully in CI
2021-07-17 18:10:01 -07:00
Alexey Minnekhanov
ccc7b6d235
main/linux-postmarketos-rockchip: fix missing serial driver in config (MR 2348) 2021-07-16 09:52:50 -07:00
Clayton Craft
ff5fb1b970
main/postmarketos-ui-sway: depend on pulseaudio (MR 2338)
Pulseaudio is used by other graphical UIs to manage audio, so having it
installed for sway is useful for having audio working "out of the box"

[ci:skip-build] already built successfully in CI
2021-07-14 09:58:41 -07:00
Stacy Harper
3fa1b54a91
main/postmarketos-ui-sxmo: add polkit required dependency (MR 2343)
In postmarketOs we rely on polkit rules to manage networks by example.

This add the dependency and configure the service.
2021-07-13 12:54:25 +00:00
Yassine Oudjana
72800777f6
main/linux-postmarketos-qcom-msm8996: Update to 5.13.1 (MR 2339)
- Rebase onto v5.13.1.
- Add firmware-name properties to oneplus3/3t device trees.
- Enable nftables.
2021-07-12 10:46:22 -07:00
Newbyte
1211c627df
main/linux-postmarketos-stericsson: upgrade to 5.14-rc1 (MR 2340)
And also add a patch to fix firmware loading.
2021-07-12 10:41:42 -07:00
Duje Mihanović
4f16edac7a
main/postmarketos-base-ui: Add ttf-dejavu to dependencies (MR 2341)
This package used to be installed through osk-sdl, but now osk-sdl is only
installed when FDE is enabled, and so when it is not enabled the system has no
fonts to use, which means UIs like Sway and Weston have broken fonts. This
commit fixes the issue.

[ci:skip-build] already built successfully in CI
2021-07-12 10:36:43 -07:00
Clayton Craft
48ee9b67a2
main/postmarketos-ui-console: new aport (MR 2336)
This adds a new 'UI' that includes networking support (network manager), firewall (by way
of postmarketos-base-ui), and anything else that will give a basic,
working image without any graphical UI.

The intention is for bpo to build this instead of the 'none' UI. 'none'
UI will continue to be around for mainlining and testing purposes.
2021-07-11 23:56:29 -07:00
Oliver Smith
7139a82837
main/postmarketos-mkinitfs: support pmOS_i_boot (MR 2337)
Support the shorter label for the installer's boot partition, that works
with the 11 character limit of fat32 partitions.
2021-07-12 07:34:56 +02:00
Oliver Smith
f894697637
main/postmarketos-ondev: upgrade to 0.7.2 (MR 2337) 2021-07-12 07:34:51 +02:00
Clayton Craft
b7cad1a182
linux-postmarketos-rockchip: upgrade to 5.13, enable nftables (MR 2299)
This switches the config over to one based on Alpine's linux-gru which
is for an rk3399 chromebook. It produces way smaller kernels and has
more general purpose hardware support.
2021-07-11 14:35:50 +02:00
Jakob Hauser
bd85700dea
main/postmarketos-base: udev tm2-touchkey and rt5033-battery (MR 2330)
The udev file "20-tm2-touchkey-leds.rules" disables the leds of
tm2-touchkey by default because they are in an unconfigured state.

The udev file "95-rt5033-battery-refresh.rules" triggers a refresh
of the rt5033-battery information within UPower 5 secs after
initialization. This avoids a wrong battery icon after boot.

The udev file "50-firmware.rules" was moved from /etc/udev/rules.d
to /lib/udev/rules.d.

Related: https://wiki.postmarketos.org/wiki/Packaging#Device_specific_quirks
2021-07-11 14:10:03 +02:00
Caleb Connolly
07b7a15b3c
main/linux-postmarketos-qcom-sdm845: upgrade to 5.12.15 (MR 2333)
Upgrade to 5.12.15, adding nftables support and fixing the crashdump
mode issue on the OnePlus 6.

[ci:skip-build] already built successfully in CI
2021-07-10 16:34:45 +02:00
Clayton Craft
b5cdc7603f
main/osk-sdl: upgrade to 0.65 (MR 2326) 2021-07-08 04:48:51 +03:00
Alexey Minnekhanov
2a1f6bddb8
main/linux-postmarketos-qcom-msm8974: hotfix for missing bam_dmux
Turns out, after refactoring (moving bam_dmux driver to wwan
subsystem) we need to set CONFIG_WWAN=y for bam_dmux driver
to be built. Fix this asap :)
2021-07-07 11:16:53 +03:00
Anri Dellal
196ff18b06
main/postmarketos-ui-*: add GPU acceleration option (MR 2078)
Adds pmb:gpu-accel option to Phosh, Plasma Mobile/Bigscreen, Sway,
Glacier and Kodi APKBUILDs to hide the UIs at `pmbootstrap init`
for devices without GPU acceleration support.

Related: pmbootstrap!2043

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2021-07-06 19:12:27 -07:00
Alexey Minnekhanov
1d3776d45d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.0 (MR 2312)
Should work same as before.

Slightly tweaked kernel config options:
* default cpufreq governor is now "conservative" instead of "performance", which should be better for devices running on battery. Not that it matters, MSM8974 does not have cpufreq support anyway.
* enabled CONFIG_ARM_QCOM_SPM_CPUIDLE, which was missing! At least some cpuide is better than none at all.
* 2 missing options for nftables: CONFIG_IP6_NF_FILTER, CONFIG_IP6_NF_TARGET_REJECT
* few missing options for wg-quick: CONFIG_IPV6_MULTIPLE_TABLES, CONFIG_IP_MULTIPLE_TABLES, CONFIG_IP6_NF_RAW, CONFIG_IP_NF_RAW

WWAN subsystem is not enabled.

BAM-DMUX upgraded to version "v3" (subnode of modem remoteproc)

Mark kernel package as supporting anbox, containers (in addition to nftables)

[ci:skip-build] Already built successfully twice on CI
2021-07-07 04:17:27 +03:00
Oliver Smith
11353d8b1e
main/postmarketos-welcome-gtk3: upgrade to 0.3.0 (MR 2322) 2021-07-06 22:03:08 +02:00
Clayton Craft
ae02ad9190
main/postmarketos-ui-phosh: disable app drawer filtering (MR 2298)
Phosh 0.12.0 introduces filtering when the device is of a mobile type
and the app is not explicitly 'adaptive'. This means a lot of apps that
might otherwise work ok-ish are gone from the list.

This change disables the filtering for now.
2021-07-06 21:30:06 +02:00
Jakob Hauser
134afe813d
main/postmarketos-ui-xfce4: add polkit-elogind (MR 2311)
Currently, shut down and reboot as a user does not work (sudo shutdown
from terminal required). polkit-elogind needs to be installed. lxpolkit
is not needed.
2021-07-06 18:05:48 +02:00
Bart Ribbers
454995d879
main/postmarketos-ui-phosh: stop providing mpris-proxy.desktop (MR 2314)
This is now done by Bluez itself
https://git.alpinelinux.org/aports/commit/main/bluez?id=b99445977598b3bb8cc66b3a59a2c5edbbedac26
2021-07-05 14:00:12 +02:00
Bart Ribbers
e0010926f2
main/postmarketos-ui-plasma-bigscreen: re-enable on armv7 (MR 2310) 2021-07-04 22:23:49 +02:00
Bart Ribbers
024bb1757c
main/postmarketos-ui-plasma-bigscreen: depend on polkit-kde-agent-1 (MR 2310)
This:

1. fixes the UI not showing up on boot by installing polkit-elogind
2. makes for fancy password popups when root rights are needed rather
than just fail silently
2021-07-04 22:23:49 +02:00
Oliver Smith
4ffd6ff1bb
main/postmarketos-ondev: new aport (MR 2307)
Move the package back from aports to pmaports and fix fall out from
postmarketos-base-ui related breakage:
* add the subset of depends from postmarketos-base-ui that are used in
  postmarketos-ondev
* upgrade to postmarketos-ondev 0.7.1, where I made it compatible with
  using the default tinydm config (not just the one overridden in
  postmarketos-base-ui-tinydm)

Reasoning for moving it from alpine to pmaports, in line with our new
guidelines (that were written after the package was moved to aports):
* has postmarketOS branding
* enables services in post-install (similar to postmarketos-ui-* packages)

Related: https://wiki.postmarketos.org/wiki/Packaging#Should_my_package_be_in_postmarketOS_or_Alpine.3F
2021-07-04 10:38:35 +02:00
Oliver Smith
66752818bf
main/postmarketos-ui-sway: modernize (MR 2162)
* use tinydm instead of lightdm
* set default term to foot, as alacritty needs a recent opengl version
  (issue 984)
* override sway config to actually use foot (there is no
  sway-sensible-terminal and upstream isn't interested in adding it)
* set the pmOS wallpaper in the overridden sway config
* add a subpackage that allows changing $mod to Alt, so it's easier to
  test this in QEMU while running i3/sway on the host with $mod set to
  Mod4
* re-enable previously disabled architectures
* set myself as maintainer
2021-07-03 10:55:48 +02:00
Ultracoolguy
26a5eb243b
linux-postmarketos-qcom-msm8953: Update Maintainer email (MR 2295)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2021-07-02 13:45:22 -07:00
Newbyte
6d25d7f617
main/postmarketos-base: add Firefox env config to -tinydm subpackage (MR 2235)
Currently, this only sets Firefox to run in Wayland mode, but in the
future it might be used to make e.g. SDL applications run in Wayland
mode.

SDL applications are not set to run in Wayland mode right no as
SDL 1.2 uses the same environment variable as SDL 2.0 for
controlling video driver (SDL_VIDEODRIVER) and SDL 1.2 does not
support Wayland and crashes if an invalid value is provided for
SDL_VIDEODRIVER, and as such setting SDL_VIDEODRIVER=wayland
globally would break all SDL 1.2 applications. This will however be
fixed once SDL 1.2 is replaced by sdl12-compat in Alpine, as
sdl12-compat implements the SDL 1.2 API and ABI via SDL 2.0 and as
such supports Wayland. As such, once this happens we can start
setting SDL_VIDEODRIVER=wayland.

[ci:skip-build] already built successfully in CI
2021-06-30 23:38:12 -07:00
Newbyte
6d36d27417
main/postmarketos-ui-phosh: don't set GDK_BACKEND=wayland (MR 2235)
This causes issues with some programs, chiefly that gsd-xsetttings
does not start properly. GDK_BACKEND=wayland is only really
necessary to make Firefox run in Wayland mode anyway - other GTK 3/4
apps use it automatically. Firefox will be set to use Wayland via a
following commit.
2021-06-30 23:38:12 -07:00
Newbyte
32e78c7933
main/postmarketos-ui-phosh: remove workaround for starting gsd-xsettings (MR 2235)
This reverts commit d7bcaece8e.

The following commit fixes this in a better manner by not setting
GDK_BACKEND=wayland.
2021-06-30 23:38:12 -07:00
Clayton Craft
7cd9a2d246
linux-postmarketos-allwinner: add missing kconfig for nftables support (MR 2284)
[ci:skip-build] Built on CI
2021-07-01 09:05:21 +03:00
Minecrell
ef3f43963e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.13 (MR 2286)
- Update to Linux 5.13
- Upstreamed many more patches
- Various cleanup to BAM-DMUX driver to prepare for upstreaming
- Enable support for virtualization/KVM via https://github.com/msm8916-mainline/qhypstub
- Probably many other things I forgot :)

- Add tons of kernel config options for containers and nftables
- Add WireGuard to kernel config

Device changes:
  - huawei-g7: Initial support for Huawei Ascend G7
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi/Bluetooth
    - Accelerometer, Magnetometer, Proximity
    - Audio
    - NFC
  - lg-c50: Initial support for LG Leon LTE
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi/Bluetooth
    - Vibrator
    - Display
  - longcheer-l8150 (wileyfox-crackling): Fix proximity sensor
  - motorola-surnia: Add audio and modem
  - samsung-j5nlte: Add buttons
  - samsung-j5xlte: Initial support for Samsung Galaxy J5 (2016)
    - USB
    - Storage (eMMC, SD card)
    - Buttons
  - samsung-serranovelte: Add USB-OTG detection

[ci:skip-build] already built successfully in CI
2021-06-30 22:12:19 -07:00
Newbyte
f9dc4366ee
main/linux-postmarketos-stericsson: upgrade to 5.13 (MR 2288)
[ci:skip-build] already built successfully in CI
2021-06-30 22:05:57 -07:00
Luca Weiss
3d7f70b114
main/qtvirtualkeyboard-plasma: drop, upstreamed to Alpine (MR 2292) 2021-06-30 21:42:58 -07:00
Luca Weiss
ab290025b2
main/ofono-phonesim: drop, upstreamed to Alpine (MR 2292) 2021-06-30 21:42:51 -07:00
Alexey Minnekhanov
2ebc93b43e
main/linux-postmarketos-qcom-msm8974: upgrade to 5.12.13 (MR 2282)
Samsung Galaxy S5 gains support for modem (and adsp) co-processors.

[ci:skip-build] Already built on CI in MR
2021-06-28 17:24:10 +03:00
Clayton Craft
0f1c765e10
postmarketos-mkinitfs: don't depend on osk-sdl, add to initfs conditionally (MR 2242)
This replaces the dependency on osk-sdl with a dependency on a
postmarketos-fde-unlocker virt. package

osk-sdl and its dependencies are also added contitionally to the initfs,
based on whether the osk-sdl exe is installed in the rootfs

Also see:
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2066
2021-06-26 16:33:35 -07:00
Clayton Craft
4136eeae5a
postmarketos-base: add nofde subpackage (MR 2278) 2021-06-26 16:28:08 -07:00
Clayton Craft
77b31aece1
osk-sdl: provide postmarketos-fde-unlocker virtual package (MR 2278) 2021-06-26 16:28:04 -07:00
Alexey Minnekhanov
7e2b8467ed
main/telepathy-ofono: drop, upstreamed to Alpine (MR 2277)
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/telepathy-ofono/APKBUILD
2021-06-26 23:28:54 +03:00
Alexey Minnekhanov
484db6e08f
main/libofono-qt: drop, upstreamed to Alpine (MR 2277)
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/libofono-qt/APKBUILD
2021-06-26 23:28:54 +03:00
Alexey Minnekhanov
24cb6a50a7
main/kmscube: drop, upstreamed to Alpine (MR 2277)
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/kmscube/APKBUILD
2021-06-26 23:28:51 +03:00
Maxim Karasev
d415968dc9
main/linux-postmarketos-allwinner: upgrade to 5.12.12 and add allwinner h6 support (MR 2268) 2021-06-26 19:45:43 +02:00
Clayton Craft
931ae03648
config-nftables: add rules for allowing usb inet access (MR 2274)
This rule is installed by default, since users that need usb inet won't
have an easy way to install a subpackage.

This is meant to facilitate:
https://wiki.postmarketos.org/wiki/USB_Internet
2021-06-25 23:00:11 -07:00
Clayton Craft
2a1b69db00
config-nftables-anbox: fix rule to allow matching on future iface (2274) (MR 2274)
The old rule would result in nftables failing to load if the iface
doesn't exist. Using `iifname` will match on any future ifaces if they
don't exist when the firewall starts.
2021-06-25 23:00:10 -07:00
Joel Selvaraj
54c7d08572
linux-postmarketos-qcom-sdm845: update to latest commit (MR 2257)
1. Fixes touchscreen input not working in Poco F1 (Tianma variant) in osk-sdl
2. Basic dts support for Xiaomi Mi 8 Pro(Equuleus)
3. Basic dts support for LG G7 and LG V35
2021-06-25 22:09:44 +02:00
samuel norbury
de9132214d
postmarketos-anbox: Add nftables subpackage dependency (MR 2271)
The subpackage adds rules specific to Anbox to allow in- and outbound
network traffic over the `anbox0` network bridge.
2021-06-23 21:18:34 +02:00
samuel norbury
3960ad0c51
postmarketos-config-nftables: Add nftables rules for anbox (MR 2271)
Anbox needs a specific set of nftables rules to allow incoming and
outgoing traffic. Anbox makes it easy to allow the specific traffic due
to the established `anbox0` bridge network interface.
2021-06-23 21:18:28 +02:00
Clayton Craft
dfd882c5fa
postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243)
UIs that depend on networkmanager also have an added dependency on
dnsmasq since this was removed from postmarketos-base

[ci:ignore-count] lots of packages, but no code compilation..
2021-06-23 13:00:00 +02:00
Clayton Craft
6e325417de
postmarketos-base-ui: new aport (MR 2243)
This provides UI-specific config and dependencies for postmarketos-ui-*
packages.

fixes #1104
2021-06-23 13:00:00 +02:00
Clayton Craft
92e43e8324
postmarketos-base: remove UI-specific config/dependencies (MR 2243)
These will be included in a new postmarketos-base-ui package
2021-06-23 13:00:00 +02:00
Oliver Smith
9ae909ca4d
main/postmarketos-ui-sxmo: use megapixels-gtk3 (MR 2269)
[ci:skip-vercheck]: change to _pmb_recommends
2021-06-23 01:47:28 +02:00
Yassine Oudjana
73d136e2af
main/linux-postmarketos-qcom-msm8996: Upgrade to 5.12.12 (MR 2266)
This makes venus load the right firmware on xiaomi-scorpio. It also has
re-enabled cpuidle in kconfig after it was mistakenly disabled in the last
update.

[ci:skip-build] already built successfully in CI
2021-06-22 13:40:19 -07:00
Clayton Craft
91f3b92cf0
postmarketos-ui-sxmo: remove dependency on sacc (MR 2265)
This is a gopher client, the Sxmo community says this shouldn't be
installed automatically.
2021-06-21 14:26:41 -07:00
Clayton Craft
a6c197676b
postmarketos-ui-sxmo: remove dependency on netsurf (MR 2264)
UI already has other browsers, netsurf is not required
2021-06-21 13:40:33 -07:00
Ultracoolguy
bce07d6632
linux-postmarketos-qcom-msm8953: update kernel and config (MR 2256) 2021-06-20 19:04:21 +03:00
Clayton Craft
c6a5e885c0
postmarketos-mkinitfs: disable correct shellcheck test (MR 2260)
Shellcheck 0.7.2 has a change that gives many error conditions their own
SC30** codes, instead of including them in SC2039. This updates the
scripts in this package that "disable SC2039" to disable the new code.

New codes added in shellcheck: cfd68ee0c2ebfd0ab08a1d4bf628162b454dc207
2021-06-17 18:09:44 -07:00
Clayton Craft
a83a0a0726
postmarketos-base: add nftables as dependency (MR 2060)
This enables the firewall by default, and could be split off into a
future ui-base package so that the firewall (among other things) are
enabled only when UIs are installed.
2021-06-14 14:30:50 -07:00
Clayton Craft
c77ef83d0f
linux-postmarketos-qcom-msm8974: add kconfig check for nftables (MR 2060) 2021-06-14 14:30:50 -07:00
Clayton Craft
bcf2f48381
linux-postmarketos-allwinner: add kconfig check for nftables (MR 2060)
This also enabled nftables support in the armv7 kconfig
2021-06-14 14:30:50 -07:00
Clayton Craft
a772f7a5d4
postmarketos-config-nftables: add package for configuring nftables fw (MR 2060)
Installs nftables config useful for pmOS::

1) drop all connections to wwan* (wildcard matching supported, are there
   any other wwan iface names that wouldn't match this?)

2) allow ssh, drop from wwan (kinda redundant w/ the first rule, but
   doesn't hurt..), allow DHCP on usb*

3) allow all incoming connections on usb* (with the -openusb subpackage)

4) enable logging all nftable events (with the -log subpackage), very
   useful for debugging

fixes #1024
2021-06-14 13:29:34 -07:00
Dylan Van Assche
407ea85f72
linux-postmarketos-allwinner: drop jack detection patch (MR 2190)
This patch is obsolete now and even breaks the detection
of headphones. Headsets are properly detected at all times.

Dropping this, allows ALSA to see the 'Headphone Jack' event
when headphones are plugged in and removed. This way, ALSA UCM
can act on these jack events as well.

[ci:skip-build] Already built on CI in a MR
2021-06-13 21:45:58 +02:00
Yassine Oudjana
27e30cb0ae
main/linux-postmarketos-qcom-msm8996: Upgrade to 5.12.7 (MR 2188)
This tag also adds firmware names to xiaomi-scorpio's DT.
2021-06-11 12:06:05 +02:00
Clayton Craft
a2ce6efcb6
main/postmarketos-ui-phosh: replace nemo with portfolio (MR 2230)
This file manager is made to work on adaptive screens out of the box,
and is really nice to use compared to nemo.
2021-06-11 11:58:30 +02:00
Jakob Hauser
5f7a5aa7a4
main/swclock-offset: update dependency tree cache (MR 2244)
If the system time jumps back and forth before installing the package
"swclock-offset", OpenRC can get confused whether the current dependency
tree is old or new. To resolve this confusion, the dependency tree cache
is updated within the post-install script of the openrc subpackage.
2021-06-10 19:36:00 +03:00
Alexey Minnekhanov
2c224f7bdd
linux-postmarketos-qcom-msm8953: regenerate .config for 5.13
This is needed urgently to prevent `make oldconfig` from asking
questions about new options since 5.10 and thus unblock the
broken aarch64 BPO builder.
2021-06-10 19:13:07 +03:00
alikates
7402dbb3cf
Bump linux-postmarketos-qcom-msm8953 version to 5.13_r4 (MR 2225) 2021-06-09 15:37:08 -07:00
Clayton Craft
08065a3d7c
postmarketos-ui-phosh: remove pipewire subpackage (MR 2054)
The .desktop file provided here is no longer necessary, Alpine aports
has a better version of it now.

fixes #1098
2021-06-09 13:09:10 -07:00
Jakob Hauser
e6b0103b8c
main/swclock-offset: new package (MR 2191)
Some devices have a working but non-writable real-time clock (RTC).
This package contains two shell scripts: One writes the offset between
'hwclock' and 'swclock' to a file at shutdown, another one reads the
offset from the file at boot and sets the 'swclock'. This way the system
time in userspace is kept in present time.

[ci:skip-build] already built successfully in CI
2021-06-08 19:45:11 -07:00
Clayton Craft
d7bcaece8e
postmarketos-ui-phosh: add workaround for starting gsd-xsettings (MR 2233)
This package sets GDK_BACKEND=wayland (in gtk-app-wayland.sh), and some
apps (firefox) still need that set to work. gsd-xsettings, which is
launched explicitly by Phosh 0.11.0+, does not work when this var is set
to wayland.
2021-06-08 23:28:55 +02:00
Caleb Connolly
70b0cf24e5
postmarketos-mkinitfs: flash new boot image (MR 2215)
On Android devices that support kernel updates (marked by the deviceinfo
variable "deviceinfo_flash_kernel_on_update") lets flash the kernel and
initramfs automatically!
2021-06-08 10:44:41 -07:00
Caleb Connolly
48e8b93ac6
postmarketos-mkinitfs: use variable for bootimg (MR 2215)
Use a variable for "bootimg" in create_bootimg rather than repeat the
same pattern replacement.
2021-06-08 10:44:41 -07:00
Ignacy Kuchciński
7fb10635e0
main/*: fix outdated url variables (MR 2226)
[ci:skip-vercheck]
2021-06-06 19:02:54 +02:00
Ignacy Kuchciński
bd32516522
main/hisi-wlan: new aport (MR 2221) 2021-06-06 17:56:06 +02:00
Newbyte
b567756b16
main/linux-postmarketos-stericsson: upgrade to 5.13-rc4 (MR 2220)
And also update patches. See patch files for descriptions.
2021-06-04 14:36:31 -07:00
Dylan Van Assche
5e562fdbc6
main/postmarketos-base: add pulseaudio config
Automatically switch to a connected USB or
Bluetooth audio device and duck the main volume
when a notification is received.
2021-06-02 18:58:04 +02:00
Caleb Connolly
d0d6372405
postmarketos-update-kernel: support A/B devices (MR 2214)
Add support for detecting A/B devices and cleanup the script a bit.
2021-06-02 18:45:10 +02:00
Alexey Minnekhanov
d677f1ed32
main/linux-postmarketos-qcom-msm8974: upgrade to 5.12.8 (MR 2210)
- Add support for Samsung Galaxy Note 3 (hlte)
- Changes to kernel config:
  - add support for anbox
  - add support for nftables
  - add support for lxc, docker
  - add support for Wireguard
  - Disable CONFIG_ARM_APPENDED_DTB (for lk2nd compatibility)

[ci:skip-build] Already built on CI in a MR
2021-06-02 18:34:40 +02:00
Oliver Smith
f3b949296d
main/postmarketos-base: alsa playing -> no inhibit (MR 2216)
Don't suspend the device while alsa is playing. I ran this for two days
in combination with suspend time set to 1 min on the pinephone and it
works great. Finally no suspend while VLC is playing podcasts.
2021-06-02 01:26:47 +02:00
Caleb Connolly
9f7b3bd66c
linux-postmarketos-qcom-sdm845: upgrade to 5.12.8 (MR 2206)
This updates to the Linux stable 5.12.8 release, it also adds the kernel
side support for the speaker and headphone jack on the OnePlus 6 (
unfortunately not the 6T)
2021-06-01 21:13:10 +03:00
Timon Baetz
170d744c0e
main/linux-postmarketos-exynos4: upgrade to 5.12.8 (MR 2209)
Drop merged patches and add "ARM: dts: exynos: Disable unused camera
input for I9100"
2021-06-01 09:28:38 +02:00
Marco Rodolfi
fa5197eff9
Updated mkbootimg to the latest version from osmosis (MR 2208) 2021-06-01 09:25:09 +02:00
Newbyte
79678ecf66
main/linux-postmarketos-stericsson: upgrade to 5.13-rc2 (MR 2101)
[ci:skip-build] Already built on CI in MR
2021-05-31 08:10:47 +03:00
Svyatoslav Ryhel
4de4052422
main/linux-postmarketos-grate: update to 5.13_rc3 (MR 2123)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
[ci:skip-build]: already built successfully in CI
2021-05-29 13:06:59 +02:00
Stacy Harper
ca87c1e6c5
main/postmarketos-ui-sxmo: fix service enabling dependencies (MR 2197) 2021-05-29 12:16:45 +02:00
Bart Ribbers
4ce262f433
main/urfkill: drop, upstreamed to Alpine 2021-05-28 11:25:51 +02:00
Clayton Craft
9088fbb6b9
postmarketos-mkinitfs: disable ps2mouse module when running directfb (MR 2201)
On my librem 5 when using directfb in initfs, touch input is really
inconsistent... the cursor seems to jump around and it's hard to enter
keys in osk-sdl. This is completely 'fixed' by disabling the ps2mouse
input module in dfb.

I guess this might cause mice to stop working (?), but I can't think of
any situation where someone would run osk-sdl in initfs on a device that
has a ps2 mouse but no keyboard (which would make more sense to use for
entry than the mouse..)
2021-05-27 22:28:57 +02:00
Martijn Braam
e0136b2abc
main/postmarketos-mkinitfs: allow osk-sdl user overrides (MR 2184) 2021-05-27 22:24:00 +02:00
Clayton Craft
36bb254fd6
main/osk-sdl: upgrade to 0.64 (MR 2203) 2021-05-27 11:54:13 -07:00
Dylan Van Assche
2ccc3bc796
linux-postmarketos-allwinner: enable CONFIG_RMNET (MR 2149)
Next release of ModemManager needs Qualcomm RMNET support
for QMAP mobile data support.

armv7 config doesn't have ethernet enabled at all,
so this is only enabled for the aarch64 config.
2021-05-27 14:13:16 +02:00
Clayton Craft
3ebca14608
linux-postmarketos-allwinner: Upgrade to 5.12.6 (MR 2149)
I rebased all of the patches (only 2 needed some changes, the rest I
just did for good measure).

These two patches were dropped since they are already merged in the new
kernel:
        0008-leds-gpio-Set-max-brightness-to-1.patch
        0009-dts-pinephone-Add-pine64-pinephone-to-compat-list.patch was dropped

The kconfig changes are just after running kconfig edit, and making no
changes so that it would generate a config with any new options in 5.12,
to make maintenance easier moving forward.
2021-05-27 14:13:14 +02:00