Update to the head of the upstream staging branch * Previous patches 0001-0042 are included in the source tarball * Patches 0001-0032 are from the upstream staging branch Rename redhat patches * Previous patches 0043-0053 are now patches 0033-0043 Change back to using readline instead of libedit * The code the uses readline has been isolated from the code that is licensed gpl v2 only. Add libmpathutil libraries to spec file Add multipathc program to spec file Add multipath.conf systemd tempfile configuration to spec file Misc spec file cleanups
48 lines
1.9 KiB
Diff
48 lines
1.9 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Fri, 28 Oct 2022 16:01:17 +0200
|
|
Subject: [PATCH] README.md: document options for paths and optimization
|
|
|
|
Signed-off-by: Martin Wilck <mwilck@suse.com>
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
README.md | 25 +++++++++++++++++++++++--
|
|
1 file changed, 23 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/README.md b/README.md
|
|
index b1b78fbb..ab7dc3c9 100644
|
|
--- a/README.md
|
|
+++ b/README.md
|
|
@@ -101,8 +101,29 @@ The following variables can be passed to the `make` command line:
|
|
as a module, it might make more sense to use a module softdep for the same
|
|
purpose.
|
|
|
|
-See `Makefile.inc` for additional variables to customize paths and compiler
|
|
-flags.
|
|
+### Installation Paths
|
|
+
|
|
+ * `prefix`: The directory prefix for (almost) all files to be installed.
|
|
+ Distributions may want to set this to `/usr`.
|
|
+ **Note**: for multipath-tools, unlike many other packages, `prefix`
|
|
+ defaults to the empty string, which resolves to the root directory (`/`).
|
|
+ * `usr_prefix`: where to install those parts of the code that aren't necessary
|
|
+ for booting. You may want to set this to `/usr` if `prefix` is empty.
|
|
+ * `systemd_prefix`: Prefix for systemd-related files. It defaults to `/usr`.
|
|
+ Some systemd installations use separate `prefix` and `rootprefix`. On such
|
|
+ a distribution, set `prefix`, and override `unitdir` to use systemd's
|
|
+ `rootprefix`.
|
|
+ * `LIB`: the subdirectory under `prefix` where shared libraries will be
|
|
+ installed. By default, the makefile uses `/lib64` if this directory is
|
|
+ found on the build system, and `/lib` otherwise.
|
|
+
|
|
+See also `configdir` and `plugindir` above. See `Makefile.inc` for more
|
|
+fine-grained control.
|
|
+
|
|
+### Compiler Options
|
|
+
|
|
+Use `OPTFLAGS` to change optimization-related compiler options;
|
|
+e.g. `OPTFLAGS="-g -O0"` to disable all optimizations.
|
|
|
|
Special Makefile targets
|
|
------------------------
|