systemd 256.4-1
This commit is contained in:
parent
9b312dd2cb
commit
34ff02715a
89
systemd/PKGBUILD
Normal file
89
systemd/PKGBUILD
Normal file
@ -0,0 +1,89 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=systemd
|
||||
pkgver=256.4
|
||||
pkgrel=1
|
||||
pkgdesc="system and service manager"
|
||||
arch=('x86_64')
|
||||
url="https://www.freedesktop.org/wiki/Software/systemd/"
|
||||
license=('GPL2' 'LGPL2.1')
|
||||
groups=('base')
|
||||
depends=('glibc' 'gcc-libs' 'libcap' 'xz' 'zstd'
|
||||
'acl' 'bash' 'kbd' 'kmod' 'lz4' 'libxcrypt' 'libelf'
|
||||
'openssl' 'python-jinja2')
|
||||
makedepends=('gperf' 'intltool' 'linux-api-headers'
|
||||
'shadow' 'meson' 'curl')
|
||||
backup=(etc/systemd/coredump.conf
|
||||
etc/systemd/homed.conf
|
||||
etc/systemd/journal-upload.conf
|
||||
etc/systemd/journald.conf
|
||||
etc/systemd/logind.conf
|
||||
etc/systemd/networkd.conf
|
||||
etc/systemd/oomd.conf
|
||||
etc/systemd/pstore.conf
|
||||
etc/systemd/resolved.conf
|
||||
etc/systemd/sleep.conf
|
||||
etc/systemd/system.conf
|
||||
etc/systemd/timesyncd.conf
|
||||
etc/systemd/user.conf
|
||||
etc/udev/iocost.conf
|
||||
etc/udev/udev.conf)
|
||||
install=${pkgname}.install
|
||||
source=(https://github.com/systemd/systemd/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||
https://anduin.linuxfromscratch.org/LFS/${pkgname}-man-pages-${pkgver}.tar.xz)
|
||||
sha256sums=(7861d544190f938cac1b242624d78c96fe2ebbc7b72f86166e88b50451c6fa58
|
||||
dceb4cc699b3801c38d99f88618ca7e7f7e23ee6016a8b7eef3ed361d852d340)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
sed -i -e 's/GROUP="render"/GROUP="video"/' \
|
||||
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
future-meson build \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--buildtype=release \
|
||||
-D default-dnssec=no \
|
||||
-D firstboot=false \
|
||||
-D install-tests=false \
|
||||
-D ldconfig=false \
|
||||
-D sysusers=false \
|
||||
-D rpmmacrosdir=no \
|
||||
-D homed=disabled \
|
||||
-D userdb=false \
|
||||
-D man=disabled \
|
||||
-D mode=release \
|
||||
-D pamconfdir=no \
|
||||
-D dev-kvm-mode=0660 \
|
||||
-D nobody-group=nogroup \
|
||||
-D sysupdate=disabled \
|
||||
-D ukify=disabled \
|
||||
-Ddocdir=/usr/share/doc/${pkgname}-${pkgver} \
|
||||
-Dntp-servers="${_timeservers[*]}" \
|
||||
-Dfallback-hostname='futurelinux' \
|
||||
-Dsbat-distro='future' \
|
||||
-Dsbat-distro-summary="Future Linux" \
|
||||
-Dsbat-distro-pkgname=${pkgname} \
|
||||
-Dsbat-distro-version=${pkgver} \
|
||||
-Dsbat-distro-url="https://www.futurelinux.xyz"
|
||||
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
meson install -C build --destdir ${pkgdir}
|
||||
|
||||
install -vdm 755 ${pkgdir}/usr/share/man
|
||||
cp -r ${srcdir}/${pkgname}-man-pages-${pkgver}/* ${pkgdir}/usr/share/man
|
||||
}
|
14
systemd/systemd.install
Normal file
14
systemd/systemd.install
Normal file
@ -0,0 +1,14 @@
|
||||
# This is a default template for a post-install scriptlet.
|
||||
# Uncomment only required functions and remove any functions
|
||||
# you don't need (and this header).
|
||||
|
||||
post_install() {
|
||||
systemd-machine-id-setup
|
||||
systemctl preset-all
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
systemctl daemon-reexec
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user