Skip to content

Commit

Permalink
feat: add /usr/src to FHS
Browse files Browse the repository at this point in the history
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf

> /usr/src : Source code (optional)

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Aug 24, 2021
1 parent 428abdb commit a243ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhs/pkg.yaml
Expand Up @@ -4,7 +4,7 @@ steps:
- |
PREFIX=/rootfs
mkdir -pv ${PREFIX}/{dev,lib,proc,sys,bin,sbin,etc,opt,run}
mkdir -pv ${PREFIX}/usr/{bin,sbin,lib,var,include}
mkdir -pv ${PREFIX}/usr/{bin,sbin,lib,var,include,src}
mkdir -pv ${PREFIX}/usr/local/{bin,sbin,lib,include}
mkdir -pv ${PREFIX}/var/{log,run,mail,spool}
install -dv -m 0750 ${PREFIX}/root
Expand Down

0 comments on commit a243ab8

Please sign in to comment.