mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
core/systemd to 244-1
This commit is contained in:
parent
6d4a94fece
commit
1a4484fea7
2 changed files with 11 additions and 34 deletions
|
@ -1,24 +1,19 @@
|
||||||
From 34e4b4953cb99642e9144d97823edf32b06ffe93 Mon Sep 17 00:00:00 2001
|
|
||||||
Message-Id: <34e4b4953cb99642e9144d97823edf32b06ffe93.1520376078.git.jan.steffens@gmail.com>
|
|
||||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||||
Date: Tue, 6 Mar 2018 23:39:47 +0100
|
Date: Tue, 6 Mar 2018 23:39:47 +0100
|
||||||
Subject: [PATCH] Use Arch Linux' device access groups
|
Subject: [PATCH] Use Arch Linux' device access groups
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
cdrom → optical
|
cdrom → optical
|
||||||
dialout → uucp
|
dialout → uucp
|
||||||
tape → storage
|
tape → storage
|
||||||
---
|
---
|
||||||
rules/50-udev-default.rules.in | 14 +++++++-------
|
rules.d/50-udev-default.rules.in | 14 +++++++-------
|
||||||
sysusers.d/basic.conf.in | 6 +++---
|
sysusers.d/basic.conf.in | 6 +++---
|
||||||
2 files changed, 10 insertions(+), 10 deletions(-)
|
2 files changed, 10 insertions(+), 10 deletions(-)
|
||||||
|
|
||||||
diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in
|
diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in
|
||||||
index 191f56f42..f81c4d0fc 100644
|
index 191f56f42..f81c4d0fc 100644
|
||||||
--- a/rules/50-udev-default.rules.in
|
--- a/rules.d/50-udev-default.rules.in
|
||||||
+++ b/rules/50-udev-default.rules.in
|
+++ b/rules.d/50-udev-default.rules.in
|
||||||
@@ -22,7 +22,7 @@ SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620"
|
@@ -22,7 +22,7 @@ SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620"
|
||||||
SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620"
|
SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620"
|
||||||
SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620"
|
SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620"
|
||||||
|
@ -70,6 +65,3 @@ index 8e358c02d..33e513a36 100644
|
||||||
g video - - -
|
g video - - -
|
||||||
|
|
||||||
# Default group for normal users
|
# Default group for normal users
|
||||||
--
|
|
||||||
2.16.2
|
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,9 @@
|
||||||
|
|
||||||
pkgbase=systemd
|
pkgbase=systemd
|
||||||
pkgname=('systemd' 'systemd-libs' 'systemd-resolvconf' 'systemd-sysvcompat')
|
pkgname=('systemd' 'systemd-libs' 'systemd-resolvconf' 'systemd-sysvcompat')
|
||||||
# Can be from either systemd or systemd-stable
|
_tag='ec298e702b87e2859f7f7864f51eef3360daf163' # git rev-parse v${pkgver}
|
||||||
_commit='e51d9bf9e5ac5a6618c175cd9b5cfdc6733cd5d1'
|
pkgver=244
|
||||||
pkgver=243.162
|
pkgrel=1
|
||||||
pkgrel=2
|
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.github.com/systemd/systemd'
|
url='https://www.github.com/systemd/systemd'
|
||||||
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
|
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
|
||||||
|
@ -25,8 +24,7 @@ makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
|
||||||
options=('strip')
|
options=('strip')
|
||||||
validpgpkeys=('63CDA1E5D3FC22B998D20DD6327F26951A015CC4' # Lennart Poettering <lennart@poettering.net>
|
validpgpkeys=('63CDA1E5D3FC22B998D20DD6327F26951A015CC4' # Lennart Poettering <lennart@poettering.net>
|
||||||
'5C251B5FC54EB2F80F407AAAC54CA336CFEB557E') # Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
|
'5C251B5FC54EB2F80F407AAAC54CA336CFEB557E') # Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
|
||||||
source=(# fragment is latest tag for source verification, final merge in prepare()
|
source=("git+https://github.com/systemd/systemd-stable#tag=${_tag}?signed"
|
||||||
"git+https://github.com/systemd/systemd-stable#tag=v${pkgver%.*}?signed"
|
|
||||||
"git+https://github.com/systemd/systemd#tag=v${pkgver%.*}?signed"
|
"git+https://github.com/systemd/systemd#tag=v${pkgver%.*}?signed"
|
||||||
'0001-Use-Arch-Linux-device-access-groups.patch'
|
'0001-Use-Arch-Linux-device-access-groups.patch'
|
||||||
'0001-seccomp-include-ARM-cacheflush-in-default.patch'
|
'0001-seccomp-include-ARM-cacheflush-in-default.patch'
|
||||||
|
@ -49,7 +47,7 @@ source=(# fragment is latest tag for source verification, final merge in prepare
|
||||||
'30-systemd-update.hook')
|
'30-systemd-update.hook')
|
||||||
sha512sums=('SKIP'
|
sha512sums=('SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'9348683829190628e25b7b3300fd880c426d555bde330d5fc5150a9a54b3ad9d4d1f2e69ea1dc6d6f086693dacc53c5af30f1fa7ad9b479791fd77bcdafa430e'
|
'e38c7c422c82953f9c2476a5ab8009d614cbec839e4088bff5db7698ddc84e3d8ed64f32ed323f57b1913c5c9703546f794996cb415ed7cdda930b627962a3c4'
|
||||||
'df7ec8f840a54b404d1f3ab2708ae2a618820cb411b826128cf10b20ccdab057306446295c6b1c98a05ca0adb1b30d390dfb0156b52ea772978e1f1bf5135e09'
|
'df7ec8f840a54b404d1f3ab2708ae2a618820cb411b826128cf10b20ccdab057306446295c6b1c98a05ca0adb1b30d390dfb0156b52ea772978e1f1bf5135e09'
|
||||||
'f0d933e8c6064ed830dec54049b0a01e27be87203208f6ae982f10fb4eddc7258cb2919d594cbfb9a33e74c3510cfd682f3416ba8e804387ab87d1a217eb4b73'
|
'f0d933e8c6064ed830dec54049b0a01e27be87203208f6ae982f10fb4eddc7258cb2919d594cbfb9a33e74c3510cfd682f3416ba8e804387ab87d1a217eb4b73'
|
||||||
'01de24951a05d38eca6b615a7645beb3677ca0e0f87638d133649f6dc14dcd2ea82594a60b793c31b14493a286d1d11a0d25617f54dbfa02be237652c8faa691'
|
'01de24951a05d38eca6b615a7645beb3677ca0e0f87638d133649f6dc14dcd2ea82594a60b793c31b14493a286d1d11a0d25617f54dbfa02be237652c8faa691'
|
||||||
|
@ -80,9 +78,6 @@ prepare() {
|
||||||
|
|
||||||
# add upstream repository for cherry-picking
|
# add upstream repository for cherry-picking
|
||||||
git remote add -f upstream ../systemd
|
git remote add -f upstream ../systemd
|
||||||
# merge the latest stable commit (fast-foward only to make sure
|
|
||||||
# the verified tag is in)
|
|
||||||
git merge --ff-only "${_commit}"
|
|
||||||
|
|
||||||
local _c
|
local _c
|
||||||
for _c in "${_backports[@]}"; do
|
for _c in "${_backports[@]}"; do
|
||||||
|
@ -101,17 +96,6 @@ prepare() {
|
||||||
patch -Np1 -i ../0001-seccomp-include-ARM-cacheflush-in-default.patch
|
patch -Np1 -i ../0001-seccomp-include-ARM-cacheflush-in-default.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$pkgbase-stable"
|
|
||||||
|
|
||||||
# TODO: Switch to upstream versioning post v243!
|
|
||||||
|
|
||||||
local _version _count
|
|
||||||
_version='v243'
|
|
||||||
_count="$(git rev-list --count ${_version}..)"
|
|
||||||
printf '%s.%s' "${_version#v}" "${_count}"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
local _timeservers=({0..3}.arch.pool.ntp.org)
|
local _timeservers=({0..3}.arch.pool.ntp.org)
|
||||||
local _nameservers=(
|
local _nameservers=(
|
||||||
|
@ -143,9 +127,10 @@ build() {
|
||||||
|
|
||||||
-Ddbuspolicydir=/usr/share/dbus-1/system.d
|
-Ddbuspolicydir=/usr/share/dbus-1/system.d
|
||||||
-Ddefault-hierarchy=hybrid
|
-Ddefault-hierarchy=hybrid
|
||||||
-Ddefault-locale=C
|
|
||||||
-Ddefault-kill-user-processes=false
|
-Ddefault-kill-user-processes=false
|
||||||
|
-Ddefault-locale=C
|
||||||
-Dfallback-hostname='archlinux'
|
-Dfallback-hostname='archlinux'
|
||||||
|
-Dnologin-path=/usr/bin/nologin
|
||||||
-Dntp-servers="${_timeservers[*]}"
|
-Dntp-servers="${_timeservers[*]}"
|
||||||
-Ddns-servers="${_nameservers[*]}"
|
-Ddns-servers="${_nameservers[*]}"
|
||||||
-Drpmmacrosdir=no
|
-Drpmmacrosdir=no
|
||||||
|
|
Loading…
Reference in a new issue