[opensuse-buildservice] manually add a distro

I'm running my own instance of OBS; just installed 1.7.0. I have it set up so it links to opensuse.org for the distros that are on build.opensuse.org; however there are a couple of distros that aren't in that list (which I need to add). I've set up two other OBS servers in the past -- but those are different, older versions. I recall (and tried) the instructions listed at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope... However, those don't seem to work. Similarly, I've created my own XML file that I think should work, but I can't seem to get OBS to recognize the distro's existence. (The .conf file is something I'll work out on my own; I've done that plenty in the past). So what do I need to do to get a new distro into my own local OBS? -- Troy Telford ttelford.groups@gmail.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

You have to create the distro's project in the GUI or with osc to make all the layers aware of the project. osc meta prj ${PROJECT} have build and publish disabled and setup a "standard" repository with the appropriate arches. Then, create the /build hierarchy for the packages: mkdir -p /srv/obs/build/${PROJECT}/standard/x86_64/\:full cp $PACKAGES /srv/obs/build/${PROJECT}/standard/x86_64/\:full/ chown obsrun:obsrun /srv/obs/build/${PROJECT} cd /usr/lib/obs/server ./bs_admin --rescan-repository ${PROJECT} standard x86_64 After bs_sched rescans the repository, OBS should know about the binaries for usage as build dependencies. On Fri, 2010-02-26 at 15:14 -0600, Troy Telford wrote:
I'm running my own instance of OBS; just installed 1.7.0.
I have it set up so it links to opensuse.org for the distros that are on build.opensuse.org; however there are a couple of distros that aren't in that list (which I need to add).
I've set up two other OBS servers in the past -- but those are different, older versions. I recall (and tried) the instructions listed at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope...
However, those don't seem to work.
Similarly, I've created my own XML file that I think should work, but I can't seem to get OBS to recognize the distro's existence. (The .conf file is something I'll work out on my own; I've done that plenty in the past).
So what do I need to do to get a new distro into my own local OBS? -- Troy Telford ttelford.groups@gmail.com
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Fri, 2010-02-26 at 15:33 -0600, Luke Imhoff wrote:
You have to create the distro's project in the GUI or with osc to make all the layers aware of the project.
osc meta prj ${PROJECT}
have build and publish disabled and setup a "standard" repository with the appropriate arches.
Then, create the /build hierarchy for the packages:
mkdir -p /srv/obs/build/${PROJECT}/standard/x86_64/\:full cp $PACKAGES /srv/obs/build/${PROJECT}/standard/x86_64/\:full/ chown obsrun:obsrun /srv/obs/build/${PROJECT}
That chown should be recursive chown -R obsrun:obsrun /srv/obs/build/${PROJECT}
cd /usr/lib/obs/server ./bs_admin --rescan-repository ${PROJECT} standard x86_64
After bs_sched rescans the repository, OBS should know about the binaries for usage as build dependencies.
On Fri, 2010-02-26 at 15:14 -0600, Troy Telford wrote:
I'm running my own instance of OBS; just installed 1.7.0.
I have it set up so it links to opensuse.org for the distros that are on build.opensuse.org; however there are a couple of distros that aren't in that list (which I need to add).
I've set up two other OBS servers in the past -- but those are different, older versions. I recall (and tried) the instructions listed at http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope...
However, those don't seem to work.
Similarly, I've created my own XML file that I think should work, but I can't seem to get OBS to recognize the distro's existence. (The .conf file is something I'll work out on my own; I've done that plenty in the past).
So what do I need to do to get a new distro into my own local OBS? -- Troy Telford ttelford.groups@gmail.com
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Feb 26, 2010, at 2:33 PM, Luke Imhoff wrote:
You have to create the distro's project in the GUI or with osc to make all the layers aware of the project.
osc meta prj ${PROJECT}
have build and publish disabled and setup a "standard" repository with the appropriate arches.
Then, create the /build hierarchy for the packages:
mkdir -p /srv/obs/build/${PROJECT}/standard/x86_64/\:full cp $PACKAGES /srv/obs/build/${PROJECT}/standard/x86_64/\:full/ chown obsrun:obsrun /srv/obs/build/${PROJECT}
cd /usr/lib/obs/server ./bs_admin --rescan-repository ${PROJECT} standard x86_64
After bs_sched rescans the repository, OBS should know about the binaries for usage as build dependencies.
Thanks. It's been a while since I've set up OBS; I used to do it quite a bit...
http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope...
I realized something about this as I looked through the history: I originally wrote it. <sigh>. -- Troy Telford ttelford.groups@gmail.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Luke Imhoff
-
Troy Telford