mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01:00
During ptest execution, util-linux adds mount entries in /etc/fstab and runs `mount -a`, which mounts all available entries from /etc/fstab. This can cause unintended mounts that are unrelated to the test, leading to incorrect test behavior. To avoid this, upstream util-linux introduced a mechanism using CUSTOM_FSTAB,which isolates test-specific fstab entries. Only entries listed in CUSTOM_FSTAB are mounted during test execution, ensuring tests do not interfere with or depend on the system's /etc/fstab. This commit backports below upstream changes to use CUSTOM_FSTAB.ed3d33faffb1580bd7606aa8d17b6b(From OE-Core rev: 94747fb63518bf907eb7c09fc2e146e39e235a7d) Signed-off-by: Virendra Thakur <virendra.thakur@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
48 lines
2.5 KiB
PHP
48 lines
2.5 KiB
PHP
SUMMARY = "A suite of basic system administration utilities"
|
|
HOMEPAGE = "https://en.wikipedia.org/wiki/Util-linux"
|
|
DESCRIPTION = "Util-linux includes a suite of basic system administration utilities \
|
|
commonly found on most Linux systems. Some of the more important utilities include \
|
|
disk partitioning, kernel message management, filesystem creation, and system login."
|
|
|
|
SECTION = "base"
|
|
|
|
LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause & BSD-4-Clause"
|
|
LICENSE:${PN}-libblkid = "LGPL-2.1-or-later"
|
|
LICENSE:${PN}-libfdisk = "LGPL-2.1-or-later"
|
|
LICENSE:${PN}-libmount = "LGPL-2.1-or-later"
|
|
LICENSE:${PN}-libsmartcols = "LGPL-2.1-or-later"
|
|
|
|
LIC_FILES_CHKSUM = "file://README.licensing;md5=0fd5c050c6187d2bf0a4492b7f4e33da \
|
|
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
file://Documentation/licenses/COPYING.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
file://Documentation/licenses/COPYING.LGPL-2.1-or-later;md5=4fbd65380cdd255951079008b364516c \
|
|
file://Documentation/licenses/COPYING.BSD-3-Clause;md5=58dcd8452651fc8b07d1f65ce07ca8af \
|
|
file://Documentation/licenses/COPYING.BSD-4-Clause-UC;md5=263860f8968d8bafa5392cab74285262 \
|
|
file://libuuid/COPYING;md5=6d2cafc999feb2c2de84d4d24b23290c \
|
|
file://libmount/COPYING;md5=7c7e39fb7d70ffe5d693a643e29987c2 \
|
|
file://libblkid/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \
|
|
file://libfdisk/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \
|
|
file://libsmartcols/COPYING;md5=693bcbbe16d3a4a4b37bc906bc01cc04 \
|
|
"
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/util-linux:"
|
|
MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
|
|
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \
|
|
file://configure-sbindir.patch \
|
|
file://runuser.pamd \
|
|
file://runuser-l.pamd \
|
|
file://ptest.patch \
|
|
file://run-ptest \
|
|
file://display_testname_for_subtest.patch \
|
|
file://avoid_parallel_tests.patch \
|
|
file://0001-check-for-sys-pidfd.h.patch \
|
|
file://CVE-2024-28085-0001.patch \
|
|
file://CVE-2024-28085-0002.patch \
|
|
file://CVE-2024-28085-0003.patch \
|
|
file://CVE-2024-28085-0004.patch \
|
|
file://CVE-2024-28085-0005.patch \
|
|
file://fstab-isolation.patch \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83"
|