| Message ID | 20260511-bash-rr-v2-1-4987ca21e7d8@non.se.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-networking,v2] openvpn: create an extra package for the dns-updown script | expand |
On Mon, May 11, 2026 at 4:56 AM Louis Rannou via lists.openembedded.org <louis.rannou=semalibre.com@lists.openembedded.org> wrote: > From: Louis Rannou <louis.rannou@non.se.com> > > The dns-updown script is written in bash which is under the GPLv3 > license. As this script is optional, it is preffered to have it in an extra > package. > Does ptest work ok after this change ? > > Signed-off-by: Louis Rannou <louis.rannou@non.se.com> > --- > change in v2: new package openvpn-dns-updown > --- > meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb > b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb > index 0cbe4641cd..6ddebde4d1 100644 > --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb > +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb > @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = > "--enable-iproute2,,iproute2,iproute2-ip" > PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" > PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" > > -RDEPENDS:${PN}:append = " bash" > +RDEPENDS:${PN}-dns-updown:append = " bash" > RDEPENDS:${PN}-ptest:append = " bash" > > do_install:append() { > @@ -114,7 +114,7 @@ do_install_ptest() { > cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} > } > > -PACKAGES =+ " ${PN}-sample " > +PACKAGES =+ " ${PN}-dns-updown ${PN}-sample " > > RRECOMMENDS:${PN} = "kernel-module-tun" > > @@ -124,5 +124,6 @@ FILES:${PN} += > "${systemd_system_unitdir}/openvpn-server@.service \ > ${systemd_system_unitdir}/openvpn-client@.service \ > ${nonarch_libdir}/tmpfiles.d \ > " > +FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown" > FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ > " > > --- > base-commit: 420222862f5a6d95023b8f5f3b7e1808b2264ef9 > change-id: 20260506-bash-rr-5fd0820519e4 > > Best regards, > -- > Louis Rannou <louis.rannou@non.se.com> > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#126849): > https://lists.openembedded.org/g/openembedded-devel/message/126849 > Mute This Topic: https://lists.openembedded.org/mt/119254470/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
12 mai 2026 06:35:59 Khem Raj <raj.khem@gmail.com>: > > > On Mon, May 11, 2026 at 4:56 AM Louis Rannou via lists.openembedded.org[http://lists.openembedded.org] <louis.rannou=semalibre.com@lists.openembedded.org> wrote: >> From: Louis Rannou <louis.rannou@non.se.com> >> >> The dns-updown script is written in bash which is under the GPLv3 >> license. As this script is optional, it is preffered to have it in an extra >> package. > > Does ptest work ok after this change ? I get some errors but I suppose they are parts of the test as the result looks fine: DURATION: 84 END: /usr/lib/openvpn/ptest 2026-05-12T07:56 STOP: ptest-runner TOTAL: 1 FAIL: 0 > >> >> Signed-off-by: Louis Rannou <louis.rannou@non.se.com> >> --- >> change in v2: new package openvpn-dns-updown >> --- >> meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb] | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb] b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb] >> index 0cbe4641cd..6ddebde4d1 100644 >> --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb] >> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb] >> @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = "--enable-iproute2,,iproute2,iproute2-ip" >> PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" >> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" >> >> -RDEPENDS:${PN}:append = " bash" >> +RDEPENDS:${PN}-dns-updown:append = " bash" >> RDEPENDS:${PN}-ptest:append = " bash" >> >> do_install:append() { >> @@ -114,7 +114,7 @@ do_install_ptest() { >> cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} >> } >> >> -PACKAGES =+ " ${PN}-sample " >> +PACKAGES =+ " ${PN}-dns-updown ${PN}-sample " >> >> RRECOMMENDS:${PN} = "kernel-module-tun" >> >> @@ -124,5 +124,6 @@ FILES:${PN} += "${systemd_system_unitdir}/openvpn-server@.service \ >> ${systemd_system_unitdir}/openvpn-client@.service \ >> ${nonarch_libdir}/tmpfiles.d \ >> " >> +FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown" >> FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ >> " >> >> --- >> base-commit: 420222862f5a6d95023b8f5f3b7e1808b2264ef9 >> change-id: 20260506-bash-rr-5fd0820519e4 >> >> Best regards, >> -- >> Louis Rannou <louis.rannou@non.se.com> >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> View/Reply Online (#126849): https://lists.openembedded.org/g/openembedded-devel/message/126849 >> Mute This Topic: https://lists.openembedded.org/mt/119254470/1997914 >> Group Owner: openembedded-devel+owner@lists.openembedded.org[openembedded-devel%2Bowner@lists.openembedded.org] >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >>
Hi Louis, Thank you for the update on the test results. Regarding the errors you mentioned, could you please clarify if these occur both with and without the proposed change to the openvpn recipe? I am interested to know if these are pre-existing issues or if they are specific to the new package structure. -Khem On Tue, May 12, 2026, 1:09 AM Louis Rannou <louis.rannou@semalibre.com> wrote: > 12 mai 2026 06:35:59 Khem Raj <raj.khem@gmail.com>: > > > > > > > On Mon, May 11, 2026 at 4:56 AM Louis Rannou via lists.openembedded.org[ > http://lists.openembedded.org] <louis.rannou= > semalibre.com@lists.openembedded.org> wrote: > >> From: Louis Rannou <louis.rannou@non.se.com> > >> > >> The dns-updown script is written in bash which is under the GPLv3 > >> license. As this script is optional, it is preffered to have it in an > extra > >> package. > > > > Does ptest work ok after this change ? > > I get some errors but I suppose they are parts of the test as the result > looks fine: > > DURATION: 84 > END: /usr/lib/openvpn/ptest > 2026-05-12T07:56 > STOP: ptest-runner > TOTAL: 1 FAIL: 0 > > > > > >> > >> Signed-off-by: Louis Rannou <louis.rannou@non.se.com> > >> --- > >> change in v2: new package openvpn-dns-updown > >> --- > >> meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb] | 5 +++-- > >> 1 file changed, 3 insertions(+), 2 deletions(-) > >> > >> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb] b/meta-networking/recipes-support/openvpn/ > openvpn_2.7.0.bb[http://openvpn_2.7.0.bb] > >> index 0cbe4641cd..6ddebde4d1 100644 > >> --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb] > >> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb] > >> @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = > "--enable-iproute2,,iproute2,iproute2-ip" > >> PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" > >> PACKAGECONFIG[selinux] = > "--enable-selinux,--disable-selinux,libselinux" > >> > >> -RDEPENDS:${PN}:append = " bash" > >> +RDEPENDS:${PN}-dns-updown:append = " bash" > >> RDEPENDS:${PN}-ptest:append = " bash" > >> > >> do_install:append() { > >> @@ -114,7 +114,7 @@ do_install_ptest() { > >> cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} > >> } > >> > >> -PACKAGES =+ " ${PN}-sample " > >> +PACKAGES =+ " ${PN}-dns-updown ${PN}-sample " > >> > >> RRECOMMENDS:${PN} = "kernel-module-tun" > >> > >> @@ -124,5 +124,6 @@ FILES:${PN} += > "${systemd_system_unitdir}/openvpn-server@.service \ > >> ${systemd_system_unitdir}/openvpn-client@.service \ > >> ${nonarch_libdir}/tmpfiles.d \ > >> " > >> +FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown" > >> FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ > >> " > >> > >> --- > >> base-commit: 420222862f5a6d95023b8f5f3b7e1808b2264ef9 > >> change-id: 20260506-bash-rr-5fd0820519e4 > >> > >> Best regards, > >> -- > >> Louis Rannou <louis.rannou@non.se.com> > >> > >> -=-=-=-=-=-=-=-=-=-=-=- > >> Links: You receive all messages sent to this group. > >> View/Reply Online (#126849): > https://lists.openembedded.org/g/openembedded-devel/message/126849 > >> Mute This Topic: https://lists.openembedded.org/mt/119254470/1997914 > >> Group Owner: openembedded-devel+owner@lists.openembedded.org[ > openembedded-devel%2Bowner@lists.openembedded.org] > >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub > [raj.khem@gmail.com] > >> -=-=-=-=-=-=-=-=-=-=-=- > >> > >
12 mai 2026 15:32:07 Khem Raj <raj.khem@gmail.com>: > Hi Louis, > > Thank you for the update on the test results. > > Regarding the errors you mentioned, could you please clarify if these occur both with and without the proposed change to the openvpn recipe? I am interested to know if these are pre-existing issues or if they are specific to the new package structure. Hello, This is coming from the past. Below are the errors on wrynose head for qemuarm64: root@qemuarm64:~# grep -A1 -B1 ERROR logs Timestamp (0) of auth-token is out of the renewal window ERROR: --auth-token wrong size (21!=60) PASS: [ OK ] auth_token_test_empty_user -- [ RUN ] tls_crypt_v2_wrap_too_long_metadata ERROR: could not crypt: insufficient space in dst PASS: [ OK ] tls_crypt_v2_wrap_too_long_metadata -- [ RUN ] test_get_user_pass_inline_creds_assertions FATAL ERROR:ERROR: UT username is empty Expected assertion FATAL ERROR occurred PASS: [ OK ] test_get_user_pass_inline_creds_assertions [ RUN ] test_get_user_pass_authfile_stdin_assertions FATAL ERROR:ERROR: UT username is empty Expected assertion FATAL ERROR occurred PASS: [ OK ] test_get_user_pass_authfile_stdin_assertions [ RUN ] test_get_user_pass_authfile_file_assertions FATAL ERROR:Error reading username from UT authfile: ./unit_tests/openvpn/input/empty.txt Expected assertion FATAL ERROR occurred FATAL ERROR:Error reading password from UT authfile: ./unit_tests/openvpn/input/empty.txt Expected assertion FATAL ERROR occurred PASS: [ OK ] test_get_user_pass_authfile_file_assertions Louis > > -Khem > > > On Tue, May 12, 2026, 1:09 AM Louis Rannou <louis.rannou@semalibre.com> wrote: >> 12 mai 2026 06:35:59 Khem Raj <raj.khem@gmail.com>: >> >>> >>> >>> On Mon, May 11, 2026 at 4:56 AM Louis Rannou via lists.openembedded.org[http://lists.openembedded.org][http://lists.openembedded.org] <louis.rannou=semalibre.com@lists.openembedded.org> wrote: >>>> From: Louis Rannou <louis.rannou@non.se.com> >>>> >>>> The dns-updown script is written in bash which is under the GPLv3 >>>> license. As this script is optional, it is preffered to have it in an extra >>>> package. >>> >>> Does ptest work ok after this change ? >> >> I get some errors but I suppose they are parts of the test as the result looks fine: >> >> DURATION: 84 >> END: /usr/lib/openvpn/ptest >> 2026-05-12T07:56 >> STOP: ptest-runner >> TOTAL: 1 FAIL: 0 >> >> >>> >>>> >>>> Signed-off-by: Louis Rannou <louis.rannou@non.se.com> >>>> --- >>>> change in v2: new package openvpn-dns-updown >>>> --- >>>> meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] | 5 +++-- >>>> 1 file changed, 3 insertions(+), 2 deletions(-) >>>> >>>> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] >>>> index 0cbe4641cd..6ddebde4d1 100644 >>>> --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] >>>> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] >>>> @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = "--enable-iproute2,,iproute2,iproute2-ip" >>>> PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" >>>> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" >>>> >>>> -RDEPENDS:${PN}:append = " bash" >>>> +RDEPENDS:${PN}-dns-updown:append = " bash" >>>> RDEPENDS:${PN}-ptest:append = " bash" >>>> >>>> do_install:append() { >>>> @@ -114,7 +114,7 @@ do_install_ptest() { >>>> cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} >>>> } >>>> >>>> -PACKAGES =+ " ${PN}-sample " >>>> +PACKAGES =+ " ${PN}-dns-updown ${PN}-sample " >>>> >>>> RRECOMMENDS:${PN} = "kernel-module-tun" >>>> >>>> @@ -124,5 +124,6 @@ FILES:${PN} += "${systemd_system_unitdir}/openvpn-server@.service \ >>>> ${systemd_system_unitdir}/openvpn-client@.service \ >>>> ${nonarch_libdir}/tmpfiles.d \ >>>> " >>>> +FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown" >>>> FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ >>>> " >>>> >>>> --- >>>> base-commit: 420222862f5a6d95023b8f5f3b7e1808b2264ef9 >>>> change-id: 20260506-bash-rr-5fd0820519e4 >>>> >>>> Best regards, >>>> -- >>>> Louis Rannou <louis.rannou@non.se.com> >>>> >>>> -=-=-=-=-=-=-=-=-=-=-=- >>>> Links: You receive all messages sent to this group. >>>> View/Reply Online (#126849): https://lists.openembedded.org/g/openembedded-devel/message/126849 >>>> Mute This Topic: https://lists.openembedded.org/mt/119254470/1997914 >>>> Group Owner: openembedded-devel+owner@lists.openembedded.org[openembedded-devel%2Bowner@lists.openembedded.org][openembedded-devel%2Bowner@lists.openembedded.org[openembedded-devel%252Bowner@lists.openembedded.org]] >>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] >>>> -=-=-=-=-=-=-=-=-=-=-=- >>>> >>
Thanks On Tue, May 12, 2026, 7:08 AM Louis Rannou <louis.rannou@semalibre.com> wrote: > 12 mai 2026 15:32:07 Khem Raj <raj.khem@gmail.com>: > > > Hi Louis, > > > > Thank you for the update on the test results. > > > > Regarding the errors you mentioned, could you please clarify if these > occur both with and without the proposed change to the openvpn recipe? I am > interested to know if these are pre-existing issues or if they are specific > to the new package structure. > > Hello, > > This is coming from the past. Below are the errors on wrynose head for > qemuarm64: > > > root@qemuarm64:~# grep -A1 -B1 ERROR logs > Timestamp (0) of auth-token is out of the renewal window > ERROR: --auth-token wrong size (21!=60) > PASS: [ OK ] auth_token_test_empty_user > -- > [ RUN ] tls_crypt_v2_wrap_too_long_metadata > ERROR: could not crypt: insufficient space in dst > PASS: [ OK ] tls_crypt_v2_wrap_too_long_metadata > -- > [ RUN ] test_get_user_pass_inline_creds_assertions > FATAL ERROR:ERROR: UT username is empty > Expected assertion FATAL ERROR occurred > PASS: [ OK ] test_get_user_pass_inline_creds_assertions > [ RUN ] test_get_user_pass_authfile_stdin_assertions > FATAL ERROR:ERROR: UT username is empty > Expected assertion FATAL ERROR occurred > PASS: [ OK ] test_get_user_pass_authfile_stdin_assertions > [ RUN ] test_get_user_pass_authfile_file_assertions > FATAL ERROR:Error reading username from UT authfile: > ./unit_tests/openvpn/input/empty.txt > Expected assertion FATAL ERROR occurred > FATAL ERROR:Error reading password from UT authfile: > ./unit_tests/openvpn/input/empty.txt > Expected assertion FATAL ERROR occurred > PASS: [ OK ] test_get_user_pass_authfile_file_assertions > > Louis > > > > > -Khem > > > > > > On Tue, May 12, 2026, 1:09 AM Louis Rannou <louis.rannou@semalibre.com> > wrote: > >> 12 mai 2026 06:35:59 Khem Raj <raj.khem@gmail.com>: > >> > >>> > >>> > >>> On Mon, May 11, 2026 at 4:56 AM Louis Rannou via > lists.openembedded.org[http://lists.openembedded.org][ > http://lists.openembedded.org] <louis.rannou= > semalibre.com@lists.openembedded.org> wrote: > >>>> From: Louis Rannou <louis.rannou@non.se.com> > >>>> > >>>> The dns-updown script is written in bash which is under the GPLv3 > >>>> license. As this script is optional, it is preffered to have it in an > extra > >>>> package. > >>> > >>> Does ptest work ok after this change ? > >> > >> I get some errors but I suppose they are parts of the test as the > result looks fine: > >> > >> DURATION: 84 > >> END: /usr/lib/openvpn/ptest > >> 2026-05-12T07:56 > >> STOP: ptest-runner > >> TOTAL: 1 FAIL: 0 > >> > >> > >>> > >>>> > >>>> Signed-off-by: Louis Rannou <louis.rannou@non.se.com> > >>>> --- > >>>> change in v2: new package openvpn-dns-updown > >>>> --- > >>>> meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] | 5 +++-- > >>>> 1 file changed, 3 insertions(+), 2 deletions(-) > >>>> > >>>> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb > [http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] > b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] > >>>> index 0cbe4641cd..6ddebde4d1 100644 > >>>> --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] > >>>> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb[ > http://openvpn_2.7.0.bb][http://openvpn_2.7.0.bb] > >>>> @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = > "--enable-iproute2,,iproute2,iproute2-ip" > >>>> PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" > >>>> PACKAGECONFIG[selinux] = > "--enable-selinux,--disable-selinux,libselinux" > >>>> > >>>> -RDEPENDS:${PN}:append = " bash" > >>>> +RDEPENDS:${PN}-dns-updown:append = " bash" > >>>> RDEPENDS:${PN}-ptest:append = " bash" > >>>> > >>>> do_install:append() { > >>>> @@ -114,7 +114,7 @@ do_install_ptest() { > >>>> cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} > >>>> } > >>>> > >>>> -PACKAGES =+ " ${PN}-sample " > >>>> +PACKAGES =+ " ${PN}-dns-updown ${PN}-sample " > >>>> > >>>> RRECOMMENDS:${PN} = "kernel-module-tun" > >>>> > >>>> @@ -124,5 +124,6 @@ FILES:${PN} += > "${systemd_system_unitdir}/openvpn-server@.service \ > >>>> ${systemd_system_unitdir}/openvpn-client@.service \ > >>>> ${nonarch_libdir}/tmpfiles.d \ > >>>> " > >>>> +FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown" > >>>> FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ > >>>> " > >>>> > >>>> --- > >>>> base-commit: 420222862f5a6d95023b8f5f3b7e1808b2264ef9 > >>>> change-id: 20260506-bash-rr-5fd0820519e4 > >>>> > >>>> Best regards, > >>>> -- > >>>> Louis Rannou <louis.rannou@non.se.com> > >>>> > >>>> -=-=-=-=-=-=-=-=-=-=-=- > >>>> Links: You receive all messages sent to this group. > >>>> View/Reply Online (#126849): > https://lists.openembedded.org/g/openembedded-devel/message/126849 > >>>> Mute This Topic: https://lists.openembedded.org/mt/119254470/1997914 > >>>> Group Owner: openembedded-devel+owner@lists.openembedded.org[ > openembedded-devel%2Bowner@lists.openembedded.org][ > openembedded-devel%2Bowner@lists.openembedded.org[ > openembedded-devel%252Bowner@lists.openembedded.org]] > >>>> Unsubscribe: > https://lists.openembedded.org/g/openembedded-devel/unsub [ > raj.khem@gmail.com] > >>>> -=-=-=-=-=-=-=-=-=-=-=- > >>>> > >> > >
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb index 0cbe4641cd..6ddebde4d1 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = "--enable-iproute2,,iproute2,iproute2-ip" PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" -RDEPENDS:${PN}:append = " bash" +RDEPENDS:${PN}-dns-updown:append = " bash" RDEPENDS:${PN}-ptest:append = " bash" do_install:append() { @@ -114,7 +114,7 @@ do_install_ptest() { cp -f ${S}/tests/t_lpback.sh ${D}/${PTEST_PATH} } -PACKAGES =+ " ${PN}-sample " +PACKAGES =+ " ${PN}-dns-updown ${PN}-sample " RRECOMMENDS:${PN} = "kernel-module-tun" @@ -124,5 +124,6 @@ FILES:${PN} += "${systemd_system_unitdir}/openvpn-server@.service \ ${systemd_system_unitdir}/openvpn-client@.service \ ${nonarch_libdir}/tmpfiles.d \ " +FILES:${PN}-dns-updown = "${libexecdir}/openvpn/dns-updown" FILES:${PN}-sample = "${sysconfdir}/openvpn/sample/ \ "