summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-04-16 21:14:31 -0400
committerAlexander Hill <ahill@breadpudding.dev>2025-04-16 21:14:31 -0400
commit54161c112ef173a21a39bbcd51c8db4c3125aa48 (patch)
tree6b877b20d27bb95e55e015665bf1aadd508dc452
parent2c1bf51a9134b2e40a28c23ef9a0a42d5f923995 (diff)
Added procps-ng
-rwxr-xr-xbuild-chroot.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index 57b33e8..5331048 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -468,6 +468,29 @@ cd tinyramfs-*/
make install PREFIX=/usr
cd ..
+# procps-ng Build
+tar xf ../sources/procps-ng-*.tar*
+cd procps-ng-*/
+# FIXME: Why does this not detect the ncurses we just built? Do we need a
+# pkgconf file for this? Why didn't ncurses build one? ~ahill
+./configure \
+ --disable-nls \
+ --disable-static \
+ --enable-year2038 \
+ --exec-prefix="" \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --without-ncurses
+make -j $THREADS
+# FIXME: For some reason, a -e sneaks its way into local/capnames.h, which
+# causes a syntax error to occur. This is an incredibly jank patch and I
+# don't know what causes this yet. ~ahill
+sed -i "s/^-e//" local/capnames.h
+make -j $THREADS install
+cd ..
+
# Finally, make the image bootable.
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/