diff options
author | Daniel Baumann <daniel@debian.org> | 2012-04-04 16:45:10 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-04-04 21:19:15 +0200 |
commit | 544bde3039a80d7ed1f934529eacb352862becfd (patch) | |
tree | 3720ea4c45ef70341a450eb7db4e610e580cf04a | |
parent | 5a89cf1c0ec1cafee7e2723df219ffec4cad2523 (diff) | |
download | vyos-live-build-544bde3039a80d7ed1f934529eacb352862becfd.tar.gz vyos-live-build-544bde3039a80d7ed1f934529eacb352862becfd.zip |
Moving kernel and initrd into tftpboot directory for netboot images.
-rwxr-xr-x | scripts/build/lb_binary_net | 4 |
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 |