Commit graph

315 commits

Author SHA1 Message Date
c808bcb737
chore: move kaniko to actions org
Some checks failed
Release / build-image (push) Failing after 2s
2025-03-03 06:17:01 +01:00
138c10de30
Update .forgejo/workflows/build.yaml
All checks were successful
Release / build-image (push) Successful in 43s
2025-03-02 13:07:20 +00:00
e6fc6fac87
feat: try adding releases to workflow 2025-03-02 14:04:42 +01:00
a77b985a7d
chore: rename primary branch to main
All checks were successful
Release / build-image (push) Successful in 46s
2025-03-02 14:01:10 +01:00
c0ab219412
chore: update project configuration and CI workflow
All checks were successful
Release / build-image (push) Successful in 44s
- Remove Travis CI badge from README
- Add Renovate configuration
- Remove old Forgejo Renovate config
- Add release notes template
- Create new build workflow for CI/CD
2025-03-02 14:00:12 +01:00
005b1c88db
Update .forgejo/workflows/release.yaml
All checks were successful
Release / build-image (push) Successful in 52s
2025-03-02 12:53:31 +00:00
9464e38b39
Update .forgejo/workflows/release.yaml
All checks were successful
Release / build-image (push) Successful in 43s
2025-03-02 12:49:53 +00:00
26388448ad
Update .forgejo/workflows/release.yaml
Some checks failed
Release / build-image (push) Failing after 2s
2025-03-02 12:48:56 +00:00
fc1e9f61a5
ci: move git-sv config to the right dir and tune workflow abit 2024-11-10 18:39:43 +01:00
8c5e1ece67
chore: add git-sv config 2024-11-10 12:51:04 +01:00
0c7a026111
chore: move license to standard filename 2024-11-10 12:51:04 +01:00
e6586edfed
Update .forgejo/workflows/release.yaml 2024-11-10 11:45:21 +00:00
1671117461
Update .forgejo/workflows/release.yaml 2024-11-09 14:30:13 +00:00
e69afb93df
Update .forgejo/workflows/release.yaml 2024-11-09 12:58:07 +00:00
0b6f66ac80
Update .forgejo/workflows/release.yaml 2024-11-09 12:57:19 +00:00
85386ec000
Update .forgejo/workflows/release.yaml 2024-11-09 12:56:23 +00:00
302d555f95
Update .forgejo/workflows/release.yaml 2024-11-09 12:51:57 +00:00
bb33c357dc
Update .forgejo/workflows/release.yaml 2024-11-09 12:45:22 +00:00
644da696a9
Update .forgejo/workflows/release.yaml 2024-11-09 12:43:25 +00:00
61f7ad3dd8
Update .forgejo/workflows/release.yaml 2024-11-09 12:40:33 +00:00
ce9f7a964c
Update .forgejo/workflows/release.yaml 2024-11-09 12:38:43 +00:00
9a888dbfc7
testing: try the local action 2024-11-09 13:37:14 +01:00
160d51c589
chore: structural changes in re to migration 2024-11-09 13:15:21 +01:00
cc8283c308
Update .github/workflows/release.yaml 2024-11-09 12:12:42 +00:00
Steven Kreitzer
de9de7e478
chore(mbpfan): general house keeping 2024-03-28 08:49:02 -05:00
Steven Kreitzer
b50d7c759d
fix: clan 16 warnings 2024-02-18 15:30:56 -06:00
Steven Kreitzer
1a743eba88
chore: change to distroless 2024-01-15 16:21:57 -06:00
Steven Kreitzer
e834e0ead5 feat: deploy dockerfile & ci 2023-07-19 08:18:15 -05:00
Andrea Manzini
98d68c15dd Update global.h
to reflect `PIDFile=/run/mbpfan.pid` in the service file
2023-04-14 16:02:33 +09:00
Andrew Gaul
a9c324db67 Bump version to 2.4.0 2023-04-02 17:04:13 +09:00
Robert Abram
1941f45395 Add support for alternate applesmc module device path. 2023-04-02 17:00:58 +09:00
Jack Kamm
d4473d440b Ensure lib/modules-load.d exists before installing there 2022-11-20 06:51:37 +09:00
Ethan D. Twardy
71d72cfc8b Fix PIDFile= reference, restart latency in systemd service
The run directory has been moved from /var/run to /run in systemd,
which results in the following warning at boot:

```
/usr/lib/systemd/system/mbpfan.service:10: PIDFile= references a path below legacy directory /var/run/, updating /var/run/mbpfan.pid → /run/mbpfan.pid; please update the unit file accordingly.
```

Additionally, the service occasionally fails to start if the service
is started before coretemp devices have finished probing, which results
in the following error. This patch fixes this issue.

