diff options
author | Anatoliy Odukha <aodukha@gmail.com> | 2021-08-05 14:22:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 14:22:58 +0300 |
commit | f29bd466855c3b57a264c34764504c0837ab0eb2 (patch) | |
tree | 9acfde74b457f8f555277179f0d8fa8ca44d1944 /recipes-test/demo-network-config/network-config.inc | |
parent | a0d9835bad4c86416323b1055315fc1fb09bcde5 (diff) | |
parent | f46d8ef7e0eaa3c3df743fff3821115697093d7b (diff) | |
download | meta-updater-f29bd466855c3b57a264c34764504c0837ab0eb2.tar.gz |
Merge pull request #816 from shr-project/jansa/master
Convert to new override syntax
Diffstat (limited to 'recipes-test/demo-network-config/network-config.inc')
-rw-r--r-- | recipes-test/demo-network-config/network-config.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-test/demo-network-config/network-config.inc b/recipes-test/demo-network-config/network-config.inc index b023f51..919d4ab 100644 --- a/recipes-test/demo-network-config/network-config.inc +++ b/recipes-test/demo-network-config/network-config.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | SRC_URI_append = "\ | 1 | SRC_URI:append = "\ |
2 | file://26-${CONF_TYPE}-client.network \ | 2 | file://26-${CONF_TYPE}-client.network \ |
3 | " | 3 | " |
4 | 4 | ||
@@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
7 | 7 | ||
8 | SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}" | 8 | SECONDARY_INTERFACE ?= "${@ 'eth0' if d.getVar('MACHINE') == 'raspberrypi3' else 'enp0s5'}" |
9 | 9 | ||
10 | do_install_append() { | 10 | do_install:append() { |
11 | bbnote "Network configuration type to be applied: ${CONF_TYPE}" | 11 | bbnote "Network configuration type to be applied: ${CONF_TYPE}" |
12 | install -d ${D}${libdir}/systemd/network | 12 | install -d ${D}${libdir}/systemd/network |
13 | install -m 0644 ${WORKDIR}/26-${CONF_TYPE}-client.network ${D}${libdir}/systemd/network/ | 13 | install -m 0644 ${WORKDIR}/26-${CONF_TYPE}-client.network ${D}${libdir}/systemd/network/ |