explicitly note that util-linux's mount/swap are required

Signed-off-by: zhaoxiaohu <zhaoxiaohu@kuaishou.com>
This commit is contained in:
zhaoxiaohu 2024-08-29 15:19:57 +08:00 committed by zhangyao
parent 44807ab13c
commit 03a0c532c2

View File

@ -0,0 +1,40 @@
From 59c2b054cf3ea900915902e921f9fe4bdf1c039c Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@debian.org>
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 <zhaoxiaohu@kuaishou.com>
Signed-off-by: yuwang <yuwang@kuaishou.com>
---
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