summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2023-04-11 13:30:55 +0300
committerPanu Matilainen <pmatilai@redhat.com>2023-04-11 13:32:20 +0300
commit62395521a9aea856c225de1baf767707ed235f98 (patch)
tree678c1dcf14a509d9aadd9e7dba6585788fb6b6db
parentb75ae820beb53633e4ef8b476f7cf0aad2d617bc (diff)
downloadrpm-62395521a9aea856c225de1baf767707ed235f98.tar.gz
Axe outdated multiple build areas doc
-rw-r--r--docs/CMakeLists.txt1
-rw-r--r--docs/manual/index.md1
-rw-r--r--docs/manual/multiplebuilds.md49
3 files changed, 0 insertions, 51 deletions
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 65cd4f61f..cebf51ee6 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -32,7 +32,6 @@ install(FILES
manual/lua.md
manual/macros.md
manual/more_dependencies.md
- manual/multiplebuilds.md
manual/plugins.md
manual/queryformat.md
manual/relocatable.md
diff --git a/docs/manual/index.md b/docs/manual/index.md
index f258d49b5..f5abb3f02 100644
--- a/docs/manual/index.md
+++ b/docs/manual/index.md
@@ -33,7 +33,6 @@ title: rpm.org - RPM Reference Manual
* [Users and Groups](users_and_groups.md)
* [Conditional Builds](conditionalbuilds.md)
* [Relocatable Packages](relocatable.md)
- * [Multiple build areas](multiplebuilds.md)
* [Dynamic Spec Generation](dynamic_specs.md)
## Developer Information
diff --git a/docs/manual/multiplebuilds.md b/docs/manual/multiplebuilds.md
deleted file mode 100644
index cb6ea5b9e..000000000
--- a/docs/manual/multiplebuilds.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-layout: default
-title: rpm.org - Multiple build areas
----
-# Multiple build areas
-
-It is possible to run several RPM builds on the same machine using
-separate RPM databases. On my build machine I have several build
-areas which all run builds at the same time. The builds do not
-interfere with each other. Each build behaves as if it was running on
-its own machine and no build area knows about the RPM database which
-actually configures the machine.
-
-First, setup a "topdir" in a prefix other then where RPM is
-installed. You will need to make the directories. They need to be
-writable by the account which will do the building, typically they
-are owned by the buildmaster account and set to permissions
-755.
-
-```
- BUILD RPMS SOURCES SPECS SRPMS
-```
-
-Next, you will need to decide where the database files live. I suggest
-putting them in a separate directory under "topdir". I call my
-directory DB and it has the same owner and permissions as the other
-directories.
-
-Each separate build area needs a rpmrc and macro configuration file. This
-will need to specify the new topdir and dbpath. If you will be building
-the same packages in different work areas you will also need to specify a
-tmppath into the topdir. I suggest either making tmppath be the same as
-the BUILD directory or adding another directory called BUILDROOT for it
-in the topdir.
-
-Keeping track of the correct rpmrc for each build area can be
-difficult. To make my life easier I make a small shell script with the
-topdir hard coded inside:
-
-```
- #!/bin/sh
- /bin/rpm --rcfile /topdir/rpmrc "$@"
- exit $?
-```
-
-I call the shell script rpm and it lives in the topdir. Each time I
-wish to use a particular build area I just ensure that the build area
-is first in my path so that when I run "rpm" I get the regular rpm
-binary but I am using the local build areas rpmrc.