Commit Graph
2586 Commits
Author SHA1 Message Date
Clayton Craft aabfc2ed69 main/postmarketos-initramfs: include udev.conf in initramfs (MR 5752)
Allows udev to use custom config when running from the initramfs
2024-11-06 13:15:12 -08:00
Clayton Craft 9a92478496 main/postmarketos-base: decrease udev logging verbosity (MR 5752) 2024-11-06 13:15:12 -08:00
Clayton Craft 0c3e1a972f main/postmarketos-initramfs: drop console=null warning on boot (MR 5752)
fixes #2989
2024-11-06 13:15:12 -08:00
Clayton Craft e4e6a375db main/postmarketos-initramfs: add udev rules for devicemapper (MR 5764)
Without these rules, the /dev/disk/by-* stuff isn't created on devices
that use subpartitions (and maybe FDE too?), and systemd boot fails
because it's unable to find the boot partition UUID under that path.

fixes !5636

[ci:skip-build]: already built successfully in CI
2024-11-05 12:16:58 -08:00
Aster Boese 7a9b5a205d main/watchdog-kick: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:36 -08:00
Aster Boese 48f6c9656b main/postmarketos-cros-common: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:36 -08:00
Aster Boese 0b16918fe0 main/postmarketos-boot-hwtest: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:36 -08:00
Aster Boese bd431d40cc main/postmarketos-base-ui: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:35 -08:00
Aster Boese 9a99823538 main/postmarketos-base-ui-cage: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:35 -08:00
Aster Boese 17c4a53643 main/postmarketos-base: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:34 -08:00
Aster Boese 4942ec0603 main/hisi-wlan: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:34 -08:00
Jakob Hauser d87b8222b9 main/postmarketos-ui-mate: improve touch-friendliness (MR 5713)
Maintenance:
- Renamed gschema override files for "system background" and "screensaver"
  to prefix number "10", that's more common for distribution-delivered
  gschema override files. Basically the prefix number just separates the
  override files from the xml files.
- For gschema override files "caja single click" and "mate terminal colors"
  replaced underline by dash character for better alphabetic sorting.
- In the APKBUILD, adapted the install of file "gtk.css" to the "-t" option,
  as no file name change is needed.
- Sorted the installs alphabetically per path, except the for the file
  "61-lightdm-autologin.conf", this one is at the end because it doesn't use
  the "-t" option due to file renaming.

Touch-friendliness:
- Increased size of the upper and lower panel from 24 to 36 px. This also
  increases the size of the icons in the panel. Unfortunately, at installation
  the panel layout config file is stronger than the gsettings override of the
  panel size, therefore a new panel layout config file is needed. It corresponds
  to the upstream default layout, just the panel size values were changed.
- Increased the size of the window buttons by changing the window border theme
  to "HighContrast". That's not the nicest looking theme but the one with the
  largest window buttons – convenient for touch devices.
- Increased general font sizes from 10 to 12 px. This goes along with increased
  panel size and window button size, avoiding looking it too unproportional.
- Changed the layout of the panel clock to just show the time (no date or week
  day). This saves space on devices with small screen. As the panel size was
  increased, display size gets tight on devices with small screen.
- Changed the layout of the panel workspace switcher to show names in the format
  of "-  x  -". This is a workaround to artificially increase the size of the
  workspace switcher buttons on portrait displays. Because otherwise these
  buttons are very squeezed on portrait displays due to the display ratio.
- Add an application shortcut for a maximized terminal to the users Desktop
  upon installation.
[ci:skip-build]: already built successfully in CI
2024-11-04 11:27:50 +01:00
kouta 62440e5f17 main/lk2nd: patch xiaomi-daisy DT board-id (MR 5750) 2024-11-02 21:49:11 +03:00
Jakob Hauser 6e00f34f61 main/postmarketos-ui-{mate,xfce4}: separate openrc and main post-install scripts (MR 5735)
Split the post-install scripts for the main package and the openrc subpackage.
They act on different things.

[ci:skip-build]: already built successfully in CI
2024-11-02 12:55:36 +01:00
Clayton Craft a2b2c0ee5a main/postmarketos-initramfs: umount /boot in the initramfs (MR 5751)
Fixes a bug where the kernel thinks the boot partition is still mounted
and it's unavailable for mounting in the rootfs

If you look at what the initramfs was doing before !5635, it was
explicitly umounting the boot partition from /boot in the initramfs and
then mounting it under /boot in the rootfs:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/blob/c45d7ec0a5f7ac814b50087402bb11825120f42b/main/postmarketos-initramfs/init.sh#L87

With this patch, we're now back to umounting /boot in the initramfs.
The second part of that original logic is now handled elsewhere now, and
that seems to be working OK.

The bug was reported here:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3279#note_454346

