mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Booted with an initramfs!
This commit is contained in:
@@ -375,5 +375,5 @@ cd ..
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Copy the necessary configuration files to the bootstrap
|
# 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/
|
cp linux.$(uname -m).config $MAPLE/maple/
|
||||||
@@ -431,11 +431,17 @@ LLVM=1 make -j $THREADS mrproper
|
|||||||
cp /maple/linux.$(uname -m).config .config
|
cp /maple/linux.$(uname -m).config .config
|
||||||
LLVM=1 make -j $THREADS
|
LLVM=1 make -j $THREADS
|
||||||
LLVM=1 make -j $THREADS install
|
LLVM=1 make -j $THREADS install
|
||||||
|
LLVM=1 make -j $THREADS modules_install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# kmod Build
|
# kmod Build
|
||||||
tar xf ../sources/kmod-*.tar*
|
tar xf ../sources/kmod-*.tar*
|
||||||
cd kmod-*/
|
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
|
# 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.
|
# Facebook's software doesn't negatively impact the open source world.
|
||||||
# ~ahill
|
# ~ahill
|
||||||
@@ -447,11 +453,6 @@ muon setup \
|
|||||||
-Dzstd=disabled \
|
-Dzstd=disabled \
|
||||||
build
|
build
|
||||||
muon samu -C 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
|
muon -C build install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,6 @@ timeout: 3
|
|||||||
|
|
||||||
/Maple Linux
|
/Maple Linux
|
||||||
protocol: linux
|
protocol: linux
|
||||||
path: boot():/vmlinuz
|
kernel_path: boot():/vmlinuz
|
||||||
module_string: root=/dev/vda2
|
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_INIT_ENV_ARG_LIMIT=32
|
||||||
# CONFIG_COMPILE_TEST is not set
|
# CONFIG_COMPILE_TEST is not set
|
||||||
CONFIG_WERROR=y
|
CONFIG_WERROR=y
|
||||||
CONFIG_LOCALVERSION="maple"
|
CONFIG_LOCALVERSION="-maple"
|
||||||
CONFIG_LOCALVERSION_AUTO=y
|
CONFIG_LOCALVERSION_AUTO=y
|
||||||
CONFIG_BUILD_SALT=""
|
CONFIG_BUILD_SALT=""
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
|
|||||||
Reference in New Issue
Block a user