From f243f9b393deb014f88a53d9048d31212a89bde7 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 28 May 2020 17:41:03 +0300 Subject: ubase: move to extra --- extra/ubase/build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 extra/ubase/build (limited to 'extra/ubase/build') diff --git a/extra/ubase/build b/extra/ubase/build new file mode 100755 index 00000000..dc26aff0 --- /dev/null +++ b/extra/ubase/build @@ -0,0 +1,14 @@ +#!/bin/sh -e + +make CFLAGS="$CFLAGS -static" ubase-box +make DESTDIR="$1" PREFIX=/usr ubase-box-install + +# stat in ubase is not a good option at the time +# being. It has almost none of the options stat +# is used for. +unlink "$1/usr/bin/stat" + +# You cannot execute commands with the ubase +# implementation of su, which might break kiss +# if the user doesn't have sudo or doas installed. +unlink "$1/usr/bin/su" -- cgit v1.2.3