@wabi: thanks for packaging immich. chown
requires the user to exist, which in general doesn't happen until installation -- hence my suggestion to use tmpfiles.d. I use something like this:
# PKGBUILD
package() {
...
install -Dm644 "${srcdir}/immich.sysusers" "${pkgdir}/usr/lib/sysusers.d/immich.conf"
install -Dm644 "${srcdir}/immich.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/immich.conf"
...
install -d "${pkgdir}/var/lib/immich/upload" "${pkgdir}/var/lib/immich/app/server/.reverse-geocoding-dump"
}
# immich.tmpfiles
d /var/lib/immich 0700 immich immich -
Pinned Comments
pikl commented on 2024-08-05 09:52 (UTC)
From
v1.111.0
, this package does not build withnodejs
<v20
.