Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Add hints about /usr/local and other non-swupd locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkok committed Nov 12, 2019
1 parent aea16bb commit 908bb52
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -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])

Expand Down
27 changes: 27 additions & 0 deletions stateless.7.rst
Expand Up @@ -23,6 +23,15 @@ SYNOPSIS

``/var/cache/``

``/usr/local/``

``/usr/src/``

``/usr/lib/kernel/``

``/usr/lib/modules/``


DESCRIPTION
===========

Expand Down Expand Up @@ -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
--------

Expand Down

0 comments on commit 908bb52

Please sign in to comment.