summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-network-config/secondary-network-config.bb
blob: 9091c65a045d62ac69102c070879ef07152898c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "Sample network configuration for an Uptane Secondary"
LICENSE = "CLOSED"

inherit allarch

SRC_URI = "\
    file://26-dhcp-client.network \
    file://27-dhcp-client-external.network \
    "


FILES_${PN} = "/usr/lib/systemd/network"

PR = "1"

do_install() {
    install -d ${D}/usr/lib/systemd/network
    install -m 0644 ${WORKDIR}/26-dhcp-client.network ${D}/usr/lib/systemd/network/
    install -m 0644 ${WORKDIR}/27-dhcp-client-external.network ${D}/usr/lib/systemd/network/
}