diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-05-18 20:57:16 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-10-19 14:09:15 -0400 |
commit | ce6864dd5b6b7b6d3e5be7e109bbc628b37a2fca (patch) | |
tree | 964026dc039c3b42e1dab2151a88c0ca6934b6d9 | |
parent | c135e57b8c7ab515abb55fdf02b267399fead935 (diff) |
write package list and checksums artifacts beside ISO
-rwxr-xr-x | configs/profile/build.sh | 4 | ||||
-rwxr-xr-x | parabolaiso/mkparabolaiso | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh index ee6bab8..f5c1474 100755 --- a/configs/profile/build.sh +++ b/configs/profile/build.sh @@ -335,8 +335,8 @@ make_prepare() { # Build ISO make_iso() { - mkparabolaiso ${verbose} -w ${work_dir} -D ${iso_dirname} checksum - mkparabolaiso ${verbose} -w ${work_dir} -D ${iso_dirname} -L ${iso_label} -o ${out_dir} iso ${iso_filename} + setarch ${arch} mkparabolaiso ${verbose} -w ${work_dir} -D ${iso_dirname} checksum + setarch ${arch} mkparabolaiso ${verbose} -w ${work_dir} -D ${iso_dirname} -L ${iso_label} -o ${out_dir} iso ${iso_filename} } diff --git a/parabolaiso/mkparabolaiso b/parabolaiso/mkparabolaiso index 0ea7352..12e07eb 100755 --- a/parabolaiso/mkparabolaiso +++ b/parabolaiso/mkparabolaiso @@ -422,7 +422,13 @@ command_iso () { ${_iso_efi_boot_args} \ -output "${out_dir}/${img_name}" \ "${work_dir}/iso/" - _msg_info "Done! | $(ls -sh ${out_dir}/${img_name})" + _msg_info "Done! | $(ls -sh "${out_dir}/${img_name}")" + + cp "${work_dir}/iso/${install_dir}/pkglist.${arch}.txt" ${out_dir}/ + pushd ${out_dir} > /dev/null + sha512sum "${img_name}" >> SHA512SUMS 2> /dev/null || true + rhash --whirlpool "${img_name}" >> WHIRLPOOLSUMS 2> /dev/null || true + popd > /dev/null } # create airootfs.sfs filesystem, and push it in "iso" directory. |