-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
W dniu 22.03.2013 20:41, Antonio Terceiro pisze:
On Thu, Mar 21, 2013 at 10:19:40AM +0100, Marcin Juszkiewicz wrote:
Next thing is distro dependencies. For example perf test done for Ubuntu. First thing it does is finding out which exactly perf package it needs and install it. Why this is not done on image generation time? Especially when we know that all rootfs images we make end in LAVA...
IMO including everything needed for every test in the images does not scale. When we have 100 tests, each one requiring 1 package, do we want to have 100 extra packages in every image?
Good point.
Also, everyone creating new tests would have to coordinate with the teams that create images, which increases the communications overhead and adds bottlenecks.
+1
And can this part be moved to install-ubuntu.sh script so for OE I could just reuse script instead of creating a copy of it? Probably similar would be with others.
I think we should provide means for tests to install dependencies in a cross-distro way, by having the tests declare a list of packages that need to need to be installed a before it is executed.
In Ubuntu, that list of packages would be passed to `apt-get install`, while in OE it would be passed into `opkg install`, etc.
We can not use 'opkg install' cause with OE we do not have software repositories. Of course we could create them but in this case I prefer to add packages into image rather than maintain repository.