Commit graph

1655 commits

Author SHA1 Message Date
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
Martijn Braam
abc0edb0da
main/powersupply: upgrade to 0.5.0 (MR 2200) 2021-05-27 02:43:52 +02:00
Bobby The Builder
7a27522a31
main/crust: upgrade to 0.3_git20210418 (MR 2155) 2021-05-26 23:44:12 +02:00
Bart Ribbers
f5f7e0da8f
main/postmarketos-ui-sxmo: depend on networkmanager (MR 2198)
In 35f283a8ef sxmo was made to install
sxmo on clean installs, but due to
9387842aec was getting uninstalled if it
was installed before. Let's properly depend on it instead so people
don't end up without working networking
2021-05-25 18:41:25 +02:00
Bart Ribbers
a842062948
main/postmarketos-ui-asteroid: install and enable dsme service (MR 2192)
This makes sure mce doesn't just lock the session after a few seconds
and is then unable to unlock it
2021-05-24 12:31:01 +02:00
Bart Ribbers
046d2132d4
main/postmarketos-ui-glacier: install and enable dsme service (MR 2192)
This makes sure mce doesn't just lock the session after a few seconds
and is then unable to unlock it
2021-05-24 12:25:44 +02:00
Bart Ribbers
c23886a8fc
main/postmarketos-ui-xfce4: enable networkmanager by default (MR 2174)
[ci:ignore-count] Only small packages are changed, should be quick to
build
2021-05-24 11:39:08 +02:00
Bart Ribbers
7205d9a6e4
main/postmarketos-ui-weston: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
fcc6843993
main/postmarketos-ui-sway: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
f33c75bbf8
main/postmarketos-ui-shelli: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
f33c601086
main/postmarketos-ui-plasma-desktop: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
f364834ee1
main/postmarketos-ui-plasma-bigscreen: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
7c7340f80d
main/postmarketos-ui-mate: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
bb728d5f07
main/postmarketos-ui-lxqt: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
6bb38d28a8
main/postmarketos-ui-kodi: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
fc802e2c45
main/postmarketos-ui-i3wm: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
2e55eeee62
main/postmarketos-ui-fbkeyboard: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
1e90e173f9
main/postmarketos-ui-gnome: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
e81f217a6d
main/postmarketos-ui-asteroid: enable connman by default (MR 2174)
The Mer stack that Asteroid uses actually uses connman by default rather
than NetworkManager, so let's enable it by default

SSH still works at least on Qemu
2021-05-24 11:39:08 +02:00
Bart Ribbers
cf3ab15cc4
main/postmarketos-ui-glacier: enable connman by default (MR 2174)
The Mer stack that Glacier uses actually uses connman by default rather
than NetworkManager, so let's enable it by default

SSH still works at least on Qemu
2021-05-24 11:39:08 +02:00
Bart Ribbers
35f283a8ef
main/postmarketos-sxmo: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
811d8a9b01
main/postmarketos-phosh: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
Bart Ribbers
bc0b47cd3f
main/postmarketos-ui-plasma-mobile: start networkmanager by default (MR 2174)
The actual dependency is already pulled in via plasma-nm-mobile
2021-05-24 11:39:08 +02:00
Bart Ribbers
9387842aec
main/postmarketos-base: remove networkmanager from depends (MR 2174) 2021-05-24 11:39:07 +02:00
Oliver Smith
5d162d9d9e
main/mobile-config-firefox: upgrade to 2.1.0 (MR 2189) 2021-05-24 11:21:54 +02:00
Yassine Oudjana
e7cb7b045f
main/linux-postmarketos-qcom-msm8996: Upgrade to 5.12.5 (MR 2186)
The v5.12.5-msm8996 tag also includes the yet-to-be-merged Qualcomm LPG
driver, with support for LEDs on xiaomi-scorpio including the IR LED.

Also clean up the config and enable useful configs such as ZRAM.

[ci:skip-build]: already built successfully in CI
2021-05-23 09:43:38 +02:00
Caleb Connolly
13c48f7229
linux-postmarketos-qcom-sdm845: update repo URL (MR 2183)
We've rename the kernel repo to
https://gitlab.com/sdm845-mainline/linux,
update the package to point to the new repo.

