mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 23:17:10 +00:00
openvpn: openvpn-volatile.conf: avoid hardcoded localstatedir
Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
eb0a49cc9c
commit
07e8b8ebe3
@ -1 +1 @@
|
||||
d /var/run/openvpn 0755 root root -
|
||||
d @LOCALSTATEDIR@/run/openvpn 0755 root root -
|
||||
|
||||
@ -50,6 +50,7 @@ do_install_append() {
|
||||
|
||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||
install -m 0644 ${WORKDIR}/openvpn-volatile.conf ${D}${sysconfdir}/tmpfiles.d/openvpn.conf
|
||||
sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${sysconfdir}/tmpfiles.d/openvpn.conf
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user