diff options
| author | Peter Kjellerstedt <pkj@axis.com> | 2025-06-05 23:31:20 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-12 11:03:43 +0100 |
| commit | 0e4ef3bed7716d659ebdf2b3ad13bd7fdf29ac02 (patch) | |
| tree | 6b51db4dcd41d2ebbda82e8c1a6f9c1121e0a5bd | |
| parent | 08bf2e18f7ce707ed68aaf8c557f520964ef1a5a (diff) | |
| download | poky-0e4ef3bed7716d659ebdf2b3ad13bd7fdf29ac02.tar.gz | |
util-linux: Move the license information to the recipe
util-linux does not share the license information with
util-linux-libuuid so it makes no sense to have it in the util-linux.inc
file.
This also drops libuuid/COPYING from LIC_FILES_CHKSUM as libuuid is not
built by this recipe.
License-Update: See above
(From OE-Core rev: 8752842551ea4f8ae8d76befdf453a872908f173)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 23 | ||||
| -rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.41.bb | 22 |
2 files changed, 22 insertions, 23 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index fc5add37ac..6611ec0fe7 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
| @@ -6,29 +6,6 @@ disk partitioning, kernel message management, filesystem creation, and system lo | |||
| 6 | 6 | ||
| 7 | SECTION = "base" | 7 | SECTION = "base" |
| 8 | 8 | ||
| 9 | LICENSE = "GPL-1.0-or-later & GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-2-Clause & BSD-3-Clause & BSD-4-Clause-UC & MIT & EUPL-1.2" | ||
| 10 | LICENSE:${PN}-fcntl-lock = "MIT" | ||
| 11 | LICENSE:${PN}-fdisk = "GPL-1.0-or-later" | ||
| 12 | LICENSE:${PN}-libblkid = "LGPL-2.1-or-later" | ||
| 13 | LICENSE:${PN}-libfdisk = "LGPL-2.1-or-later" | ||
| 14 | LICENSE:${PN}-libmount = "LGPL-2.1-or-later" | ||
| 15 | LICENSE:${PN}-libsmartcols = "LGPL-2.1-or-later" | ||
| 16 | LICENSE:${PN}-coresched = "EUPL-1.2" | ||
| 17 | |||
| 18 | LIC_FILES_CHKSUM = "file://README.licensing;md5=55e895a80bdd4ffc65e167a76d2e7569 \ | ||
| 19 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 20 | file://Documentation/licenses/COPYING.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 21 | file://Documentation/licenses/COPYING.LGPL-2.1-or-later;md5=4fbd65380cdd255951079008b364516c \ | ||
| 22 | file://Documentation/licenses/COPYING.BSD-3-Clause;md5=58dcd8452651fc8b07d1f65ce07ca8af \ | ||
| 23 | file://Documentation/licenses/COPYING.BSD-4-Clause-UC;md5=263860f8968d8bafa5392cab74285262 \ | ||
| 24 | file://Documentation/licenses/COPYING.EUPL-1.2;md5=c075d2767167a2355b23392018a1cbbd \ | ||
| 25 | file://libuuid/COPYING;md5=6d2cafc999feb2c2de84d4d24b23290c \ | ||
| 26 | file://libmount/COPYING;md5=7c7e39fb7d70ffe5d693a643e29987c2 \ | ||
| 27 | file://libblkid/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \ | ||
| 28 | file://libfdisk/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \ | ||
| 29 | file://libsmartcols/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \ | ||
| 30 | " | ||
| 31 | |||
| 32 | FILESEXTRAPATHS:prepend := "${THISDIR}/util-linux:" | 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/util-linux:" |
| 33 | MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" | 10 | MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" |
| 34 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \ | 11 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \ |
diff --git a/meta/recipes-core/util-linux/util-linux_2.41.bb b/meta/recipes-core/util-linux/util-linux_2.41.bb index 00036e8a68..18b8ac03b9 100644 --- a/meta/recipes-core/util-linux/util-linux_2.41.bb +++ b/meta/recipes-core/util-linux/util-linux_2.41.bb | |||
| @@ -1,5 +1,27 @@ | |||
| 1 | require util-linux.inc | 1 | require util-linux.inc |
| 2 | 2 | ||
| 3 | LICENSE = "GPL-1.0-or-later & GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-2-Clause & BSD-3-Clause & BSD-4-Clause-UC & MIT & EUPL-1.2" | ||
| 4 | LICENSE:${PN}-fcntl-lock = "MIT" | ||
| 5 | LICENSE:${PN}-fdisk = "GPL-1.0-or-later" | ||
| 6 | LICENSE:${PN}-libblkid = "LGPL-2.1-or-later" | ||
| 7 | LICENSE:${PN}-libfdisk = "LGPL-2.1-or-later" | ||
| 8 | LICENSE:${PN}-libmount = "LGPL-2.1-or-later" | ||
| 9 | LICENSE:${PN}-libsmartcols = "LGPL-2.1-or-later" | ||
| 10 | LICENSE:${PN}-coresched = "EUPL-1.2" | ||
| 11 | |||
| 12 | LIC_FILES_CHKSUM = "file://README.licensing;md5=55e895a80bdd4ffc65e167a76d2e7569 \ | ||
| 13 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 14 | file://Documentation/licenses/COPYING.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 15 | file://Documentation/licenses/COPYING.LGPL-2.1-or-later;md5=4fbd65380cdd255951079008b364516c \ | ||
| 16 | file://Documentation/licenses/COPYING.BSD-3-Clause;md5=58dcd8452651fc8b07d1f65ce07ca8af \ | ||
| 17 | file://Documentation/licenses/COPYING.BSD-4-Clause-UC;md5=263860f8968d8bafa5392cab74285262 \ | ||
| 18 | file://Documentation/licenses/COPYING.EUPL-1.2;md5=c075d2767167a2355b23392018a1cbbd \ | ||
| 19 | file://libmount/COPYING;md5=7c7e39fb7d70ffe5d693a643e29987c2 \ | ||
| 20 | file://libblkid/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \ | ||
| 21 | file://libfdisk/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \ | ||
| 22 | file://libsmartcols/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \ | ||
| 23 | " | ||
| 24 | |||
| 3 | inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest gtk-doc | 25 | inherit autotools gettext manpages pkgconfig systemd update-alternatives python3-dir bash-completion ptest gtk-doc |
| 4 | DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid" | 26 | DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-libuuid" |
| 5 | 27 | ||
