summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-04 16:45:10 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-04 21:19:15 +0200
commit544bde3039a80d7ed1f934529eacb352862becfd (patch)
tree3720ea4c45ef70341a450eb7db4e610e580cf04a
parent5a89cf1c0ec1cafee7e2723df219ffec4cad2523 (diff)
downloadvyos-live-build-544bde3039a80d7ed1f934529eacb352862becfd.tar.gz
vyos-live-build-544bde3039a80d7ed1f934529eacb352862becfd.zip
Moving kernel and initrd into tftpboot directory for netboot images.
-rwxr-xr-xscripts/build/lb_binary_net4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_net b/scripts/build/lb_binary_net
index 1f1cd4e17..ba1ada5a4 100755
--- a/scripts/build/lb_binary_net
+++ b/scripts/build/lb_binary_net
@@ -138,6 +138,10 @@ mkdir binary.tmp
mv ${ROOT_DIR} tftpboot binary.tmp
cd binary.tmp
+# Moving kernel and initrd image arround
+mkdir tftpboot/live
+mv */live/vmlinuz* */live/initrd* tftpboot/live
+
tar cf ../binary-net.tar *
case "${LB_COMPRESSION}" in