blob: 3868b1c41d3062e14084d9edb1b9113790e06d91 [file] [log] [blame]
Andrew Geissler95ac1b82021-03-31 14:34:31 -05001SUMMARY = "A suite of basic system administration utilities"
2HOMEPAGE = "https://en.wikipedia.org/wiki/Util-linux"
3DESCRIPTION = "Util-linux includes a suite of basic system administration utilities \
4commonly found on most Linux systems. Some of the more important utilities include \
5disk partitioning, kernel message management, filesystem creation, and system login."
6
7SECTION = "base"
8
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00009LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause & BSD-4-Clause"
10LICENSE:${PN}-libblkid = "LGPL-2.1-or-later"
11LICENSE:${PN}-libfdisk = "LGPL-2.1-or-later"
12LICENSE:${PN}-libmount = "LGPL-2.1-or-later"
13LICENSE:${PN}-libsmartcols = "LGPL-2.1-or-later"
Andrew Geissler95ac1b82021-03-31 14:34:31 -050014
15LIC_FILES_CHKSUM = "file://README.licensing;md5=0fd5c050c6187d2bf0a4492b7f4e33da \
16 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
17 file://Documentation/licenses/COPYING.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
18 file://Documentation/licenses/COPYING.LGPL-2.1-or-later;md5=4fbd65380cdd255951079008b364516c \
19 file://Documentation/licenses/COPYING.BSD-3-Clause;md5=58dcd8452651fc8b07d1f65ce07ca8af \
20 file://Documentation/licenses/COPYING.BSD-4-Clause-UC;md5=263860f8968d8bafa5392cab74285262 \
21 file://libuuid/COPYING;md5=6d2cafc999feb2c2de84d4d24b23290c \
22 file://libmount/COPYING;md5=7c7e39fb7d70ffe5d693a643e29987c2 \
23 file://libblkid/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \
24 file://libfdisk/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \
25 file://libsmartcols/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \
26"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028FILESEXTRAPATHS:prepend := "${THISDIR}/util-linux:"
Andrew Geissler95ac1b82021-03-31 14:34:31 -050029MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
William A. Kennington IIIac69b482021-06-02 12:28:27 -070030SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \
Andrew Geissler95ac1b82021-03-31 14:34:31 -050031 file://configure-sbindir.patch \
32 file://runuser.pamd \
33 file://runuser-l.pamd \
34 file://ptest.patch \
35 file://run-ptest \
36 file://display_testname_for_subtest.patch \
37 file://avoid_parallel_tests.patch \
Patrick Williams92b42cb2022-09-03 06:53:57 -050038 file://0001-check-for-sys-pidfd.h.patch \
39 file://0001-configure.ac-Improve-check-for-magic.patch \
Andrew Geissler95ac1b82021-03-31 14:34:31 -050040 "
Andrew Geissler5f350902021-07-23 13:09:54 -040041
Patrick Williams92b42cb2022-09-03 06:53:57 -050042SRC_URI[sha256sum] = "60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f"