On 2014-12-05 00:23:08 +0100, Dimstar / Dominique Leuenberger wrote:
On Thu, 2014-12-04 at 22:07 +0100, Frank Kunz wrote:
Am 03.12.2014 um 22:45 schrieb Andreas Schwab:
Is there a possibility to run the JeOS build local with my local uboot
build result? Use osc build --prefer-pkgs DIR, where DIR contains the uboot build result.
Unfortunately it does not work. The osc command loads the build info from the server, and there it is marked with error. What can I do to overcome that error?
Frank
ls /mnt/obs/rpm-dir/ u-boot-a20-olinuxino-lime2-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc1-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-2015.01~rc2-0.armv7hl.rpm u-boot-a20-olinuxino-lime2-doc-2015.01~rc2-0.armv7hl.rpm
osc build images armv7l --prefer-pkg /mnt/obs/rpm-dir/
Building JeOS-olinuxinolime2.kiwi for images/armv7l Scanning the following dirs for local packages: /mnt/obs/rpm-dir/
The problem is that osc cannot relate the obs arch "armv7l" to the concrete "armv7hl" arch. Thus, we have to "hardcode" such a mapping in osc's packagequery module. What are the concrete RPM arches for obs' "armv7l" arch? armv7hl, armv7el...?
Getting buildinfo from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildinfo-images-armv7l.xml Getting buildconfig from server and store to /mnt/obs/buildonly/home:frank_kunz:branches:openSUSE:Factory:ARM/JeOS-olinuxinolime2/.osc/_buildconfig-images-armv7l buildinfo is broken... it says: unresolvable: nothing provides u-boot-a20-olinuxino-lime2
Using the correct parameter will help you; osc build --help lists for your usecase:
-p DIR, --prefer-pkgs=DIR Prefer packages from this directory when installing the build-root
(there is a missing 's' in your command; or you can just use -p)
That's (surprisingly) ok - it's a feature of the optparse module: if you specify --foo and there is exactly one option that starts with the prefix "foo", this option is used. (So in this case even something like "--prefer /path/to/directory" works). Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org