From c80846ed11906ef89fe1bb40f3cd18e9a33f68d6 Mon Sep 17 00:00:00 2001 From: Tomas M Date: Tue, 23 Oct 2012 21:26:44 -0500 Subject: [PATCH] added extlinux static binary --- TODO | 4 ++-- bootfiles/bootinst.sh | 2 +- livekitlib | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index b07ec00..4b73c55 100644 --- a/TODO +++ b/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) \ No newline at end of file + +* bootinst.sh - if extlinux is not found, echo error msg. \ No newline at end of file diff --git a/bootfiles/bootinst.sh b/bootfiles/bootinst.sh index 15b4af2..b8c9e9b 100755 --- a/bootfiles/bootinst.sh +++ b/bootfiles/bootinst.sh @@ -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 diff --git a/livekitlib b/livekitlib index 57f69fa..8233ca1 100644 --- a/livekitlib +++ b/livekitlib @@ -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 }