```
systemd[1]: Started A fan manager daemon for MacBook Pro.
mbpfan[350]: /usr/sbin/mbpfan needs coretemp support. Please either load it or build it into the kernel. Exiting.
systemd[1]: mbpfan.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: mbpfan.service: Failed with result 'exit-code'.
systemd[1]: mbpfan.service: Scheduled restart job, restart counter is at 1.
systemd[1]: Stopped A fan manager daemon for MacBook Pro.
systemd[1]: Started A fan manager daemon for MacBook Pro.
mbpfan[369]: /usr/sbin/mbpfan needs coretemp support. Please either load it or build it into the kernel. Exiting.
systemd[1]: mbpfan.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: mbpfan.service: Failed with result 'exit-code'.
systemd[1]: mbpfan.service: Scheduled restart job, restart counter is at 2.
systemd[1]: Stopped A fan manager daemon for MacBook Pro.
mbpfan[380]: /usr/sbin/mbpfan needs coretemp support. Please either load it or build it into the kernel. Exiting.
systemd[1]: Started A fan manager daemon for MacBook Pro.
systemd[1]: mbpfan.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: mbpfan.service: Failed with result 'exit-code'.
systemd[1]: mbpfan.service: Scheduled restart job, restart counter is at 3.
mbpfan[393]: /usr/sbin/mbpfan needs coretemp support. Please either load it or build it into the kernel. Exiting.
systemd[1]: Stopped A fan manager daemon for MacBook Pro.
systemd[1]: Started A fan manager daemon for MacBook Pro.
systemd[1]: mbpfan.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: mbpfan.service: Failed with result 'exit-code'.
systemd[1]: mbpfan.service: Scheduled restart job, restart counter is at 4.
systemd[1]: Stopped A fan manager daemon for MacBook Pro.
systemd[1]: Started A fan manager daemon for MacBook Pro.
mbpfan[416]: /usr/sbin/mbpfan needs coretemp support. Please either load it or build it into the kernel. Exiting.
systemd[1]: mbpfan.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: mbpfan.service: Failed with result 'exit-code'.
systemd[1]: mbpfan.service: Scheduled restart job, restart counter is at 5.
systemd[1]: Stopped A fan manager daemon for MacBook Pro.
systemd[1]: mbpfan.service: Start request repeated too quickly.
systemd[1]: mbpfan.service: Failed with result 'exit-code'.
systemd[1]: Failed to start A fan manager daemon for MacBook Pro.
```
2022-11-06 14:19:51 -07:00
heimoshuiyu
95b6ba91b9 Add coretemp as module dependency at startup 2022-08-14 10:25:57 +09:00
Nathan Fritch
79813060f4 Create dinit service definition, update readme to include dinit instructions 2022-04-03 21:33:21 +09:00
Andrew Gaul
2dd04d5fb5 Update version to 2.3.0
Fixes #213.  References #247.
2022-02-26 14:20:38 +09:00
Andrew Gaul
623f44d0a5 Reformat source code with clang-tidy
Run with:

clang-format -i src/*

Closes #233.
2021-04-12 22:06:18 +09:00
Chow Loong Jin
16f28f900c Improve comments in the config around {low,high,max}_temp settings 2021-03-02 21:40:10 +09:00
Andrew Gaul
814af65b36 Log maximum MHz of all CPUs
Useful for monitoring intel_pstate effects.
2021-02-28 20:53:34 +09:00
localscope
52d897374d
Moved tests to separate binary (mbpfan-tests)
Removed instructions for using -t flag
Moved check_requirements function from main to mbpfan
Moved daemonize and verbose globals from main to daemon
Moved strings for program information from main to global.h
Moved strings for coretemp and applesmc paths from main to mbpfan.c
Updated Makefile
Turned on verboseness for testing
2020-05-19 23:06:27 +09:00
Andrew Gaul
10d6febeb4 Use smaller max_fan_speed in tests
This should allow iMacs to complete tests successfully.  Fixes #212.
Fixes #215.
2020-04-30 19:27:04 +09:00
Andrew Gaul
bc71232af2 Add AskUbuntu reference
Also use consistent heading.
2020-04-24 23:35:03 +09:00
Lyes Saadi
dd4ed658da Offcial Fedora Package #181 2020-01-12 21:20:12 +09:00
Andrew Gaul
49f544fd8d Only call va_start when needed 2019-11-24 16:09:31 +09:00
Andrew Gaul
7ac2eb01fc Do not resuse va_list without reinitialization
Fixes #206.
2019-11-24 13:52:38 +09:00
Andrew Gaul
0a9f03e615 Annotate mbp_log as having printf parameters 2019-11-24 13:52:38 +09:00
Andrew Gaul
b21aaa832c Reparent links into credits section 2019-11-01 12:23:34 -07:00
Andrew Gaul
29eeec18f5 Prefer HTTPS where possible
Also remove broken link.
2019-11-01 12:21:59 -07:00
Andrew Gaul
0ae57217f7 Emit version number on startup
Also configure syslog before logging.  References #163.
2019-10-30 21:04:52 -07:00
Andrew Gaul
1243d7df6c Update unit tests for fan speed auto-detection
Follows on to 716d9d877a08e0bce0b9a5cf7222ff3a4829e66.
References #190.
2019-10-30 20:59:08 -07:00