summaryrefslogtreecommitdiff
path: root/build-chroot.sh
diff options
context:
space:
mode:
authorAlexander Hill <ahill@breadpudding.dev>2025-04-14 22:19:01 -0400
committerAlexander Hill <ahill@breadpudding.dev>2025-04-14 22:19:01 -0400
commit6a9c9665a693a6922909f5aecb65f683a2447448 (patch)
tree96015baefb9b472821d2a59e17210180a3ac9c93 /build-chroot.sh
parent814580185ec18223a5f755478306210739686376 (diff)
Booted with an initramfs!
Diffstat (limited to 'build-chroot.sh')
-rwxr-xr-xbuild-chroot.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index 8f4779d..3c9880d 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -431,11 +431,17 @@ LLVM=1 make -j $THREADS mrproper
cp /maple/linux.$(uname -m).config .config
LLVM=1 make -j $THREADS
LLVM=1 make -j $THREADS install
+LLVM=1 make -j $THREADS modules_install
cd ..
# kmod Build
tar xf ../sources/kmod-*.tar*
cd kmod-*/
+# FIXME: kmod's meson script attempts to invoke sh via the add_install_script
+# and confuses muon, so it starts searching for sh in the current
+# directory. As a workaround, we will tweak the invocation to point
+# directly to /bin/sh. ~ahill
+sed -i "s/add_install_script('sh'/add_install_script('\/bin\/sh'/" meson.build
# NOTE: Might enable zstd later, but I want to make sure that the lack of
# Facebook's software doesn't negatively impact the open source world.
# ~ahill
@@ -447,11 +453,6 @@ muon setup \
-Dzstd=disabled \
build
muon samu -C build
-# FIXME: kmod's meson script attempts to invoke sh via the add_install_script
-# and confuses muon, so it starts searching for sh in the current
-# directory. As a workaround, we will tweak the invocation to point
-# directly to /bin/sh. ~ahill
-sed -i "s/add_install_script('sh'/add_install_script('\/bin\/sh'/" meson.build
muon -C build install
cd ..