diff options
author | Sebastian Schmelzer | 2011-05-19 10:43:27 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2011-05-19 10:43:27 +0200 |
commit | 888b7582ad1cbe20248c27b4123e226348ef6b3f (patch) | |
tree | b53070aaafc062798bb648871a3dc6b3d3968621 /bin/build.initramfs.sh | |
parent | add env module .. not finished .. (diff) | |
download | usb-boot-stick-888b7582ad1cbe20248c27b4123e226348ef6b3f.tar.gz usb-boot-stick-888b7582ad1cbe20248c27b4123e226348ef6b3f.tar.xz usb-boot-stick-888b7582ad1cbe20248c27b4123e226348ef6b3f.zip |
env fixes ..
Diffstat (limited to 'bin/build.initramfs.sh')
-rwxr-xr-x | bin/build.initramfs.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/build.initramfs.sh b/bin/build.initramfs.sh index e55d186..5c09790 100755 --- a/bin/build.initramfs.sh +++ b/bin/build.initramfs.sh @@ -2,6 +2,9 @@ ROOT_DIR=$(readlink -f $(dirname $(readlink -f $0))/..) +SYSLINUX=${ROOT_DIR}/contrib/syslinux/latest +[ ! -f ${SYSLINUX}/Makefile ] && $ROOT_DIR/bin/env.setup-syslinux.sh + cd ${ROOT_DIR}/build/rootfs echo -e "[build-initramfs] \t Create initramfs." find . | cpio --quiet -H newc -o > ../initramfs-default.cpio |