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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to