From 03a0c532c271a90c8d12dae6beaef2ccce8ec9ce Mon Sep 17 00:00:00 2001 From: zhaoxiaohu Date: Thu, 29 Aug 2024 15:19:57 +0800 Subject: [PATCH] explicitly note that util-linux's mount/swap are required Signed-off-by: zhaoxiaohu --- ...y-note-that-util-linux-s-mount-swap-.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 backport-README-explicitly-note-that-util-linux-s-mount-swap-.patch diff --git a/backport-README-explicitly-note-that-util-linux-s-mount-swap-.patch b/backport-README-explicitly-note-that-util-linux-s-mount-swap-.patch new file mode 100644 index 0000000..fea640d --- /dev/null +++ b/backport-README-explicitly-note-that-util-linux-s-mount-swap-.patch @@ -0,0 +1,40 @@ +From 59c2b054cf3ea900915902e921f9fe4bdf1c039c Mon Sep 17 00:00:00 2001 +From: Luca Boccassi +Date: Fri, 10 Feb 2023 11:58:20 +0000 +Subject: [PATCH] README: explicitly note that util-linux's mount/swap are + required + +These are the most visible and hard requirements, as we use options that +busybox does not provide, so list them explicitly to avoid surprises + +(cherry picked from commit 164070e497f36b6d8055e4338e07188dd975f6f2) +(cherry picked from commit 0dc9f7335d37be2a90f34e20f04573331bf3e4d3) +(cherry picked from commit facb134183d72c31636f09bcae080cf9337a6877) +(cherry picked from commit 3271bc9bec20345edc09c7209852c90bafde874a) + +Reference: https://github.com/systemd/systemd-stable/pull/259/commits/59c2b054cf3ea900915902e921f9fe4bdf1c039c + +Signed-off-by: zhaoxiaohu +Signed-off-by: yuwang +--- + README | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/README b/README +index 0e5c326..a7ecbbd 100644 +--- a/README ++++ b/README +@@ -202,7 +202,9 @@ REQUIREMENTS: + During runtime, you need the following additional + dependencies: + +- util-linux >= v2.27.1 required ++ util-linux >= v2.27.1 required (including but not limited to: mount, ++ umount, swapon, swapoff, sulogin, ++ agetty, fsck) + dbus >= 1.4.0 (strictly speaking optional, but recommended) + NOTE: If using dbus < 1.9.18, you should override the default + policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d). +-- +2.33.0 +