mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Reached the bootloader
This commit is contained in:
@@ -10,6 +10,7 @@ export HOST=x86_64-unknown-linux-musl
|
|||||||
# TODO: Where does /usr/com fit into all of this (shared state directory)? ~ahill
|
# TODO: Where does /usr/com fit into all of this (shared state directory)? ~ahill
|
||||||
mkdir -p $MAPLE/bin
|
mkdir -p $MAPLE/bin
|
||||||
mkdir -p $MAPLE/boot
|
mkdir -p $MAPLE/boot
|
||||||
|
mkdir -p $MAPLE/boot/EFI/BOOT/
|
||||||
mkdir -p $MAPLE/dev
|
mkdir -p $MAPLE/dev
|
||||||
mkdir -p $MAPLE/etc
|
mkdir -p $MAPLE/etc
|
||||||
mkdir -p $MAPLE/home/root
|
mkdir -p $MAPLE/home/root
|
||||||
@@ -370,3 +371,8 @@ ln -s clang $MAPLE/bin/cc
|
|||||||
ln -s clang++ $MAPLE/bin/c++
|
ln -s clang++ $MAPLE/bin/c++
|
||||||
ln -s ld.lld $MAPLE/bin/ld
|
ln -s ld.lld $MAPLE/bin/ld
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# Copy the necessary configuration files to the bootstrap
|
||||||
|
cp limine.conf $MAPLE/boot/EFI/BOOT/
|
||||||
@@ -172,6 +172,11 @@ cd ncurses-*/
|
|||||||
--without-normal
|
--without-normal
|
||||||
make -j $THREADS
|
make -j $THREADS
|
||||||
make -j $THREADS install
|
make -j $THREADS install
|
||||||
|
# NOTE: These symbolic links are for backwards compatibility. Specifically, for
|
||||||
|
# fixing "make menuconfig" for the Linux kernel, since it looks for the
|
||||||
|
# non-wide version of the library. ~ahill
|
||||||
|
ln -s libncursesw.so /lib/libncurses.so
|
||||||
|
ln -s libncurses++w.so /lib/libncurses++.so
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# zsh Build
|
# zsh Build
|
||||||
@@ -413,4 +418,7 @@ LLVM=1 make -j $THREADS
|
|||||||
LLVM=1 make -j $THREADS install
|
LLVM=1 make -j $THREADS install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# Finally, make the image bootable.
|
||||||
|
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
6
limine.conf
Normal file
6
limine.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
timeout: 3
|
||||||
|
|
||||||
|
/Maple Linux
|
||||||
|
protocol: linux
|
||||||
|
path: boot():/vmlinuz
|
||||||
|
module_string: root=/dev/vda2
|
||||||
Reference in New Issue
Block a user