EC2: Fix additional files on small+builder AMIs

The file /usr/local/etc/ssl/cert.pem is not present on "small" and
"builder" AMIs, so we don't need to add it to METALOG.

Fixes:	2b0ffc0ee4 ("EC2: metalog_add missing files from packages")
MFC after:	3 days
Sponsored by:	https://www.patreon.com/cperciva
This commit is contained in:
Colin Percival committed 2025-10-11 10:38:24 -07:00
1 parent abd9424590
commit 8a7ac88aa3
2 files changed
-2

No files matched your search

-1
View File
@@ -68,7 +68,6 @@ vm_extra_pre_umount() {
# Add files from packages which weren't recorded in metalog
metalog_add_data ./usr/local/etc/dhclient.conf
metalog_add_data ./usr/local/etc/ssl/cert.pem
return 0
}
-1
View File
@@ -51,7 +51,6 @@ vm_extra_pre_umount() {
# Add files from packages which weren't recorded in metalog
metalog_add_data ./usr/local/etc/dhclient.conf
metalog_add_data ./usr/local/etc/ssl/cert.pem
return 0
}