diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-02-25 17:29:50 +0000 |
|---|---|---|
| committer | Ross Burton <ross.burton@arm.com> | 2025-02-27 20:28:17 +0000 |
| commit | e5643c6ba5af912fcab7bab90c8178e59ccb3f4f (patch) | |
| tree | f76b58ea87a6bb4408dfe9e76bc9597826e5d6d6 /meta-oe/recipes-graphics/tigervnc | |
| parent | 5fdfe5b2ffe7b9d5cd807785ac43698dc247968b (diff) | |
| download | meta-openembedded-e5643c6ba5af912fcab7bab90c8178e59ccb3f4f.tar.gz | |
tigervnc: fix systemd unit packaging
Pass the correct path so the unit is installed where it should be, and
use the systemd class to ensure the unit is enabled correctly.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Diffstat (limited to 'meta-oe/recipes-graphics/tigervnc')
| -rw-r--r-- | meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb index 4d2bb1f063..6e4d4a7b0c 100644 --- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb +++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" | |||
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
| 11 | 11 | ||
| 12 | inherit autotools cmake features_check pkgconfig | 12 | inherit autotools cmake features_check pkgconfig systemd |
| 13 | 13 | ||
| 14 | REQUIRED_DISTRO_FEATURES = "x11 pam" | 14 | REQUIRED_DISTRO_FEATURES = "x11 pam" |
| 15 | 15 | ||
| @@ -79,7 +79,7 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ | |||
| 79 | --disable-xwayland \ | 79 | --disable-xwayland \ |
| 80 | " | 80 | " |
| 81 | 81 | ||
| 82 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" | 82 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" |
| 83 | 83 | ||
| 84 | do_configure:append () { | 84 | do_configure:append () { |
| 85 | olddir=`pwd` | 85 | olddir=`pwd` |
| @@ -124,7 +124,8 @@ FILES:${PN} += " \ | |||
| 124 | ${libdir}/xorg/modules/extensions \ | 124 | ${libdir}/xorg/modules/extensions \ |
| 125 | ${datadir}/icons \ | 125 | ${datadir}/icons \ |
| 126 | ${datadir}/metainfo \ | 126 | ${datadir}/metainfo \ |
| 127 | ${systemd_unitdir} \ | ||
| 128 | " | 127 | " |
| 129 | 128 | ||
| 130 | FILES:${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" | 129 | FILES:${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" |
| 130 | |||
| 131 | SYSTEMD_SERVICE:${PN} = "vncserver@.service" | ||
