rename packages/ to recipes/ per earlier agreement
Subsystems (9)
PATCH 2/3 recipes: fix hardcoded instances of packages/
In reply to Denys Dmytriyenko--- recipes/kexecboot/linux-kexecboot.inc | 2 +- recipes/libffi/libffi_2.0+gcc4.3.2.bb | 2 +- recipes/libffi/libffi_3.0.8.bb | 2 +- recipes/mamona/gcc-noemu_4.1.1.bb | 2 +- recipes/mamona/gcc-noemu_4.1.2.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
recipes/kexecboot/linux-kexecboot.inc +1 -1
@@ -6,7 +6,7 @@ SRC_URI = "file://defconfig" LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}' SRC_URI += "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2" -require packages/linux/linux.inc +require recipes/linux/linux.inc DONT_CHECK_KERNELSIZE = "" INITRAMFS_IMAGE = "initramfs-kexecboot-image"
recipes/libffi/libffi_2.0+gcc4.3.2.bb +1 -1
@@ -1,4 +1,4 @@ -require packages/gcc/gcc-common.inc +require recipes/gcc/gcc-common.inc SECTION = "libs" DESCRIPTION = "Foreign Function Interface library" LICENSE = "libffi"
recipes/libffi/libffi_3.0.8.bb +1 -1
@@ -1,4 +1,4 @@ -require packages/gcc/gcc-common.inc +require recipes/gcc/gcc-common.inc SECTION = "libs" DESCRIPTION = "Foreign Function Interface library"
recipes/mamona/gcc-noemu_4.1.1.bb +1 -1
@@ -57,7 +57,7 @@ JAVA_arm = "" JAVA = "" LANGUAGES = "c,c++${FORTRAN}${JAVA}" -require packages/gcc/gcc-${PV}.inc +require recipes/gcc/gcc-${PV}.inc EXTRA_OECONF += "--disable-libspp --with-slibdir=\"/lib\""
recipes/mamona/gcc-noemu_4.1.2.bb +1 -1
@@ -77,7 +77,7 @@ JAVA_arm = "" LANGUAGES = "c,c++${FORTRAN}${JAVA}" -require packages/gcc/gcc-${PV}.inc +require recipes/gcc/gcc-${PV}.inc EXTRA_OECONF += " --disable-libssp --with-slibdir=\"/lib\" "
Signature · 1 line
1.6.0.6
cover rename packages/ to recipes/ per earlier agreement
Renaming packages/ directory to recipes/, as one of the several structural changes, was proposed by Koen[1] and agreed/approved by many. Since Koen currently doesn't have time/ability to do the change, and some people are too eager to wait any longer, he asked me to do it. Please ack/nack.
[1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
Denys Dmytriyenko (3):
rename packages/ to recipes/ per earlier agreement
recipes: fix hardcoded instances of packages/ base.bbclass: fix base_get_scmbasepath() to look for recipes/ and
fall back to packages/ while parsing BBFILES
Signature · 1 line
Denys
PATCH 3/3 base.bbclass: fix base_get_scmbasepath() to look for recipes/ and fall back to packages/ while parsing BBFILES
--- classes/base.bbclass | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
classes/base.bbclass +7 -1
@@ -773,7 +773,13 @@ python base_do_unpack() { def base_get_scmbasepath(d): import bb path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split() - return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )] + + try: + index = path_to_bbfiles[0].rindex( "recipes" ) + except ValueError: + index = path_to_bbfiles[0].rindex( "packages" ) + + return path_to_bbfiles[0][:index] def base_get_metadata_monotone_branch(d): monotone_branch = "<unknown>"
Signature · 1 line
1.6.0.6
PATCH 3/3 base.bbclass: fix base_get_scmbasepath() to look for recipes/ and fall back to packages/ while parsing BBFILES
In reply to Denys Dmytriyenko