mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
RHEL: Create /etc/crypto-policies/back-ends/opensslcnf.config
https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13
This commit is contained in:
@@ -70,6 +70,14 @@ if ! test -e /etc/mtab; then
|
||||
ln -s /proc/mounts /etc/mtab
|
||||
fi
|
||||
|
||||
# openssl 3 requires /etc/crypto-policies/back-ends/opensslcnf.config
|
||||
# to exist, but it is created in a %post script in crypto-policies
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13
|
||||
if ! test -r /etc/crypto-policies/back-ends/opensslcnf.config &&
|
||||
test -f /usr/share/crypto-policies/DEFAULT/opensslcnf.txt; then
|
||||
ln -s /usr/share/crypto-policies/DEFAULT/opensslcnf.txt /etc/crypto-policies/back-ends/opensslcnf.config
|
||||
fi
|
||||
|
||||
# devtmpfs is required since udev 176
|
||||
mount -t devtmpfs /dev /dev
|
||||
mkdir -p /dev/pts
|
||||
|
||||
Reference in New Issue
Block a user