[ci:skip-build]: already built successfully in CI
2024-11-01 14:09:35 -07:00
Caleb Connolly d92e2aaa20 postmarketos-initramfs: only include necessary udev rules (MR 5636)
importing all udev rules doesn't make sense here. Only add the needed
ones.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-10-31 11:54:25 -07:00
Caleb Connolly a36c8a4d3c main/unl0kr: include only necessary udev rules (MR 5636) 2024-10-31 11:54:25 -07:00
Caleb ConnollyandClayton Craft 7065039494 postmarketos-initramfs: clean up logging (MR 5636)
make the logging nicer and remove some irrelevant errors.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-10-31 11:54:24 -07:00
Clayton Craft 5c201c359e main/postmarketos-mkinitfs: upgrade to 2.6.1 (MR 5636)
Note: this includes a breaking change in pmaports if pmos-initramfs isn't changed to support merging the initramfs+initramfs-extra. Do not cherry-pick without the required initramfs changes!
2024-10-31 11:54:24 -07:00
Caleb Connolly 4546b99f5f postmarketos-initramfs-minimal: drop (MR 5636)
Drop the fork, nothing depends on it and we can use the new multi-stage
initramfs instead

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:ignore-count]
[ci:skip-vercheck]
2024-10-31 11:54:24 -07:00
Caleb ConnollyandClayton Craft cb8414a20d postmarketos-initramfs: unify with minimal initramfs (MR 5636)
We previously forked the initramfs into a minimal variant for highly
space constrained devices, to allow the normal variant to gain
additional functionality like the debug-shell (With OSK). Initially the
hope was that only a handful of devices would need the minimal variant,
but in practise this has not been the case.

Trying to maintain two diverging forks of the initramfs is absoutely
unsustainable and (to be frank) a bit silly.

Based on discussion with craftyguy and newbyte, let's re-architect the
initramfs to run in two stages, with the second stage being part of
initramfs-extra. By itself this doesn't make a lot of sense, since
requiring the boot partition be mounted for the debug-shell to be useful
is a major downgrade.

