Commit graph

75 commits

Author SHA1 Message Date
Fedora Release Engineering
a2ad8aace3 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:57:03 +00:00
Janne Grunau
b1b17e6f4e Update 15-update-m1n1.install
- has to run on generic aarch64 systems for install image generation,
  should probably always run if the installed kernel is an aarch64
  kernel
- add a note on the "10-devicetree.install" (grubby) dependency
2025-08-19 23:39:31 +02:00
Janne Grunau
eb78052afd Fix update-m1n1 invocation from kernel-install add ...
At the time kernel-install runs 15-update-m1n1.install "/boot/dtb" might
be a dangling symlink as /boot/dtb-${KERNEL_VERSION} has not yet been
created.
Take advantage of the proposed $DTBS directory support [1] and use
"/boot/dtb" as DTBS default location.
Add an fedora specific patch to detect the dangling symlink and use the
dtb directory from the kernel's modules directory in /usr/lib/modules.

1: https://github.com/AsahiLinux/asahi-scripts/pull/67
2025-08-19 23:16:25 +02:00
Janne Grunau
8e7ac9580a Fix typos in update-m1n1 kernel install script 2025-08-18 09:10:03 +02:00
Fedora Release Engineering
2f5f6f8562 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:16:00 +00:00
Davide Cavalca
65b4ede499 Update to 20250713 2025-07-13 19:00:49 -07:00
Davide Cavalca
49e26631ee Preserve timestamps when installing the kernel-install script 2025-07-13 19:00:27 -07:00
Janne Grunau
6507e7f0a2 update-m1n1: Use kernel-install script instead of filetrigger for dtb updates
This has various advantages:
- a failure can prevent kernel-install to create a boot loader entry
  which in the worst case won't boot due to a 2nd stage m1n1 dtbs vs.
  kernel mismatch
- It would allow to replicate the logic in grubby's
  10-devicetree.install to avoid the dependency and work without
  /boot/dtb symlink. This would simplify the integration for immutable
  Fedora-Asahi-Remix variants.
- it is easier to discover as /usr/lib/kernel/install.d is the expected
  place for scripts to trigger during kernel installation/removal.
- It ensures update-m1n1 runs after the symlink is updated. The ordering
  between the filetrigger and kernel-install during package updates is
  not obviously clear.

There is no rollback mechanism if the kernel-install fails but this
should not differ from the filetrigger.
2025-07-13 23:36:58 +02:00
Janne Grunau
5f59936d3c update-m1n1: Depend on grubby for the /boot/dtb symlink 2025-07-13 23:36:58 +02:00
Davide Cavalca
dfca4e0e1a Own the macsmc-battery config file 2025-05-30 19:38:56 -07:00
Davide Cavalca
22d55c4391 Update to 20250426.1; Fixes: RHBZ#2293832 2025-04-26 15:35:20 -07:00
Davide Cavalca
aef3d9127c Trigger update-m1n1 on config changes 2025-04-16 14:51:55 -07:00
Hector Martin
9c406f8ce9 Give up on the obsoletes dance
This didn't work with dnf.

