mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-26 20:28:23 +00:00
linuxptp: install default configuration file in sysconfdir
Install a default configuration files to be used in
${sysconfdir}/linuxptp, the default.cfg file from linuxptp
is used.
Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 34c5bea19d67b36e572cb71c11fd553ac9f35a28)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
bd0b9a017b
commit
2893fbcaf5
@ -30,6 +30,11 @@ do_install() {
|
|||||||
install -d ${D}${docdir}/${PN}
|
install -d ${D}${docdir}/${PN}
|
||||||
cp -R --no-dereference --preserve=mode,links ${S}/configs \
|
cp -R --no-dereference --preserve=mode,links ${S}/configs \
|
||||||
${D}${docdir}/${PN}
|
${D}${docdir}/${PN}
|
||||||
|
|
||||||
|
# Install default configuration files
|
||||||
|
install -d ${D}/${sysconfdir}/linuxptp/
|
||||||
|
install -m 644 ${S}/configs/default.cfg \
|
||||||
|
${D}${sysconfdir}/linuxptp/ptp4l.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-configs"
|
PACKAGES =+ "${PN}-configs"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user