2023-04-07 snapshot
parent
7428c41ce9
commit
6b852ee8f0
|
@ -1,9 +1,15 @@
|
||||||
set timeout=5
|
set timeout=5
|
||||||
set default=0
|
set default=0
|
||||||
|
set gfxmode=1024x768x32
|
||||||
|
set gfxpayload=keep
|
||||||
|
|
||||||
|
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
|
||||||
|
terminal_input console serial
|
||||||
|
terminal_output console serial
|
||||||
|
|
||||||
|
|
||||||
menuentry "Dark Horse Linux (Pre-Alpha)" {
|
menuentry "Dark Horse Linux (Pre-Alpha)" {
|
||||||
set root=(cd)
|
set root=(cd)
|
||||||
linux /boot/vmlinuz-6.0.12-dark_horse-pyrois boot=live root=/dev/sr0 rw
|
linux /boot/vmlinuz-6.0.12-dark_horse-pyrois boot=live root=/dev/sr0 toram overlay tmpfs_size=50% rd.shell rd.debug systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M console=tty1 console=ttyS0,115200
|
||||||
initrd /boot/initramfs-6.0.12.img
|
initrd /boot/initramfs-6.0.12.img
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,8 +66,6 @@ function perform_backup() {
|
||||||
logprint "Re-arming chroot..."
|
logprint "Re-arming chroot..."
|
||||||
make arm_chroot
|
make arm_chroot
|
||||||
echo
|
echo
|
||||||
logprint "You may now proceed to run 'make build_stage4'."
|
|
||||||
echo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ logprint "Emptying source stage..."
|
||||||
rm -Rf ${TEMP_STAGE_DIR}
|
rm -Rf ${TEMP_STAGE_DIR}
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
||||||
rm -Rf /rex_embedded
|
rm -Rf ${T_SYSROOT}/rex_embedded
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
||||||
logprint "Generating initramfs..."
|
logprint "Generating initramfs..."
|
||||||
|
@ -56,11 +56,11 @@ ulimit -n 3000000
|
||||||
TERM="xterm-256color" \
|
TERM="xterm-256color" \
|
||||||
PS1='\n(dark horse linux) [ \u @ \H ] << \w >>\n\n[- ' \
|
PS1='\n(dark horse linux) [ \u @ \H ] << \w >>\n\n[- ' \
|
||||||
PATH=/usr/bin:/usr/sbin \
|
PATH=/usr/bin:/usr/sbin \
|
||||||
dracut --force '' 6.0.12
|
dracut -c /usr/etc/dracut.conf --force '' 6.0.12
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
||||||
logprint "Generating bootable ISO"
|
logprint "Generating bootable ISO"
|
||||||
grub2-mkrescue -o DHLP.iso ${T_SYSROOT}
|
grub2-mkrescue -o DHLP.iso -V "DHLP" ${T_SYSROOT}
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
||||||
logprint "Thanks for using Dark Horse Linux. Your experimental build is at '${dir_artifacts}/DHLP.iso'."
|
logprint "Thanks for using Dark Horse Linux. Your experimental build is at '${dir_artifacts}/DHLP.iso'."
|
||||||
|
|
|
@ -140,6 +140,8 @@ mode_build() {
|
||||||
cp -vf ${CONFIGS_DIR}/kernel_config ./.config
|
cp -vf ${CONFIGS_DIR}/kernel_config ./.config
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
||||||
|
make menuconfig
|
||||||
|
|
||||||
logprint "Compiling kernel"
|
logprint "Compiling kernel"
|
||||||
make
|
make
|
||||||
assert_zero $?
|
assert_zero $?
|
||||||
|
|
Loading…
Reference in New Issue