Skip to content

Commit

Permalink
feat: add manpath configuration file to the container
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
kbdharun committed May 21, 2024
1 parent 9e72a17 commit 194fd70
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
30 changes: 30 additions & 0 deletions includes.container/etc/man-path.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
MANDATORY_MANPATH /usr/man
MANDATORY_MANPATH /usr/share/man
MANDATORY_MANPATH /usr/local/share/man
MANDATORY_MANPATH /run/host/usr/man
MANDATORY_MANPATH /run/host/usr/share/man
MANDATORY_MANPATH /run/host/usr/local/share/man

MANPATH_MAP /bin /usr/share/man
MANPATH_MAP /usr/bin /usr/share/man
MANPATH_MAP /sbin /usr/share/man
MANPATH_MAP /usr/sbin /usr/share/man
MANPATH_MAP /usr/local/bin /usr/local/man
MANPATH_MAP /usr/local/bin /usr/local/share/man
MANPATH_MAP /usr/local/sbin /usr/local/man
MANPATH_MAP /usr/local/sbin /usr/local/share/man
MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man
MANPATH_MAP /usr/bin/X11 /usr/X11R6/man
MANPATH_MAP /usr/games /usr/share/man
MANPATH_MAP /opt/bin /opt/man
MANPATH_MAP /opt/sbin /opt/man

MANDB_MAP /usr/man /var/cache/man/fsstnd
MANDB_MAP /usr/share/man /var/cache/man
MANDB_MAP /usr/local/man /var/cache/man/oldlocal
MANDB_MAP /usr/local/share/man /var/cache/man/local
MANDB_MAP /usr/X11R6/man /var/cache/man/X11R6
MANDB_MAP /opt/man /var/cache/man/opt
MANDB_MAP /snap/man /var/cache/man/snap

SECTION 1 n l 8 3 0 2 3type 3posix 3pm 3perl 3am 5 4 9 6 7
5 changes: 5 additions & 0 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ stages:
- apt autoremove -y
- apt clean

- name: add-manpath-config
type: shell
commands:
- mv /etc/man-path.config /etc/manpath.config

- name: enable-apt-hooks
type: shell
commands:
Expand Down

0 comments on commit 194fd70

Please sign in to comment.