diff options
author | Sebastian Schmelzer | 2011-04-20 15:48:58 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2011-04-20 15:48:58 +0200 |
commit | 4b7a52dcde466c2a657a304504a3e3d4bf64c59a (patch) | |
tree | f5e3e1d5ad413013d098a5d0a6c6bfd0c332fd8d | |
parent | update (diff) | |
download | usb-boot-stick-4b7a52dcde466c2a657a304504a3e3d4bf64c59a.tar.gz usb-boot-stick-4b7a52dcde466c2a657a304504a3e3d4bf64c59a.tar.xz usb-boot-stick-4b7a52dcde466c2a657a304504a3e3d4bf64c59a.zip |
autofetch syslinux
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | build/initramfs-default | bin | 24393052 -> 0 bytes | |||
-rwxr-xr-x | contrib/syslinux/fetch.sh | 12 | ||||
-rwxr-xr-x | install-usb | 2 |
4 files changed, 15 insertions, 1 deletions
@@ -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 Binary files differdeleted file mode 100644 index b7c6468..0000000 --- a/build/initramfs-default +++ /dev/null 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 |