diff options
author | Luca Fancellu <luca.fancellu@arm.com> | 2023-10-11 17:33:45 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-10-13 13:23:50 -0700 |
commit | 34c5bea19d67b36e572cb71c11fd553ac9f35a28 (patch) | |
tree | ad251dbab7c1bad5e21988a8bd286b0eebe1dd4e /meta-oe/recipes-connectivity | |
parent | da5aaaa1d7fad44017c6814b6459c77598a5779d (diff) | |
download | meta-openembedded-34c5bea19d67b36e572cb71c11fd553ac9f35a28.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb index 0b559df8c3..3c7efbdeca 100644 --- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb | |||
@@ -30,6 +30,11 @@ do_install() { | |||
30 | install -d ${D}${docdir}/${PN} | 30 | install -d ${D}${docdir}/${PN} |
31 | cp -R --no-dereference --preserve=mode,links ${S}/configs \ | 31 | cp -R --no-dereference --preserve=mode,links ${S}/configs \ |
32 | ${D}${docdir}/${PN} | 32 | ${D}${docdir}/${PN} |
33 | |||
34 | # Install default configuration files | ||
35 | install -d ${D}/${sysconfdir}/linuxptp/ | ||
36 | install -m 644 ${S}/configs/default.cfg \ | ||
37 | ${D}${sysconfdir}/linuxptp/ptp4l.conf | ||
33 | } | 38 | } |
34 | 39 | ||
35 | PACKAGES =+ "${PN}-configs" | 40 | PACKAGES =+ "${PN}-configs" |