diff options
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.inc | 1 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.36.2.bb | 6 |
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 | ||
8 | S = "${WORKDIR}/util-linux-${PV}" | 8 | S = "${WORKDIR}/util-linux-${PV}" |
9 | EXTRA_OECONF += "--disable-all-programs --enable-libuuid" | 9 | EXTRA_OECONF += "--disable-all-programs --enable-libuuid" |
10 | PACKAGES = "util-linux-libuuid util-linux-libuuid-dev util-linux-libuuid-staticdev util-linux-libuuid-dbg" | 10 | LICENSE = "BSD-3-Clause" |
11 | FILES_util-linux-libuuid = "${libdir}/libuuid.so.*" | ||
12 | FILES_util-linux-libuuid-dev = "${libdir}/libuuid.so ${includedir} ${libdir}/pkgconfig" | ||
13 | FILES_util-linux-libuuid-staticdev = "${libdir}/libuuid.a" | ||
14 | FILES_util-linux-libuuid-dbg = "/usr/src ${libdir}/.debug" | ||
15 | 11 | ||
16 | do_install_append() { | 12 | do_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+" | |||
11 | LICENSE_${PN}-libfdisk = "LGPLv2.1+" | 11 | LICENSE_${PN}-libfdisk = "LGPLv2.1+" |
12 | LICENSE_${PN}-libmount = "LGPLv2.1+" | 12 | LICENSE_${PN}-libmount = "LGPLv2.1+" |
13 | LICENSE_${PN}-libsmartcols = "LGPLv2.1+" | 13 | LICENSE_${PN}-libsmartcols = "LGPLv2.1+" |
14 | LICENSE_${PN}-libuuid = "BSD-3-Clause" | ||
15 | 14 | ||
16 | LIC_FILES_CHKSUM = "file://README.licensing;md5=0fd5c050c6187d2bf0a4492b7f4e33da \ | 15 | LIC_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 |
4 | inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest | 4 | inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest |
5 | DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-uuid" | 5 | DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid" |
6 | 6 | ||
7 | PACKAGES =+ "${PN}-swaponoff" | 7 | PACKAGES =+ "${PN}-swaponoff" |
8 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', '${PN}-pylibmount', '', d)}" | 8 | PACKAGES += "${@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 |
50 | PACKAGE_PREPROCESS_FUNCS =+ "util_linux_binpackages " | 50 | PACKAGE_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 |
53 | python util_linux_libpackages() { | 53 | python 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 |
206 | do_install_append () { | 206 | do_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* |