forked from AbleOS/ableos
added wallpaper for bootloader
This commit is contained in:
parent
c241d839f2
commit
b5f75a13f4
BIN
repbuild/background.bmp
Normal file
BIN
repbuild/background.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
|
@ -1,13 +1,12 @@
|
|||
${ABLEOS_KERNEL}=boot:///kernel
|
||||
# TODO: Make a boot background image for ableOS
|
||||
# ${WALLPAPER_PATH}=boot:///boot/bg.bmp
|
||||
|
||||
DEFAULT_ENTRY=1
|
||||
TIMEOUT=3
|
||||
VERBOSE=yes
|
||||
INTERFACE_RESOLUTION=800x600
|
||||
# Terminal related settings
|
||||
# TERM_WALLPAPER=${WALLPAPER_PATH}
|
||||
TERM_WALLPAPER=boot:///background.bmp
|
||||
TERM_BACKDROP=008080
|
||||
|
||||
:ableOS
|
||||
|
|
|
@ -76,6 +76,11 @@ fn get_fs() -> Result<FileSystem<impl ReadWriteSeek>, io::Error> {
|
|||
&mut fs.root_dir().create_file("limine.cfg")?,
|
||||
)?;
|
||||
|
||||
io::copy(
|
||||
&mut File::open(Path::new("repbuild/background.bmp"))?,
|
||||
&mut fs.root_dir().create_file("background.bmp")?,
|
||||
)?;
|
||||
|
||||
drop(bootdir);
|
||||
Ok(fs)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue