https://bugzilla.novell.com/show_bug.cgi?id=805732
https://bugzilla.novell.com/show_bug.cgi?id=805732#c17
--- Comment #17 from Marcus Schaefer 2013-03-12 10:57:59 UTC ---
When osc builds an image by invoking kiwi, osc also builds the repos inside the
chroot which are used by kiwi later to build the image. I would have expected
that if you set --prefer-pkgs=... that osc will setup the repo with that
prefered packages. If this is not the case it sounds like an osc/buildservice
problem
Thus it gets more complicated now: iirc the following worked for me in the past
- manually chroot into the osc created build root environment
osc chroot or manually chroot /path/to/build-root bash
- create your own repo:
mkdir /tmp/myGrub
cp <grub-package> /tmp/myGrub
cd /tmp/myGrub && createrepo .
- change the kiwi XML description and add another repo:
<repository type="rpm-md"/>
<source path="/tmp/myGrub"/>
</repository>
- to make sure your own version of grub is used qualify the name if required
<package name="grub-0.97-185.1.2"/>
- restart osc image build, no clean
Hope that helps
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.