diff --git a/airootfs/etc/polkit-1/rules.d/49-nopasswd-calamares.rules b/airootfs/etc/polkit-1/rules.d/49-nopasswd-calamares.rules new file mode 100644 index 0000000..c152890 --- /dev/null +++ b/airootfs/etc/polkit-1/rules.d/49-nopasswd-calamares.rules @@ -0,0 +1,8 @@ +/* Allow Calamares to be started without password authentication + */ +polkit.addRule(function(action, subject) { + if ((action.id == "com.github.calamares.calamares.pkexec.run")) + { + return polkit.Result.YES; + } +}); diff --git a/airootfs/etc/xdg/autostart/calamares.desktop b/airootfs/etc/xdg/autostart/calamares.desktop new file mode 100644 index 0000000..d08c1a1 --- /dev/null +++ b/airootfs/etc/xdg/autostart/calamares.desktop @@ -0,0 +1,243 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Install System +GenericName=System Installer +Keywords=calamares;system;installer; +TryExec=calamares +Exec=/usr/bin/calamares_polkit %f +Comment=Calamares — System Installer +Icon=calamares +Terminal=false +StartupNotify=true +Categories=Qt;System; +X-AppStream-Ignore=true + +Name[ar]=تثبيت النظام +Icon[ar]=كالامارس +GenericName[ar]=مثبت النظام +Comment[ar]=كالامارس - مثبت النظام +Name[as]=চিছটেম ইনস্তল কৰক +Icon[as]=কেলামাৰেচ +GenericName[as]=চিছটেম ইনস্তলাৰ +Comment[as]=কেলামাৰেচ — চিছটেম​ ইনস্তলাৰ +Name[ast]=Instalar el sistema +Icon[ast]=calamares +GenericName[ast]=Instalador del sistema +Comment[ast]=Calamares — Instalador del sistema +Name[az]=Sistemi Quraşdırmaq +Icon[az]=calamares +GenericName[az]=Sistem Quraşdırıcısı +Comment[az]=Calamares Sistem Quraşdırıcısı +Name[az_AZ]=Sistemi quraşdırmaq +Icon[az_AZ]=calamares +GenericName[az_AZ]=Sistem quraşdırcısı +Comment[az_AZ]=Calamares — Sistem Quraşdırıcısı +Name[be]=Усталяваць сістэму +Icon[be]=calamares +GenericName[be]=Усталёўшчык сістэмы +Comment[be]=Calamares — усталёўшчык сістэмы +Name[bg]=Инсталирай системата +Icon[bg]=calamares +GenericName[bg]=Системен инсталатор +Comment[bg]=„Calamares“ – Системен инсталатор +Name[bn]=সিস্টেম ইনস্টল করুন +Icon[bn]=ক্যালামারেস +GenericName[bn]=সিস্টেম ইনস্টলার +Comment[bn]=ক্যালামারেস - সিস্টেম ইনস্টলার +Name[ca]=Instal·la el sistema +Icon[ca]=calamares +GenericName[ca]=Instal·lador de sistema +Comment[ca]=Calamares — Instal·lador de sistema +Name[cs_CZ]=Nainstalovat systém +Icon[cs_CZ]=calamares +GenericName[cs_CZ]=Instalátor systému +Comment[cs_CZ]=Calamares – instalátor operačních systémů +Name[da]=Installér system +Icon[da]=calamares +GenericName[da]=Systeminstallationsprogram +Comment[da]=Calamares — Systeminstallationsprogram +Name[de]=System installieren +Icon[de]=calamares +GenericName[de]=Installation des Betriebssystems +Comment[de]=Calamares - Installation des Betriebssystems +Name[el]=Εγκατάσταση συστήματος +Icon[el]=calamares +GenericName[el]=Εγκατάσταση συστήματος +Comment[el]=Calamares — Εγκατάσταση συστήματος +Name[en_GB]=Install System +Icon[en_GB]=calamares +GenericName[en_GB]=System Installer +Comment[en_GB]=Calamares — System Installer +Name[eo]=Instali Sistemo +Icon[eo]=calamares +GenericName[eo]=Sistema Instalilo +Comment[eo]=Calamares — Sistema Instalilo +Name[es]=Instalar el sistema +Icon[es]=calamares +GenericName[es]=Instalador del sistema +Comment[es]=Calamares — Instalador del sistema +Name[es_MX]=Instalar el Sistema +Icon[es_MX]=calamares +GenericName[es_MX]=Instalador del sistema +Comment[es_MX]=Calamares - Instalador del sistema +Name[es_PR]=Instalar el sistema +Name[et]=Paigalda süsteem +Icon[et]=calamares +GenericName[et]=Süsteemipaigaldaja +Comment[et]=Calamares — süsteemipaigaldaja +Name[eu]=Sistema instalatu +Icon[eu]=calamares +GenericName[eu]=Sistema instalatzailea +Comment[eu]=Calamares - sistema instalatzailea +Name[fa]=نصب سامانه +Icon[fa]=کالامارس +GenericName[fa]=نصب‌کننده سامانه +Comment[fa]=کالامارس — نصب‌کننده سامانه +Name[fi_FI]=Asenna järjestelmä +Icon[fi_FI]=calamares +GenericName[fi_FI]=Järjestelmän asennusohjelma +Comment[fi_FI]=Calamares — Järjestelmän asentaja +Name[fr]=Installer le système +Icon[fr]=calamares +GenericName[fr]=Installateur système +Comment[fr]=Calamares - Installateur système +Name[fur]=Instale il sisteme +Icon[fur]=calamares +GenericName[fur]=Program di instalazion dal sisteme +Comment[fur]=Calamares — Program di instalazion dal sisteme +Name[gl]=Instalación do Sistema +Icon[gl]=calamares +GenericName[gl]=Instalador de sistemas +Comment[gl]=Calamares — Instalador de sistemas +Name[he]=התקנת מערכת +Icon[he]=calamares +GenericName[he]=אשף התקנה +Comment[he]=Calamares - אשף התקנה +Name[hi]=सिस्टम इंस्टॉल करें +Icon[hi]=calamares +GenericName[hi]=सिस्टम इंस्टॉलर +Comment[hi]=Calamares — सिस्टम इंस्टॉलर +Name[hr]=Instaliraj sustav +Icon[hr]=calamares +GenericName[hr]=Instalacija sustava +Comment[hr]=Calamares — Instalacija sustava +Name[hu]=Rendszer telepítése +Icon[hu]=calamares +GenericName[hu]=Rendszertelepítő +Comment[hu]=Calamares – Rendszertelepítő +Name[id]=Instal Sistem +Icon[id]=calamares +GenericName[id]=Pemasang +Comment[id]=Calamares — Pemasang Sistem +Name[ie]=Installar li sistema +Icon[ie]=calamares +GenericName[ie]=Installator del sistema +Comment[ie]=Calamares — Installator del sistema +Name[is]=Setja upp kerfið +Icon[is]=calamares +GenericName[is]=Kerfis uppsetning +Comment[is]=Calamares — Kerfis uppsetning +Name[it_IT]=Installa il sistema +Icon[it_IT]=calamares +GenericName[it_IT]=Programma d'installazione del sistema +Comment[it_IT]=Calamares — Programma d'installazione del sistema +Name[ja]=システムをインストール +Icon[ja]=calamares +GenericName[ja]=システムインストーラー +Comment[ja]=Calamares — システムインストーラー +Name[ko]=시스템 설치 +Icon[ko]=깔라마레스 +GenericName[ko]=시스템 설치 관리자 +Comment[ko]=깔라마레스 — 시스템 설치 관리자 +Name[lt]=Įdiegti Sistemą +Icon[lt]=calamares +GenericName[lt]=Sistemos diegimas į kompiuterį +Comment[lt]=Calamares — Sistemos diegimo programa +Name[mk]=Инсталирај го системот +Icon[mk]=calamares +GenericName[mk]=Системен Инсталер +Comment[mk]=Calamares - Системен Инсталер +Name[ml]=സിസ്റ്റം ഇൻസ്റ്റാൾ ചെയ്യുക +Icon[ml]=കലാമാരേസ് +GenericName[ml]=സിസ്റ്റം ഇൻസ്റ്റാളർ +Comment[ml]=കലാമാരേസ് - സിസ്റ്റം ഇൻസ്റ്റാളർ +Name[nb]=Installer System +Icon[nb]=calamares +GenericName[nb]=Systeminstallatør +Comment[nb]=Calamares-systeminstallatør +Name[ne_NP]= सिस्टम इन्स्टल गर्नुहोस् +Icon[ne_NP]=Calamares +GenericName[ne_NP]=सिस्टम इन्स्टलर +Comment[ne_NP]=Calamares - सिस्टम इन्स्टलर +Name[nl]=Installeer systeem +Icon[nl]=calamares +GenericName[nl]=Installatieprogramma +Comment[nl]=Calamares — Installatieprogramma +Name[pl]=Zainstaluj system +Icon[pl]=calamares +GenericName[pl]=Instalator systemu +Comment[pl]=Calamares — Instalator systemu +Name[pt_BR]=Sistema de Instalação +Icon[pt_BR]=calamares +GenericName[pt_BR]=Instalador de Sistema +Comment[pt_BR]=Calamares — Instalador de Sistema +Name[pt_PT]=Instalar Sistema +Icon[pt_PT]=calamares +GenericName[pt_PT]=Instalador de Sistema +Comment[pt_PT]=Instalador de Sistema - Calamares +Name[ro]=Instalează sistemul +Icon[ro]=calamares +GenericName[ro]=Instalator de sistem +Comment[ro]=Calamares — Instalator de sistem +Name[ru]=Установить систему +Icon[ru]=calamares +GenericName[ru]=Установщик системы +Comment[ru]=Calamares - Установщик системы +Name[si]=පද්ධතිය ස්ථාපනය කරන්න +Icon[si]=කැලමරේස් +GenericName[si]=පද්ධති ස්ථාපකය +Comment[si]=Calamares - පද්ධති ස්ථාපකය +Name[sk]=Inštalovať systém +Icon[sk]=calamares +GenericName[sk]=Inštalátor systému +Comment[sk]=Calamares — Inštalátor systému +Name[sl]=Namesti sistem +Name[sq]=Instalo Sistemin +Icon[sq]=calamares +GenericName[sq]=Instalues Sistemi +Comment[sq]=Calamares — Instalues Sistemi +Name[sr]=Инсталирај систем +Icon[sr]=calamares +GenericName[sr]=Инсталатер система +Comment[sr]=Каламарес — инсталатер система +Name[sr@latin]=Instaliraj sistem +Name[sv]=Installera system +Icon[sv]=calamares +GenericName[sv]=Systeminstallerare +Comment[sv]=Calamares — Systeminstallerare +Name[tg]=Насбкунии низом +Icon[tg]=calamares +GenericName[tg]=Насбкунандаи низомӣ +Comment[tg]=Calamares — Насбкунандаи низомӣ +Name[th]=ติดตั้งระบบ +Name[tr_TR]=Sistemi Yükle +Icon[tr_TR]=calamares +GenericName[tr_TR]=Sistem Yükleyici +Comment[tr_TR]=Calamares — Sistem Yükleyici +Name[uk]=Встановити Систему +Icon[uk]=calamares +GenericName[uk]=Встановлювач системи +Comment[uk]=Calamares - Встановлювач системи +Name[vi]=Cài đặt hệ thống +Icon[vi]=calamares +GenericName[vi]=Bộ cài đặt hệ thống +Comment[vi]=Calamares — Bộ cài đặt hệ thống +Name[zh_CN]=安装系统 +Icon[zh_CN]=calamares +GenericName[zh_CN]=系统安装程序 +Comment[zh_CN]=Calamares — 系统安装程序 +Name[zh_TW]=安裝系統 +Icon[zh_TW]=calamares +GenericName[zh_TW]=系統安裝程式 +Comment[zh_TW]=Calamares ── 系統安裝程式 diff --git a/airootfs/usr/bin/calamares_polkit b/airootfs/usr/bin/calamares_polkit new file mode 100755 index 0000000..9219bc4 --- /dev/null +++ b/airootfs/usr/bin/calamares_polkit @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $(which pkexec) ]; then + sudo "/usr/bin/calamares" "$@" "-d" +else + /usr/bin/calamares "$@" "-d" +fi