summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass6
-rw-r--r--meta/classes/debian.bbclass4
-rw-r--r--meta/classes/image_ipk.bbclass5
-rw-r--r--meta/classes/package.bbclass2
-rw-r--r--meta/classes/rootfs_ipk.bbclass1
5 files changed, 14 insertions, 4 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 2cd6ef4c06..bb6171f19c 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -337,7 +337,7 @@ python base_do_mrproper() {
337 337
338addtask fetch 338addtask fetch
339do_fetch[dirs] = "${DL_DIR}" 339do_fetch[dirs] = "${DL_DIR}"
340do_fetch[nostamp] = "1" 340#do_fetch[nostamp] = "1"
341python base_do_fetch() { 341python base_do_fetch() {
342 import sys 342 import sys
343 343
@@ -557,7 +557,8 @@ python base_eventhandler() {
557 msg += messages.get(name[5:]) or name[5:] 557 msg += messages.get(name[5:]) or name[5:]
558 elif name == "UnsatisfiedDep": 558 elif name == "UnsatisfiedDep":
559 msg += "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower()) 559 msg += "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower())
560 note(msg) 560 if msg:
561 note(msg)
561 562
562 if name.startswith("BuildStarted"): 563 if name.startswith("BuildStarted"):
563 bb.data.setVar( 'BB_VERSION', bb.__version__, e.data ) 564 bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
@@ -598,6 +599,7 @@ python base_eventhandler() {
598addtask configure after do_unpack do_patch 599addtask configure after do_unpack do_patch
599do_configure[dirs] = "${S} ${B}" 600do_configure[dirs] = "${S} ${B}"
600do_configure[bbdepcmd] = "do_populate_staging" 601do_configure[bbdepcmd] = "do_populate_staging"
602do_configure[deptask] = "do_populate_staging"
601base_do_configure() { 603base_do_configure() {
602 : 604 :
603} 605}
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 5688dad93b..698d917b51 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -6,6 +6,10 @@ STAGING_PKGMAPS_DIR = "${STAGING_DIR}/pkgmaps/debian"
6# depends are correct 6# depends are correct
7BUILD_ALL_DEPS = "1" 7BUILD_ALL_DEPS = "1"
8 8
9# Better expressed as ensure all RDEPENDS package before we package
10# This means we can't have circular RDEPENDS/RRECOMMENDS
11do_package[rdeptask] = "do_package"
12
9python debian_package_name_hook () { 13python debian_package_name_hook () {
10 import glob, copy, stat, errno, re 14 import glob, copy, stat, errno, re
11 15
diff --git a/meta/classes/image_ipk.bbclass b/meta/classes/image_ipk.bbclass
index c2f1c8d682..6c47e29f68 100644
--- a/meta/classes/image_ipk.bbclass
+++ b/meta/classes/image_ipk.bbclass
@@ -1,13 +1,16 @@
1inherit rootfs_ipk 1inherit rootfs_ipk
2 2
3# We need to follow RDEPENDS and RRECOMMENDS for images 3# We need to recursively follow RDEPENDS and RRECOMMENDS for images
4BUILD_ALL_DEPS = "1" 4BUILD_ALL_DEPS = "1"
5do_rootfs[recrdeptask] = "do_package"
5 6
6# Images are generally built explicitly, do not need to be part of world. 7# Images are generally built explicitly, do not need to be part of world.
7EXCLUDE_FROM_WORLD = "1" 8EXCLUDE_FROM_WORLD = "1"
8 9
9USE_DEVFS ?= "0" 10USE_DEVFS ?= "0"
10 11
12PR = "${DATE}-${TIME}"
13
11DEPENDS += "makedevs-native" 14DEPENDS += "makedevs-native"
12PACKAGE_ARCH = "${MACHINE_ARCH}" 15PACKAGE_ARCH = "${MACHINE_ARCH}"
13 16
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e67fb749fe..c7f366e19b 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -734,6 +734,8 @@ python package_do_package () {
734} 734}
735 735
736do_package[dirs] = "${D}" 736do_package[dirs] = "${D}"
737# shlibs requires any DEPENDS to have already packaged for the *.list files
738do_package[deptask] = "do_package"
737populate_packages[dirs] = "${D}" 739populate_packages[dirs] = "${D}"
738EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook 740EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook
739addtask package before do_build after do_populate_staging 741addtask package before do_build after do_populate_staging
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 8f9fddde14..393ad320cb 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -10,7 +10,6 @@ DEPENDS_append=" ${EXTRA_IMAGEDEPENDS}"
10 10
11PACKAGES = "" 11PACKAGES = ""
12 12
13do_rootfs[nostamp] = 1
14do_rootfs[dirs] = ${TOPDIR} 13do_rootfs[dirs] = ${TOPDIR}
15do_build[nostamp] = 1 14do_build[nostamp] = 1
16 15