summaryrefslogtreecommitdiff
path: root/pkg/skeleton/gen.lua
blob: e55ecddb8c7caefca626b875d2734dc2830ca0b3 (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
set('srcdir', '$dir')

dir('bin', '755')
sym('bin/plumb', '../etc/plumb')
dir('boot', '755')
dir('dev', '755')
dir('etc', '755')
dir('home', '755')
dir('mnt', '755')
dir('proc', '755')
dir('root', '700')
dir('run', '755')
dir('sys', '755')
dir('tmp', '755')
dir('var', '755')
dir('var/db', '755')
dir('var/empty', '755')
dir('var/log', '755')
sym('usr/bin', '../bin')

gitfile('.gitignore', '644', '$dir/gitignore')

file('libexec/applyperms', '755', exe('applyperms', {'applyperms.c'}))
file('libexec/mergeperms', '755', exe('mergeperms', {'mergeperms.c'}))