Commit graph

2112 commits

Author SHA1 Message Date
Pablo Correa Gómez
38ce112cdf
main/postmarketos-initramfs: load modules also from /lib/modules/initramfs.load (MR 4193)
Make it possible to load modules from the file installed by devicepkg-dev,
that will be there when extra modules are needed. This is coded in a
backwards-compatible way, so that it can be independent of the main modules
MR.

The code changes create a new function which takes a list of modules
and possibly a file (that should contain a list of modules too). The
idea is to be able to support also loading modules for initramfs-extra
in the future, and having a similar file would be more convenient than
extracting all the modules each time. In addition, the "[ -d /lib/modules]"
check has been removed. If there's no modules directory, as all
modules might be built-in, modprobe will fail, but that will not be
fatal. This will most likely only exclusively happen in some android
downstream kernel, so it should not be a big concern.
2023-07-10 11:07:51 -07:00
Pablo Correa Gómez
f3c7308f6f
main/devicepkg-dev: install modules file into initramfs (MR 4193)
So that the initramfs can get the list of modules that need to be loaded
once the deviceinfo_modules_initfs variable is gone
2023-07-10 11:07:32 -07:00
Pablo Correa Gómez
65be0d7e81
main/devicepkg-dev: automatically package modules into initramfs (MR 4193)
To simplify the future removal of deviceinfo_modules_initfs
2023-07-10 11:07:19 -07:00
Luca Weiss
81fbe5a74e
main/postmarketos-mkinitfs-hook-debug-shell: add telnetd to initramfs files (MR 4237)
Since we've now finally removed telnetd from the main initramfs but we
still need telnetd for the debug-shell, add it to the files for that
hook.

Also make sure the list of files is sorted.
2023-07-08 19:06:33 +02:00
Luca Weiss
87ef850e88
main/postmarketos-initramfs: remove telnetd from initramfs (MR 4237)
This appears to be an ancient leftover from the telnet-based FDE
unlocking mechanism that has been present many many years ago.

But since this was removed a while ago, it's time to also finally remove
telnetd from the initramfs.
2023-07-08 19:06:29 +02:00
Anton Bambura
dd5f448bee
main/postmarketos-mkinitfs-hook-apx: new aport (MR 4231)
Nvidia Tegra devices have APX mode which allows to flash/debrick
a device even with broken bootloader. It also allows to sideload
bootloader which is useful when porting a new bootloader.

Some devices have a key combination to enter this mode, some devices
don't have one. This hook alters two Tegra PMC registers which
causes device to enter APX mode. It works on the most devices
including some of those that don't have a key combination for APX.

Usage:
pmbootstrap initfs hook_add apx
pmbootstrap flasher boot

[ci:skip-build]: already built successfully in CI
2023-07-07 09:00:01 +02:00
Oliver Smith
757aa80636
main/postmarketos-ui-plasma-bigscreen: enable aarch64 (MR 4233)
The ovos package is now available in Alpine for aarch64 too. Enabling
the package for aarch64 again fixes the currently failing bpo images for
master:pine64-rockpro64:plasma-bigscreen.

[ci:skip-vercheck]: modifying arches only
[ci:skip-build]: already built successfully in CI
2023-07-06 08:11:13 +02:00
Petr Hodina
b9c3ee99cd
postmarketos-base-eink: add gnome subpackage (MR 4142)
- add dconf file
- add backlight udev rule
2023-07-05 22:13:31 +02:00
Oliver Smith
e073914c01
main/mobile-config-firefox: upgrade to 4.0.3 (MR 4232)
[ci:skip-build]: already built successfully in CI
2023-07-05 22:10:57 +02:00
Luca Weiss
6eec0b0503
main/postmarketos-mkinitfs-hook-netboot: show Loading splash once done (MR 4212)
Since the original "Loading..." splash is being shown before the hooks
is being run, we should go back to the "Loading..." splash once we're
done in the hook.

[ci:skip-build]: already built successfully in CI
2023-07-01 19:43:01 +02:00
Luca Weiss
3b5e3cb66a
main/postmarketos-mkinitfs-hook-debug-shell: show Loading splash once done (MR 4212)
Since the original "Loading..." splash is being shown before the hooks
is being run, we should go back to the "Loading..." splash once we're
done in the hook.
2023-07-01 19:43:01 +02:00
Luca Weiss
e5e35027d2
main/lk2nd-msm8953: compile with -O1 to fix booting (MR 4196)
Currently, at least on fairphone-fp3 doing "fastboot boot" crashes
lk2nd, presumably due to some bug when compiled with a newer gcc
version.

