Mailinglist Archive: opensuse-packaging (16 mails)

< Previous Next >
[opensuse-packaging] Newbie trying to figure out how y2pmbuild sets up the build environment
  • From: Günter Dannoritzer <dannoritzer@xxxxxx>
  • Date: Sun, 30 Jul 2006 15:50:07 +0200
  • Message-id: <44CCB90F.3020806@xxxxxx>
Hi,

I am trying to create my first RPM and have a bit problems understanding
the setup of the build environment as described in the build tutorial:

http://en.opensuse.org/SUSE_Build_Tutorial#Configuration

I read the explanation about how to use the y2pmbuild tool and it talks
about that the y2pmbuild tool will setup up the build environment at a
given place. I looked in the file:

/etc/y2pmbuild/dists_common

and it sets:

add_sources="suse"

url_suse="file:/srv/ftp/pub/suse/$BUILD_DIST/CD1/"

>From the description in the build tutorial it sounded like y2pmbuild
will somehow copy the necessary files of a distribution there, but when
I call y2pmbuild with my spec file, it looks like it is expecting the
distribution already being there.

My question is now what I need to copy there. As the path information
has the $BUILD_DIST option, it sounds like only the respective
distribution needs to be copied there. So if I build for x86_64, can I
just copy the whole content from the x86_64 folder of my suse 10.1 DVD
into the 10.1-x86_64/CD1 folder?

Thanks for any help.

Cheers,

Guenter



---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging-help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups