Booted with an initramfs!
This commit is contained in:
parent
814580185e
commit
6a9c9665a6
@ -375,5 +375,5 @@ cd ..
|
||||
cd ..
|
||||
|
||||
# Copy the necessary configuration files to the bootstrap
|
||||
cp limine.conf $MAPLE/boot/EFI/BOOT/
|
||||
cp limine.conf $MAPLE/boot/
|
||||
cp linux.$(uname -m).config $MAPLE/maple/
|
||||
@ -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 ..
|
||||
|
||||
|
||||
@ -2,5 +2,6 @@ timeout: 3
|
||||
|
||||
/Maple Linux
|
||||
protocol: linux
|
||||
path: boot():/vmlinuz
|
||||
module_string: root=/dev/vda2
|
||||
kernel_path: boot():/vmlinuz
|
||||
kernel_cmdline: root=/dev/vda2 earlyprintk=console,ttyS0,115200 console=ttyS0,115200
|
||||
module_path: boot():/initramfs
|
||||
@ -30,7 +30,7 @@ CONFIG_THREAD_INFO_IN_TASK=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
# CONFIG_COMPILE_TEST is not set
|
||||
CONFIG_WERROR=y
|
||||
CONFIG_LOCALVERSION="maple"
|
||||
CONFIG_LOCALVERSION="-maple"
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_BUILD_SALT=""
|
||||
CONFIG_HAVE_KERNEL_GZIP=y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user