summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-05-10 06:57:59 +0300
committererkin <e.altunbas@vyos.io>2021-05-10 06:57:59 +0300
commit5e47e3ad3c333197bbff10bbda7d4bbd9f0b4009 (patch)
treea27247f8774c1aff03cd4c6c5b433940adf6c212
parentde6089c11d73f22a7ce79666e7407cf751de7dc2 (diff)
downloadvyos-build-5e47e3ad3c333197bbff10bbda7d4bbd9f0b4009.tar.gz
vyos-build-5e47e3ad3c333197bbff10bbda7d4bbd9f0b4009.zip
T3351: Add SHA256 checksums
-rwxr-xr-xdata/live-build-config/hooks/live/11-busybox.chroot1
-rwxr-xr-xscripts/live-build-config1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/11-busybox.chroot b/data/live-build-config/hooks/live/11-busybox.chroot
index fecce61..676cb35 100755
--- a/data/live-build-config/hooks/live/11-busybox.chroot
+++ b/data/live-build-config/hooks/live/11-busybox.chroot
@@ -139,6 +139,7 @@ bb_alternative /usr/bin/renice
bb_alternative /usr/bin/reset
bb_alternative /usr/bin/setkeycodes
bb_alternative /usr/bin/sha1sum
+bb_alternative /usr/bin/sha256sum
bb_alternative /usr/bin/sort
bb_alternative /usr/bin/strings
bb_alternative /usr/bin/tail
diff --git a/scripts/live-build-config b/scripts/live-build-config
index 761e77c..467ef25 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -41,6 +41,7 @@ lb config noauto \
--linux-packages linux-image-{{kernel_version}} \
--bootloader syslinux,grub-efi \
--binary-images iso-hybrid \
+ --checksums 'sha256 md5' \
--debian-installer false \
--distribution {{distribution}} \
--iso-application "VyOS" \