blob: 1e641390ee188fb4da1887480ec5bb729aa7b846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
. ${BUILDFILE%/*}/common.sh
pkgver=20160713.3
package() {
cd "$pkgdir"
install -dm755 etc
install -dm750 etc/sudoers.d
add-file etc/sudoers.d/00-wheel <<EOF
%wheel ALL=(ALL) ALL
EOF
add-file etc/systemd/system/shadow.service.d/sort.conf <<EOF
[Service]
ExecStart=/bin/bash -c '/usr/bin/pwck -r && /usr/bin/pwck -s'
ExecStart=/bin/bash -c '/usr/bin/grpck -r && /usr/bin/grpck -s'
EOF
backup=($(find "$pkgdir" -type f -printf '%P\n'))
}
|