diff options
| author | Luca Fancellu <luca.fancellu@arm.com> | 2023-10-11 17:33:45 +0100 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-10-17 08:23:02 -0400 |
| commit | 2893fbcaf5a383ec48516e16018b6800ac153cfa (patch) | |
| tree | 545bdc6c9bd5f493e0e8ffc780033e98f40b67b6 | |
| parent | bd0b9a017b5ec00adecfb4a47cc25e524ed70bc8 (diff) | |
| download | meta-openembedded-2893fbcaf5a383ec48516e16018b6800ac153cfa.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>
(cherry picked from commit 34c5bea19d67b36e572cb71c11fd553ac9f35a28)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -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" |
