forked from openSUSE/obs-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
21 lines (14 loc) · 774 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This script is used for building SUSE Linux RPMs in
a clean and safe chroot'ed build environment.
At first you need to copy your SUSE Linux CDs into a
path reachable by the build script, for example /home/suse-8.2-i386.
If you have a DVD Drive and the SUSE Linux DVD, you can mount it
and use this as the source for the RPMs.
To build an RPM, change into the directory with the sources
and the SPEC file. Then start the build script:
env BUILD_RPMS=/home/suse-8.2-i386/suse build
If this was successful you can find the binary and source RPMs below
/var/tmp/build-root/usr/src/packages/
Note: Depending on which package you want to build, you'll need
a few hundred megabytes for the build in /var/tmp/build-root.
For more information on using build, see 'man build'.