xbps-src: document ca-certificates stupid kludge.
This commit is contained in:
4
xbps-src
4
xbps-src
@@ -294,9 +294,6 @@ install_bbootstrap() {
|
|||||||
else
|
else
|
||||||
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-files &>/dev/null
|
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-files &>/dev/null
|
||||||
fi
|
fi
|
||||||
if xbps-query -r $XBPS_MASTERDIR ca-certificates &>/dev/null; then
|
|
||||||
xbps-reconfigure -r $XBPS_MASTERDIR -f ca-certificates &>/dev/null
|
|
||||||
fi
|
|
||||||
msg_normal "Installed bootstrap successfully!\n"
|
msg_normal "Installed bootstrap successfully!\n"
|
||||||
chroot_prepare $XBPS_TARGET_PKG || msg_error "Failed to initialize chroot!\n"
|
chroot_prepare $XBPS_TARGET_PKG || msg_error "Failed to initialize chroot!\n"
|
||||||
}
|
}
|
||||||
@@ -606,6 +603,7 @@ if [ -z "$IN_CHROOT" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$IN_CHROOT" ]; then
|
if [ -n "$IN_CHROOT" ]; then
|
||||||
|
# XXX otherwise etc/ssl/certs is not generated.
|
||||||
if xbps-query ca-certificates &>/dev/null; then
|
if xbps-query ca-certificates &>/dev/null; then
|
||||||
xbps-reconfigure -f ca-certificates &>/dev/null
|
xbps-reconfigure -f ca-certificates &>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user