This commit is contained in:
Valeria Fadeeva 2023-11-03 00:30:04 +05:00
parent 8ebc00ae00
commit 34008525b9
2 changed files with 10 additions and 0 deletions

View File

@ -6,12 +6,17 @@ date_tag=$(date +%Y.%m.%d)
iso_name="Melawy-linux-${date_tag}-x86_64.iso" iso_name="Melawy-linux-${date_tag}-x86_64.iso"
cp "../work/iso/arch/pkglist.x86_64.txt" "../boot/txt/Melawy-linux-${date_tag}-pkglist.txt" cp "../work/iso/arch/pkglist.x86_64.txt" "../boot/txt/Melawy-linux-${date_tag}-pkglist.txt"
echo "Sign ../boot/txt/${iso_name}.sig ../boot/iso/${iso_name}"
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../boot/txt/${iso_name}.sig" "../boot/iso/${iso_name}" gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../boot/txt/${iso_name}.sig" "../boot/iso/${iso_name}"
cd "../boot/iso/" cd "../boot/iso/"
echo "sha1sum ${iso_name}"
sha1sum "${iso_name}" > "../../boot/txt/${iso_name}.sha1" sha1sum "${iso_name}" > "../../boot/txt/${iso_name}.sha1"
echo "sha256sum ${iso_name}"
sha256sum "${iso_name}" > "../../boot/txt/${iso_name}.sha256" sha256sum "${iso_name}" > "../../boot/txt/${iso_name}.sha256"
notify-send -a "$(basename $(pwd)): Make" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Make" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"

View File

@ -6,12 +6,17 @@ date_tag=$(date +%Y.%m.%d)
iso_name="Melawy-linux-${date_tag}-x86_64.iso" iso_name="Melawy-linux-${date_tag}-x86_64.iso"
cp "../work/iso/arch/pkglist.x86_64.txt" "../boot/txt/Melawy-linux-${date_tag}-pkglist.txt" cp "../work/iso/arch/pkglist.x86_64.txt" "../boot/txt/Melawy-linux-${date_tag}-pkglist.txt"
echo "Sign ../boot/txt/${iso_name}.sig ../boot/iso/${iso_name}"
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../boot/txt/${iso_name}.sig" "../boot/iso/${iso_name}" gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../boot/txt/${iso_name}.sig" "../boot/iso/${iso_name}"
cd "../boot/iso/" cd "../boot/iso/"
echo "sha1sum ${iso_name}"
sha1sum "${iso_name}" > "../../boot/txt/${iso_name}.sha1" sha1sum "${iso_name}" > "../../boot/txt/${iso_name}.sha1"
echo "sha256sum ${iso_name}"
sha256sum "${iso_name}" > "../../boot/txt/${iso_name}.sha256" sha256sum "${iso_name}" > "../../boot/txt/${iso_name}.sha256"
notify-send -a "$(basename $(pwd)): Make" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Make" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"