mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

* Fix python3native inherit added in:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=a1e3f5c92cdee7c4259b7be643bd829ce7c1efa3
to actually work
* also remove the work arounds for /usr/bin/python being python3
on the target device
* I haven't tested this in runtime - I don't use it, it was just
showing that do_configure error in "bitbake world" builds, the
scripts might need some changes to be really compatible with
python3, but it was broken already, now it at least builds
* upgrade to new version with
3c05f06e6a
would be nice by someone who actually uses this
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
30 lines
1.1 KiB
BlitzBasic
30 lines
1.1 KiB
BlitzBasic
# Skip QA check for library symbolic links (core issue is a packaging problem within
|
|
# Singularity build / config: read up on the dev-so test for more info)
|
|
INSANE_SKIP_${PN} += "dev-so"
|
|
|
|
RDEPENDS_${PN} += "glibc python3 ca-certificates openssl bash e2fsprogs-mke2fs"
|
|
|
|
LICENSE = "BSD"
|
|
LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \
|
|
file://LICENSE-LBNL.md;md5=45a007b527e1a9507aa7fa869f8d7ede \
|
|
file://LICENSE.md;md5=df4326b473db6424033f1d98a5645e30 \
|
|
file://debian/copyright;md5=ed267cf386d9b75ab1f27f407e935b10"
|
|
|
|
SRC_URI = "git://github.com/singularityware/singularity.git;protocol=https \
|
|
file://0001-Use-python3.patch \
|
|
"
|
|
PV = "2.3.1+git${SRCPV}"
|
|
SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit python3native autotools-brokensep
|
|
EXTRA_OECONF = "--prefix=/usr/local"
|
|
|
|
pkg_postinst_${PN}() {
|
|
# python3 expects CA certificates to be installed in a different place to where
|
|
# they are actually installed. These lines link the two locations.
|
|
rm -r $D${libdir}/ssl/certs
|
|
ln -sr $D${sysconfdir}/ssl/certs $D${libdir}/ssl
|
|
}
|