Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Contributor: Aleksana QwQ <me@aleksana.moe>

pkgname=dinit
pkgver=0.20.0
pkgver=0.21.0
pkgrel=1
pkgdesc='Service monitoring / "init" system'
url='https://github.com/davmac314/dinit'
Expand All @@ -16,8 +16,8 @@ makedepends=(make linux-uapi-headers)
depends=(busybox musl llvm-libs libcap)
optdepends=('dinit-services: dinit service files')
options=(emptydirs)
sha256sums=('cd75b572a2eab4a9bd0610a2bb8cc154da7e80074e61cb1059a996dfd977baae'
'a792613ec687eace3aac2073875dd6ff55aba78b2ac97a4858579c410a63dfc5')
sha256sums=('2621949e8d25f5f1a27196f68f0487cdfbd93fb3d21daf6093b2cd27c5a987be'
'22052127397bf6322f421fe891b8eec5484f24554aef805b4fb18aa32ccbb722')

prepare() {
_patch_ "$pkgname-$pkgver"
Expand Down
10 changes: 5 additions & 5 deletions path-transition.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ index bdc8d50..e97e74b 100644
+++ b/src/options-processing.cc
@@ -79,6 +79,7 @@ void service_dir_opt::build_paths(bool am_system_init)
if (home_service_dir_set) {
service_dir_paths.emplace_back("/etc/dinit.d/user", /*dyn_allocd=*/false);
service_dir_paths.emplace_back("/usr/lib/dinit.d/user", /*dyn_allocd=*/false);
+ service_dir_paths.emplace_back("/usr/lib/dinit/user", /*dyn_allocd=*/false);
service_dir_paths.emplace_back("/usr/local/lib/dinit.d/user", /*dyn_allocd=*/false);
service_dir_paths.emplace_back("/etc/dinit.d/user", false);
service_dir_paths.emplace_back("/usr/lib/dinit.d/user", false);
+ service_dir_paths.emplace_back("/usr/lib/dinit/user", false);
service_dir_paths.emplace_back("/usr/local/lib/dinit.d/user", false);
}
else {
@@ -86,6 +87,7 @@ void service_dir_opt::build_paths(bool am_system_init)
Expand All @@ -17,4 +17,4 @@ index bdc8d50..e97e74b 100644
+ service_dir_paths.emplace_back("/lib/dinit/system", false);
}
}
else {
else {