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/ 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)
Hope that helps.
Dominiquee
--
Dimstar / Dominique Leuenberger