using copyhardlinktree before updating fstab to avoid conflicts with
other tasks working with rootfs.
Signed-off-by: Ed Bartosh
---
scripts/lib/wic/plugins/imager/direct.py | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/scripts/lib/wic/plugins/imager
the report.
Signed-off-by: Ed Bartosh
---
scripts/lib/wic/plugins/imager/direct.py | 7 ++-
scripts/lib/wic/plugins/source/rootfs.py | 10 --
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/scripts/lib/wic/plugins/imager/direct.py
b/scripts/lib/wic/plugins/imager/direc
Using relative paths can cause copyhardlinktree API to fail as
it changes current directory when working. Converted all paths
to absolute paths using os.path.realpath.
Signed-off-by: Ed Bartosh
---
scripts/lib/wic/plugins/source/rootfs.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
Used unique suffix (line number from .wks file) for the
copied rootfs directory to avoid possible conflicts.
Signed-off-by: Ed Bartosh
---
scripts/lib/wic/plugins/source/rootfs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/wic/plugins/source/rootfs.py
b
caused by changed
amount of mounted partitions.
[YOCTO #11662]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/cases/wic.py | 2 +-
scripts/lib/wic/plugins/imager/direct.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/wic.py
b
avio Salvador wrote:
> >On Tue, Jun 27, 2017 at 10:28 AM, Ed Bartosh
> >wrote:
> >>The patchset also fixes long standing bug: wic updated fstab
> >>inplace in rootfs directory. This causes other tasks working with
> >>rootfs directory to produce incorrect resul
On Wed, Jun 28, 2017 at 10:32:27AM -0300, Otavio Salvador wrote:
> On Wed, Jun 28, 2017 at 4:31 AM, Ed Bartosh
> wrote:
> > On Tue, Jun 27, 2017 at 05:41:45PM -0300, Fabio Berton wrote:
> >> The last patch I sent is here:
> >> https://patchwork.openembedded.org
On Thu, Jun 29, 2017 at 11:39:42AM +0300, Ed Bartosh wrote:
> On Wed, Jun 28, 2017 at 10:32:27AM -0300, Otavio Salvador wrote:
> > On Wed, Jun 28, 2017 at 4:31 AM, Ed Bartosh
> > wrote:
> > > On Tue, Jun 27, 2017 at 05:41:45PM -0300, Fabio Berton wrote:
> > &g
On Fri, Jun 30, 2017 at 11:02:13AM +0200, Patrick Ohly wrote:
> On Fri, 2017-06-30 at 11:37 +0300, Ed Bartosh wrote:
> > > I'm not sure I understand this. If you don't want fstab to be
> > changed
> > > you should not specify mount points in .wks
> > >
On Fri, Jun 30, 2017 at 10:58:27AM -0300, Otavio Salvador wrote:
> On Fri, Jun 30, 2017 at 10:16 AM, Patrick Ohly wrote:
> > On Fri, 2017-06-30 at 15:23 +0300, Ed Bartosh wrote:
> >> On Fri, Jun 30, 2017 at 11:02:13AM +0200, Patrick Ohly wrote:
> >> > On Fri, 2017-06
On Fri, Jun 30, 2017 at 03:16:33PM +0200, Patrick Ohly wrote:
> On Fri, 2017-06-30 at 15:23 +0300, Ed Bartosh wrote:
> > On Fri, Jun 30, 2017 at 11:02:13AM +0200, Patrick Ohly wrote:
> > > On Fri, 2017-06-30 at 11:37 +0300, Ed Bartosh wrote:
> > > > > I'm no
On Fri, Jun 30, 2017 at 08:34:30PM +0200, Patrick Ohly wrote:
> On Fri, 2017-06-30 at 14:33 -0300, Otavio Salvador wrote:
> > Other possible rootfs changes also should be possible to be disabled
> > but IMO it should be per-feature (one for fstab, one for exclude,
> > ...).
>
> I also think it sho
On Fri, Jun 30, 2017 at 10:53:30AM -0700, Alejandro Hernandez wrote:
> When using wic to create an image from a certain build, wic is expecting
> to find initrd at the final destination of our images (DEPLOY_DIR_IMAGE),
> which is wrong, since the initrd file has not been copied to the final
> dire
onnection. Some tests can be run using
serial console.
Added new parameter 'get_ip' to QemuRunner.start to make it possible
to skip getting pair of ip addresses from kernel command line. This
should allow oe-selftest to test images without modifying kernel
command line.
[YOCTO #8498]
ernel path.
Signed-off-by: Ed Bartosh
---
scripts/runqemu | 2 +-
scripts/runqemu-internal | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 4bb3bb6..0830901 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -454,7 +454,7
qemu hands with 'waiting for root device' message during the
boot of wic images if '-drive if=virtio' option is used.
Removed if=virtio from qemu command line for wic images. This
should fix above mentioned boot issue.
Signed-off-by: Ed Bartosh
---
scripts/runqemu-inte
-core/qemuRunner-wic-8498
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/oe-core/qemuRunner-wic-8498
Ed Bartosh (15):
runqemu: add support for wic images
runqemu: don't use virtio for wic images
runqemu: don't set KERNEL for wic images
runqemu: support path/to/-.wi
Added new parameter 'ssh' to targetcontrol 'start' method
to be able to test images without running ssh server.
[YOCTO #8498]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/targetcontrol.py | 18 ++
meta/lib/oeqa/utils/commands.py | 4 ++--
2 files changed,
From: Ed Bartosh
Removed unused parameter 'test' from runqemu function.
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/devtool.py | 2 +-
meta/lib/oeqa/selftest/imagefeatures.py | 6 +++---
meta/lib/oeqa/utils/commands.py | 2 +-
3 files changed, 5 insert
Added 'wic' to the list image types supported by targetcontrol.
This is a preparation for booting and testing wic images
with oe-selftest.
[YOCTO #8498]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/targetcontrol.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Supported providing wic image path to runqemu:
runquemu path/to/-.wic
[YOCTO #8691]
Signed-off-by: Ed Bartosh
---
scripts/runqemu | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 0830901..48b7551 100755
--- a/scripts
Quemu should be able to run wic images this way:
runqemu wic
Tested with 'runqemu qemux86-64 wic-image-minimal wic'
Signed-off-by: Ed Bartosh
---
scripts/runqemu | 3 ++-
scripts/runqemu-internal | 16
2 files changed, 10 insertions(+), 9 deletion
Added test_qemu testcase to boot wic-image-minimal and test
that 2 partitions mentioned in .wks are mounted.
[YOCTO #8499]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/wic.py | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/wic.py
Image should be build usual way, i.e. using bitbake .
Specifying do_mage_complete and do_rootfs_wicenv tasks should not
be needed anymore as those tasks should be run by bitbake for
every image.
Removed specifying do_mage_complete and do_rootfs_wicenv tasks
from bitbake calls.
Signed-off-by: Ed
Used --uuid option to generate PARTUUID for root partion and
gpt partition type. As this image is used in runtime testing
under qemu it makes sense to ensure that this way of specifying
root partition works.
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.wks
With below list of changes wic-image-minimal can be boot by qemu:
- Changed device name sda -> hda.
- Added root=/dev/hda2 to the kernel command line.
- Changed mount point for core partition to /mnt to have it
mounted on boot time.
Signed-off-by: Ed Bartosh
---
meta-selft
Processing of this option was lost during recent change of
wks parsting. It was discovered during the work on booting
wic images under qemu. Now, when -use-uuid is fixed it's
possible to specify root partition by partition uuid.
This will be done in the following commit.
Signed-off-by: Ed Ba
(redefined-builtin)
W:175, 8: Redefining built-in 'vars' (redefined-builtin)
W: 27, 0: Unused import sys (unused-import)
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/wic.py | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/meta/lib/oeqa/selfte
Replaced wic.bz2 -> wic in IMAGE_FSTYPES.
wic-image-minimal is going to be booted in qemu and tested.
As runqemu doesn't support compressed images this recipe needs
to produce raw wic image.
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
On Tue, Feb 02, 2016 at 02:50:19PM +, Richard Purdie wrote:
> On Tue, 2016-02-02 at 09:27 +0200, Ed Bartosh wrote:
> > qemu hands with 'waiting for root device' message during the
> > boot of wic images if '-drive if=virtio' option is used.
> >
> &g
On Tue, Feb 02, 2016 at 03:57:08PM +, Richard Purdie wrote:
> On Tue, 2016-02-02 at 14:55 +0200, Ed Bartosh wrote:
> > On Tue, Feb 02, 2016 at 02:50:19PM +, Richard Purdie wrote:
> > > On Tue, 2016-02-02 at 09:27 +0200, Ed Bartosh wrote:
> > > > qemu hands
(2016-02-01 17:16:05 +)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/oe-core/qemuRunner-wic-8498
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/oe-core/qemuRunner-wic-8498
Ed Bartosh (14):
runqemu: add support for wic images
runqe
Quemu should be able to run wic images this way:
runqemu wic
Tested with 'runqemu qemux86-64 wic-image-minimal wic'
Signed-off-by: Ed Bartosh
---
scripts/runqemu | 3 ++-
scripts/runqemu-internal | 16
2 files changed, 10 insertions(+), 9 deletion
Supported providing wic image path to runqemu:
runquemu path/to/-.wic
[YOCTO #8691]
Signed-off-by: Ed Bartosh
---
scripts/runqemu | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 0830901..48b7551 100755
--- a/scripts
Added new parameter 'ssh' to targetcontrol 'start' method
to be able to test images without running ssh server.
[YOCTO #8498]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/targetcontrol.py | 18 ++
meta/lib/oeqa/utils/commands.py | 4 ++--
2 files changed,
onnection. Some tests can be run using
serial console.
Added new parameter 'get_ip' to QemuRunner.start to make it possible
to skip getting pair of ip addresses from kernel command line. This
should allow oe-selftest to test images without modifying kernel
command line.
[YOCTO #8498]
Image should be build usual way, i.e. using bitbake .
Specifying do_mage_complete and do_rootfs_wicenv tasks should not
be needed anymore as those tasks should be run by bitbake for
every image.
Removed specifying do_mage_complete and do_rootfs_wicenv tasks
from bitbake calls.
Signed-off-by: Ed
From: Ed Bartosh
Removed unused parameter 'test' from runqemu function.
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/devtool.py | 2 +-
meta/lib/oeqa/selftest/imagefeatures.py | 6 +++---
meta/lib/oeqa/utils/commands.py | 2 +-
3 files changed, 5 insert
Added test_qemu testcase to boot wic-image-minimal and test
that 2 partitions mentioned in .wks are mounted.
[YOCTO #8499]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/wic.py | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/wic.py
Added 'wic' to the list image types supported by targetcontrol.
This is a preparation for booting and testing wic images
with oe-selftest.
[YOCTO #8498]
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/targetcontrol.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Processing of this option was lost during recent change of
wks parsting. It was discovered during the work on booting
wic images under qemu. Now, when -use-uuid is fixed it's
possible to specify root partition by partition uuid.
This will be done in the following commit.
Signed-off-by: Ed Ba
With below list of changes wic-image-minimal can be boot by qemu:
- Changed device name sda -> vda.
- Added root=/dev/vda2 to the kernel command line.
- Changed mount point for core partition to /mnt to have it
mounted on boot time.
Signed-off-by: Ed Bartosh
---
meta-selft
partition table.
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
meta-selftest/recipes-test/images/wic-image-minimal.wks | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.bb
b
Replaced wic.bz2 -> wic in IMAGE_FSTYPES.
wic-image-minimal is going to be booted in qemu and tested.
As runqemu doesn't support compressed images this recipe needs
to produce raw wic image.
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
ernel path.
Signed-off-by: Ed Bartosh
---
scripts/runqemu | 2 +-
scripts/runqemu-internal | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 4bb3bb6..0830901 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -454,7 +454,7
(redefined-builtin)
W:175, 8: Redefining built-in 'vars' (redefined-builtin)
W: 27, 0: Unused import sys (unused-import)
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/wic.py | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/meta/lib/oeqa/selfte
Bitbake logger stops working after tinfoil.shutdown removes console
handler from it. This makes bb.{error,warn,note,critical} messages
disappear from the console. Adding console handler to bitbake logger
again should fix this issue.
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/utils/commands.py
Hi Oliver,
This looks like a bug in wic code to me. I remember something similar
was fixed recently. Please, create a bug in for me in bugzilla.
On Wed, Feb 10, 2016 at 05:14:58PM +0100, Oliver Graute wrote:
> Hello list,
>
> I observe a problem with the create_image.wic script after second exec
Quemu should be able to run wic images this way:
runqemu wic
Tested with 'runqemu qemux86-64 wic-image-minimal wic'
(From OE-Core rev: 8716be799949cb8bde7fa49cbea61312a3a93bb7)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
scripts/runqemu | 3 ++
/qemuRunner-wic-8498
Ed Bartosh (14):
runqemu: add support for wic images
runqemu: don't set KERNEL for wic images
runqemu: support path/to/-.wic
oe-selftest: remove unused parameter
qemurunner: add parameter to method 'start'
oeqa/targetcontrol: make ssh control optiona
ernel path.
(From OE-Core rev: 474caa7ed5ff05caa5d49d270b283882fa616ed1)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
scripts/runqemu | 2 +-
scripts/runqemu-internal | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
From: Ed Bartosh
Removed unused parameter 'test' from runqemu function.
(From OE-Core rev: c688b3bcbb57099fa72a9728bc708b109802f7fc)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta/lib/oeqa/selftest/devtool.py | 2 +-
meta/lib/oeqa/selftest/imagefeatu
e rev: b4882e0b84d7fd4c85ee95386e94722485eafc2b)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
scripts/lib/wic/partition.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 9bb1a0a..55bcfba 100644
--- a/scripts/li
Added 'wic' to the list image types supported by targetcontrol.
This is a preparation for booting and testing wic images
with oe-selftest.
[YOCTO #8498]
(From OE-Core rev: 7dda053fbd1ea1354b7720cfa691470ba88ef5b9)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
met
Added test_qemu testcase to boot wic-image-minimal and test
that 2 partitions mentioned in .wks are mounted.
[YOCTO #8499]
(From OE-Core rev: 6fb015d0847fe7d259d654d4a99bf4c328f810ab)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta/lib/oeqa/selftest/wic.py | 12
rev: f085274711f561f97a2c89f40bb0e89094973054)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta-selftest/recipes-test/images/wic-image-minimal.wks | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.wks
b/meta-selftest/recipes-t
Added new parameter 'ssh' to targetcontrol 'start' method
to be able to test images without running ssh server.
[YOCTO #8498]
(From OE-Core rev: 1c3c66aadd43092bc19242b0651ee810cc31fe7c)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta/lib/oeqa/ta
Supported providing wic image path to runqemu:
runquemu path/to/-.wic
[YOCTO #8691]
(From OE-Core rev: 58a3bfb1e4b493200820cdf0bf3fc79e31e792de)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
scripts/runqemu | 10 ++
1 file changed, 6 insertions(+), 4 deletions
#8498]
(From OE-Core rev: 3f8b734ebb81d035849288091bb0b97b9c4fba34)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta/lib/oeqa/utils/qemurunner.py | 45 ---
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.
(redefined-builtin)
W:175, 8: Redefining built-in 'vars' (redefined-builtin)
W: 27, 0: Unused import sys (unused-import)
(From OE-Core rev: ecb5320e766d0fa031c269d6d9b2a24c81c7aa7e)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta/lib/oeqa/selftest/wic.py | 18 ++
: d8d7bd1b41eb846f18378a2581ff172cb2cc52b8)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta/lib/oeqa/selftest/wic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index ed03018..b3f9f1e 100644
partition table.
(From OE-Core rev: ba82867bfda54e86e1de5dc4a6ad7246254cf5c3)
Signed-off-by: Ed Bartosh
Signed-off-by: Richard Purdie
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
meta-selftest/recipes-test/images/wic-image-minimal.wks | 4 ++--
2 files changed, 3
OE-Core rev: 3ce91db94f4b921566dce0dc6f91a422009be06b)
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
meta/lib/oeqa/selftest/wic.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.bb
b/me
Hi Cristopher,
Thank you for the patch!
Acked-by: Ed Bartosh
On Thu, Feb 25, 2016 at 10:21:49AM -0700, Christopher Larson wrote:
> From: Christopher Larson
>
> We were creating the partition, mkswap'ing it, and then not dd'ing it into
> place in the final image, as so
With empty LABELS variable build_efi_cfg skips most of its
functionality producing warning message:
'LABELS not defined, nothing to do'
This causes build failure for efi images.
Setting default value for LABELS to 'boot install' should fix
this issue.
Signed-off-by: E
icenv for all images. Added explicit
dependency to this task in wic-image-minimal recipe.
[YOCTO #9095]
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
meta/classes/image.bbclass | 2 +-
2 files changed, 2 insertions(
icenv for all images. Added explicit
dependency to this task in wic-image-minimal recipe.
[YOCTO #9095]
Signed-off-by: Ed Bartosh
---
meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
meta/classes/image.bbclass | 2 +-
2 files changed, 2 insertions(
the issue.
Signed-off-by: Ed Bartosh
---
scripts/lib/wic/ksparser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py
index 2f1e097..8c3f808 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -11
. All changes are still included in the
output if script is run with -a/--report-all command line option.
[YOCTO #9755]
Signed-off-by: Ed Bartosh
---
meta/lib/oe/buildhistory_analysis.py | 18 ++
1 file changed, 18 insertions(+)
diff --git a/meta/lib/oe/buildhistory_analysis.py
b
s when recipe filename changes.
Making PV to explicitly depend on PV variable value overrides default
behaviour. Instead of depending on python expression bitbake depends
on evaluated value of PV variable, which should fix the above
mentioned issue.
[YOCTO #9806]
Signed-off-by: Ed Bartosh
---
m
Hi Maciej,
Thank you for the patch! It looks good to me.
Acked-by: Ed Bartosh
BTW, the same effect can be achieved by specifying mount point without
leading slash, i.e. part mirror --ondisk sda
On Tue, Jul 12, 2016 at 01:37:25PM +0200, Maciej Borzecki wrote:
> According to
.
Signed-off-by: Ed Bartosh
---
meta/lib/oeqa/selftest/wic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 895c6d6..e550785 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
/uncovered
bitbake/
should print list of uncovered python modules from bitbake/
directory tree to stdout.
[YOCTO #9809]
Signed-off-by: Ed Bartosh
---
scripts/contrib/uncovered | 39 +++
1 file changed, 39 insertions(+)
create mode 100755 scripts/contrib
Hi all,
We've noticed quite big increase of core-image-minimal build time caused by
commit
d55b7650d305ffad953dd36595ee6b9aa8df5a72 linux-yocto: Enablei debug/printk.scc
KERNEL_FEATURE on qemuall machines.
Here are results of /usr/bin/time -v bitbake core-image-minimal for this
and previous com
Hi Bruce,
Thank you for your suggestion to experiment with configuration options!
> On 2016-07-26 10:32 AM, Ed Bartosh wrote:
> >Hi all,
> >
> >We've noticed quite big increase of core-image-minimal build time caused by
> >commit
> >d55b7650d305ffad953dd36
Hi,
This patchset contains various improvements for the image creation functionality
made by Patchick Ohly during his work on bug #9076:
- fixed dependency calculation for conversion chaining
- renamed COMPRESSION variables to CONVERSION as the term "compression" is no
longer accurate
- priori
laced with setting the normal IMAGE_DEPENDS
variables for these types.
[YOCTO #9076]
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes/image.bbclass | 19 ++---
meta/classes/image_types.bbclass | 60
2 files change
including COMPRESSIONTYPES in CONVERSIONTYPES and checking for
the old COMPRESS_CMD/DEPENDS as fallbacks.
[YOCTO #9346]
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes/image.bbclass | 10 +++---
meta/classes/image_types.bbclass
skip generating the conversion commands.
That way developers can choose between using the builtin conversion
support or re-implementing certain types, for example more efficiently
without intermediate files.
[YOCTO #9076]
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes
mpressed format, for example with:
IMAGE_FSTYPES = "hdddirect.vdi.xz"
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes/image-live.bbclass| 2 +-
meta/classes/image-vm.bbclass | 33 ++
meta/classes/image.bbclas
On Wed, Jul 27, 2016 at 09:06:44AM -0400, Bruce Ashfield wrote:
> On 2016-07-27 08:28 AM, Ed Bartosh wrote:
> >Hi Bruce,
> >
> >Thank you for your suggestion to experiment with configuration options!
> >
> >>On 2016-07-26 10:32 AM, Ed Bartosh wrote:
> >&g
On Wed, Jul 27, 2016 at 03:58:16PM -0500, Aníbal Limón wrote:
>
>
> On 07/27/2016 03:06 PM, Sullivan, California L wrote:
> > Adding the debug-kernel fragment to the printk fragment was probably a
> > mistake on my part. I don't see anything that requires it.
> >
> > I'm also seeing another issu
On Thu, Jul 28, 2016 at 09:42:44PM +0100, Richard Purdie wrote:
> On Wed, 2016-07-27 at 15:51 +0300, Ed Bartosh wrote:
> > From: Patrick Ohly
> >
> > When using conversion chaining (for example example: .dsk.vdi.xz),
> > the imagetypes_getdepends() did not prop
On Thu, Jul 28, 2016 at 05:30:14PM -0400, Robert P. J. Day wrote:
>
> never used "wic" before, and i'm wondering if it has the ability to
> not create dd-able images so much as partition and format physical
> target devices. surely, the underlying logic would be the same, i just
> want to work w
On Fri, Jul 29, 2016 at 06:19:13AM -0400, Robert P. J. Day wrote:
> On Fri, 29 Jul 2016, Ed Bartosh wrote:
>
> > On Thu, Jul 28, 2016 at 05:30:14PM -0400, Robert P. J. Day wrote:
> > >
> > > never used "wic" before, and i'm wondering if it has the
mpressed format, for example with:
IMAGE_FSTYPES = "hdddirect.vdi.xz"
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes/image-live.bbclass| 2 +-
meta/classes/image-vm.bbclass | 33 ++
meta/classes/image.bbclas
including COMPRESSIONTYPES in CONVERSIONTYPES and checking for
the old COMPRESS_CMD/DEPENDS as fallbacks.
[YOCTO #9346]
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes/image.bbclass | 9 ++---
meta/classes/image_types.bbclass | 60 +-
Hi,
This patchset contains various improvements for the image creation functionality
made by Patchick Ohly during his work on bug #9076:
- renamed COMPRESSION variables to CONVERSION as the term "compression" is no
longer accurate
- support converting masked types
Changes in v2: rebased on top
including COMPRESSIONTYPES in CONVERSIONTYPES and checking for
the old COMPRESS_CMD/DEPENDS as fallbacks.
[YOCTO #9346]
Signed-off-by: Patrick Ohly
Signed-off-by: Ed Bartosh
---
meta/classes/image.bbclass | 9 +++---
meta/classes/image_types.bbclass
On Fri, Jul 29, 2016 at 03:36:12PM +0100, Richard Purdie wrote:
> On Fri, 2016-07-29 at 15:29 +0100, Richard Purdie wrote:
> > On Fri, 2016-07-29 at 16:44 +0300, Ed Bartosh wrote:
> > > From: Patrick Ohly
> > >
> > > Conversion to vmdk/vdi/qcow2 is also usef
Hi Jose,
On Mon, Aug 08, 2016 at 09:23:07AM -0700, Jose Lamego wrote:
> Improve oeqa-selftest capabilities and UX by placing
> test configuration features and variables into a separate
> configuration file.
>
Frankly I have mixed feelings about these changes. From the first look
splitting config
Recent renaming of COMPRESSIONTYPES variable can break recipes that
still use it. Including value of COMPRESSIONTYPES variable into
CONVERSIONTYPES should prevent this.
Signed-off-by: Ed Bartosh
---
meta/classes/image_types.bbclass | 8 +++-
1 file changed, 7 insertions(+), 1 deletion
Made build_syslinux_cfg depend on output directory to ensure that
directory is created before running the function.
[YOCTO #10159]
Signed-off-by: Ed Bartosh
---
meta/classes/syslinux.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/syslinux.bbclass b/meta/classes
Excluded removal of do_bootimg, do_bootdirectdisk and do_vmimg
timestamps to prevent unneeded rootfs rebuilds.
[YOCTO #10159]
Signed-off-by: Ed Bartosh
---
meta/classes/rm_work.bbclass | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/meta/classes/rm_work.bbclass
ry type instead of strings
should fix this.
Signed-off-by: Ed Bartosh
---
scripts/combo-layer | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 8f57ba5..b90bfc8 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-l
Changed deployment directory from DEPLOY_DIR_IMAGE to DEPLOYDIR
to make sstate machinery to do final deployment and generate
manifest.
Signed-off-by: Ed Bartosh
---
meta/classes/image-live.bbclass | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta/classes
script failing when not finding any mmcblk
devices (2016-08-30 07:57:50 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/oe-core/artifacts-9869
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/oe-core/artifacts-9869
Ed Bartosh (18
Changed deployment directory from DEPLOY_DIR_IMAGE to DEPLOYDIR
to make sstate machinery to do final deployment and generate
manifest.
Signed-off-by: Ed Bartosh
---
meta/classes/image.bbclass | 2 +-
meta/classes/image_types.bbclass | 44
2 files
Changed deployment directory from DEPLOY_DIR_IMAGE to DEPLOYDIR
to make sstate machinery to do final deployment and generate
manifest.
Signed-off-by: Ed Bartosh
---
meta/classes/image.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image.bbclass b
Changed deployment directory from DEPLOY_DIR_IMAGE to DEPLOYDIR
to make sstate machinery to do final deployment and generate
manifest.
Signed-off-by: Ed Bartosh
---
meta/classes/image_types_uboot.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes
1101 - 1200 of 1300 matches
Mail list logo