This website requires JavaScript.
Explore
Help
Sign In
forge
/
pmaports
Watch
1
Star
0
Fork
You've already forked pmaports
0
Code
Issues
2
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
5485f133ba
pmaports
/
device
/
community
/
device-pine64-pinebookpro
/
device-pine64-pinebookpro.post-install
7 lines
85 B
Text
Raw
Normal View
History
Unescape
Escape
device/pine64-{pinebookpro,rockpro64}: new device (MR 882) [ci:skip-build]
2020-04-07 17:56:30 +00:00
#!/bin/sh
pine64-pinebookpro: add service for setting low power state on boot (MR 2306) This adds a very basic openrc runscript that sets the power state on /dev/nvme0 to level 2, which seems(?) to be the lowest operational power state based on some cursory internet searching (and querying the nvme drives I have, Samsung EVO and Pro) The drive path is hard coded, but could be made configurable later on. I basically wanted to get something in pmaports quickly, since this power stuff is a major source of instability for me and probably others too who add nvme drives to this device.
2021-07-04 00:38:55 +00:00
rc-update add nvme-powersave boot
device/pine64-{pinebookpro,rockpro64}: new device (MR 882) [ci:skip-build]
2020-04-07 17:56:30 +00:00
rc-update add sysfsconf default
device-pine64-pinebookpro: add elogind subpackage (MR 4202) Move the elogind configuration and post-install call of "loginctl reload" into an extra subpackage with install_if=elogind. Fix for: Executing device-pine64-pinebookpro-16-r0.post-install * service nvme-powersave added to runlevel boot * service sysfsconf added to runlevel default lib/apk/exec/device-pine64-pinebookpro-16-r0.post-install: line 5: loginctl: not found ERROR: device-pine64-pinebookpro-16-r0.post-install: script exited with error 127 Make the post-install scripts more robust while at it, by adding "exit 0" at the end.
2023-06-28 06:27:06 +00:00
exit 0
Reference in a new issue
Copy permalink