mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-18 21:48:23 -04:00
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:
6
mkosi.extra/usr/lib/tmpfiles.d/var.conf
Normal file
6
mkosi.extra/usr/lib/tmpfiles.d/var.conf
Normal 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 - - - - -
|
||||
9
mkosi.finalize.d/99-var.sh.chroot
Executable file
9
mkosi.finalize.d/99-var.sh.chroot
Executable 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
|
||||
Reference in New Issue
Block a user