~carbslinux/repository

ref: 3f17c8c2a94792638ef1849c97862bd1380cbb0e repository/extra/ubase/build -rwxr-xr-x 406 bytes
3f17c8c2Cem Keylan META: Fix all usage of kiss, replace all with cpt 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
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 cpt
# if the user doesn't have sudo or doas installed.
unlink "$1/usr/bin/su"