Skip to contentSkip to conversation

cifs-utils: Remove bbappend and patch

PATCH In review Ryan Eatmon 2 participants 5 messages Dec 30, 2025 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 cifs-utils: Remove bbappend and patch

The only reason for this bbappend was to apply the patch, but the patch has been incorporated upstream.

---
 .../recipes-support/cifs/cifs-utils-arago.inc |  4 ---
 ...automake-treat-sbin-as-exec-not-data.patch | 35 -------------------
 .../cifs/cifs-utils_7.0.bbappend              |  4 ---
 3 files changed, 43 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-support/cifs/cifs-utils-arago.inc
 delete mode 100644 meta-arago-distro/recipes-support/cifs/cifs-utils/0001-cifs-utils-Make-automake-treat-sbin-as-exec-not-data.patch
 delete mode 100644 meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend
meta-arago-distro/recipes-support/cifs/cifs-utils-arago.inc deleted +0 -4
deleted file mode 100644
index 87b49cc6..00000000
@@ -1,4 +0,0 @@
-FILESEXTRAPATHS:prepend := "${THISDIR}/cifs-utils:"
-
-SRC_URI += "file://0001-cifs-utils-Make-automake-treat-sbin-as-exec-not-data.patch"
-
meta-arago-distro/recipes-support/cifs/cifs-utils/0001-cifs-utils-Make-automake-treat-sbin-as-exec-not-data.patch deleted +0 -35
deleted file mode 100644
index dd9c7958..00000000
@@ -1,35 +0,0 @@
-From fd5f395514256572c451127006a68483106cf2b8 Mon Sep 17 00:00:00 2001
-From: Daniel Parks <[email protected]>
-Date: Fri, 3 Jun 2022 15:34:59 -0500
-Subject: [PATCH] cifs-utils: Make automake treat /sbin as exec, not data
-
-Otherwise, $(DESTDIR)/sbin doesn't get created until install-data on a
--j1 build and install-exec-hook can fail because it might not exist.
-
-Steps to reproduce this bug:
-$ autoreconf -i
-$ ./configure
-$ mkdir image
-$ make DESTDIR=image install -j1
-
-Upstream-Status: Pending
-Signed-off-by: Daniel Parks <[email protected]>
----
- Makefile.am | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index e9be6b3..edb1b7f 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,8 +1,8 @@
- AM_CFLAGS = -Wall -Wextra -D_FORTIFY_SOURCE=2 $(PIE_CFLAGS) $(RELRO_CFLAGS)
- ACLOCAL_AMFLAGS = -I aclocal
- 
--root_sbindir = $(ROOTSBINDIR)
--root_sbin_PROGRAMS = mount.cifs
-+root_exec_sbindir = $(ROOTSBINDIR)
-+root_exec_sbin_PROGRAMS = mount.cifs
- mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
- mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD)
- include_HEADERS = cifsidmap.h
meta-arago-distro/recipes-support/cifs/cifs-utils_7.0.bbappend deleted +0 -4
deleted file mode 100644
index 4c9ce8db..00000000
@@ -1,4 +0,0 @@
-CIFS_UTILS_ARAGO = ""
-CIFS_UTILS_ARAGO:arago = "cifs-utils-arago.inc"
-
-require ${CIFS_UTILS_ARAGO}
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/4 cryptodev-module: Remove patch

Upstream has bumped to a version that already has this patch.

---
 .../cryptodev/cryptodev-module-arago.inc      |  4 --
 .../0001-Fix-build-for-Linux-6-18-rc1.patch   | 53 -------------------
 2 files changed, 57 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module/0001-Fix-build-for-Linux-6-18-rc1.patch
meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module-arago.inc +0 -4
index 9bd89679..74688f1c 100644
@@ -1,7 +1,3 @@
 PR:append = ".arago0"
 
 KERNEL_MODULE_AUTOLOAD += "cryptodev"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/cryptodev-module:"
-
-SRC_URI += "file://0001-Fix-build-for-Linux-6-18-rc1.patch"
meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module/0001-Fix-build-for-Linux-6-18-rc1.patch deleted +0 -53

53 lines not on this page · raw message

Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/4 FIXME: ltp-ddt: Add support for 6.18 kernel headers

In reply to Ryan Eatmon

A spare struct variable is now being used, but one of the ltp-ddt tests was referring to the "spare" name.

We need a better long term fix from ltp-ddt, but in the short term this patch can get us building again.