Compiling with -O1 works well.

[81660] booting linux @ 0x10000000, ramdisk @ 0x13600000 (3339187), tags/device tree @ 0x13400000
[81660] Jumping to kernel via monitor
[81660] data abort, halting
[81660] r0  0x8f7724fc r1  0x8f772504 r2  0x00000000 r3  0x00000000
[81660] r4  0x00000001 r5  0x8f7724fb r6  0x00000001 r7  0x5b080000
[81660] r8  0x00000000 r9  0x011b9000 r10 0x8f741094 r11 0x8f7725ac
[81660] r12 0x00000001 usp 0x00000000 ulr 0x00000000 pc  0x8f630690
[81660] spsr 0x600001d3
[81660]  fiq r13 0x8f729000 r14 0x00000000
[81660]  irq r13 0x8f72d1a0 r14 0x8f620c2c
[81660] *svc r13 0x8f7724f8 r14 0x8f6147b0
[81660]  und r13 0x8f729000 r14 0x00000000
[81660]  sys r13 0x00000000 r14 0x00000000
[81660] bottom of stack at 0x8f7724f8:
0x8f7724f8: 00726f63 824fe86d 00020000 8f7724fb |cor.m.O.......w.|
0x8f772508: 8f742c01 824fe86d 10000000 00000000 |..t.m.O.........|
0x8f772518: 13400000 00000000 8f628aa0 8f6147b0 |..........b..Ga.|
0x8f772528: 00000000 00000000 13400000 10000000 |................|
0x8f772538: 00000000 00000001 0000000f 824fe86d |............m.O.|
0x8f772548: 13400000 00000000 00000000 00000000 |................|
0x8f772558: 00000000 00000000 00000000 00000000 |................|
0x8f772568: 00000000 00000000 00000000 00000000 |................|
2023-06-25 22:12:45 +02:00
Bart Ribbers
07082620c3
main/postmarketos-ui-plasma-bigscreen: replace dependency on mycroft-core for ovos (MR 4195)
MyCroft has seized development and the package has been removed from
aports. The OpenVoiceOS community has taken over development and has
with ovos a drop-in replacement.
2023-06-25 22:05:18 +02:00
Sicelo A. Mhlongo
d0a12d9c48
ui-i3wm: Depend on wallpaper and polkit (MR 4179)
Wallpaper and polkit dependency are device-agnostic, so remove from N900
package to i3wm

[ci:skip-build]: already built successfully in CI
2023-06-15 22:28:17 +02:00
Pablo Correa Gómez
ef00e24e5a
main/postmarketos-base-ui: depend on tzdata (MR 4175)
Most UIs already implicitly depend on this in some way, and from the
user-facing point of view, it is sensible to have the full DB of timezones
available, in case the user wants to swap timezone or requires working
with them in different ways. Having it as a explicit dependency makes more
sense than relying on backward dependencies.

Background: https://gitlab.com/postmarketOS/pmaports/-/issues/2168#note_1426261355
[ci:skip-build]: already built successfully in CI
2023-06-12 07:46:29 +02:00
DownToTwo
ad438c06cf
inet-a33: new device (MR 4166)
[ci:skip-build]: already built successfully in CI
2023-06-11 13:15:34 +02:00
Oliver Smith
6dee0fe989
main/postmarketos-release-upgrade: upgrade to 1.4.0 (MR 4163)
[ci:skip-build]: already built successfully in CI
2023-06-07 11:49:35 +02:00
Oliver Smith
f50c6c5a8a
main/postmarketos-ui-gnome-mobile: remove dep on wallpapers (MR 4156)
[ci:skip-build]: already built successfully in CI
2023-06-06 17:50:11 +02:00
Oliver Smith
55c2aa08c8
main/postmarketos-ui-gnome: remove dep on wallpapers (MR 4156) 2023-06-06 17:50:10 +02:00
Oliver Smith
334a03eaae
main/postmarketos-base-ui-gnome: update wallaper (MR 4156)
Use wallpapers that give a good contrast to read the labels of
launchers in GNOME Shell on Mobile.

Related: https://fosstodon.org/@tbernard@mastodon.social/110312623463860112
2023-06-06 17:50:10 +02:00
Oliver Smith
55c617ef64
main/postmarketos-artwork: add gnome wallpapers (MR 4156)
Add GNOME specific wallpapers with a good contrast, so lables for
launchers on top of the wallpaper can be read nicely.

