Mailinglist Archive: opensuse-buildservice (126 mails)

< Previous Next >
Re: [opensuse-buildservice] Local openSUSE OS Bootstrap
  • From: Matthew Drobnak <mdrobnak@xxxxxxxxxxxx>
  • Date: Wed, 4 Feb 2015 22:48:34 +0000
  • Message-id: <1423090115.4986.7.camel@mdrobnak>
Adrian,

This is what I ended up doing
mkdir /obs/imports
MNTDIR=/obs/imports
mount -o ro,loop $SRCDIR/os131.iso /obs/imports

mkdir /srv/obs/build/openSUSE:13.1/standard/x86_64/t

cp -p
$MNTDIR/suse/noarch/*.rpm /srv/obs/build/openSUSE:13.1/standard/x86_64/t

cp -p
$MNTDIR/suse/x86_64/*.rpm /srv/obs/build/openSUSE:13.1/standard/x86_64/t

chown -R obsrun:obsrun /srv/obs/build/openSUSE:13.1/standard/x86_64/t
mv /srv/obs/build/openSUSE:13.1/standard/x86_64/t
/srv/obs/build/openSUSE:13.1/standard/x86_64/:full

obs_admin --rescan-repository openSUSE:13.1 standard x86_64


Anything missing, or is it this simple? I have built a few packages
against this project, and it seems to have worked fine.

Thanks.

-Matt



On Tue, 2015-02-03 at 10:01 +0100, Adrian Schröter wrote:
On Montag, 2. Februar 2015, 21:21:50 wrote Matthew Drobnak:
The old obs_project_mirror tool seems to be deprecated.

I created a new project called openSUSE:13.1.
I have copied in the project configuration from build.opensuse.org for
13.1.
I have a copy of the ISO of 13.1.

Do I copy everything under the suse directory
into /srv/obs/build/openSUSE:13.1/x86_64/full ? Or just the x86_64
directory?

:full directory...

But in this case I would just build against the build.opensuse.org remote
instance
in first step. And afterwards removing the path again. Ideally nothing would
trigger to rebuild here since you rebuild already the entire distro.


< Previous Next >