Add a patch for setup script in netopeer2 to install the needed YANG models and provide a .bbappend file
Signed-off-by: Ravi Gunasekaran <[email protected]> --- .../0001-Add-EST-Yang-Models.patch | 17 +++++++++++++++++ .../netopeer2-server_git.bbappend | 6 ++++++ 2 files changed, 23 insertions(+) create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch create mode 100644 meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend diff --git a/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch b/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch new file mode 100644 index 00000000..10ed685d --- /dev/null +++ b/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server/0001-Add-EST-Yang-Models.patch @@ -0,0 +1,17 @@ +diff --git a/scripts/setup.sh b/scripts/setup.sh +index 7bba711..4a98e66 100755 +--- a/scripts/setup.sh ++++ b/scripts/setup.sh +@@ -41,6 +41,12 @@ MODULES=( + "[email protected]" + "[email protected] -e encode-xml -e replay -e subtree -e xpath" + "[email protected] -e on-change" ++"[email protected]" ++"[email protected]" ++"[email protected]" ++"[email protected]" ++"[email protected]" ++"[email protected]" + ) + + CMD_INSTALL= diff --git a/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend b/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend new file mode 100644 index 00000000..5be4bcae --- /dev/null +++ b/meta-arago-extras/recipes-sysrepo/netopeer2-server/netopeer2-server_git.bbappend @@ -0,0 +1,6 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0001-Add-EST-Yang-Models.patch" + +FILES:${PN} += "/usr/share/yang* /usr/share/netopeer2/* /usr/lib/sysrepo-plugind/*" + -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14567): https://lists.yoctoproject.org/g/meta-arago/message/14567 Mute This Topic: https://lists.yoctoproject.org/mt/99426848/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
