Set files as read-only

This commit is contained in:
Alex D. 2024-09-19 11:15:51 +00:00
parent 075b9fdf60
commit a70b169c33
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@
. ../../APKBUILD.template
pkgname=nnd-s6-services
pkgver=2.93
pkgver=2.94
pkgrel=0
pkgdesc="Base services for s6"
depends="s6-rc s6-portable-utils s6-linux-utils"
@ -24,6 +24,10 @@ package() {
mkdir -p "$pkgdir/$_distpfx"/env
mv "$builddir"/rc "$pkgdir/$_distpfx"/rc
# Make sure these aren't touched, always use customs
find "$pkgdir/$_distpfx/" -type d -exec chmod 555 '{}' ';'
find "$pkgdir/$_distpfx/" -type f -exec chmod 444 '{}' ';'
mkdir -p "$pkgdir/usr/libexec/nnd/"
mv "$builddir"/tmpl "$pkgdir/usr/libexec/nnd"/s6