Commit graph

18 commits

Author SHA1 Message Date
Jakob Hauser
2a6af8101b
main/swclock-offset: upgrade to 0.3.0
0.3.0 Changelog:
- Change behavior on missing RTC from "fail" to "skip"

0.2.9 Changelog:
- Restore failure on missing rtc sys node
- Remove quotation marks in shell scripts
- Allow customizing cache path by make
- systemd: break dependency cycle

0.2.8 Changelog:
- Gracefully handle absence of RTC and offset storage file

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7989>
2026-02-11 14:18:44 +00:00
Achill Gilgenast
ecd710af96
*/*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00
Jakob Hauser
b17dbf308f
main/swclock-offset: upgrade to 0.2.7
Compatibility with distros like NixOS that do not use Filesystem
Hierarchy Standard was improved. This should not affect the behavior
in postmarketOS.

Additionally a systemd target file was added.

Changelog:
- openrc: Adopt customizable binary path
- systemd: add target file
- Improve compatibility with non-FHS systems

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7607>
2025-12-21 10:40:08 +00:00
Clayton Craft
e63c70b6e8
Rebuild -systemd subpkgs
These packages were previously built by a WIP abuild patch that added
install scripts to each -systemd subpkg for handling preset application
on install and symlink cleanup on uninstall. This functionality has been
replaced by a trigger/commit hook, so we need to rebuild these packages
to drop the install scripts that were previously generated.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00
Aster Boese
7429bed2ca
*/*: bump pkgrels of packages with systemd subpackages
Update to use the new version of the abuild systemd split function.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6713
2025-07-27 17:03:09 -04:00
Clayton Craft
10f9386920
main/swclock-offset: upgrade to 0.2.6
Small bugfix release, see upstream changelog:
https://gitlab.postmarketos.org/postmarketOS/swclock-offset/-/tags/0.2.6

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6545
[ci:skip-build]: already built successfully in CI
2025-05-24 20:23:39 -07:00
Clayton Craft
f84adcd778
main/*: explicitly depend on openrc if install scripts call rc-update
[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
[ci:skip-build]: already built successfully in CI
2025-05-06 10:49:08 +02:00
Caleb Connolly
a679e5132c
systemd/*: use new abuild systemd helpers
Adjust everything to use the new systemd abuild helpers. These generate
the post-install/pre-deinstall and post-upgrade scripts automagically,
and abuild now provides some helpers where it's necessary to finegle
things a bit (e.g. see the pipewire-pulse-systemd subpackage).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Jakob Hauser
4ebe03a264
main/swclock-offset: upgrade to 0.2.5 (MR 6295)
Changelog:
- Support busybox 'date' command
  BB's `date` doesn't support the long form for args (e.g. `--utc`), only
  the short form, while coreutils supports both versions. By using the
  short form swclock-offset can support both versions of `date`

Fixes #3585
[ci:skip-build]: already built successfully in CI
2025-03-07 16:31:03 +01: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
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
Jakob Hauser
b402c03b1f
main/swclock-offset: upgrade to 0.2.2 (MR 3714)
This upgrade has no effect on postmarketOS, as there were only systemd
service files added to the repository. The upgrade is done solely to
keep track with the newest version.

[ci:skip-build] already built successfully in CI
2022-12-13 21:31:17 -08:00
Jakob Hauser
67b5dd49dd
main/swclock-offset: move to its own repository (MR 3642)
To make "swclock-offset" available to other projects as well, it was
moved to its own repository.
2022-11-15 10:32:29 +01:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Jakob Hauser
f6db790abc
main/swclock-offset: change maintainer name (MR 3481) 2022-10-03 17:09:46 +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
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