summaryrefslogtreecommitdiff
path: root/app-admin/calamares
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-07-26 15:48:02 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-07-26 15:48:02 +0100
commit61b598e53139c637af87251e15ba5fa06577ab1e (patch)
tree8b45644ceaec0f51ccc8f25f055eef0d3f3d4abc /app-admin/calamares
parent17fa19c469b1a7eb8f1e15232b97601f6049cc03 (diff)
revert liveservices
Diffstat (limited to 'app-admin/calamares')
-rw-r--r--app-admin/calamares/calamares-1.1.ebuild2
-rw-r--r--app-admin/calamares/files/calamares-disable-kogaionlive-services-module.patch81
2 files changed, 0 insertions, 83 deletions
diff --git a/app-admin/calamares/calamares-1.1.ebuild b/app-admin/calamares/calamares-1.1.ebuild
index f063cb11..2c0af862 100644
--- a/app-admin/calamares/calamares-1.1.ebuild
+++ b/app-admin/calamares/calamares-1.1.ebuild
@@ -47,8 +47,6 @@ DEPEND="
RDEPEND=">=app-misc/calamares-runtime-2.0[branding]"
src_prepare() {
- # insert disable kogaionlive services module into src tree
- epatch -p1 "${FILESDIR}"/${PN}-disable-kogaionlive-services-module.patch
# replace calamares installer desktop icon
sed -i "s/Icon=calamares/Icon=start-here/g" "${S}/calamares.desktop"
# If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
diff --git a/app-admin/calamares/files/calamares-disable-kogaionlive-services-module.patch b/app-admin/calamares/files/calamares-disable-kogaionlive-services-module.patch
deleted file mode 100644
index 181a5cbb..00000000
--- a/app-admin/calamares/files/calamares-disable-kogaionlive-services-module.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -Nur a/src/modules/liveservices/liveservices.conf b/src/modules/liveservices/liveservices.conf
---- a/src/modules/liveservices/liveservices.conf 1970-01-01 01:00:00.000000000 +0100
-+++ b/src/modules/liveservices/liveservices.conf 2015-07-26 14:31:44.353557382 +0100
-@@ -0,0 +1,21 @@
-+---
-+#systemd kogaion live services are disabled in this precise order
-+
-+services:
-+ - name: "x-setup" #name of the service file
-+ mandatory: false #true=> if disabling fails the installer errors out and quits
-+ #false=>if disabling fails print warning to console and continue
-+ - name: "cdeject"
-+ mandatory: false
-+
-+ - name: "installer-text"
-+ mandatory: false
-+
-+ - name: "installer-gui"
-+ mandatory: false
-+
-+ - name: "graphical_start"
-+ mandatory: false
-+
-+ - name: "kogaionlive"
-+ mandatory: false
-diff -Nur a/src/modules/liveservices/main.py b/src/modules/liveservices/main.py
---- a/src/modules/liveservices/main.py 1970-01-01 01:00:00.000000000 +0100
-+++ b/src/modules/liveservices/main.py 2015-07-26 14:24:57.722530083 +0100
-@@ -0,0 +1,42 @@
-+#!/usr/bin/env python3
-+# -*- coding: utf-8 -*-
-+#
-+# === This file is part of Calamares - <http://github.com/calamares> ===
-+#
-+# Copyright 2014, Philip Müller <philm@manjaro.org>
-+# Copyright 2014, Teo Mrnjavac <teo@kde.org>
-+# Copyright 2015, V3n3RiX <venerix@rogentos.ro>
-+#
-+# Calamares is free software: you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation, either version 3 of the License, or
-+# (at your option) any later version.
-+#
-+# Calamares is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
-+
-+import libcalamares
-+
-+
-+def run():
-+ """ Setup systemd services """
-+ services = libcalamares.job.configuration['services']
-+
-+ # disable kogaion live services
-+ for svc in services:
-+ ec = libcalamares.utils.chroot_call(['systemctl', 'disable', '{}.service'.format(svc['name'])])
-+
-+ if ec != 0:
-+ if svc['mandatory']:
-+ return "Cannot disable systemd service {}".format(svc['name']), \
-+ "systemctl disable call in chroot returned error code {}".format(ec)
-+ else:
-+ libcalamares.utils.debug("Cannot disable systemd service {}".format(svc['name']))
-+ libcalamares.utils.debug("systemctl disable call in chroot returned error code {}".format(ec))
-+
-+ return None
-diff -Nur a/src/modules/liveservices/module.desc b/src/modules/liveservices/module.desc
---- a/src/modules/liveservices/module.desc 1970-01-01 01:00:00.000000000 +0100
-+++ b/src/modules/liveservices/module.desc 2015-07-26 14:32:23.925560039 +0100
-@@ -0,0 +1,6 @@
-+---
-+type: "job"
-+name: "liveservices"
-+interface: "python"
-+requires: []
-+script: "main.py"