aboutsummaryrefslogtreecommitdiffstats
path: root/packages/iana-etc
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-08-18 11:09:14 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-08-18 11:09:14 +0000
commit37a9b6ee4ca5b72904f3da9f14af092c8a6063c9 (patch)
tree22d3dab03bdb7be53d8d1c5f353bd4641d4d5e64 /packages/iana-etc
parent686d71d827a365be3d53dcdf96d3578332128032 (diff)
downloadopenembedded-37a9b6ee4ca5b72904f3da9f14af092c8a6063c9.tar.gz
iana-etc 2.20: Don't install as /etc/services and /etc/protocols as these
conflict with those from net-base. Instead install them as /etc/protocols.iana and /etc/servcies.iana. Users will need to manually copy over any entries they need (or the entire file.) See #2505 for details.
Diffstat (limited to 'packages/iana-etc')
-rw-r--r--packages/iana-etc/iana-etc_2.20.bb13
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/iana-etc/iana-etc_2.20.bb b/packages/iana-etc/iana-etc_2.20.bb
index ccf0b8da8a..6d8c615877 100644
--- a/packages/iana-etc/iana-etc_2.20.bb
+++ b/packages/iana-etc/iana-etc_2.20.bb
@@ -3,13 +3,16 @@ AUTHOR = "Seth W. Klein"
HOMEPAGE = "http://www.sethwklein.net/projects/iana-etc/"
SECTION = "base"
LICENSE = "OPL"
+PR = "r1"
SRC_URI = "http://www.sethwklein.net/projects/iana-etc/downloads/${P}.tar.bz2"
-do_make(){
- oe_runmake 'STRIP=yes'
-}
+# Don't install as /etc/protocols and /etc/services since they are installed
+# by net-base and are considered config files. Install this side by side so
+# end-user can manaulyl copy them and/or take entries from them. See #2505.
-do_install(){
- oe_runmake 'DESTDIR=${D}' install
+do_install() {
+ install -d ${D}${sysconfdir}
+ install -m 644 protocols ${D}${sysconfdir}/protocols.iana
+ install -m 644 services ${D}${sysconfdir}/services.iana
}