aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-28 17:41:03 +0300
committerCem Keylan <cem@ckyln.com>2020-05-28 17:41:03 +0300
commitf243f9b393deb014f88a53d9048d31212a89bde7 (patch)
tree729e779398dd0d3755b84652b33631e9e227d77e /extra
parent01b36fdbc4ef59c5f5eac7cce79f532cabe72bd8 (diff)
downloadrepository-f243f9b393deb014f88a53d9048d31212a89bde7.tar.gz
ubase: move to extra
Diffstat (limited to 'extra')
-rwxr-xr-xextra/ubase/build14
-rw-r--r--extra/ubase/checksums1
-rw-r--r--extra/ubase/message5
-rw-r--r--extra/ubase/sources1
-rw-r--r--extra/ubase/version1
5 files changed, 22 insertions, 0 deletions
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"
diff --git a/extra/ubase/checksums b/extra/ubase/checksums
new file mode 100644
index 00000000..55f96ce1
--- /dev/null
+++ b/extra/ubase/checksums
@@ -0,0 +1 @@
+git git+https://github.com/michaelforney/ubase
diff --git a/extra/ubase/message b/extra/ubase/message
new file mode 100644
index 00000000..9a9d57af
--- /dev/null
+++ b/extra/ubase/message
@@ -0,0 +1,5 @@
+NOTE:
+
+ Carbs Linux init by default uses busybox getty, rather than
+ ubase getty (which has a different argument scheme). You can
+ change the getty command from '/etc/init/getty.boot'.
diff --git a/extra/ubase/sources b/extra/ubase/sources
new file mode 100644
index 00000000..df146ec5
--- /dev/null
+++ b/extra/ubase/sources
@@ -0,0 +1 @@
+git+https://github.com/michaelforney/ubase
diff --git a/extra/ubase/version b/extra/ubase/version
new file mode 100644
index 00000000..a383ea1a
--- /dev/null
+++ b/extra/ubase/version
@@ -0,0 +1 @@
+git 1