Commit graph

7840 commits

Author SHA1 Message Date
Anton Bambura
1bd1765f23
samsung-i9100: depend on MFC firmware (MR 4284) 2023-09-11 20:35:37 +02:00
Anton Bambura
779959dba7
samsung-m3: depend on MFC firmware (MR 4284) 2023-09-11 20:35:37 +02:00
Anton Bambura
001df983d2
samsung-m0: depend on MFC firmware (MR 4284) 2023-09-11 20:35:36 +02:00
Anton Bambura
a58d134174
samsung-t0lte: depend on MFC firmware (MR 4284) 2023-09-11 20:35:36 +02:00
Anton Bambura
e49167d029
linux-postmarketos-exynos4: enable video decoder (MR 4284) 2023-09-11 20:35:36 +02:00
Sicelo A. Mhlongo
4b54fc7f83
linux-postmarketos-omap: add N900 battery capacity estimation (MR 4388)
Provide a rough battery capacity estimation for the bq27200 fuel gauge inside
Nokia N900. This is useful when the fuel gauge is out of calibration and a
learning cycle cannot take place due to broken USB/charging port on the device.

[ci:skip-build]: Already built successfully in CI
2023-09-11 19:38:37 +02:00
Minecrell
c4f8827b78
device-motorola-surnia: add missing panel module to initfs (MR 4390)
motorola-surnia also supports the inx panel as of Linux 6.3, add it to
the initfs so the display can be initialized early.

There is no tianma panel for surnia (only for harpia) so drop that.
It's not clear why it was there in the first place.

[ci:skip-build]: Already built successfully in CI
2023-09-11 19:31:58 +02:00
Minecrell
2137c0b12b
device-bq-paella: add missing panel module to initfs (MR 4390)
bq-paella also supports the yushun-nt35521s panel as of Linux 6.3,
add it to the initfs so the display can be initialized early.
2023-09-11 19:31:57 +02:00
Luca Weiss
c37967a0ec
device-fairphone-fp3: depend on soc-qcom-msm8953 (MR 4376)
With the udev rule in that package feedbackd can start using the
vibration motor for haptics.

Also we can remove the direct swclock-offset dependency since the soc
package depends on that also.
[ci:skip-build]: already built successfully in CI
2023-09-11 17:04:54 +02:00
Barnabás Czémán
6396dd1188
soc-qcom-msm8953: upgrade ucm and add haptic udev rules (MR 4376) 2023-09-11 17:04:54 +02:00
Barnabás Czémán
0ab0b555d1
xiaomi-markw: add soc-qcom-msm8953 as a dependency (MR 4376) 2023-09-11 17:04:54 +02:00
Niko
39052ac078
temp/gnome-shell-mobile: upgrade to 45_git20230908 (MR 4371)
[ci:skip-build]: already built successfully in CI
2023-09-11 16:58:22 +02:00
Luca Weiss
0348958e8f
device-lg-lenok: add panel and gpu (MR 4368)
Add it now that the kernel has that support.

[ci:skip-build]: Already built successfully in CI
2023-09-11 15:46:35 +02:00
Luca Weiss
fd80cd21c5
linux-postmarketos-qcom-msm8226: upgrade to 6.5.0 (MR 4368) 2023-09-11 15:46:30 +02:00
Clayton Craft
3110ade74f
device-shift-axolotl: add edt-ft5x06 driver to initramfs (MR 4374)
It seems like the driver name has changed *again* in 6.5.x kernels, so
let's just have both drivers in the initramfs to help with migrating
between newer/older kernels and any future flip/flopping of drivers.

This is a bit of a hack... it works because missing modules are not
fatal for mkinitfs. The reason why they aren't fatal is that whether or
not it's builtin is somewhat arbitrary... there's an open issue[1] for
mkinitfs to make this smarter, i.e. throw an error if the .ko doesn't
exist AND it's not builtin for the *installed* kernel.

When that's implemented then this patch would likely result in mkinitfs
failing on this device because one of those drivers may not be installed
or builtin. I don't have time to implement this in mkinitfs, so adding
this crude workaround of just including both seemed like a reasonable
thing to do since the 6.5 kernel will break fde on this device (this has
happened before).
[ci:skip-build]: already built successfully in CI
2023-09-08 17:40:27 -07:00
Stefan Hansson
2ab59a220f
main/postmarketos-ui-phosh: Rebuild following url and pkgdesc update (MR 4385)
`url` and `pkgdesc` do affect the resulting package and as such
`pkgver` should be incremented, but it wasn't.

Fixes 0dfb1219f8
[ci:skip-build]: already built successfully in CI
2023-09-08 17:33:17 +02:00
Caleb Connolly
16bf9c9700
main/postmarketos-mkinitfs-hook-debug-shell: fixes (MR 4204)
Some change (I think some tools switching from the coreutils to busybox
versions?) subtly broke debug-shell behaviour. Try to fix it.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
[ci:skip-build]: already built successfully in CI
2023-09-08 17:15:05 +02:00
Clayton Craft
9198a2ad6e
main/postmarketos-initramfs: upgrade to 2.0.0 (MR 4204)
Updates this package's checksums for files modified in this patch
series, and bumps the pkgver
2023-09-08 17:14:59 +02:00
Clayton Craft
20e4eb495d
main/postmarketos-initramfs: hide cryptsetup not found error (MR 4204)
Hides this error when FDE is *not* enabled, and ultimately skips the
block of logic for detecting the luks partition:
        /init: line 437: cryptsetup: not found

