diff options
| author | Alexander Hill <ahill@breadpudding.dev> | 2025-04-13 22:19:27 -0400 |
|---|---|---|
| committer | Alexander Hill <ahill@breadpudding.dev> | 2025-04-13 22:19:27 -0400 |
| commit | 22f9b888235b9a96cb1e605c30e5de37178f2a22 (patch) | |
| tree | e45b1dd780a60671966401b2536bc1c3405723f0 /build-chroot.sh | |
| parent | e74bafa7e487008c0e6015697e5e47b191d80029 (diff) | |
Built kmod
Diffstat (limited to 'build-chroot.sh')
| -rwxr-xr-x | build-chroot.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh index 02c8876..7dbaa73 100755 --- a/build-chroot.sh +++ b/build-chroot.sh @@ -77,6 +77,7 @@ cd pkgconf-*/ --sysconfdir=/etc make -j $THREADS make -j $THREADS install +ln -s pkgconf /bin/pkg-config cd .. # Perl Build @@ -418,6 +419,28 @@ LLVM=1 make -j $THREADS LLVM=1 make -j $THREADS install cd .. +# kmod Build +tar xf ../sources/kmod-*.tar* +cd kmod-*/ +# 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 +# TODO: Is this the correct zsh directory to use? ~ahill +muon setup \ + -Dbashcompletiondir=no \ + -Dfishcompletiondir=no \ + -Dmanpages=false \ + -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 .. + # Finally, make the image bootable. cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/ |