---
 ...unt04-Update-for-6.18-kernel-headers.patch | 54 +++++++++++++++++++
 .../ltp-ddt/ltp-ddt_20250130.bb               |  2 +
 2 files changed, 56 insertions(+)
 create mode 100644 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-listmount04-Update-for-6.18-kernel-headers.patch
meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-listmount04-Update-for-6.18-kernel-headers.patch new file +54 -0
new file mode 100644
index 00000000..2c002e40
@@ -0,0 +1,54 @@
+From 2dab76490d8d9b30119204a6376e00176fad9b07 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <[email protected]>
+Date: Mon, 29 Dec 2025 12:42:29 -0600
+Subject: [PATCH] listmount04: Update for 6.18 kernel headers
+
+The spare slot is now being used as of the 6.18 kernel.
+
+Upstream-Status: Pending
+
+Signed-off-by: Ryan Eatmon <[email protected]>
+---
+ testcases/kernel/syscalls/listmount/listmount04.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/testcases/kernel/syscalls/listmount/listmount04.c b/testcases/kernel/syscalls/listmount/listmount04.c
+index d38408d2c..2053532f6 100644
+--- a/testcases/kernel/syscalls/listmount/listmount04.c
++++ b/testcases/kernel/syscalls/listmount/listmount04.c
+@@ -28,7 +28,7 @@ static uint64_t mnt_ids[MNT_SIZE];
+ static struct tcase {
+ 	int req_usage;
+ 	uint32_t size;
+-	uint32_t spare;
++	uint32_t mnt_ns_fd;
+ 	uint64_t mnt_id;
+ 	uint64_t param;
+ 	uint64_t *mnt_ids;
+@@ -75,12 +75,12 @@ static struct tcase {
+ 	{
+ 		.req_usage = 1,
+ 		.size = MNT_ID_REQ_SIZE_VER0,
+-		.spare = -1,
++		.mnt_ns_fd = -1,
+ 		.mnt_id = LSMT_ROOT,
+ 		.mnt_ids = mnt_ids,
+ 		.nr_mnt_ids = MNT_SIZE,
+ 		.exp_errno = EINVAL,
+-		.msg = "invalid mnt_id_req.spare",
++		.msg = "invalid mnt_id_req.mnt_ns_fd",
+ 	},
+ 	{
+ 		.req_usage = 1,
+@@ -124,7 +124,7 @@ static void run(unsigned int n)
+ 		req->mnt_id = tc->mnt_id;
+ 		req->param = tc->param;
+ 		req->size = tc->size;
+-		req->spare = tc->spare;
++		req->mnt_ns_fd = tc->mnt_ns_fd;
+ 	}
+ 
+ 	TST_EXP_FAIL(tst_syscall(__NR_listmount, req, tc->mnt_ids,
+-- 
+2.43.0
+
meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250130.bb +2 -0
index d92bfb9b..11bbf13a 100644
@@ -15,6 +15,8 @@ BRANCH ?= "master"
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
 SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} "
 
+SRC_URI += "file://0001-listmount04-Update-for-6.18-kernel-headers.patch"
+
 export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"
 
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/4 FIXME: tisdk-tiny-initramfs: Increase allowed size

In reply to Ryan Eatmon

The initramfs keeps growing, we need to figure out what is inflating it and what we can prune out to get back to our 64k desired size. In the meantime, increase the allowed size so we can get builds going.

---
 meta-arago-distro/recipes-core/images/tisdk-tiny-initramfs.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/images/tisdk-tiny-initramfs.bb +2 -2
index e19be8a6..157248e1 100644
@@ -16,8 +16,8 @@ IMAGE_FEATURES:remove = "package-management"
 
 INITRAMFS_FSTYPES = "cpio cpio.xz"
 
-#INITRAMFS_MAXSIZE = "65536"
-IMAGE_OVERHEAD_FACTOR = "1.1"
+INITRAMFS_MAXSIZE = "200000"
+IMAGE_OVERHEAD_FACTOR = "1.3"
 
 IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 
Signature · 1 line
2.43.0
#4 lore raw
In reply to Ryan Eatmon

meta-arago / na / 20251230165135.3505628-1-reatmon

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/4] cifs-utils: Remove bbappend and patch
- Submitter: From: Ryan Eatmon <[email protected]>
-From: Daniel Parks <[email protected]>
- Date: Date: Tue, 30 Dec 2025 10:51:29 -0600
-Date: Fri, 3 Jun 2022 15:34:59 -0500
- Num Patches: 4
- Mailing List (public inbox) Commit SHA: 15ce80ba633e011bb50db6f443fed9f23d271ff1

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202512191404
- Commit SHA: c38be2eb3b16b176476f04572877129f82a0dff4

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed