diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2014-08-20 15:28:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:25:04 +0100 |
commit | 37fd211e598b2342533b00d89c9efcd151c529ae (patch) | |
tree | a486921cb46c177357f2e0b67e136b987f9b0847 /scripts/oe-setup-builddir | |
parent | 1d381aa15896c133ce0f5bc5b62e3a416e5deb02 (diff) | |
download | openembedded-core-37fd211e598b2342533b00d89c9efcd151c529ae.tar.gz openembedded-core-37fd211e598b2342533b00d89c9efcd151c529ae.tar.bz2 openembedded-core-37fd211e598b2342533b00d89c9efcd151c529ae.zip |
nss-myhostname: fix postinst/prerm scripts
${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.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-setup-builddir')
0 files changed, 0 insertions, 0 deletions