sakaki- / genpi64-overlay

Gentoo overlay for the Raspberry Pi 3 and 4
GNU General Public License v3.0
53 stars 48 forks source link

Added systemd support to rpi3-ondemand-cpufreq #36

Open Hecatron opened 4 years ago

Hecatron commented 4 years ago

Hi, I've recently started looking at adding systemd support to some of the ebuilds. I figured I'd try a pull request on this one first just to see if the way I'm doing this is ok

The main body of the init script has been copied across to a file called rpi3-ondemand which ends up being installed into /usr/lib/rpi-scripts/bin/rpi3-ondemand This can be called directly with the start parameter

There's then a systemd service file installed into /lib/systemd/system/rpi3-ondemand-cpufreq.service. This just has a description, a link to which script to start and what the dependencies are. Usually the type can be ether simple (script doesn't fork itself and blocks), forking (script does fork itself and returns), oneshot (change something then exit) So it's fairly simple.

Edit added scripts for net-wireless/rpi3-bluetooth net-misc/rpi3-ethfix

sakaki- commented 3 years ago

30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the ebuilds etc. may be of use for others looking to take forward Gentoo on 64-bit RPi systems); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

Many thanks for your interest in this project!

With sincere apologies, sakaki ><