summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss-myhostname
Commit message (Collapse)AuthorAgeFilesLines
* nss-myhostname: fix postinst/prerm scriptsKoen Kooi2014-08-231-2/+2
| | | | | | | | | | | | | | | ${D} is expanded by bitbake which means the postinst looks like this: sed -e '/^hosts:/s/\s*\<myhostname\>//' \ -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 myhostname \3\4\5/' \ -i /build/scratch/angstrom-v2014.12/build/tmp-angstrom_next-eglibc/work/armv5te-angstrom-linux-gnueabi/systemd/1_216+gitAUTOINC+5d0ae62c66-r0/image/etc/nsswitch.conf Change ${D} to $D to stop it from being expanded by bitbake. (From OE-Core rev: 37fd211e598b2342533b00d89c9efcd151c529ae) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss*: Replace hardcoded "/etc" with "${sysconfdir}"Robert P. J. Day2014-08-061-2/+2
| | | | | | | (From OE-Core rev: 1c44e057c66fe20d491fcb3ae45defe0a300b256) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing SUMMARY valuesPaul Eggleton2014-01-021-0/+1
| | | | | | | | | | | | These recipes all had a long DESCRIPTION but no SUMMARY; since the SUMMARY is often displayed alone by package managers and the default value ("${PN} version ${PV}") isn't particularly useful, we should always try to set SUMMARY. (From OE-Core rev: db02edd2e9d7645592933cbb25ea0ca4d6561392) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss-myhostname: add 0.3 versionMarcin Juszkiewicz2013-03-181-0/+25
Meta-linaro layer had own netbase.bbappend which took care of adding MACHINE name to /etc/hosts to get it resolvable. Koen Kooi pointed to nss-myhostname as better solution. Tested, works fine so I add it for other users. (From OE-Core rev: 9f46e4c195e4d8bc638191428492e09f1e57cc76) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>