Drop /etc/m1n1.conf entirely, let users copy it from the example file in
the m1n1 package if they wish.
2025-02-04 04:26:24 +09:00
Hector Martin
7b9c0fa3a0 Argh. 2025-02-03 21:55:18 +09:00
Hector Martin
c1ad434f96 Fix dependencies again?
Third time's the charm, maybe?
2025-02-03 21:54:28 +09:00
Hector Martin
98044933e6 Fix dependencies 2025-02-03 21:40:40 +09:00
Hector Martin
e4e1bf166e Update to 20250130
Moves /etc/m1n1.conf from this package to m1n1.
2025-01-30 23:59:17 +09:00
Davide Cavalca
a425a997a2 Drop expired obsoletes 2025-01-29 09:13:34 +00:00
Hector Martin
9d0aa9aa67 Update to 20250128 2025-01-28 21:06:45 +09:00
Janne Grunau
376fa841fb update-m1n1: limit config to DTBs Mx (Pro/Max/Ultra) based devices 2025-01-28 12:05:05 +00:00
Fedora Release Engineering
1f02188ff7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:36:38 +00:00
Janne Grunau
bc19f28cac Add missing build requirement systemd-rpm-macros for asahi-battery 2024-08-22 20:09:49 +02:00
Janne Grunau
83bc7c1259 Add missed .gitignore update for asahi-scripts-20240822 2024-08-22 19:52:50 +02:00
Janne Grunau
6b86b9e824 Update to 20240822
new package asahi-battery to restore non-persistent EC settings on boot
2024-08-22 19:24:43 +02:00
Fedora Release Engineering
389a477dc7 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:29:17 +00:00
Davide Cavalca
4d865a3049 Update to 20240429 2024-04-29 08:42:49 -07:00
Janne Grunau
584aefbe35 Add dracut kernel mod robustness patches, try 2
https://github.com/AsahiLinux/asahi-scripts/pull/46
2024-04-25 00:28:54 +02:00
Janne Grunau
1a04eb849b Add dracut kernel mod robustness patches
https://github.com/AsahiLinux/asahi-scripts/pull/45
2024-04-24 19:35:49 +02:00
Janne Grunau
8126e28398 Update to 20240411
Fixes: RHBZ#2245220
2024-04-18 08:57:03 +02:00
Fedora Release Engineering
19f0854961 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:29:48 +00:00
Fedora Release Engineering
d10ec15f5d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:35:52 +00:00
Hector Martin
e3c72c4134 Update to 20231219.1 2023-12-19 19:47:18 +09:00
Hector Martin
3d211eaaea Update to 20231219 2023-12-19 19:06:53 +09:00
Hector Martin
572a1c3ac1 Update to 20231218 2023-12-17 22:45:39 +09:00
Hector Martin
d515f8386d Update to 20231217 2023-12-17 22:15:46 +09:00
Davide Cavalca
21dad697e2 Fix trigger for asahi-fwupdate 2023-10-11 16:25:43 -07:00
Davide Cavalca
bbfbd00175 Update to 20230821 2023-08-21 07:48:59 -07:00
Davide Cavalca
3b58fb7eaa Rework and fix file triggers 2023-08-03 14:04:35 +01:00
Neal Gompa
49e166feb1 Revert "Use stable dtbs path to always pick the latest"
This breaks the upgrade path in practice. It does not fire correctly
because /boot/dtb is a symlink and does not actually contain files.

This partly reverts commit 5dd80aff06.
2023-07-30 10:17:43 -04:00
Davide Cavalca
5dd80aff06 Use stable dtbs path to always pick the latest 2023-07-24 15:16:47 -07:00
Fedora Release Engineering
4967ed0c71 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:48:21 +00:00
Davide Cavalca
42d00c5dcb Expand fwupdate trigger to fire on fwextract updates 2023-06-18 18:06:29 +02:00
Davide Cavalca
efb07d58b3 Add trigger for asahi-fwupdate 2023-06-09 09:10:17 -07:00
Davide Cavalca
2e39d0ebfc Fix Requires for asahi-fwupdate 2023-06-08 10:02:33 -07:00
Davide Cavalca
695f66dc6a Rename asahi-fwextract to asahi-fwupdate to match upstream 2023-06-07 14:36:25 -07:00
Davide Cavalca
f589e123c0 Update to 20230606; Fixes: RHHBZ#2213093 2023-06-07 14:18:08 -07:00
Davide Cavalca
d8b114bef9 Update to 20230530; Fixes: RHBZ#2209183 2023-05-30 16:56:16 -07:00
Davide Cavalca
7dd1c9a2c8 Update to 20221220; Fixes: RHBZ#2155355 2023-05-06 15:49:06 -07:00
Fedora Release Engineering
0cc949eba1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:10:11 +00:00
Davide Cavalca
3483812dd2 Update to 20221206; Fixes: RHBZ#2151445 2022-12-09 03:00:59 +00:00