From 908bb5258e7107b57eb862cc0a932b8db82cd632 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 12 Nov 2019 11:14:46 -0800 Subject: [PATCH] Add hints about /usr/local and other non-swupd locations. --- configure.ac | 2 +- stateless.7.rst | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3a03b37..c979442 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([clr-man-pages], [11], [dev@lists.clearlinux.org]) +AC_INIT([clr-man-pages], [12], [dev@lists.clearlinux.org]) AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects no-dist-gzip dist-xz]) AM_SILENT_RULES([yes]) diff --git a/stateless.7.rst b/stateless.7.rst index 6143fd0..565b77c 100644 --- a/stateless.7.rst +++ b/stateless.7.rst @@ -23,6 +23,15 @@ SYNOPSIS ``/var/cache/`` +``/usr/local/`` + +``/usr/src/`` + +``/usr/lib/kernel/`` + +``/usr/lib/modules/`` + + DESCRIPTION =========== @@ -97,6 +106,24 @@ consult the relevant manual pages for the software to find information on the specific syntax and options for each software. +Where can I install system-wide files then? +------------------------------------------- + +``swupd``\(1) has a list of exempted locations where the system +administrator can place files that will not get overwritten or removed +at all. The default whitelisted directories are: + + ``/usr/lib/modules`` + ``/usr/lib/kernel`` + ``/usr/local`` + ``/usr/src`` + +Using these locations for your own software is highly recommended. Not +only do these locations provide a standard FHS compliant way of adding +local software, they are sufficiently separated from OS software that +maintaining them will be much more simple. + + ldconfig --------