From f4aece8025da3e7f50f04e97c70f3b2299bf1fae Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 19 Nov 2017 10:53:22 +0000 Subject: app-misc/calamares-config-redcore : fix Restart Now checkbox not working at the end of the installation --- .../calamares-config-redcore-1710-r1.ebuild | 24 ++++++++++++++++++++++ .../calamares-config-redcore-1710.ebuild | 24 ---------------------- .../files/modules/finished.conf | 17 +++++++++++++++ 3 files changed, 41 insertions(+), 24 deletions(-) create mode 100644 app-misc/calamares-config-redcore/calamares-config-redcore-1710-r1.ebuild delete mode 100644 app-misc/calamares-config-redcore/calamares-config-redcore-1710.ebuild create mode 100644 app-misc/calamares-config-redcore/files/modules/finished.conf (limited to 'app-misc/calamares-config-redcore') diff --git a/app-misc/calamares-config-redcore/calamares-config-redcore-1710-r1.ebuild b/app-misc/calamares-config-redcore/calamares-config-redcore-1710-r1.ebuild new file mode 100644 index 00000000..9f6639d2 --- /dev/null +++ b/app-misc/calamares-config-redcore/calamares-config-redcore-1710-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="Redcore Linux Calamares modules config" +HOMEPAGE="" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="app-admin/calamares" + +S="${FILESDIR}" + +src_install() { + dodir "/etc/calamares" || die + insinto "/etc/calamares" || die + doins -r "${S}/"* || die +} diff --git a/app-misc/calamares-config-redcore/calamares-config-redcore-1710.ebuild b/app-misc/calamares-config-redcore/calamares-config-redcore-1710.ebuild deleted file mode 100644 index 9f6639d2..00000000 --- a/app-misc/calamares-config-redcore/calamares-config-redcore-1710.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Redcore Linux Calamares modules config" -HOMEPAGE="" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="app-admin/calamares" - -S="${FILESDIR}" - -src_install() { - dodir "/etc/calamares" || die - insinto "/etc/calamares" || die - doins -r "${S}/"* || die -} diff --git a/app-misc/calamares-config-redcore/files/modules/finished.conf b/app-misc/calamares-config-redcore/files/modules/finished.conf new file mode 100644 index 00000000..d930857e --- /dev/null +++ b/app-misc/calamares-config-redcore/files/modules/finished.conf @@ -0,0 +1,17 @@ +# Configuration for the "finished" page, which is usually shown only at +# the end of the installation (successful or not). +--- +# The finished page can hold a "restart system now" checkbox. +# If this is false, no checkbox is show and the system is not restarted +# when Calamares exits. +restartNowEnabled: true +# Initial state of the checkbox "restart now". +restartNowChecked: true +# If the checkbox is shown, and the checkbox is checked, then when +# Calamares exits from the finished-page it will run this command. +restartNowCommand: "shutdown -r 0" + +# When the last page is (successfully) reached, send a DBus notification +# to the desktop that the installation is done. This works only if the +# user as whom Calamares is run, can reach the regular desktop session bus. +notifyOnFinished: false -- cgit v1.2.3