upg runit runit-rc
This commit is contained in:
parent
0f4c920837
commit
e281aaac2d
|
@ -4,25 +4,20 @@
|
|||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
# We thank both the Artix and Void Linux developer teams for the inspiration and work
|
||||
|
||||
_commit=18183a020fd9221be5e0117d3f2638200fe1ead9
|
||||
# refs/remotes/origin/verbose2
|
||||
pkgname=runit-rc
|
||||
pkgver=20220408
|
||||
pkgver=20230911
|
||||
pkgrel=01
|
||||
pkgdesc='Artix Linux system initialization and shutdown for runit'
|
||||
arch=(x86_64)
|
||||
groups=(base)
|
||||
url='https://gitea.artixlinux.org/artix/runit-rc'
|
||||
backup=('etc/rc/rc.conf')
|
||||
makedepends=('git')
|
||||
depends=('procps-ng' 'bash' 'opentmpfiles' 'bootlogd' 'eudev')
|
||||
pkgdesc='Joborun Linux system initialization and shutdown for runit'
|
||||
backup=('etc/rc/rc.conf' 'etc/rc.conf' )
|
||||
depends=('procps-ng' 'bash' 'bootlogd' 'eudev')
|
||||
optdepends=('lvm2-runit: LVM support for runit'
|
||||
'cryptsetup-runit: Enable boot support for encrypted partitions'
|
||||
'smbnetfs: to mount netfs volumes on stage1')
|
||||
provides=('init-rc')
|
||||
conflicts=('init-rc')
|
||||
source=("git+${url}.git#commit=$_commit"
|
||||
rc.conf)
|
||||
optdepends=('lvm2-runit: LVM support for runit'
|
||||
'cryptsetup-runit: Enable boot support for encrypted partitions')
|
||||
source=("runit-rc.11092023.tar.xz")
|
||||
|
||||
build() {
|
||||
cd ${pkgname}
|
||||
|
@ -32,17 +27,26 @@ build() {
|
|||
package() {
|
||||
cd ${pkgname}
|
||||
make DESTDIR="${pkgdir}" install-rc
|
||||
install -D -m644 "${srcdir}/rc.conf" "${pkgdir}/etc/rc/rc.conf"
|
||||
|
||||
ln -s "/etc/rc/rc.conf" "${pkgdir}/etc/rc.conf"
|
||||
|
||||
### If you want cgroups mounted by the init remove the following line
|
||||
rm -rf "${pkgdir}/etc/rc/sysinit/04-cgroups"
|
||||
### or # ln -s /usr/lib/rc/sv.d/cgroups /etc/rc/sysinit/04-cgroups
|
||||
### and they will be mounted on next boot
|
||||
rm -rf "${pkgdir}/etc/rc/sysinit/04-cgroups"
|
||||
# iputils-specific configuration
|
||||
mkdir -p "$pkgdir/usr/lib/sysctl.d"
|
||||
mkdir -p "$pkgdir/usr/lib/rc"
|
||||
echo "net.ipv4.ping_group_range = 0 2147483647" > "$pkgdir/usr/lib/sysctl.d/55-iputils.conf"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('BSD')
|
||||
|
||||
sha256sums=(SKIP
|
||||
9a3f33b93fc702ed1ec4d0200f7a78c1f178c798f12a1b37d308a1f3effe8a6e) # rc.conf
|
||||
sha256sums=(2f74e667ee9a33c8b30c3267fe4c4a239ed8c6b68ae13dc8821be1b9de338ff5) # runit-rc.11092023.tar.xz
|
||||
|
||||
## ac475aedf91193c581e296243c0501b196d0e00b1a7a26a1e96bf4032b8ab0fc runit-rc-20230911-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
# Maintainer: Chris Cromer <chris@cromer.cl>
|
||||
# Maintainer: Muhammad Herdiansyah <koni@artixlinux.org>
|
||||
# Maintainer: Qontinuum <qontinuum@artixlinux.org>
|
||||
# Contributor: Chris Cromer <chris@cromer.cl>
|
||||
# Contributor: Muhammad Herdiansyah <koni@artixlinux.org>
|
||||
|
||||
_commit=4be15079e20c2a48ed1215d5e54a4c10abb9b7fa
|
||||
_commit=26fa40633d6a42764448a4e00164b0428b5b8618
|
||||
|
||||
pkgname=runit-rc
|
||||
pkgver=20200825
|
||||
pkgver=20230902
|
||||
pkgrel=1
|
||||
pkgdesc='Artix Linux system initialization and shutdown for runit'
|
||||
arch=('x86_64')
|
||||
url='https://gitea.artixlinux.org/artix/runit-rc'
|
||||
license=('BSD')
|
||||
backup=('etc/rc/rc.conf')
|
||||
makedepends=('git')
|
||||
depends=('procps-ng' 'bash' 'opentmpfiles' 'bootlogd' 'eudev-runit')
|
||||
depends=('procps-ng' 'bash' 'bootlogd' 'eudev-runit')
|
||||
provides=('init-rc')
|
||||
conflicts=('init-rc')
|
||||
source=("git+${url}.git#commit=$_commit")
|
||||
|
@ -28,4 +28,8 @@ build() {
|
|||
package() {
|
||||
cd ${pkgname} #-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install-rc
|
||||
|
||||
# iputils-specific configuration
|
||||
mkdir -p "$pkgdir/usr/lib/sysctl.d"
|
||||
echo "net.ipv4.ping_group_range = 0 2147483647" > "$pkgdir/usr/lib/sysctl.d/55-iputils.conf"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# runit-rc customized for joborun
|
||||
|
|
@ -1 +1 @@
|
|||
rm -rf {src,pkg,runit-rc}
|
||||
rm -rf {src,pkg}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,6 @@
|
|||
|
||||
real 0m2.484s
|
||||
user 0m1.626s
|
||||
sys 0m0.201s
|
||||
|
||||
real 0m2.098s
|
||||
user 0m1.777s
|
||||
sys 0m0.482s
|
||||
|
||||
|
|
Loading…
Reference in New Issue