sin 6e3c035db8 Properly signal failure if command fails in ubase-box
Similar fix as the one provided by emg for sbase.
2014-11-10 23:40:00 +00:00
2014-10-02 23:47:39 +01:00
2013-11-25 21:33:58 +00:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-10-16 11:28:01 +01:00
2014-06-04 15:16:24 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-06-11 11:54:38 +01:00
2014-06-30 19:04:47 +01:00
2014-04-13 16:40:56 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 16:50:20 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-06-26 16:26:14 +01:00
2014-06-26 16:07:11 +01:00
2014-10-02 23:47:39 +01:00
2014-04-12 14:23:28 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-06-11 15:47:23 +01:00
2014-10-02 23:47:39 +01:00
2014-06-26 16:09:01 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-08-18 18:29:38 +01:00
2014-10-02 23:47:39 +01:00
2014-08-18 18:29:38 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-08-04 21:01:00 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 17:00:42 +01:00
2014-10-02 23:47:39 +01:00
2014-04-12 15:03:31 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 17:45:35 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 17:00:42 +01:00
2014-10-02 23:47:39 +01:00
2014-04-12 14:57:50 +01:00
2014-10-02 23:47:39 +01:00
2014-07-10 22:04:06 +01:00
2014-10-02 23:47:39 +01:00
2014-07-14 11:14:36 +01:00
2014-04-13 16:36:34 +01:00
2014-10-02 23:47:39 +01:00
2014-04-12 19:36:59 +01:00
2014-10-02 23:47:39 +01:00
2013-08-16 16:42:59 +01:00
2014-04-13 17:30:40 +01:00
2014-06-30 14:19:57 +01:00
2014-10-02 23:47:39 +01:00
2014-10-16 12:36:03 +01:00
2013-08-19 16:34:18 +01:00
2014-10-02 23:47:39 +01:00
2014-04-12 15:21:21 +01:00
2014-10-02 23:47:39 +01:00
2014-06-03 15:15:21 +01:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-06-09 16:44:47 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-04-14 14:36:40 +01:00
2014-10-02 23:47:39 +01:00
2014-07-10 22:04:06 +01:00
2014-11-07 20:40:09 +00:00
2014-04-13 16:40:56 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 16:28:58 +01:00
2014-10-02 23:47:39 +01:00
2014-04-13 14:53:59 +01:00
2014-10-02 23:47:39 +01:00
2014-04-14 09:28:01 +01:00
2014-10-02 23:47:39 +01:00

ubase - suckless linux base utils
=================================

ubase is  a collection of  tools similar  in spirit to  util-linux but
much simpler.

The following programs are currently implemented:

chvt
clear
ctrlaltdel
dd
df
dmesg
eject
fallocate
free
freeramdisk
fsfreeze
getty
halt
hwclock
id
insmod
killall5
last
lastlog
login
lsmod
lsusb
mesg
mknod
mkswap
mount
mountpoint
pagesize
passwd
pidof
pivot_root
ps
readahead
respawn
rmmod
stat
su
swapoff
swapon
switch_root
sysctl
truncate
umount
unshare
uptime
watch
who

The complement  of ubase  is sbase[1] which  mostly follows  POSIX and
provides all the portable tools.  Together they are intended to form a
base system similar to busybox but much smaller and suckless.

Building
--------

To  build ubase,  simply  type  make.  You  may  have  to fiddle  with
config.mk and config.h depending on your system.

You  can  also  build  ubase-box,  which  generates  a  single  binary
containing  all  the  required  tools.    You  can  then  symlink  the
individual tools to ubase-box or run them directly as follows:

  ubase-box cmd [args]

Ideally you will  want to statically link ubase.   We highly recommend
using musl-libc[2].

ubase is known to compile with gcc, clang and tcc.

[1] http://git.suckless.org/sbase/
[2] http://www.musl-libc.org/
Description
Mirror of Suckless' ubase (git://git.suckless.org/ubase)
Readme 481 KiB
2022-02-11 10:57:15 -05:00
Languages
C 80.4%
Roff 15.9%
Makefile 3.7%