[ci:skip-build]: already built successfully in CI
2021-05-21 20:26:03 +02:00
Venji10
02ba09793b
anbox-image: fix typo in APKBUILD (MR 2178)
[skip ci] Just a comment fix, no need for CI
2021-05-18 21:37:01 +02:00
Bart Ribbers
6ff8f6c342
main/anbox-image: upgrade pre-installed F-Droid (MR 2180)
The older version we were shipping seems to have been removed upstream,
and thus this package didn't build anymore and has started blocking
Anbox related MR's
2021-05-18 20:38:06 +02:00
Caleb Connolly
4fc2da5cd6
linux-postmarketos-qcom-sdm845: fix the LOCALVERSION (MR 2168)
It turns out there are other weird dependencies on this, so we have to
have it match the flavor in the kernel config.

[ci:skip-build]
2021-05-13 15:57:13 +02:00
Joel Selvaraj
3ea262ccc4
main/linux-postmarketos-qcom-sdm845: upgrade to 5.12.0 (MR 2166) 2021-05-12 18:27:12 +02:00
Devin Lin
9046b160cc
main/postmarketos-ui-plasma-mobile: add elisa to extras subpackage (MR 2163)
[ci:skip-vercheck]
2021-05-12 17:48:11 +02:00
Oliver Smith
ba132d646c
main/linux-postmarketos-qcom-sm8150: regen kconfig
Fix build stopping at:
  *
  * Restart config...
  *
  *
  * ARMv8.5 architectural features
  *
  Branch Target Identification support (ARM64_BTI) [Y/n/?] y
    Use Branch Target Identification for kernel (ARM64_BTI_KERNEL) [Y/n/?] (NEW)

For some reason this did not happen (the whole 'Restart config...'
block) in the gitlab CI run with pretty much the same commit that ended
up being merged. Before it got merged however, it ran with
[ci:skip-build]. Maybe because of GCC-9 vs. GCC-10.

Related: https://gitlab.com/Kanedias/pmaports/-/jobs/1246094717
Related: https://builds.sr.ht/~postmarketos/job/503811
2021-05-09 13:13:27 +02:00
Julian Braha
a7b00934ac
main/linux-postmarketos-qcom-sm8150: new aports (MR 2151)
[ci:skip-build] already built successfully in CI
2021-05-09 00:39:57 -07:00
Oleg `Kanedias` Chernovskiy
e07b778502
linux-postmarketos-qcom-msm8974: battery support for oneplus-bacon (MR 2154)
BQ27541 is used as fuelgauge/charger on oneplus-bacon.

[ci:skip-build] Already built on CI
2021-05-08 02:20:34 +03:00
Antoni Aloy Torrens
d876fc6ca1
main/postmarketos-ui-lxqt: new aport (MR 2106)
Initial implementation of the Lightweight Qt Desktop Environment on PostmarketOS
2021-05-02 22:08:27 +02:00
Martijn Braam
f145df2c13
main/postmarketos-tweaks: upgrade to 0.6.1 (MR 2143)
* Adds postmarketos-tweakd daemon to apply non-persistent settings on
  boot
* Adds PinePhone settings file that adds the hardware specific battery
  configuration
2021-04-29 01:52:34 +02:00
Bart Ribbers
27b8ef368f
*/*: replace uboot-tools dependency for u-boot-tools (MR 2141)
uboot-tools is provided by u-boot-tools but sometimes apk still gets
confused. This change prevents errors such as

pine64-pinephone:~$ sudo apk upgrade --verbose
WARNING: Failed to perform initial self-upgrade, continuing with full upgrade.
ERROR: unable to select packages:
  uboot-tools (virtual):
	    provided by: u-boot-tools
			    required by: device-pine64-pinephone-0.25-r1[uboot-tools]
[ci:ignore-count]
[ci:skip-build]: already built in CI successfully
2021-04-27 22:01:06 +02:00
Bart Ribbers
9d69ec359b
main/postmarketos-ui-asteroid: new aport (MR 2124) 2021-04-26 21:57:02 +02:00
Oliver Smith
acbcaac9be
main/postmarketos-ui-sxmo: _pmb_recommends: add font-noto (MR 2134)
Make consistent with other UIs that have mobile-config-firefox installed
by adding font-noto and font-noto-emjo to _pmb_recommends.
Order _pmb_recommends alphabetically while at it.

[ci:skip-vercheck]: _pmb_recommends change doesn't need pkgrel bump
2021-04-26 14:32:42 +03:00
Oliver Smith
7c080c96b7
main/postmarketos-ui-plasma-mobile: _pmb_recommends: add font-noto (MR 2134) 2021-04-26 14:32:42 +03:00