This error has confused some users in the past, who were reporting
issues with the initramfs.

There's probably a minor speedup on non-FDE systems as well from
bailing early.
2023-09-07 20:33:56 +01:00
Clayton Craft
cfed09ca36
main/postmarketos-initramfs: overwrite dest when extracting initramfs-extra (MR 4204)
If a file exists in the initramfs at runtime, cpio won't overwrite it
by default when extracting the initramfs-extra archive. This adds the -u
option to cpio, to overwrite any existing files in the destination.

This is meant to fix issues where the -extra archive has an app that is
meant to replace a busybox app, busybox --install creates it in the
initramfs and gzip will skip it since it's newer than what is in the
archive.
2023-09-07 20:33:56 +01:00
Caleb Connolly
9fb29079cd
main/postmarketos-initramfs: get to splash faster (MR 4204)
With full-fat mdev supporting by-partlabel lookups, there is a small
delay during startup. As mdev and dynamic partitions aren't actually
needed for the framebuffer device, move show_splash earlier.

Furthermore, slightly rework setup_framebuffer to not dump the verbose
message about waiting for the framebuffer unless the framebuffer isn't
found.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-09-07 20:33:56 +01:00
Clayton Craft
97727c59cb
main/postmarketos-initramfs: use only one method to resize the root partition (MR 4204)
This removes the possibility that multiple resize root partition methods
could be invoked. I'm not sure how likely this is in practice, but it
seems like we should avoid the possiblity altogether.

This also adds some more helpful printing to stdout when the partition
resize is skipped / not done.
2023-09-07 20:33:56 +01:00
Caleb Connolly
6f44124c1b
main/postmarketos-initramfs: fixup device-mapper paths (MR 4204)
findfs might produce a block device path like /dev/dm-3, these can
change across boots and devices. Make things more readable and
consistent by mapping from the /dev/dm-* path to the equivalent
/dev/mapper/xyz path. Combined with invoking kpartx from a
/dev/disk/by-partlabel/abc symlink, this results in the final block
device having a name like /dev/mapper/userdata2 on an Android device.

Whilst this is just nicer to work with, this will be especially useful for
the upcoming ondev2 postmarketOS installer to make device-specific
configuration and detection easier.
2023-09-07 20:33:56 +01:00
Caleb Connolly
89fba12fbb
main/postmarketos-initramfs: optimise find_*_partition (MR 4204)
Save the root/boot partition paths once found, and optimise a few loops.

Additionally, fall-back to other search methods when the pmos_boot or
pmos_uuid_boot cmdline args are set but fail.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2023-09-07 20:33:55 +01:00
Caleb Connolly
e0fcfb74e2
main/postmarketos-initramfs: use mdev properly (MR 4204)
Drop in mdev.conf and the /lib/mdev/persistent-storage script, these
cause /dev/disk/by-* to be populated in the ramdisk, making it
possible to do look up partition by-label and by-partlabel for free,
compared to findfs which can take some time.

As a first optimisation based on this, check for some partitions using
these paths and prioritise them when looking for subpartitions. Drop the
first find_boot_partition call as it doesn't really save time over the
call in the while loop.

The mdev config also handles setting up /dev/null, /dev/random, etc, so
these don't have to be done manually.
2023-09-07 20:33:55 +01:00
Clayton Craft
7c79667fe0
main/postmarketos-initramfs: move init.sh to initramfs-specific dir (MR 4204)
These files aren't owned by mkinitfs, or used to configure mkinitfs, so
I think it makes sense that they belong in a dir specific to this
package instead of cluttering up mkinitfs's config dirs.
2023-09-07 20:33:55 +01:00
Caleb Connolly
73e05bf16d
main/postmarketos-initramfs: silence pbsplash (MR 4204) 2023-09-07 20:33:55 +01:00
Luca Weiss
5f820deefc
main/postmarketos-initramfs: switch_root with /dev (MR 3230) (MR 4204)
Mount /dev (and /run) in initramfs so util-linux switch_root can move
the mounts over to the new sysroot before changing root.
BusyBox switch_root doesn't even attempt to move anything so use
util-linux's switch_root for this.

