Package Details: argonone-git r30.c878d73-1

Git Clone URL: https://aur.archlinux.org/argonone-git.git (read-only, click to copy)
Package Base: argonone-git
Description: Argon One Service and Control Scripts por Raspberry Pi
Upstream URL: https://download.argon40.com/argon1.sh
Licenses: GPL3
Provides: argonone
Submitter: tonyfettes
Maintainer: tonyfettes
Last Packager: tonyfettes
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-21 03:28
Last Updated: 2021-01-17 12:11

Pinned Comments

tonyfettes commented on 2021-01-10 16:36

@Nihili0

Thank you very much and I do find it helpful!

I looked into the dependencies of the script file again, and I found out that all these dependencies could be satisfied with packages from repos and PKGBUILDs from AUR. smbus is satisfied by community/i2c-tools, RPi.GPIO by aur/python-raspberry-gpio (thanks katoitalia and Nihili0), and now they work well on my machine (rpi4B 8Gb).

Since doing creating files in argonone.install script will create files doesn't belong to any package (while they should belong to this package), I decide to remove any creation and write to file in the install script.

Therefore, it's better to first remove the package and then reinstall it, rather than directly upgrading it.

After the upgrading/reinstalling, following files may need manual operations:

  • Remove /opt/argonone. This directory is no longer needed.
  • If your /etc/modules-load.d/i2c.conf is created by this package and only contains
i2c_dev
i2c_bcm2835

then you can delete it. Now this package ships with /etc/modules-load.d/argonone.conf with the same content so there is no need to keep it.

Edit: grammar, more details

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

tonyfettes commented on 2020-06-22 00:40

@Dulbi Sorry for my ignorance. Now I believe the backup entry has been added.

Dulbi commented on 2020-06-21 20:02

@tonyfettes as the wiki says https://wiki.archlinux.org/index.php/PKGBUILD#backup, you can create a backup array to save user settings files as the /etc/argononed.conf. It doesn't interfere with your copy of the file in the /opt/argonone/etc directory even if I think it's not necessary. Like that if the file is already present and the user had made changes his config will stay and a .pacnew file will be generated automatically.

tonyfettes commented on 2020-06-21 15:57

@Dulbi

Thank you for your comment!

Sorry for my poor understanding, but I'm not quite sure what do you mean by "backup feature." But according to your comment under the original package, I guess you probably want to have a copy of default conf file to another place as a backup?

If so, my recommendation is to install etckeeper to manage all your files via VCS (like git).

If you want me to add a patch to the upstream python script to backup the conf file automatically, I probably won't do that because my intention is just get it work. You might want to clone the git repo, modify it and file a pull request.

Well, I'll still make a copy of conf file in /opt/argonone/etc in PKGBUILD.

Dulbi commented on 2020-06-21 15:23

Could you please add a backup feature for the conf file ?

tonyfettes commented on 2020-06-21 03:33

@SpacingBat3

Sorry for my fault.

Since Elrondo46/argonone has that fix, I think it is unnecessary to maintain a package with sources file on my server. But I think the package should named as argonone-git if I clone files from Elrondo46/argonone and install then. So probably it's better to create a new package and remove this package or merge them.

Sorry again for my mistakes. I'll ask for removal of this package or merging it with git version in a few weeks.

Dulbi commented on 2020-06-20 19:18

Can you please set a backup entry in PKGBUILD file for the etc/argononed.conf ? source still unavailable by the way.

SpacingBat3 commented on 2020-06-20 17:21

There's problem with your download link (again). Your download link actually doesn't exist! (HTML Error 404).

You could use this github repo if you have problems with your server: https://github.com/Elrondo46/argonone

It contains a fix for "power LED staying on" shutdown problem now.

tonyfettes commented on 2020-06-20 05:09

@the_remora Fixed. Thank you for your comment!

the_remora commented on 2020-06-20 05:05

This needs another dependency. It won't control the fan without also installing raspberrypi-userland-aarch64-git. Power button works fine though.

tonyfettes commented on 2020-06-02 07:48

@SpacingBat3

Fixed.