Fixing missing Memtest in Bootloader. Adding customized live user nihal.

This commit is contained in:
Ananke 2024-07-20 14:55:32 +02:00
parent 57bdfa3aff
commit 96806bebf0
5 changed files with 228 additions and 22 deletions

16
makefile Executable file → Normal file
View file

@ -8,15 +8,12 @@ SHELL := /bin/bash
build:
# Build the live system/ISO image↵
sudo lb clean --all
#sudo lb config --debug --distribution bullseye --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label NIHAL --uefi-secure-boot disable --image-name NIHAL-bullseye --linux-packages "linux-image li nux-headers"
lb config \
--debian-installer live \
--image-name NIHAL- \
--hdd-label NIHAL \
#sudo lb config --debug --distribution bullseye --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label NIHAL --uefi-secure-boot disable --image-name NIHAL-bullseye --linux-packages "linux-image linux-headers"
sudo lb config --debug --memtest memtest86+ --bootappend-live "boot=live component username=nihal" --distribution bookworm --debian-installer live --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label NIHAL-bookworm --uefi-secure-boot disable --image-name NIHAL-bookworm --linux-packages "linux-image linux-headers"
# add debian installer
mkdir -p config/package-lists
mkdir -p config/includes.installer
#mkdir -p config/includes.chroot/hooks/live
mkdir -p config/includes.chroot/lib/live/config
mkdir -p config/includes.chroot/etc/skel/.vim/colors
mkdir -p config/includes.chroot/etc/skel/.config/sway
@ -28,21 +25,20 @@ build:
# add packages
cat packages.list > config/package-lists/desktop.list.chroot
# automaticially start sway after start
#echo "exec sway" > config/includes.chroot/etc/skel/rc.local
echo "exec sway" > config/includes.chroot/etc/skel/rc.local
# add User-Config
cp bash_profile config/includes.chroot/etc/skel/.bash_profile
cp .bashrc config/includes.chroot/etc/skel/.bashrc
mkdir -p config/includes.chroot/etc/skel/
mkdir -p config/includes.chroot/etc/systemd/system
#mkdir -p config/includes.chroot/etc/systemd/system/graphical.target.wants
cp vimrc config/includes.chroot/etc/skel/.vimrc
cp swaysystemd config/includes.chroot/etc/systemd/system/sway.service
#cp swaysystemd config/includes.chroot/etc/systemd/system/graphical.target.wants/sway.service
cp startscript.sh config/hooks/live/startscript.hook.chroot
cp forest_refuge.vim config/includes.chroot/etc/skel/.vim/colors/
cp swayconfig config/includes.chroot/etc/skel/.config/sway/config
cp swayaudio.sh config/includes.chroot/etc/skel/.config/sway/audio.sh
cp swayexit.sh config/includes.chroot/etc/skel/.config/sway/exit.sh
#cp rc.local config/includes.chroot/etc/rc.local
cp rc.local config/includes.chroot/etc/rc.local
cp swaylock_screen.sh config/includes.chroot/etc/skel/.config/sway/lock_screen.sh
#cp waybarconfig config/includes.chroot/etc/skel/.config/waybar/config
#cp waybarstyles.css config/includes.chroot/etc/skel/.config/waybar/syles.css