summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/util-linux/util-linux-libuuid_2.36.2.bb (renamed from meta/recipes-core/util-linux/util-linux-uuid_2.36.2.bb)6
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc1
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.36.2.bb6
3 files changed, 4 insertions, 9 deletions
diff --git a/meta/recipes-core/util-linux/util-linux-uuid_2.36.2.bb b/meta/recipes-core/util-linux/util-linux-libuuid_2.36.2.bb
index 65e4d23b7e..9612c491cd 100644
--- a/meta/recipes-core/util-linux/util-linux-uuid_2.36.2.bb
+++ b/meta/recipes-core/util-linux/util-linux-libuuid_2.36.2.bb
@@ -7,11 +7,7 @@ inherit autotools gettext pkgconfig
7 7
8S = "${WORKDIR}/util-linux-${PV}" 8S = "${WORKDIR}/util-linux-${PV}"
9EXTRA_OECONF += "--disable-all-programs --enable-libuuid" 9EXTRA_OECONF += "--disable-all-programs --enable-libuuid"
10PACKAGES = "util-linux-libuuid util-linux-libuuid-dev util-linux-libuuid-staticdev util-linux-libuuid-dbg" 10LICENSE = "BSD-3-Clause"
11FILES_util-linux-libuuid = "${libdir}/libuuid.so.*"
12FILES_util-linux-libuuid-dev = "${libdir}/libuuid.so ${includedir} ${libdir}/pkgconfig"
13FILES_util-linux-libuuid-staticdev = "${libdir}/libuuid.a"
14FILES_util-linux-libuuid-dbg = "/usr/src ${libdir}/.debug"
15 11
16do_install_append() { 12do_install_append() {
17 rm -rf ${D}${datadir} ${D}${bindir} ${D}${base_bindir} ${D}${sbindir} ${D}${base_sbindir} ${D}${exec_prefix}/sbin 13 rm -rf ${D}${datadir} ${D}${bindir} ${D}${base_bindir} ${D}${sbindir} ${D}${base_sbindir} ${D}${exec_prefix}/sbin
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 4031c586c9..cbf6102ee0 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -11,7 +11,6 @@ LICENSE_${PN}-libblkid = "LGPLv2.1+"
11LICENSE_${PN}-libfdisk = "LGPLv2.1+" 11LICENSE_${PN}-libfdisk = "LGPLv2.1+"
12LICENSE_${PN}-libmount = "LGPLv2.1+" 12LICENSE_${PN}-libmount = "LGPLv2.1+"
13LICENSE_${PN}-libsmartcols = "LGPLv2.1+" 13LICENSE_${PN}-libsmartcols = "LGPLv2.1+"
14LICENSE_${PN}-libuuid = "BSD-3-Clause"
15 14
16LIC_FILES_CHKSUM = "file://README.licensing;md5=0fd5c050c6187d2bf0a4492b7f4e33da \ 15LIC_FILES_CHKSUM = "file://README.licensing;md5=0fd5c050c6187d2bf0a4492b7f4e33da \
17 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 16 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
diff --git a/meta/recipes-core/util-linux/util-linux_2.36.2.bb b/meta/recipes-core/util-linux/util-linux_2.36.2.bb
index 50a70cd452..c79cf782d1 100644
--- a/meta/recipes-core/util-linux/util-linux_2.36.2.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.36.2.bb
@@ -2,7 +2,7 @@ require util-linux.inc
2 2
3#gtk-doc is not enabled as it requires xmlto which requires util-linux 3#gtk-doc is not enabled as it requires xmlto which requires util-linux
4inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest 4inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest
5DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-uuid" 5DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid"
6 6
7PACKAGES =+ "${PN}-swaponoff" 7PACKAGES =+ "${PN}-swaponoff"
8PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', '${PN}-pylibmount', '', d)}" 8PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', '${PN}-pylibmount', '', d)}"
@@ -49,7 +49,7 @@ python util_linux_binpackages () {
49# we must execute before update-alternatives PACKAGE_PREPROCESS_FUNCS 49# we must execute before update-alternatives PACKAGE_PREPROCESS_FUNCS
50PACKAGE_PREPROCESS_FUNCS =+ "util_linux_binpackages " 50PACKAGE_PREPROCESS_FUNCS =+ "util_linux_binpackages "
51 51
52# skip libuuid as it will be packaged by the util-linux-uuid recipe 52# skip libuuid as it will be packaged by the util-linux-libuuid recipe
53python util_linux_libpackages() { 53python util_linux_libpackages() {
54 do_split_packages(d, root=d.getVar('UTIL_LINUX_LIBDIR'), file_regex=r'^lib(?!uuid)(.*)\.so\..*$', 54 do_split_packages(d, root=d.getVar('UTIL_LINUX_LIBDIR'), file_regex=r'^lib(?!uuid)(.*)\.so\..*$',
55 output_pattern='${PN}-lib%s', 55 output_pattern='${PN}-lib%s',
@@ -201,7 +201,7 @@ do_install_append_class-native () {
201 rm -f ${D}${base_bindir}/kill 201 rm -f ${D}${base_bindir}/kill
202} 202}
203 203
204# dm-verity support introduces a circular build dependency, so util-linux-uuid is split out for target builds 204# dm-verity support introduces a circular build dependency, so util-linux-libuuid is split out for target builds
205# Need to build libuuid for uuidgen, but then delete it and let the other recipe ship it 205# Need to build libuuid for uuidgen, but then delete it and let the other recipe ship it
206do_install_append () { 206do_install_append () {
207 rm -rf ${D}${includedir}/uuid ${D}${libdir}/pkgconfig/uuid.pc ${D}${libdir}/libuuid* ${D}${base_libdir}/libuuid* 207 rm -rf ${D}${includedir}/uuid ${D}${libdir}/pkgconfig/uuid.pc ${D}${libdir}/libuuid* ${D}${base_libdir}/libuuid*