Compare commits

...

2 Commits

Author SHA1 Message Date
41c90f8d49 iso services: use dinitctl instead of symlinks
All checks were successful
Artools shellcheck / lint (push) Successful in 1m2s
2025-08-15 20:50:54 +02:00
c97a0cdd59 artixpkg repo import: show git diff with -n flag
All checks were successful
Artools shellcheck / lint (push) Successful in 31s
2025-06-28 14:55:24 +02:00
2 changed files with 2 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ add_svc_dinit(){
for svc in $names; do
if [[ -d $mnt/etc/dinit.d/boot.d ]]; then
msg2 "Setting %s: [%s]" "${INITSYS}" "$svc"
chroot "$mnt" ln -s ../"$svc" /etc/dinit.d/boot.d/"$svc" &>/dev/null
chroot "$mnt" dinitctl enable -o "$svc" &>/dev/null
fi
done
}

View File

@@ -61,8 +61,6 @@ patch_pkgbase(){
fi
done
fi
git --no-pager diff PKGBUILD
}
artixpkg_repo_import_usage() {
@@ -199,6 +197,7 @@ artixpkg_repo_import() {
msg2 "Patching ${pkgbase} ..."
patch_pkgbase "${pkgbase}"
fi
git --no-pager diff PKGBUILD
fi
)
fi