From cec921c1bdc3011e438f6bff93c1a790606e1b86 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Fri, 5 Jan 2018 09:39:09 -0800 Subject: [PATCH] busybox: add upstream patch to fix umount from systemd --- .../patches/busybox-01-umount-ignore-c.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 packages/sysutils/busybox/patches/busybox-01-umount-ignore-c.patch diff --git a/packages/sysutils/busybox/patches/busybox-01-umount-ignore-c.patch b/packages/sysutils/busybox/patches/busybox-01-umount-ignore-c.patch new file mode 100644 index 0000000000..30cd3b256b --- /dev/null +++ b/packages/sysutils/busybox/patches/busybox-01-umount-ignore-c.patch @@ -0,0 +1,23 @@ + +Signed-off-by: Shawn Landden +--- + util-linux/umount.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/util-linux/umount.c b/util-linux/umount.c +index a6405dfcc..b45cd8a6b 100644 +--- a/util-linux/umount.c ++++ b/util-linux/umount.c +@@ -81,8 +81,8 @@ static struct mntent *getmntent_r(FILE* stream, struct mntent* result, + } + #endif + +-/* ignored: -v -t -i */ +-#define OPTION_STRING "fldnra" "vt:i" ++/* ignored: -c -v -t -i */ ++#define OPTION_STRING "fldnra" "cvt:i" + #define OPT_FORCE (1 << 0) // Same as MNT_FORCE + #define OPT_LAZY (1 << 1) // Same as MNT_DETACH + #define OPT_FREELOOP (1 << 2) +-- +2.14.1