summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-04-18 22:30:29 -0400
committerAlexander Hill <ahill@breadpudding.dev>2025-04-18 22:30:29 -0400
commit4eee072aa6ad9533da6f4f55c5388389051288f9 (patch)
tree0538f3e40974012e4989580f2ca2b0d96b27321e
parent0bb1df583e0d7132ab02c25ad84227bd014e69f9 (diff)
Added kbd and net-tools
-rwxr-xr-xbuild-chroot.sh31
-rw-r--r--sources.list2
2 files changed, 33 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index 1bb3750..3e3dc6f 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -491,6 +491,37 @@ sed -i "s/^-e//" local/capnames.h
make -j $THREADS install
cd ..
+# kbd Build
+tar xf ../sources/kbd-*.tar*
+cd kbd-*/
+# NOTE: The tests require a software called autom4te to function. Ignoring the
+# additional dependency for now. ~ahill
+./configure \
+ --disable-nls \
+ --disable-static \
+ --disable-tests \
+ --exec-prefix="" \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc
+make -j $THREADS
+make -j $THREADS install
+cd ..
+
+# net-tools Build
+tar xf ../sources/net-tools-*.tar*
+cd net-tools-*/
+# NOTE: We are passing BASH=1 because the configure script apparently relies on
+# some bashism and zsh doesn't set this environment variable. Nobody tell
+# it that we aren't actually using bash. :) ~ahill
+# NOTE: zsh doesn't support set -h, so we'll just patch that out. ~ahill
+sed -i "s/set -f -h/set -f/" configure.sh
+BASH=1 make config
+make -j $THREADS
+make -j $THREADS install
+cd ..
+
# User/Group Generation
echo "root:x:0:0::/home/root:/bin/zsh" > /etc/passwd
echo "root:x:0:root" > /etc/group
diff --git a/sources.list b/sources.list
index 9941b0a..6fdd616 100644
--- a/sources.list
+++ b/sources.list
@@ -15,6 +15,7 @@ f8c3486509de705192138b00ef2c00bbbdd0e84c30d5c07d23fc73a9dc4cc9cc,https://ftp.gnu
1bfeeafc78036e78c7b422219473987a6fa79bfdc1da673fcf20e4901399e09f,https://git.kernel.org/pub/scm/git/git.git/snapshot/git-2.49.0.tar.gz,
2649b27c0e90e632eadcd757be06c6e9a4f48d941de51e7c0f83ff76408a07b9,https://ftp.gnu.org/gnu/grep/grep-3.12.tar.xz,
01a7b881bd220bfdf615f97b8718f80bdfd3f6add385b993dcf6efd14e8c0ac6,https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz,
+f167d899d92b56ccf12f6f49355173f93870a95f15d8aeebf5fdcd28a621aca8,https://www.kernel.org/pub/linux/utils/kbd/kbd-2.7.1.tar.xz,
d1dfcf19b58133b6f39917e6e9560e33b73d9308282750d31501870c24f22c53,https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-34.2.tar.gz,
ed8b5732e4cd6e30fae909fb945cad8ff9cb7be5c6cdaa3944ec96e4a200c04c,https://libarchive.org/downloads/libarchive-3.7.9.tar.xz,
de4e7e064c9ba451d5234dd46e897d7c71c96a9ebf9a0c445bc04f4742d83632,https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.75.tar.xz,
@@ -31,6 +32,7 @@ c2ce8302e886b2d3534ec38896a824dc83f43698d085d57bb19a751611d94e86,https://git.sr.
a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4,https://musl.libc.org/releases/musl-1.2.5.tar.gz,
1412a1c760bbd05db026b6c0d1657affd6631cd0a63cddb6f73cc6d4aa616148,https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/nasm-2.16.03.tar.xz,
97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059,https://invisible-island.net/datafiles/release/ncurses.tar.gz,ncurses-6.3.tar.gz
+b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69,https://versaweb.dl.sourceforge.net/project/net-tools/net-tools-2.10.tar.xz,
a56bfc25c86620c6d04ee3037fbeb7f3cc508f6d0040ca006dea34b8ad2696e9,https://github.com/OpenRC/openrc/archive/refs/tags/0.61.tar.gz,openrc-0.61.tar.gz
02f8c45bb379ed0c3de7514fad48c714fd46be8f0b536bfd5320050165a1ee26,https://www.cpan.org/src/5.0/perl-5.40.1.tar.gz,
51203d99ed573fa7344bf07ca626f10c7cc094e0846ac4aa0023bd0c83c25a41,https://distfiles.ariadne.space/pkgconf/pkgconf-2.4.3.tar.xz,