summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-04-20 15:48:58 +0200
committerSebastian Schmelzer2011-04-20 15:48:58 +0200
commit4b7a52dcde466c2a657a304504a3e3d4bf64c59a (patch)
treef5e3e1d5ad413013d098a5d0a6c6bfd0c332fd8d
parentupdate (diff)
downloadusb-boot-stick-4b7a52dcde466c2a657a304504a3e3d4bf64c59a.tar.gz
usb-boot-stick-4b7a52dcde466c2a657a304504a3e3d4bf64c59a.tar.xz
usb-boot-stick-4b7a52dcde466c2a657a304504a3e3d4bf64c59a.zip
autofetch syslinux
-rw-r--r--.gitignore2
-rw-r--r--build/initramfs-defaultbin24393052 -> 0 bytes
-rwxr-xr-xcontrib/syslinux/fetch.sh12
-rwxr-xr-xinstall-usb2
4 files changed, 15 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index cb2c07a..6fde91d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
build/linux-2.6.*
build/kernel-preboot*
-build/initramfs-preboot*
+build/initramfs-default*
build/*.tar.bz2
build/*.tbz2
contrib/syslinux/sys*
diff --git a/build/initramfs-default b/build/initramfs-default
deleted file mode 100644
index b7c6468..0000000
--- a/build/initramfs-default
+++ /dev/null
Binary files differ
diff --git a/contrib/syslinux/fetch.sh b/contrib/syslinux/fetch.sh
new file mode 100755
index 0000000..efd525d
--- /dev/null
+++ b/contrib/syslinux/fetch.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+ROOT_DIR=$(readlink -f $(dirname $(readlink -f $0)))
+
+
+cd $ROOT_DIR
+
+wget http://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/syslinux-4.04-pre22.tar.bz2
+tar xjfv syslinux*.tar.bz2
+rm *.tar.bz2
+
+cd -
diff --git a/install-usb b/install-usb
index 49c1a62..39f84cd 100755
--- a/install-usb
+++ b/install-usb
@@ -10,6 +10,8 @@ fi
OUT_DEV=$1
SYSLINUX=$ROOT_DIR/contrib/syslinux/latest
+[ ! -f $SYSLINUX/Makefile ] && $ROOT_DIR/contrib/syslinux/fetch.sh
+
if [ -z $OUT_DEV ]; then
echo "no dev"
exit 1