Explicitly disable tests too...
2023-09-07 20:33:55 +01:00
Barnabás Czémán
146c6b0f1c
xiaomi-onclite: new device (MR 4351)
[ci:skip-build]: already built successfully in CI
2023-09-07 09:47:09 +02:00
Clayton Craft
37610c57f7
device-tablet-{x86,x64}uefi: add support for intel hw video decoding (MR 4375)
This also adds a version constraint to the libva install_if
2023-09-06 11:23:14 -07:00
Oliver Smith
9e454209e5
main/mobile-config-firefox: upgrade to 4.1.0 (MR 4377)
[ci:skip-build] already built successfully in CI
2023-09-06 11:13:42 -07:00
M0Rf30
9b21113f2c
linux-postmarketos-qcom-msm8953: upgrade to 6.4.7-r3 (MR 4378)
[ci:skip-build]: already built successfully in CI
2023-09-05 23:51:25 +02:00
Clayton Craft
88f6ce6502
main/postmarketos-mkinitfs: upgrade to 2.2.1 (MR 4348)
[ci:skip-build] already built successfully in CI
2023-09-05 11:19:13 -07:00
Teemu Ikonen
f3bfe510fa
temp/gtk4.0: upgrade to 4.12.1 (MR 4370)
Forcibly generate gdkversionmacros.h and gdk-visibility.h first to fix
the build.

[ci:skip-build]: already built successfully in CI
2023-09-05 19:44:47 +02:00
Guido Günther
0dfb1219f8
main/postmarketos-ui-phosh: Modernize description and URL (MR 4366)
While a lot of Phosh development still happens on and for the Librem 5
we (thankfully) have lots of users and contributors using other devices.
Update the description to reflect that.

Ideally we'd emphasize that this is GNOME technology based and uses
wlroots but let's not  make the description too long.

Instead of Purism's generic home page point the URL to phosh.mobi which
has some more details. An alternative URL would be
https://puri.sm/pureos/phosh/ but that points to a page that is a
currently a bit dated.

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2023-09-05 10:24:15 -07:00
Barnabás Czémán
5570420cc9
xiaomi-vince: remove ucm config from device package (MR 4372)
[ci:skip-build]: already built successfully in CI
2023-09-05 09:25:21 +02:00
Barnabás Czémán
7ee361123c
soc-qcom-msm8953: upgrade ucm configs (MR 4372) 2023-09-05 09:25:16 +02:00
Mighty
2150879f9f
linux-postmarketos-omap: upgrade to 6.5 (MR 4360)
[ci:skip-build]: already built successfully in CI
2023-09-05 09:18:54 +02:00
SDM845 CI
fd62adfe0e
linux-postmarketos-qcom-sdm845: Upgrade to sdm845-6.4.13 (MR 4362)
[ci:skip-build]: already built successfully in CI
2023-09-05 08:52:06 +02:00
Oliver Smith
d9830c6304
cross/crossdirect: partially use sccache for rust (MR 4310)
Wrap rustc commands with sccache when building native build scripts.
More interesting will be using sscache for compiling for the target
architecture, but sccache currently refuses to cache with --sysroot.
This can be optimized further later on, get some initial support for
sccache in here first.

While at it, tweak the -vV logic to also support -V, start using semver
with this and add myself as maintainer of the package.

[ci:skip-build]: already built successfully in CI
2023-09-05 08:45:41 +02:00
Oliver Smith
63c85a7e3c
main/hello-world-rust: several tweaks (MR 4310)
* Don't use "cargo install", as it leads to building a second time.
* Make the build very verbose, as this package is mainly used to debug
  and develop the crossdirect scripts for rust.
2023-09-05 08:45:16 +02:00
Bobby Hamblin
c5571fc688
main/postmarketos-ui-framebufferphone: take over maintainership (MR 4365)
[ci:skip-build]: already built successfully in CI
2023-09-04 17:28:28 +02:00
Luca Weiss
3afd25f568
linux-postmarketos-qcom-msm8226: upgrade to 6.4.0 (MR 4357) 2023-09-03 19:00:29 +02:00
Ferass El Hafidi
6ff0fc82bb
u-boot-librecomputer-lafrite: new aport (MR 4324)
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>

[ci:skip-build]: Already built successfully in CI
2023-09-03 15:29:45 +02:00
Ferass El Hafidi
0cad27f9aa
device-librecomputer-lafrite: new aport (MR 4324)
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
2023-09-03 15:29:33 +02:00
Ferass El Hafidi
e13a0a15c5
u-boot-librecomputer-lepotato: new aport (MR 4324)
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
2023-09-03 15:29:33 +02:00
Ferass El Hafidi
9751f8b039
device-librecomputer-lepotato: new aport (MR 4324)
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
2023-09-03 15:29:33 +02:00
Raymond Hackley
2cb492a5f4
main/postmarketos-ui-{lxqt,xfce4}: drop postmarketos-artwork-icons in $_pmb_recommends (MR 4364)
postmarketos-artwork-icons has already been required in
postmarketos-base-ui, which is required by both packages.

[ci:skip-vercheck]
2023-09-01 12:40:05 +02:00
Bart Ribbers
4de739338c
main/postmarketos-ui-plasma-mobile: add plasma-welcome to _pmb_recommends (MR 4361)
A welcoming application. It can be extended with custom pages which
we'll do later for a pmOS specific page, but for now it at least tells
the user a bit about Plasma

[ci:skip-vercheck]
2023-08-31 09:42:26 +02:00
Sicelo A. Mhlongo
2e3cd005a4
device-nokia-n900: increase terminal and i3 font sizes (MR 4363)
[ci:skip-build]: already built successfully in CI
2023-08-30 22:55:51 +02:00