Skip to content

Commit

Permalink
test: check contents of ca-certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashsurya committed Aug 28, 2024
1 parent 05a5fe0 commit a458ecb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions live-build/config/hooks/vm-artifacts/90-raw-disk-image.binary
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ mount -t zfs "$FSNAME/crashdump" "/var/crash"
#
rsync --info=stats3 -Wa binary/* "$DIRECTORY/"

sudo chroot "$DIRECTORY" /bin/bash <<-EOF
awk -v cmd='openssl x509 -noout -subject' '/BEGIN/{close(cmd)};{print | cmd}' < /etc/ssl/certs/ca-certificates.crt | grep 'Go Daddy'
EOF

#
# We rely on the "/etc/fstab" file to mount the non-root ZFS
# filesystems, so that when a specific rootfs dataset is booted, it'll
Expand Down

0 comments on commit a458ecb

Please sign in to comment.