put flatpaks into factory

a bit awkward. ideally we'd put a sideload repo into factory and then
install from there. something for further down the line
This commit is contained in:
Harald Sitter
2025-05-09 14:39:37 +02:00
parent 0f5c86c596
commit 559cdf2990
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: none
# WARNING: do not rename this file! It overrides a potential var.conf from systemd. Also see etc.conf.
C /var/lib/flatpak - - - - -

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2025 Harald Sitter <sitter@kde.org>
set -eux
# Copy /var/lib/flatpak into factory dir for tmpfiles.d (see tmpfiles.d docs).
[ -d /usr/share/factory/var/lib ] || mkdir --parents /usr/share/factory/var/lib
cp --archive --no-target-directory --update=none /var/lib/flatpak /usr/share/factory/var/lib/flatpak