blob: 36b6236cc48fe5a0a9721e3af9a5edf59a810d05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
kind: manual
sources:
- kind: git
url: baserock:baserock/fhs-dirs
track: baserock/usr_merge
ref: 9fafca436000bb57ddd5c498f8a75ea7b274f6c5
depends:
- filename: gnu-toolchain/stage2.bst
type: build
environment:
PATH: /usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin
config:
install-commands:
- sh ./create-fhs-dirs "%{install-root}"
- install -m 644 passwd "%{install-root}/etc/passwd"
- install -m 600 shadow "%{install-root}/etc/shadow"
- install -m 644 interfaces "%{install-root}/etc/network/interfaces"
- install -m 644 group "%{install-root}/etc/group"
- install -m 644 issue "%{install-root}/etc/issue"
- install -m 644 services "%{install-root}/etc/services"
- install -m 644 protocols "%{install-root}/etc/protocols"
- echo baserock > "%{install-root}/etc/hostname"
arches:
# Most 64 bit architectures need a /lib64 symlink as well as /lib.
# FIXME: the create-fhs-dirs script should probably handle this...
armv8b64:
config:
install-commands:
(>):
- mkdir -p "%{install-root}/usr/lib64"
- ln -s "./usr/lib64" "%{install-root}/lib64"
armv8l64:
config:
install-commands:
(>):
- mkdir -p "%{install-root}/usr/lib64"
- ln -s "./usr/lib64" "%{install-root}/lib64"
x86_64:
config:
install-commands:
(>):
- mkdir -p "%{install-root}/usr/lib64"
- ln -s "./usr/lib64" "%{install-root}/lib64"
ppc64l:
config:
install-commands:
(>):
- mkdir -p "%{install-root}/usr/lib64"
- ln -s "./usr/lib64" "%{install-root}/lib64"
ppc64b:
config:
install-commands:
(>):
- mkdir -p "%{install-root}/usr/lib64"
- ln -s "./usr/lib64" "%{install-root}/lib64"
|