From aa03004ace2fabb135a6208ef8c2d2b312aa7b0b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Oct 2008 10:56:42 +0200 Subject: [PR] Change PR to FILE_PR and intro PR as FILE_PR + DISTRO_PR Allow a distribution to globally bump the PR of every package this is useful when there was a change in the toolchain and every package is going to be different. find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR="/"FILE_PR ="/ {} \; find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR ="/"FILE_PR ="/ {} \; Acked-By: Koen Kooi --- packages/mtd/mtd-utils-tests_1.0.0+git.bb | 2 +- packages/mtd/mtd-utils_1.0.0+git.bb | 2 +- packages/mtd/mtd-utils_1.0.0.bb | 2 +- packages/mtd/mtd-utils_1.1.0.bb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/mtd') diff --git a/packages/mtd/mtd-utils-tests_1.0.0+git.bb b/packages/mtd/mtd-utils-tests_1.0.0+git.bb index b5240009a7..1c2cda8af0 100644 --- a/packages/mtd/mtd-utils-tests_1.0.0+git.bb +++ b/packages/mtd/mtd-utils-tests_1.0.0+git.bb @@ -6,7 +6,7 @@ require mtd-utils_1.0.0+git.bb SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=${TAG}" -PR = "r1" +FILE_PR = "r1" S = "${WORKDIR}/git/tests/fs-tests" diff --git a/packages/mtd/mtd-utils_1.0.0+git.bb b/packages/mtd/mtd-utils_1.0.0+git.bb index b325bb03d3..0d4cb835d9 100644 --- a/packages/mtd/mtd-utils_1.0.0+git.bb +++ b/packages/mtd/mtd-utils_1.0.0+git.bb @@ -3,7 +3,7 @@ SECTION = "base" DEPENDS = "zlib lzo" HOMEPAGE = "http://www.linux-mtd.infradead.org/" LICENSE = "GPLv2" -PR = "r8" +FILE_PR = "r8" # This is the default package, thus we lock to a specific git version so # upstream changes will not break builds. diff --git a/packages/mtd/mtd-utils_1.0.0.bb b/packages/mtd/mtd-utils_1.0.0.bb index 0ebb47fb22..66e3e9a91e 100644 --- a/packages/mtd/mtd-utils_1.0.0.bb +++ b/packages/mtd/mtd-utils_1.0.0.bb @@ -3,7 +3,7 @@ SECTION = "base" DEPENDS = "zlib" HOMEPAGE = "http://www.linux-mtd.infradead.org/" LICENSE = "GPLv2" -PR = "r0" +FILE_PR = "r0" # RP/kergoth: Builds seem to break with recent mtd-utils # Can't pin down the exact problems diff --git a/packages/mtd/mtd-utils_1.1.0.bb b/packages/mtd/mtd-utils_1.1.0.bb index e585cf5ab8..0f31e70799 100644 --- a/packages/mtd/mtd-utils_1.1.0.bb +++ b/packages/mtd/mtd-utils_1.1.0.bb @@ -3,7 +3,7 @@ SECTION = "base" DEPENDS = "zlib lzo" HOMEPAGE = "http://www.linux-mtd.infradead.org/" LICENSE = "GPLv2" -PR = "r3" +FILE_PR = "r3" SRC_URI = "ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-${PV}.tar.bz2 \ file://add-exclusion-to-mkfs-jffs2-git.patch;patch=1 \ -- cgit v1.2.3