diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:31:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:26 +0000 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /import-layers/yocto-poky/meta/recipes-core/netbase | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | talos-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.gz talos-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.zip |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-core/netbase')
3 files changed, 76 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-core/netbase/netbase/hosts b/import-layers/yocto-poky/meta/recipes-core/netbase/netbase/hosts new file mode 100644 index 000000000..b94f414d5 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-core/netbase/netbase/hosts @@ -0,0 +1,8 @@ +127.0.0.1 localhost.localdomain localhost + +# The following lines are desirable for IPv6 capable hosts +::1 localhost ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters diff --git a/import-layers/yocto-poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch b/import-layers/yocto-poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch new file mode 100644 index 000000000..35ce21e36 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-core/netbase/netbase/netbase-add-rpcbind-as-an-alias-to-sunrpc.patch @@ -0,0 +1,44 @@ +netbase: add rpcbind as an alias to sunrpc + +the patch comes from: +https://bugs.archlinux.org/task/20273 + +Upstream-Status: Pending + +Signed-off-by: Li Wang <li.wang@windriver.com> +--- + etc-rpc | 2 +- + etc-services | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/etc-rpc b/etc-rpc +index 1b30625..9a9a81a 100644 +--- a/etc-rpc ++++ b/etc-rpc +@@ -1,7 +1,7 @@ + # This file contains user readable names that can be used in place of rpc + # program numbers. + +-portmapper 100000 portmap sunrpc ++portmapper 100000 portmap sunrpc rpcbind + rstatd 100001 rstat rstat_svc rup perfmeter + rusersd 100002 rusers + nfs 100003 nfsprog +diff --git a/etc-services b/etc-services +index 9d64a52..a19f7c8 100644 +--- a/etc-services ++++ b/etc-services +@@ -72,8 +72,8 @@ pop2 109/tcp postoffice pop-2 # POP version 2 + pop2 109/udp pop-2 + pop3 110/tcp pop-3 # POP version 3 + pop3 110/udp pop-3 +-sunrpc 111/tcp portmapper # RPC 4.0 portmapper +-sunrpc 111/udp portmapper ++sunrpc 111/tcp portmapper rpcbind # RPC 4.0 portmapper ++sunrpc 111/udp portmapper rpcbind + auth 113/tcp authentication tap ident + sftp 115/tcp + uucp-path 117/tcp +-- +1.7.9.5 + diff --git a/import-layers/yocto-poky/meta/recipes-core/netbase/netbase_5.3.bb b/import-layers/yocto-poky/meta/recipes-core/netbase/netbase_5.3.bb new file mode 100644 index 000000000..ccd89ff84 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-core/netbase/netbase_5.3.bb @@ -0,0 +1,24 @@ +SUMMARY = "Basic TCP/IP networking support" +DESCRIPTION = "This package provides the necessary infrastructure for basic TCP/IP based networking" +HOMEPAGE = "http://packages.debian.org/netbase" +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" +PE = "1" + +SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \ + file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \ + file://hosts" + +SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1" +SRC_URI[sha256sum] = "81f6c69795044d62b8ad959cf9daf049d0545fd466c52860ad3f933b1e97b88b" + +do_install () { + install -d ${D}/${mandir}/man8 ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts + install -m 0644 etc-rpc ${D}${sysconfdir}/rpc + install -m 0644 etc-protocols ${D}${sysconfdir}/protocols + install -m 0644 etc-services ${D}${sysconfdir}/services +} + +CONFFILES_${PN} = "${sysconfdir}/hosts" |