Skip to content

Update systemd from 242 to 243 #1236

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 5 additions & 7 deletions systemd.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION systemd-242-3
# BEE_VERSION systemd-243-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand All @@ -9,14 +9,13 @@
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="https://github.com/systemd/systemd/archive/v${PKGVERSION}.tar.gz"
SRCURL[0]="https://github.com/systemd/systemd/archive/v${PKGVERSION}.tar.gz systemd-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

PATCHURL+=(/src/mariux/patches/systemd-v242-0001-Prevent-loop-when-stopping-datagram-socket-units.patch)
PATCHURL+=(/src/mariux/patches/systemd-v242-0001-cgroup-Continue-unit-reset-if-cgroup-are-busy.patch)
# PATCHURL+=()

BEE_BUILDTYPE=meson

Expand Down Expand Up @@ -60,13 +59,15 @@ mee_configure() {
bee_configure \
-Dblkid=true \
-Dbuildtype=release \
-Dcreate-log-dirs=false \
-Ddefault-dnssec=yes \
-Ddns-over-tls=false \
-Ddns-servers='141.14.16.1' \
-Dntp-servers='zeit.fu-berlin.de ntps1-0.cs.tu-berlin.de time.fu-berlin.de' \
-Dfirstboot=false \
-Dinstall-tests=false \
-Dldconfig=false \
-Dman=true \
-Drootprefix= \
-Drootlibdir=/lib \
-Dsplit-usr=true \
Expand Down Expand Up @@ -96,9 +97,6 @@ mee_install_post() {
# Remove systemd’s sysctl configuration
rm -rv ${D}/${LIBDIR}/sysctl.d/*

# Remove directory to disable persistent storage of logs
rm -rv ${D}/var/log/journal

# Restore historical RLIMIT_NOFILE resource limit
echo "DefaultLimitNOFILE=1024:4096" >> ${D}/etc/systemd/system.conf
}
Expand Down