blob: 056b94a7fb8c035cf50633bcbd467fd52a7d9863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
name: stage2-fhs-dirs
kind: chunk
decription: create the FHS 2.3 directory hierarchy and the usual files
install-commands:
# We tweak this a little for stage 2 because everything is installed into
# the one sysroot (/tools). We use symlinked versions of /bin and /lib.
- sh ./create-fhs-dirs "$DESTDIR"
- rmdir "$DESTDIR/bin" "$DESTDIR/lib"
- ln -s "/tools/bin" "$DESTDIR/bin"
- ln -s "/tools/lib" "$DESTDIR/lib"
- sh ./create-dev-nodes "$DESTDIR"
- install -m 644 passwd "$DESTDIR/etc/passwd"
- install -m 600 shadow "$DESTDIR/etc/shadow"
- install -m 644 interfaces "$DESTDIR/etc/network/interfaces"
- install -m 644 group "$DESTDIR/etc/group"
- install -m 644 ld.so.conf "$DESTDIR/etc/ld.so.conf"
- install -m 644 issue "$DESTDIR/etc/issue"
- install -m 644 services "$DESTDIR/etc/services"
- echo baserock > "$DESTDIR"/etc/hostname
|