FS#41612 - [avrdude] save config file in /etc/avrdude instead of /etc

Attached to Project: Community Packages
Opened by Christian Mueller (chmue) - Monday, 18 August 2014, 17:27 GMT
Last edited by Anatol Pomozov (anatolik) - Wednesday, 09 December 2015, 21:08 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current PKGBUILD installs the configuration file for avrdude (avrdude.conf) as /etc/avrdude.conf. I suggest to install the configuration file as /etc/avrdude/avrdude.conf.

Reason:

I use ino (https://aur.archlinux.org/packages/ino/), which looks for the configuration file in /etc/avrdude. Of course, this alone is not a valid reason, because I can just patch ino to work with the configuration file in /etc (which is done in the AUR package). However, I believe that because the configuration file is not system essential, /etc/avrdude is where it belongs.

Suggested change to PKGBUILD:

--- PKGBUILD.orig 2014-08-18 19:20:10.187249072 +0200
+++ PKGBUILD 2014-08-18 15:22:37.636547522 +0200
@@ -19,7 +19,7 @@ build() {

./configure --mandir=/usr/share/man \
--prefix=/usr \
- --sysconfdir=/etc
+ --sysconfdir=/etc/${pkgname}
make
}

Thank you for considering this!
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Wednesday, 09 December 2015, 21:08 GMT
Reason for closing:  Won't implement
Comment by Doug Newgard (Scimmia) - Tuesday, 19 August 2014, 04:08 GMT
The sysconfdir is /etc. If upstream installs the file to $sysconfdir/avrdude.conf, why should Arch change that?
Comment by Jelle van der Waa (jelly) - Sunday, 09 August 2015, 12:29 GMT
Ping Christian, could you tell us, why we should change the upstream default?

Loading...