Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3528d058 authored by Robert Nelson's avatar Robert Nelson
Browse files

elinux: enable -T0 for .tar.xz files


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 998d6b67
Branches
Tags
No related merge requests found
......@@ -23,7 +23,8 @@ debian_testing="debian-stretch-console-armhf-${time}"
ubuntu_stable="ubuntu-16.04.1-console-armhf-${time}"
#ubuntu_testing="ubuntu-16.04.1-console-armhf-${time}"
archive="xz -z -8"
xz_img="xz -z -8"
xz_tar="xz -T0 -z -8"
beaglebone="--dtb beaglebone --bbb-old-bootloader-in-emmc \
--rootfs_label rootfs --enable-cape-universal"
......@@ -44,7 +45,7 @@ copy_base_rootfs_to_mirror () {
if [ ! -f ${mirror_dir}/${time}/\${blend}/\${base_rootfs}.tar.xz ] ; then
cp -v \${base_rootfs}.tar ${mirror_dir}/${time}/\${blend}/
cd ${mirror_dir}/${time}/\${blend}/
${archive} \${base_rootfs}.tar && sha256sum \${base_rootfs}.tar.xz > \${base_rootfs}.tar.xz.sha256sum &
${xz_tar} \${base_rootfs}.tar && sha256sum \${base_rootfs}.tar.xz > \${base_rootfs}.tar.xz.sha256sum &
cd -
fi
fi
......@@ -92,7 +93,7 @@ copy_img_to_mirror () {
sync
fi
cd ${mirror_dir}/${time}/\${blend}/
${archive} \${wfile}.img && sha256sum \${wfile}.img.xz > \${wfile}.img.xz.sha256sum &
${xz_img} \${wfile}.img && sha256sum \${wfile}.img.xz > \${wfile}.img.xz.sha256sum &
cd -
fi
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment