Skip to content

Commit a458ecb

Browse files
committed
test: check contents of ca-certificates
1 parent 05a5fe0 commit a458ecb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

live-build/config/hooks/vm-artifacts/90-raw-disk-image.binary

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ mount -t zfs "$FSNAME/crashdump" "/var/crash"
279279
#
280280
rsync --info=stats3 -Wa binary/* "$DIRECTORY/"
281281

282+
sudo chroot "$DIRECTORY" /bin/bash <<-EOF
283+
awk -v cmd='openssl x509 -noout -subject' '/BEGIN/{close(cmd)};{print | cmd}' < /etc/ssl/certs/ca-certificates.crt | grep 'Go Daddy'
284+
EOF
285+
282286
#
283287
# We rely on the "/etc/fstab" file to mount the non-root ZFS
284288
# filesystems, so that when a specific rootfs dataset is booted, it'll

0 commit comments

Comments
 (0)