fix: cockpit-sensors with correty base project

This commit is contained in:
Cristopfer Luis Viana da Silva 2024-02-05 11:26:28 -03:00
parent f9f2da6974
commit 57ad28ed58
13 changed files with 440 additions and 78 deletions

View file

@ -1,3 +1,32 @@
# Cockpit Sensors
module that displays all data reported by lm-sensors
# Usage
- Download the lastest [Sensors release](https://github.com/ocristopfer/cockpit-sensors/releases)
- Extract the content of dist folder to /usr/share/cockpit/sensors
- Check if Sensors tools is show on menu
- Installation script provided by [@subz390](https://github.com/subz390):
```shell
wget https://github.com/ocristopfer/cockpit-sensors/releases/latest/download/cockpit-sensors.tar.xz && \
tar -xf cockpit-sensors.tar.xz cockpit-sensors/dist && \
mv cockpit-sensors/dist /usr/share/cockpit/sensors && \
rm -r cockpit-sensors && \
rm cockpit-sensors.tar.xz
```
- .deb package:
https://github.com/ocristopfer/cockpit-sensors/releases/latest/download/cockpit-sensors.deb
# Prints
![alt text](https://i.ibb.co/tQ22dF4/cockpit.png)
# Module created using Starter Kit
# Cockpit Starter Kit
Scaffolding for a [Cockpit](https://cockpit-project.org/) module.
@ -12,7 +41,6 @@ On Fedora:
$ sudo dnf install gettext nodejs npm make
# Getting and building the source
These commands check out the source and build it into the `dist/` directory:
@ -156,7 +184,7 @@ To run the tests in the exact same way for upstream pull requests and for
[Fedora package update gating](https://docs.fedoraproject.org/en-US/ci/), the
tests are wrapped in the [FMF metadata format](https://github.com/teemtee/fmf)
for using with the [tmt test management tool](https://docs.fedoraproject.org/en-US/ci/tmt/).
Note that Packit tests can *not* run their own virtual machine images, thus
Note that Packit tests can _not_ run their own virtual machine images, thus
they only run [@nondestructive tests](https://github.com/cockpit-project/cockpit/blob/main/test/common/testlib.py).
# Customizing
@ -201,7 +229,7 @@ which is run weekly or upon [manual request](https://github.com/cockpit-project/
# Further reading
* The [Starter Kit announcement](https://cockpit-project.org/blog/cockpit-starter-kit.html)
blog post explains the rationale for this project.
* [Cockpit Deployment and Developer documentation](https://cockpit-project.org/guide/latest/)
* [Make your project easily discoverable](https://cockpit-project.org/blog/making-a-cockpit-application.html)
- The [Starter Kit announcement](https://cockpit-project.org/blog/cockpit-starter-kit.html)
blog post explains the rationale for this project.
- [Cockpit Deployment and Developer documentation](https://cockpit-project.org/guide/latest/)
- [Make your project easily discoverable](https://cockpit-project.org/blog/making-a-cockpit-application.html)