mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
* Removed the following patches which are already merged by upstream: 0001-Add-support-for-deb-and-ipk-packaging.patch Rename-rpm-check.sh-to-pkg-diff.sh.patch functions.sh-improve-deb-and-ipk-checking.patch functions.sh-remove-space-at-head.patch functions.sh-run-rpm-once-to-make-it-faster.patch pkg-diff.sh-check-for-fifo-named-pipe.patch pkg-diff.sh-check_single_file-return-at-once-when-sa.patch pkg-diff.sh-remove-space-in-the-end-for-ftype.patch * Rebased Ignore-DWARF-sections.patch This version is very outstanding when compare binary packages, e.g.: PRSERV_HOST = "localhost:0" INHERIT += "packagefeed-stability" PACKAGE_CLASSES = "package_ipk $ bitbake opkg $ find tmp/deploy/ipk >/tmp/ipk_1 Add a "bbnote 'hello'" to autotools.bbclass' autotools_do_configure. * BEFORE the upgrading, the result is: $ diff /tmp/ipk_1 /tmp/ipk_2 -Nur | diffstat ipk_2 | 1570 +++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 785 insertions(+), 785 deletions(-) * AFTER the upgrading, the result is: $ bitbake opkg $ find tmp/deploy/ipk >/tmp/ipk_2 $ diff /tmp/ipk_1 /tmp/ipk_2 -Nur No output And if we really modifed a recipe such as opkg, then it would show that it is changed. For a full world build AFTER the upgrading: $ diff /tmp/ipk_6 /tmp/ipk_7 -Nur | diffstat ipk_7 | 2090 +++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 1045 insertions(+), 1045 deletions(-) There are 10968 packages in totall, 1045 ones have been changed, so we can still improve it in the future. (From OE-Core rev: 4c77fdfc0b3b31105a4dfd1a4634f8464b52d933) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
941 B
BlitzBasic
32 lines
941 B
BlitzBasic
SUMMARY = "Build Result Compare Script"
|
|
DESCRIPTION = "This package contains scripts to find out if the build result\
|
|
differs to a former build."
|
|
HOMEPAGE = "https://github.com/openSUSE/build-compare"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
SRC_URI = "git://github.com/openSUSE/build-compare.git \
|
|
file://Ignore-DWARF-sections.patch;striplevel=1 \
|
|
"
|
|
|
|
# Date matches entry in build-compare.changes and date of SRCREV.
|
|
#
|
|
SRCREV = "4dfa207660776cae120afa4353aec7f1f2a998d2"
|
|
PE = "1"
|
|
PV = "2019.08.14+git${SRCPV}"
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
do_install() {
|
|
install -d ${D}/${bindir}
|
|
install -m 755 functions.sh ${D}/${bindir}
|
|
install -m 755 pkg-diff.sh ${D}/${bindir}
|
|
install -m 755 same-build-result.sh ${D}/${bindir}
|
|
install -m 755 srpm-check.sh ${D}/${bindir}
|
|
}
|
|
|
|
RDEPENDS_${PN} += "bash"
|