).
Because of that, check IMAGE_ROOTFS exists before trying to get the
size of it. Also, in case of any error catched as err, simply print
out a warning.
Signed-off-by: Mikko Ylinen
---
meta/classes/buildstats.bbclass | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git
e
UID/GIDs defined. The problem triggers when parsing all recipes (e.g.,
oe-selftest runs bitbake -p).
The right way to handle this is to raise bb.parse.SkipPackage(). This
will error correctly once the recipe is needed.
Signed-off-by: Mikko Ylinen
---
meta/classes/useradd-staticids.bbclass | 5 ++-
Intel MPX was recently enabled on x86 (_append_x86) but that didn't
enable it on x86-64. Explicitly enable libmpx on x86-64 too.
Signed-off-by: Mikko Ylinen
---
meta/recipes-devtools/gcc/gcc-runtime.inc | 7 +++
1 file changed, 7 insertions(+)
diff --git a/meta/recipes-devtools/gc
oe-git-proxy depends on socat host tool but it's not
whitelisted and triggers a 'binary not in PATH' error.
Whitelist socat but make it a HOSTTOOLS_NONFATAL since
it's not a hard dependency.
Signed-off-by: Mikko Ylinen
---
meta/conf/bitbake.conf | 2 +-
1 file change
oe-git-proxy depends on socat host tool but it's not
whitelisted and triggers a 'binary not in PATH' error.
Whitelist socat but make it a HOSTTOOLS_NONFATAL since
it's not a hard dependency.
Signed-off-by: Mikko Ylinen
---
meta/conf/bitbake.conf | 2 +-
1 file change
The recipe checks 'efi' in DISTRO_FEATURES but it's a machine feature.
Fix the check to use MACHINE_FEATURES to determine whether to
enable/disable 'efi' PACKAGECONFIG.
Signed-off-by: Mikko Ylinen
---
meta/recipes-core/systemd/systemd_232.bb | 3 ++-
1 file changed, 2
On 30/03/17 02:36, Peter Kjellerstedt wrote:
For the record, this is just correcting a regression that was
introduced with my change to use bb.utils.filter() where I apparently
missed that not all the features were DISTRO_FEATURES…
Yes, this was the case. I got a report that 'bootctl' is
On 30/03/17 19:15, Burton, Ross wrote:
On 30 March 2017 at 07:59, Mikko Ylinen <mailto:mikko.yli...@linux.intel.com>> wrote:
I'm fine. Perhaps 'efi' should not be a PACKAGECONFIG at all (and
unconditionally disabled here) and
the functionality (just bootc
DIR = /tmp-${TCLIBCAPPEND} via defaultsetup.conf and that breaks
the functionality in eSDK that expects everything is in /tmp.
To get TMPDIR consistent, we also need to reset TCLIBCAPPEND in
populate_sdk_ext.bbclass.
Fixes: [YOCTO #11298]
Signed-off-by: Mikko Ylinen
---
meta/classes/populate_sdk_ext.b
Hi Ed,
On 11/05/17 15:21, Ed Bartosh wrote:
+d.setVar("APPEND", "root=PARTUUID=%s" % partuuid)
+bb.build.exec_func('build_efi_cfg', d)
The rootfs wic allows you to build multiple rootfs'es in the image. With
that, it'd be good to be able to set PARTUUIDs for each of the rootfs
To complete the transition/renaming to chained image type CONVERSION
while maintaining bacwards compatibility to COMPRESS(ION), make sure also
COMPRESS_DEPENDS is checked. Without this, the dependencies for legacy
COMPRESSIONTYPES do not get built.
Signed-off-by: Mikko Ylinen
---
meta/classes
nd_patch to RSS by restoring the original
STAGING_DIR_NATIVE after WORKDIR is changed to ARCHIVER_WORKDIR.
Signed-off-by: Mikko Ylinen
---
meta/classes/archiver.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
i
On 06/06/17 18:03, Ross Burton wrote:
do_ar_configured alters WORKDIR but also expects to be able to run do_configure,
so forcibly expand the paths to the sysroots as otherwise they'll point to a
non-existant directory in the temporary WORKDIR.
[ YOCTO #11584 ]
This patch is not enough beca
stty
subprocess operations.
Signed-off-by: Mikko Ylinen
---
scripts/runqemu | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 311fbebdf4..26328e5b51 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -955,8 +955,8 @@ class Ba
mirrors is a list after split() and results in:
AttributeError: 'list' object has no attribute 'strip'
when the 'mirror values are pairs' check fails.
Signed-off-by: Mikko Ylinen
---
meta/classes/sanity.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion
mirrors is a list after split() and results in:
AttributeError: 'list' object has no attribute 'strip'
when the 'mirror values are pairs' check fails.
Signed-off-by: Mikko Ylinen
---
v2: drop redundant .strip() because it's guaranteed str(mirrors)
does
logging more verbose to better see
what's happening (and to get it consistent with opkg's remove() logging).
Signed-off-by: Mikko Ylinen
---
meta/lib/oe/package_manager.py | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/meta/lib/oe/package_manager.py b
v2: move the fix to rootfs.py and implement 2-stage removal
based on the feedback. split the fix and the logging improvements
in two commits.
Mikko Ylinen (2):
rootfs.py: remove update-alternatives correctly
package_manager: rpm: improve logging
meta/lib/oe/package_manager.py | 4
e symlinks in rootfs.
The fix is to first remove all but update-alternatives provider and
after that update-alternatives provider in its own remove() call.
Signed-off-by: Mikko Ylinen
---
meta/lib/oe/rootfs.py | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/m
To be able to better debug remove() behaviour, add more logging
to rpm calls via bb.note(). The change also makes remove() logging
more consistent with other package managers' remove() (e.g., opkg).
Signed-off-by: Mikko Ylinen
---
meta/lib/oe/package_manager.py | 4 +++-
1 file chang
-*.
Signed-off-by: Mikko Ylinen
---
meta/classes/staging.bbclass | 2 +-
meta/classes/useradd.bbclass | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index d21e198ae8..c479bd93ea 100644
--- a/meta/classes
:0.0+git0+a61ac5cf83-r0.all
*
* Solution 1:
* - do not ask to install a package providing linux-firmware
Make the split complete by installing the license in
${PN}-imx-sdma-license and have the blob packages depend on it.
Signed-off-by: Mikko Ylinen
---
meta/recipes-kernel/linux-firmware/linux
Hi,
On 11/10/17 17:29, Otavio Salvador wrote:
Hello Mikko,
On Tue, Oct 10, 2017 at 9:27 AM, Mikko Ylinen
wrote:
The commit to split i.MX SDMA firmware blobs in their
own packages was not complete and results in a failure
when trying to install full linux-firmware:
* Solver encountered 1
23 matches
Mail list logo