initial features.in/dos

This was tackled before but it took raorn@'s hint regarding
sys-freedos-linux (ms-sys has no bootsectors compatible with
freedos currently) and gns@' quick rush at make-freedos-floppy
script to wrap things up.

Should be further developed to become actually useful though.
This commit is contained in:
Michael Shigorin 2011-09-06 19:11:36 +03:00
parent eeccd5dfb1
commit a3c0d2bbc3
5 changed files with 22 additions and 0 deletions

View File

@ -36,6 +36,7 @@ distro/syslinux: distro/.init distro/.branding sub/stage1 \
distro/live: distro/.base use/live use/syslinux/ui-menu
distro/rescue: distro/.base use/rescue use/syslinux/ui-menu
distro/dos: sub/stage1 use/dos use/syslinux/ui-menu
# something actually useful (as a network-only installer)
# NB: doesn't carry stage3 thus cannot use/bootloader

6
features.in/dos/README Normal file
View File

@ -0,0 +1,6 @@
Фича добавляет создание FreeDOS "live floppy" в stage1.
Текущее состояние -- загружается минимальная система.
Для практического применения (в первую очередь это
перешивка firmware) требуется сделать подключение
CD и/или USB Flash с тем, чтобы класть туда прошивки.

View File

@ -0,0 +1,5 @@
use/dos: use/syslinux
@$(call add,FEATURES,dos)
@$(call add,SYSLINUX_CFG,dos)
@$(call add,SYSLINUX_FILES,/usr/lib/syslinux/memdisk)
@$(call add,STAGE1_PACKAGES,make-freedos-floppy glibc-gconv-modules)

View File

@ -0,0 +1,6 @@
#!/bin/sh -x
# create a barebone bootable freedos floppy
# TODO: some sub-framework to populate it as well
mkdir -p "$WORKDIR/syslinux"
make-freedos-floppy "$WORKDIR/syslinux/freedos.img"

View File

@ -0,0 +1,4 @@
label freedos
menu label Live ^FreeDOS
kernel memdisk
append initrd=freedos.img