Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions releases/portage/livegui/package.accept_keywords/calamares
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
app-admin/calamares
app-misc/calamares-gentoo-livecd
6 changes: 6 additions & 0 deletions releases/portage/livegui/package.use/calamares
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
>=app-admin/calamares-3.3 livecd

# calamares deps
>=dev-libs/libpwquality-1.4.5-r2 python
>=dev-libs/boost-1.80.0 python
>=sys-boot/grub-2.12-r11 mount
18 changes: 17 additions & 1 deletion releases/specs/amd64/livegui/files/fsscript-stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ wget "https://dev.gentoo.org/~bkohler/livegui/face.icon.png" -O .face.icon
# ln -sv /usr/share/applications/${i}.desktop Desktop/
#done

# gentoo calamares installer launcher icon
echo "[Desktop Entry]
Version=1.0
Type=Application
Name=Install Gentoo (EXPERIMENTAL)
GenericName=Gentoo Linux Calamares Installer
Comment=EXPERIMENTAL - Calamares installation of Gentoo Linux. Expect bugs; do not use on a system with data you care about.
Exec=pkexec /usr/bin/calamares
Icon=/usr/share/icons/calamares-gentoo/64x64/gentoo.png
Terminal=false
Categories=System;Settings;
StartupNotify=true" > Desktop/gentoo-installer.desktop

chmod +x Desktop/gentoo-installer.desktop

# Autostart keyboard layout module
mkdir -p .config/autostart
echo "[Desktop Entry]
Expand Down Expand Up @@ -182,7 +197,8 @@ polkit.addRule(function(action, subject) {
});

polkit.addRule(function(action, subject) {
if (action.id == "com.github.calamares.calamares.pkexec.run") {
if (action.id == "io.calamares.calamares.pkexec.run" &&
subject.user == "gentoo") {
return polkit.Result.YES;
}
});' > /etc/polkit-1/rules.d/livegui-root-tools.rules
1 change: 1 addition & 0 deletions releases/specs/amd64/livegui/livegui-stage1.spec
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ livecd/packages:
app-emulation/cloud-init
app-emulation/spice-vdagent
app-eselect/eselect-repository
app-misc/calamares-gentoo-livecd
app-misc/colordiff
app-misc/livecd-tools
app-misc/mc
Expand Down