any subtle uses for hardcoded /etc instead of ${sysconfdir}?
occasionally, i run across stuff like this (here, under
recipes-support):
$ grep -r "/etc" nss*
nss/files/nss-CVE-2013-1740.patch:+ *
(SSL_ForceHandshake/PR_Recv/PR_Send/etc.) needed to finish the handshake.
nss/nss.inc: mkdir -p ${D}/etc/pki/nssdb/
nss/nss.inc: certutil -N -d ${D}/etc/pki/nssdb/ -f ./empty_password
nss/nss.inc: chmod 644 ${D}/etc/pki/nssdb/*.db
nss-myhostname/nss-myhostname_0.3.bb: -i $D/etc/nsswitch.conf
nss-myhostname/nss-myhostname_0.3.bb: -i $D/etc/nsswitch.conf
$ is there any reason for hard-coding "/etc" into those filenames,
rather than "${sysconfdir}"? i can submit a quick patch to tweak that, but i always wonder if there's something subtle going on underneath that i'm unaware of.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 13 lines · Robert P. J. Day
occasionally, i run across stuff like this (here, under
recipes-support):$ grep -r "/etc" nss* nss/files/nss-CVE-2013-1740.patch:+ * (SSL_ForceHandshake/PR_Recv/PR_Send/etc.) needed to finish the handshake. nss/nss.inc: mkdir -p ${D}/etc/pki/nssdb/ nss/nss.inc: certutil -N -d ${D}/etc/pki/nssdb/ -f ./empty_password nss/nss.inc: chmod 644 ${D}/etc/pki/nssdb/*.db nss-myhostname/nss-myhostname_0.3.bb: -i $D/etc/nsswitch.conf nss-myhostname/nss-myhostname_0.3.bb: -i $D/etc/nsswitch.conf $
Quoted 4 lines
is there any reason for hard-coding "/etc" into those filenames,
rather than "${sysconfdir}"? i can submit a quick patch to tweak that, but i always wonder if there's something subtle going on underneath that i'm unaware of.
Not that I can think of offhand.
Cheers,
Richard