ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit 6529caebe20540a403522e30057f258d56a2b5ed
parent 82c99b16a75f5dc66544c297dbbdaf39942b95fe
Author: sin <sin@2f30.org>
Date:   Mon, 31 Mar 2014 12:18:32 +0100

Update README

Diffstat:
MREADME | 33+++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)

diff --git a/README b/README @@ -1,7 +1,32 @@ -ubase is a set of tools similar to util-linux to complement sbase[1]. +ubase - suckless linux base utils +================================= -Build a statically linked version of sbase-box with musl: +ubase is a collection of tools similar in spirit to util-linux but +much simpler. - make CC=musl-gcc LDFLAGS=-static ubase-box +The following programs are currently implemented: -[1] http://git.suckless.org/sbase + chvt clear ctrlaltdel df dmesg eject fallocate free getty halt id + insmod killall5 lsmod lsusb mknod mkswap mount mountpoint pagesize + pidof pivot_root ps rmmod stat su swapoff swapon 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 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. + +Ideally you will want to statically link ubase. We highly recommend +using musl-libc[2]. + +[1] http://git.suckless.org/sbase/ +[2] http://www.musl-libc.org/