From b87d00738674efb9a7636c986ef07cfb63b8e55c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Thu, 4 Jun 2020 21:15:11 +0200 Subject: ubase: disable utilities relying on sys/mount.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/ubase/Makefile.patch | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 patches/ubase/Makefile.patch (limited to 'patches/ubase') diff --git a/patches/ubase/Makefile.patch b/patches/ubase/Makefile.patch new file mode 100644 index 00000000..837b9f8e --- /dev/null +++ b/patches/ubase/Makefile.patch @@ -0,0 +1,40 @@ +diff -ru ubase.orig/Makefile ubase/Makefile +--- ubase.orig/Makefile 2020-06-04 16:28:46.959510474 +0200 ++++ ubase/Makefile 2020-06-04 16:34:28.406481119 +0200 +@@ -37,17 +37,14 @@ + LIB = $(LIBUTIL) + + BIN = \ +- blkdiscard \ + chvt \ + clear \ + ctrlaltdel \ +- dd \ + df \ + dmesg \ + eject \ + fallocate \ + free \ +- freeramdisk \ + fsfreeze \ + getty \ + halt \ +@@ -63,7 +60,6 @@ + mesg \ + mknod \ + mkswap \ +- mount \ + mountpoint \ + nologin \ + pagesize \ +@@ -80,10 +76,8 @@ + swaplabel \ + swapoff \ + swapon \ +- switch_root \ + sysctl \ + truncate \ +- umount \ + unshare \ + uptime \ + vtallow \ -- cgit v1.2.3