cups: move localstatedir from /usr/var to /var
PATCH 1/1 cups: move localstatedir from /usr/var to /var
Prior to commit f64a1b850fc897357040bb4c58b6e5e50e71e094 ("cups:
convert to autotargets"), cups was explicitely configured to put its modifiable single-machine data under /var. After that commit, the --localstatedir was not specified, so it remained at it's default value, "PREFIX/var" - making cups use "/usr/var".
Using /var to store state files seems preferable to /usr/var, as /usr might be read-only on some systems. This patch re-introduces the --localstatedir specification to build cups to use /var.
--- package/cups/cups.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/cups/cups.mk +2 -1
@@ -17,7 +17,8 @@ CUPS_CONF_OPT = --without-perl \ --without-php \ --disable-gnutls \ --disable-gssapi \ - --libdir=/usr/lib + --libdir=/usr/lib \ + --localstatedir=/var CUPS_CONFIG_SCRIPTS = cups-config CUPS_DEPENDENCIES = $(if $(BR2_PACKAGE_ZLIB),zlib) \
Signature · 1 line
1.7.9.5
PATCH 1/1 cups: move localstatedir from /usr/var to /var
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Danomi" == Danomi Manchego <[email protected]> writes:
Prior to commit
f64a1b850fc897357040bb4c58b6e5e50e71e094("cups:
convert to autotargets"), cups was explicitely configured to put its modifiable single-machine data under /var. After that commit, the --localstatedir was not specified, so it remained at it's default value, "PREFIX/var" - making cups use "/usr/var".
Quoted 6 lines
Using /var to store state files seems preferable to
/usr/var, as /usr might be read-only on some systems. This patch re-introduces the --localstatedir specification to build cups to use /var.Signed-off-by Danomi Manchego <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard