Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
obs-build
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ariel D'Alessandro
obs-build
Commits
e2997a72
Commit
e2997a72
authored
10 years ago
by
Michael Schroeder
Browse files
Options
Downloads
Patches
Plain Diff
Rewrite the README file
parent
c88f2500
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+7
-17
7 additions, 17 deletions
README
with
7 additions
and
17 deletions
README
+
7
−
17
View file @
e2997a72
This script is used for building SUSE Linux RPMs in
a clean and safe chroot'ed build environment.
This is a tool to build binary packages in a safe and reproducible
way. The default is to build in a chroot sandbox, but it also
supports building in a virtual machine for better security.
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.
The build tool can work with multiple package and recipe formats.
The currently supported package formats are deb, rpm, and arch.
The supported recipe formats are spec, dsc, kiwi, and PKGBUILD.
If you have a DVD Drive and the SUSE Linux DVD, you can mount it
and use this as the source for the RPMs.
See the man page for more information.
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'.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment