summaryrefslogtreecommitdiffhomepage
path: root/patches/ubase
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-06-04 21:15:11 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-06-04 20:30:46 +0100
commitb87d00738674efb9a7636c986ef07cfb63b8e55c (patch)
tree1c3f6ab2b145174e29f0e98481c370481a414742 /patches/ubase
parente39963f923de8d8b8d28631a0433acbeb09bb47c (diff)
downloadmidipix_build-b87d00738674efb9a7636c986ef07cfb63b8e55c.tar.bz2
midipix_build-b87d00738674efb9a7636c986ef07cfb63b8e55c.tar.xz
ubase: disable utilities relying on sys/mount.h
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/ubase')
-rw-r--r--patches/ubase/Makefile.patch40
1 files changed, 40 insertions, 0 deletions
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 \