Skip to content

Commit

Permalink
Fix Yocto RDEPENDS and FILES syntax + add wg-quick.
Browse files Browse the repository at this point in the history
The Yocto syntax changed from _${PN} to :${PN} v4.

Closes #93.
  • Loading branch information
brocaar committed Nov 14, 2022
1 parent 6d0698b commit 788076f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
# procps is needed to work around the following wireguard error:
# sysctl: invalid option -- 'r'
# iproute2 is needed as busybox ip command does not implement all needed features.
RDEPENDS_${PN} = "wireguard-tools procps iproute2"
RDEPENDS:${PN} = "wireguard-tools wireguard-tools-wg-quick procps iproute2"

SRC_URI = " \
file://wireguard.init \
Expand All @@ -31,4 +31,4 @@ do_install() {
install -m 0640 ${WORKDIR}/wg0.conf ${D}${sysconfdir}/wireguard/wg0.conf
}

FILES_${PN} = "${sysconfdir}"
FILES:${PN} = "${sysconfdir}"

0 comments on commit 788076f

Please sign in to comment.