added extlinux static binary
parent
21e770210b
commit
c80846ed11
4
TODO
4
TODO
|
|
@ -1,4 +1,4 @@
|
|||
* copy DOC/* to Live Kit created
|
||||
* 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.
|
||||
|
|
@ -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")" #"
|
||||
|
||||
# install syslinux bootloader
|
||||
extlinux --install $BOOT
|
||||
./extlinux --install $BOOT
|
||||
|
||||
if [ "$DEV" != "$PART" ]; then
|
||||
# Setup MBR on the first block
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ copy_rootcopy_content()
|
|||
|
||||
if [ "$(ls -1 "$1/rootcopy/" 2>/dev/null)" != "" ]; then
|
||||
echo_green_star
|
||||
echo "Copying content of rootcopy directory..."
|
||||
echo "Copying content of rootcopy directory ..."
|
||||
cp -a "$1"/rootcopy/* "$2"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue