diff options
| -rw-r--r-- | meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb b/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb new file mode 100644 index 0000000000..15b60af02e --- /dev/null +++ b/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | # SPDX-License-Identifier: MIT | ||
| 2 | # | ||
| 3 | # Copyright Leica Geosystems AG | ||
| 4 | # | ||
| 5 | |||
| 6 | SUMMARY = "systemd-repart" | ||
| 7 | DESCRIPTION = "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5), or generates a Discoverable Disk Image (DDI) for a system extension (sysext, see systemd-sysext(8))." | ||
| 8 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" | ||
| 9 | |||
| 10 | LICENSE = "GPL-2.0-only & LGPL-2.1-or-later" | ||
| 11 | LICENSE:libsystemd = "LGPL-2.1-or-later" | ||
| 12 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ | ||
| 13 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" | ||
| 14 | |||
| 15 | SRCREV = "00a12c234e2506f5cab683460199575f13c454db" | ||
| 16 | SRCBRANCH = "v257-stable" | ||
| 17 | SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | DEPENDS = " \ | ||
| 22 | cryptsetup-native \ | ||
| 23 | gperf-native \ | ||
| 24 | libcap \ | ||
| 25 | python3-jinja2-native \ | ||
| 26 | util-linux \ | ||
| 27 | " | ||
| 28 | |||
| 29 | inherit meson pkgconfig gettext native | ||
| 30 | |||
| 31 | MESON_TARGET = "systemd-repart" | ||
| 32 | |||
| 33 | # Helper variables to clarify locations. This mirrors the logic in systemd's | ||
| 34 | # build system. | ||
| 35 | rootprefix ?= "${root_prefix}" | ||
| 36 | rootlibdir ?= "${base_libdir}" | ||
| 37 | rootlibexecdir = "${rootprefix}/lib" | ||
| 38 | |||
| 39 | EXTRA_OEMESON += "-Dnobody-user=nobody \ | ||
| 40 | -Dnobody-group=nogroup \ | ||
| 41 | -Drootlibdir=${rootlibdir} \ | ||
| 42 | -Drootprefix=${rootprefix} \ | ||
| 43 | -Ddefault-locale=C \ | ||
| 44 | -Dmode=release \ | ||
| 45 | -Dsystem-alloc-uid-min=101 \ | ||
| 46 | -Dsystem-uid-max=999 \ | ||
| 47 | -Dsystem-alloc-gid-min=101 \ | ||
| 48 | -Dsystem-gid-max=999 \ | ||
| 49 | " | ||
| 50 | |||
| 51 | do_install() { | ||
| 52 | install -d ${D}${bindir}/ | ||
| 53 | install -m 0755 ${B}/systemd-repart ${D}${bindir}/systemd-repart | ||
| 54 | install -d ${D}${libdir}/ | ||
| 55 | install -m 0644 ${B}/src/shared/libsystemd-shared-257.so ${D}${libdir}/libsystemd-shared-257.so | ||
| 56 | |||
| 57 | install -d ${D}${libdir}/systemd/repart/ | ||
| 58 | cp -r ${S}/src/repart/definitions ${D}${libdir}/systemd/repart/ | ||
| 59 | } | ||
