kind: manual

sources:
- kind: git
  url: baserock:baserock/fhs-dirs
  track: master
  ref: 1218cbd38a4f4e9da75af6f7fae946ca92666afb

depends:
- filename: build-essential/stage2.bst
  type: build

environment:
  PATH: /tools/bin:/usr/bin:/bin:/usr/sbin:/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"
