mkdir -pv $INSTALL_ROOT/usr/share/ca-certificates &&

mkdir -pv $INSTALL_ROOT/usr/share/doc/ca-certificates &&

cp -vpr usr/share/ca-certificates/* $INSTALL_ROOT/usr/share/ca-certificates &&
cp -vpr usr/share/man/man8/* $INSTALL_ROOT/usr/share/man/man8 &&
cp -vpr usr/share/doc/ca-certificates/* $INSTALL_ROOT/usr/share/doc/ca-certificates &&
cp -vpr usr/sbin/* $INSTALL_ROOT/usr/sbin && 

cd $INSTALL_ROOT/usr/share/ca-certificates &&
find . -name '*.crt' | sort | cut -b3-  > $INSTALL_ROOT/etc/ca-certificates.conf &&

mkdir -p $INSTALL_ROOT/etc/ssl/certs  &&
chmod 0750 /etc/ssl/certs             &&

update-ca-certificates