Also set myself as maintainer since the original maintainer didn't
change the package since 2018.
2023-06-06 17:50:04 +02:00
Newbyte
cb0e167a3c
main/postmarketos-mkinitfs-hook-netboot: use source_deviceinfo from devicepkg-utils (MR 4129)
[ci:ignore-count]
2023-06-03 17:44:26 +02:00
Newbyte
0c043b055d
main/postmarketos-mkinitfs-hook-debug-shell: use source_deviceinfo from devicepkg-utils (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
c025160029
main/postmarketos-mkinitfs-hook-console-shell: use source_deviceinfo from devicepkg-utils (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
bc6800b368
main/osk-sdl: use source_deviceinfo from devicepkg-utils (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
ea7522f44e
main/postmarketos-base: use source_deviceinfo (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
0665493f14
main/postmarketos-bootsplash: use source_deviceinfo (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
35129cb2c7
main/postmarketos-update-depthcharge-kernel: use source_deviceinfo (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
14bc7fe038
main/postmarketos-update-kernel: use source_deviceinfo (MR 4129) 2023-06-03 17:44:25 +02:00
Newbyte
881dbc6a22
main/postmarketos-initramfs: use source_deviceinfo from devicepkg-utils (MR 4129)
See https://gitlab.com/postmarketOS/pmaports/-/issues/2086
2023-06-03 17:44:24 +02:00
Newbyte
d7e56cc7c0
main/devicepkg-utils: new aport (MR 4129) 2023-06-03 17:44:24 +02:00
Newbyte
be819d7474
main/devicepkg-dev: set to noarch (MR 4140)
No reason for this to be arch-specific.
2023-06-03 15:04:45 +02:00
Newbyte
945a74a9ce
main/android-mkdtboimg: remove (MR 4145)
Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1889
2023-06-03 06:34:41 +03:00
Luca Weiss
b2e5ad1670
main/postmarketos-base-ui: add supervisor to bluetooth service (MR 4136)
Due to an issue, probably in bluez, the bluetooth service often fails to
start on boot. Restarting the service later make bluez start correctly.

While adding the service supervisor for just this issue isn't a great
solution, in any case having a supervisor on such an important system
service is good, and it fixes this issue also by restarting the
bluetooth service after the first failure on boot.

  May 30 08:05:56 fairphone-fp4 daemon.info bluetoothd[1420]: Bluetooth daemon 5.66
  May 30 08:05:56 fairphone-fp4 daemon.err bluetoothd[1420]: src/main.c:main() Unable to get on D-Bus

Also while we're editing the list of subpackages make sure they're
ordered alphabetically.
[ci:skip-build]: already built successfully in CI
2023-05-31 08:05:38 +02:00
Clayton Craft
df8b0a6665
main/boot-deploy: upgrade to 0.8.2 (MR 4130)
Changelog: https://gitlab.com/postmarketOS/boot-deploy/-/tags/0.8.2

[ci:skip-build]: already built successfully in CI
2023-05-29 11:33:53 -07:00
Oliver Smith
0ccd191d21
main/mobile-config-firefox: upgrade to 4.0.2 (MR 4125)
[ci:skip-build]: already built successfully in CI
2023-05-29 13:06:50 +02:00
Luca Weiss
1a50b3a49b
main/dtbtool: switch to repository mirror (MR 4111)
Since codeaurora.org has been shut down and this project seemingly
hasn't been migrated to git.codelinaro.org, let's switch to a source
found on GitHub.
2023-05-24 17:19:05 +02:00
Dylan Van Assche
4b92e922ef
main/postmarketos-base-ui: enable USB tethering (MR 3819)
USB tethering allows users to use their phone's WiFi or WWAN interface
as an access point for the device they connect the phone with over USB.
This way, they can use their data plan with a laptop or desktop when
regular Internet access is absent.

Configure NetworkManager to manage the usb0 iface from initfs so users
can configure it in GNOME Settings or KDE. Include a NetworkManager
dispatcher script as well to handle postmarketOS' setup with unudhcpd as
we want to provide an SSH login over USB when tethering is disabled. If
tethering is enabled, unudhpcd is stopped and its functionality is taken
over by NetworkManager through an instance of dnsmasq. NetworkManager
will also configure the necessary settings to allow IP forwarding and
firewall rules during tethering. Once disabled, NetworkManager cleans up
these settings and our dispatcher script starts unudhcpd again.

Due to upstream changes, NetworkManager requires networkmanager-dnsmasq
subpackage as dependency as dnsmasq needs DBus support for
NetworkManager. Without it, NetworkManager will silently fail spawning
dnsmasq instances.
[ci:skip-build]: already built successfully in CI
2023-05-21 19:42:14 +02:00
Newbyte
a2a4772177
main/postmarketos-ui-plasma-mobile: don't recommend postmarketos-hidden-desktop-entries (MR 4086)
Package has been removed.

[ci:skip-vercheck]: Not necessary when recommends are changed.
[ci:skip-build]: already built successfully in CI
2023-05-21 17:14:55 +02:00
Newbyte
853f4ba5a5
main/postmarketos-ui-phosh: don't recommend postmarketos-hidden-desktop-entries (MR 4086)
Package has been removed.
2023-05-21 17:14:55 +02:00
Newbyte
8dcb873f9b
main/postmarketos-ui-gnome-mobile: don't recommend postmarketos-hidden-desktop-entries (MR 4086)
Package has been removed.
2023-05-21 17:14:55 +02:00
Newbyte
a04ca4caff
main/postmarketos-hidden-desktop-entries: remove (MR 4086)
GNOME Console can now launch command-line applications from .desktop
files, so they are no longer "useless" in Phosh.

gnome-extensions-app hasn't been pulled in automatically in Phosh for
long. If users install this manually, it would be confusing for it to
not show up. The app itself has an error message that explains they
need to be logged into GNOME for it to work when launched in e.g.
Phosh, so I think that should take care of UX concerns. Additionally,
this package is installed in gnome-mobile as well, where
gnome-extensions-app actually is useful.

firefox-safe-mode has been removed in Alpine:
 - https://git.alpinelinux.org/aports/commit/community/firefox?id=438ee43621e1a83c8309bf7e5e14ba9fce0532ff
 - https://git.alpinelinux.org/aports/commit/community/firefox-esr?id=0f324c8b39ab08cc3f504e4ae959425bec472791

Considering all of this, postmarketos-hidden-desktop-entries no longer
serves a purpose, so let's remove it.
2023-05-21 17:14:50 +02:00
Luca Weiss
644439c79f
main/lk2nd: also package appended-dtb variant of msm8974 (MR 4077)
Devices like oneplus-bacon require this variant instead of the standard
variant.
2023-05-19 18:42:18 +02:00
Newbyte
e8eb332fa2
main/postmarketos-tweaks: upgrade to 0.13.1 (MR 4100)
[ci:skip-build]: already built successfully in CI
2023-05-19 16:07:31 +02:00
Anton Bambura
a3001a0cb0
main/postmarketos-update-depthcharge-kernel: use kern_guid instead of label (MR 4066)
This allows to flash correct partition when having 2 installations of pmOS.

This will also avoid flashing kernel image when using U-Boot.
2023-05-14 19:22:51 +02:00
Luca Weiss
74c7092bbd
main/postmarketos-ui-asteroid: launch mapplauncherd booster (MR 4063)
All Asteroid apps are launched with the "invoker" which needs the
booster running. Make sure this happens when the UI starts.

Alternatively we could use superd to launch it but for a single
executable this is good enough for now.
2023-05-10 11:54:20 +02:00
Clayton Craft
047730dfb0
main/postmarketos-ui-kodi: enable shutdown/reboot/suspend options (MR 4065)
These power menu options require this package

[ci:skip-build] already built successfully in CI
2023-05-09 10:01:32 -07:00
Clayton Craft
b8aca2b914
main/boot-deploy: upgrade to 0.8.1 (MR 4048)
0.8.1:

Fixes:
  - get_free_space: always return an integer (MR 31)

0.8:

Features:
  - Add support for gummiboot
  - Many internal code improvements and bug fixes, see git log for
    details

Fixes:
  - Fix destination space calculation (MR 28)
  - Support destination paths with spaces

[ci:skip-build] already built successfully in CI
2023-05-04 08:39:51 -07:00
Pablo Correa Gómez
d1856dad75
main/postmarketos-ui-xfce4: add elogind-openrc to depends, enable service (MR 4020)
[ci:ignore-count]
2023-05-03 15:56:56 +02:00
Pablo Correa Gómez
83d224df2b
main/postmarketos-ui-weston: add elogind-openrc to depends, enable service (MR 4020) 2023-05-03 15:56:56 +02:00