However this can be used in tandem with pending support for a new
deviceinfo_create_initfs_extra variable, this is default false in
mkinitfs which finally gets rid of initramfs-extra entirely for devices
that don't need it.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-10-31 11:54:24 -07:00
Caleb Connolly 1a9eb8973e postmarketos-initramfs: run_hooks: hide ls error (MR 5636)
We need to use ls to check if the hooks dir contains any hooks
(otherwise the wildcard doesn't work). But ls prints an error if the dir
is missing or empty. Hide the error to not pollute the log.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-10-31 11:54:24 -07:00
Caleb Connolly d8530c4144 postmarketos-initramfs: remove support for /boot/.pmos_export_logs (MR 5636)
This was only added recently, is likely not used by anyone, and
introduces hard to resolve dependencies on /boot being mounted which we
may not want in the future.

Remove it to drop some complexity.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-10-31 11:54:24 -07:00
Clayton Craft f30cb0d74b main/postmarketos-ui-gnome-mobile: remove nonexistent nm-elogind dependency (MR 5742)
Dropped in aports @ 3e7a2f54
2024-10-28 23:07:47 -07:00
Nikita Travkin d3cf846739 main/dtbloader: Upgrade to 1.2.2 (MR 5737)
[ci:skip-build]: already built successfully in CI
2024-10-27 11:35:50 +01:00
Barnabás Czémán 1275eb848f main/lk2nd-msm8953: remove package (MR 5691)
Remove old lk2nd-msm8953 package in favor of lk2nd package.
2024-10-26 22:40:54 +09:00
Barnabás Czémán c6e0ce6379 main/lk2nd: upgrade to 19.0 (MR 5691)
lk2nd 19.0 supports new platforms and simplifies image formats.
2024-10-26 22:40:54 +09:00
Clayton Craft 66cffd1903 main/postmarketos-ui-sway: enable portals (MR 5643)
This adds the wlr and GTK portal backends so that apps using portals will work OOTB.

The GTK backend is added because the wlr backend does not provide some essential portals, e.g. for camera
[ci:skip-build]: already built successfully in CI
2024-10-23 00:04:26 -07:00
Clayton Craft 5541f19df4 main/postmarketos-installkernel: install to /sbin (MR 5728)
This reverts 622140965c, which basically broke installkenrel because
the kernel build system is hardcoded to look for installkernel in /
sbin/installkernel.

We'll have to move then once usr merge is complete and the symlink is
created for /sbin
[ci:skip-build]: already built successfully in CI
2024-10-22 23:21:23 -07:00
Clayton Craft 901cb95204 main/postmarketos-base-ui: configure flathub from file drop-in (MR 5726)
Per the flatpak manpage, repos can be configured OOTB by dropping config under /etc/flatpak/remotes.d. Using the install script requires doing stuff over the internet, which may not always work at image build time. By using the drop-in file, we avoid having to connect to flathub.

The manpage only mentions /etc/flatpak, and nothing about /usr ...
2024-10-21 11:41:06 -07:00
Jens Reidel e729f058ab main/unixbench: upgrade to 5.1.3_git20230411 (MR 5715)
And re-enable riscv64 as the latest commits have added
support for riscv64.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
[ci:skip-build]: already built successfully in CI
2024-10-19 16:18:32 +02:00
Jens Reidel 34bc19e3ca main/postmarketos-ui-{gnome-mobile,plasma-mobile,sxmo-de-sway}: remove postprocessd (MR 5699)
This package is not buildable for riscv64 and ppc64le. Devices that use
megapixels should depend on it explicitly.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-10-14 14:39:29 +02:00
Pablo Correa Gómez a604b9068b main/postmarketos-mkinitfs: trigger on udev changes (MR 5695)
Our regular initramfs imports eudev and its rules, so we need to make
sure that we update the initramfs if they change

[ci:skip-vercheck]: version bump not needed
[ci:skip-build]: already built successfully in CI
2024-10-14 14:34:07 +02:00
Pablo Correa Gómez fdaee79c61 main,modem/*: rebuild to update references to gitlab.postmarketos.org (MR 5696)
Since either url or source change
2024-10-07 12:58:03 +02:00
Pablo Correa Gómez 9552b4a781 */*: update references to gitlab.postmarketos.org that need no rebuild (MR 5696)
These are in files or parts of files that are not part of the
checksums, or that serve as packaging-information only. Thus, require
no rebuild
2024-10-07 12:57:38 +02:00
Jakob Hauser d47c81e808 main/swclock-offset: upgrade to 0.2.4 (MR 5687)
The Makefile of swclock-offset was previously changed to install the scripts
according to the /usr merge. In the service files for openrc and systemd,
however, the paths to the scripts need to be adapted as well. Version 0.2.4
catches up on this.

[ci:skip-build]: already built successfully in CI
2024-10-05 08:44:29 -07:00
Clayton Craft 8018402b15 main/swclock-offset: upgrade to 0.2.3 (MR 5642)
- now installs to /usr by default
- now installs systemd service files by default
- added -systemd subpkg to handle service files

[ci:skip-build]: already built successfully in CI
2024-10-04 13:58:00 -07:00
Clayton Craft 1d04fa02a8 main/postmarketos-base: install swapfile script to /usr/bin (MR 5642) 2024-10-04 13:57:59 -07:00
Clayton Craft dd0e759c19 main/mdss-fb-init-hack: install to /usr/bin (MR 5642) 2024-10-04 13:57:59 -07:00
Clayton Craft 622140965c main/postmarketos-installkernel: install to /usr/bin (MR 5642) 2024-10-04 13:57:59 -07:00
Clayton Craft f60eb86dc0 main/postmarketos-android-recovery-installer: install to /usr/bin (MR 5642) 2024-10-04 13:57:59 -07:00
Clayton Craft 8cc91cfebc main/bootchart2: install to /usr (MR 5642) 2024-10-04 13:57:59 -07:00
Clayton Craft 21cde1b137 main/boot-deploy: install to /usr/bin (MR 5642) 2024-10-04 13:57:59 -07:00
Clayton Craft b0e12a5532 main/unl0kr: fde-unlock script to /usr/bin (MR 5642)
To support merged /usr
2024-10-04 13:57:58 -07:00
Masanori Ogino 2621ad2c48 postmarketos-ui-(lxqt|mate): depend on DejaVu (MR 5638)
MR 5540 breaks the Enter key label in onboard OSK with LXQt and Mate. In
theory Droid can be used instead, but it actually does not work.

We can't use _pmb_recommends here since v24.06 -> v24.12 upgrade will
break onboard unless any package depends on font-dejavu.

Signed-off-by: Masanori Ogino <mogino@acm.org>
[ci:skip-build]: already built successfully in CI
2024-10-04 13:45:17 -07:00
Pablo Correa Gómez 85d978165a main/postmarketos-mkinitfs-hook-ci: stop including /lib/udev (MR 5679)
Nothing in Alpine or pmOS ships to /lib/udev any more since today and
including it while it doesn't exist breaks the building of images.
2024-10-03 18:19:27 +02:00
Pablo Correa Gómez deed4aa691 main/unl0kr: stop including /lib/udev (MR 5679)
Nothing in Alpine or pmOS ships to /lib/udev any more since today and
including it while it doesn't exist breaks the building of images.
2024-10-03 18:19:27 +02:00
Bart Ribbers f5e579f2d5 main/postmarketos-initramfs: stop including /lib/udev (MR 5678)
Nothing in Alpine or pmOS ships to /lib/udev any more since today and
including it while it doesn't exist breaks the building of images.

[ci:skip-build]: already built successfully in CI
2024-10-03 17:59:47 +02:00
Pablo Correa Gómez 1fdfc60c36 main/postmarketos-base-eink: install udev rule under /usr (MR 5663)
[ci:ignore-count]

[ci:skip-build]: already built successfully in CI
2024-10-02 15:26:08 +02:00
Pablo Correa Gómez d175b10ef2 main/unl0kr: fix paths due to /usr merge (MR 5663)
Consequence of
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/72703
2024-10-02 15:26:04 +02:00