- Sep 11, 2023
-
-
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
-
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
-
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
-
-
-
[ci:skip-build]: already built successfully in CI
-
Add it now that the kernel has that support. [ci:skip-build]: Already built successfully in CI
-
-
- Sep 09, 2023
-
-
clayton craft authored
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
-
- Sep 08, 2023
-
-
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
-
Updates this package's checksums for files modified in this patch series, and bumps the pkgver
- Sep 07, 2023
-
-
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.
-
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.
-
Caleb Connolly authored
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>
-
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.
-
Caleb Connolly authored
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.
-
Caleb Connolly authored
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>
-
Caleb Connolly authored
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.
-
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.
-
Caleb Connolly authored
-
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...
-
[ci:skip-build]: already built successfully in CI
-
- Sep 06, 2023
-
-
clayton craft authored
This also adds a version constraint to the libva install_if
-
[ci:skip-build] already built successfully in CI
-
- Sep 05, 2023
-
-
Gianluca Boiano authored
[ci:skip-build]: already built successfully in CI
-
clayton craft authored
[ci:skip-build] already built successfully in CI
-
Forcibly generate gdkversionmacros.h and gdk-visibility.h first to fix the build. [ci:skip-build]: already built successfully in CI
-
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
-
[ci:skip-build]: already built successfully in CI
-
-
[ci:skip-build]: already built successfully in CI
-
[ci:skip-build]: already built successfully in CI
-
Oliver Smith authored
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
-
Oliver Smith authored
* 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.
-
- Sep 04, 2023
-
-
[ci:skip-build]: already built successfully in CI
-
- Sep 03, 2023
-
-
-
Signed-off-by:
Ferass El Hafidi <vitali64pmemail@protonmail.com> [ci:skip-build]: Already built successfully in CI
-
Signed-off-by:
Ferass El Hafidi <vitali64pmemail@protonmail.com>
-