Files
kde-linux/mkosi.extra/usr/lib/bless-userspace
Nate Graham 79c829aae8 Move helper scripts from bin to lib
Also remove the _kde-linux prefix for the two scripts intentionally left
in bin.

Resolves #166
Resolves #391
2025-10-16 17:30:47 -06:00

19 lines
679 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2024 Harald Sitter <sitter@kde.org>
# Bless userspace.
# Blessing of a boot on KDE Linux is a three step process.
# 1) the userspace gets blessed here via a /run marker (means system-wide middleware services are up - such as networkmanager)
# 2) the user logs in and a complete session startup blesses the session
# 3) when all requirements are met the boot gets actually blessed
set -ex
systemctl mask --runtime systemd-bless-boot.service
systemctl daemon-reload
/usr/lib/systemd/systemd-bless-boot indeterminate
touch /run/kde-linux-bless-userspace