summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb')
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb
new file mode 100644
index 0000000000..ef1945b4fe
--- /dev/null
+++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb
@@ -0,0 +1,50 @@
1SUMMARY = "The network configuration abstraction renderer"
2DESCRIPTION = "Netplan is a utility for easily configuring networking on a \
3linux system. You simply create a YAML description of the required network \
4interfaces and what each should be configured to do. From this description \
5Netplan will generate all the necessary configuration for your chosen renderer \
6tool."
7HOMEPAGE = "https://netplan.io"
8SECTION = "net/misc"
9
10LICENSE = "GPL-3.0-only"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12
13inherit meson pkgconfig systemd python3targetconfig features_check
14
15REQUIRED_DISTRO_FEATURES = "systemd"
16
17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=stable/1.1;protocol=https \
18 file://0001-meson.build-do-not-use-Werror.patch \
19 "
20
21SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch"
22
23SRCREV = "01045f683b9419beb90119497cd1b2be44e83b8e"
24
25
26DEPENDS = "glib-2.0 libyaml util-linux-libuuid \
27 systemd python3-cffi-native \
28 "
29
30EXTRA_OEMESON = "-Dtesting=false -Dunit_testing=false"
31
32RDEPENDS:${PN} = "python3-core python3-netifaces python3-pyyaml \
33 python3-dbus python3-rich python3-cffi \
34 python3-json python3-fcntl \
35 util-linux-libuuid libnetplan \
36 "
37
38do_install:append() {
39 install -d -m 755 ${D}${sysconfdir}/netplan
40}
41
42PACKAGES += "${PN}-dbus libnetplan"
43
44FILES:libnetplan = "${libdir}/libnetplan.so.*"
45FILES:${PN} = "${sbindir} ${libexecdir}/netplan/generate \
46 ${datadir}/netplan ${datadir}/bash-completion \
47 ${systemd_unitdir} ${PYTHON_SITEPACKAGES_DIR} \
48 ${sysconfdir}/netplan \
49 "
50FILES:${PN}-dbus = "${libexecdir}/netplan/netplan-dbus ${datadir}/dbus-1"