move update-ca-trust

This commit is contained in:
Harald Hoyer 2018-10-18 15:35:26 +02:00
parent de617c550c
commit ca8e372fe5

View file

@ -363,8 +363,6 @@ umount "$sysroot"/var/cache/dnf
mkdir -p "$sysroot"/usr/share/factory/{var,cfg} mkdir -p "$sysroot"/usr/share/factory/{var,cfg}
chroot "$sysroot" update-ca-trust
#--------------- #---------------
# tpm2-tss # tpm2-tss
if [[ -f "$sysroot"/usr/lib/udev/rules.d/60-tpm-udev.rules ]]; then if [[ -f "$sysroot"/usr/lib/udev/rules.d/60-tpm-udev.rules ]]; then
@ -646,6 +644,10 @@ if [[ -f "$sysroot"/etc/modprobe.d/kvm.conf ]]; then
sed -i -e 's/#options/options/g' "$sysroot"/etc/modprobe.d/kvm.conf sed -i -e 's/#options/options/g' "$sysroot"/etc/modprobe.d/kvm.conf
fi fi
#---------------
# CA
chroot "$sysroot" update-ca-trust
#--------------- #---------------
# var # var
rm -fr "$sysroot"/var/lib/selinux rm -fr "$sysroot"/var/lib/selinux