Am Mittwoch 20 Oktober 2010, 13:10:06 schrieb Steffen Sledz: > just create an empty ca-bundle file to satisfy build time > dependencies in do_configure of other packages (e.g. epiphany), > content is updated later in postinst > > Signed-off-by: Steffen Sledz <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]> > --- > .../ca-certificates_20090814+nmu2.bb | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb > b/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb index > c8e4dbd..a37b01a 100644 > --- a/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb > +++ b/recipes/ca-certificates/ca-certificates_20090814+nmu2.bb > @@ -3,6 +3,7 @@ HOMEPAGE = "http://packages.debian.org/sid/ca-certificates" > SECTION = "misc" > PRIORITY = "optional" > LICENSE = "GPL" > +PR = "r1" > > SRC_URI = > "${DEBIAN_MIRROR}/main/c/ca-certificates/ca-certificates_${PV}.tar.gz \ > file://remove-c-rehash.patch" > @@ -27,13 +28,21 @@ do_install_append() { > crt=$(echo $crt | sed -e 's/\.\///') > echo $crt >> ${D}/etc/ca-certificates.conf > done > + > + # update-ca-certificates is not able to deal with pathes, > + # so just create an empty ca-bundle file to satisfy build time > + # dependencies in do_configure of other packages (e.g. epiphany), > + # content is updated later (see pkg_postinst) > + touch ${D}/etc/ssl/ca-bundle.pem > } > > PACKAGE_ARCH = "all" > PACKAGES = "${PN}" > > pkg_postinst_${PN} () { > +if test -z "$D"; then > /usr/sbin/update-ca-certificates > +fi > } > > CONFFILES_${PN} = "/etc/ca-certificates.conf" _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
