added extlinux static binary

pull/5/head
Tomas M 2012-10-23 21:26:44 -05:00
parent 21e770210b
commit c80846ed11
3 changed files with 4 additions and 4 deletions

4
TODO
View File

@ -1,4 +1,4 @@
* copy DOC/* to Live Kit created * copy DOC/* to Live Kit created
* describe meaning of special files in bundles * describe meaning of special files in bundles
* bootinst.sh for linux (using extlinux preferably)
- maybe find a way to boot from ANY filesystem using extlinux if that is possible (loop ext2) * bootinst.sh - if extlinux is not found, echo error msg.

View File

@ -13,7 +13,7 @@ PART="$(df . | tail -n 1 | tr -s " " | cut -d " " -f 1)"
DEV="$(echo "$PART" | sed -r "s:[0-9]+\$::" | sed -r "s:([0-9])[a-z]+\$:\\1:i")" #" DEV="$(echo "$PART" | sed -r "s:[0-9]+\$::" | sed -r "s:([0-9])[a-z]+\$:\\1:i")" #"
# install syslinux bootloader # install syslinux bootloader
extlinux --install $BOOT ./extlinux --install $BOOT
if [ "$DEV" != "$PART" ]; then if [ "$DEV" != "$PART" ]; then
# Setup MBR on the first block # Setup MBR on the first block