summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2021-05-29 19:30:30 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2021-05-29 19:30:30 -0500
commita07e01dc2f6ff50730c1bc5534e0c7f649a23fd8 (patch)
tree9ee90a99792686befaca90d6d8c9a49419b8e740 /libre/systemd/systemd.install
parentc58431561db196368bdaffcbdc7fb02c9f91b133 (diff)
downloadabslibre-a07e01dc2f6ff50730c1bc5534e0c7f649a23fd8.tar.gz
abslibre-a07e01dc2f6ff50730c1bc5534e0c7f649a23fd8.tar.bz2
abslibre-a07e01dc2f6ff50730c1bc5534e0c7f649a23fd8.zip
systemd-248.3-2.parabola1: updating version
Diffstat (limited to 'libre/systemd/systemd.install')
-rw-r--r--libre/systemd/systemd.install54
1 files changed, 3 insertions, 51 deletions
diff --git a/libre/systemd/systemd.install b/libre/systemd/systemd.install
index 417110181..bbc7efd83 100644
--- a/libre/systemd/systemd.install
+++ b/libre/systemd/systemd.install
@@ -15,44 +15,6 @@ post_common() {
journalctl --update-catalog
}
-_216_2_changes() {
- echo ':: Coredumps are handled by systemd by default. Collection behavior can be'
- echo ' tuned in /etc/systemd/coredump.conf.'
-}
-
-_219_2_changes() {
- if mkdir -m2755 var/log/journal/remote 2>/dev/null; then
- chgrp systemd-journal-remote var/log/journal/remote
- fi
-}
-
-_219_4_changes() {
- if ! systemctl is-enabled -q remote-fs.target; then
- systemctl enable -q remote-fs.target
- fi
-}
-
-_230_1_changes() {
- echo ':: systemd-bootchart is no longer included with systemd'
-}
-
-_232_8_changes() {
- # paper over possible effects of CVE-2016-10156
- local stamps=(/var/lib/systemd/timers/*.timer)
-
- if [[ -f ${stamps[0]} ]]; then
- chmod 0644 "${stamps[@]}"
- fi
-}
-
-_233_75_3_changes() {
- # upstream installs services to /etc, which we remove
- # to keep bus activation we re-enable systemd-resolved
- if systemctl is-enabled -q systemd-resolved.service; then
- systemctl reenable systemd-resolved.service 2>/dev/null
- fi
-}
-
_242_0_2_changes() {
if [[ -L var/lib/systemd/timesync ]]; then
rm var/lib/systemd/timesync
@@ -70,7 +32,9 @@ post_install() {
add_journal_acls
# enable some services by default, but don't track them
- systemctl enable getty@tty1.service remote-fs.target
+ systemctl enable \
+ getty@tty1.service \
+ remote-fs.target
echo ":: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your"
echo " bootloader to replace sysvinit with systemd, or install systemd-sysvcompat"
@@ -83,19 +47,7 @@ post_install() {
post_upgrade() {
post_common "$@"
- # don't reexec if the old version is 231-1 or 231-2.
- # https://github.com/systemd/systemd/commit/bd64d82c1c
- if [[ $1 != 231-[12] ]] && sd_booted; then
- systemctl --system daemon-reexec
- fi
-
local v upgrades=(
- 216-2
- 219-2
- 219-4
- 230-1
- 232-8
- 233.75-3
242.0-2
)