penguins-eggs 9.5.11 → 9.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":"9.5.11","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and its dependencies","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons on desktop","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove repo","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools skel","sudo eggs tools skel --user user-to-be-copied"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools yolk"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrobe","eggs wardrobe list --distro arch"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"distro":{"name":"distro","type":"option","char":"d","description":"distro","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
1
+ {"version":"9.5.13","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and its dependencies","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons on desktop","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove repo","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools skel","sudo eggs tools skel --user user-to-be-copied"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools yolk"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrobe","eggs wardrobe list --distro arch"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"distro":{"name":"distro","type":"option","char":"d","description":"distro","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
package/README.md CHANGED
@@ -77,7 +77,7 @@ Saves our data within the generated iso using a LUKS volume. Our data will NOT b
77
77
  * ```eggs produce --clone``` include all users data UNCRYPTED directly on the live.
78
78
  * ```eggs produce --cryptedclone``` include all users data CRYPTED on a LUKS volume inside the iso.
79
79
 
80
- Using krill: ```sudo eggs install --cli``` will automaticaly restore your CRYPTED data during the installation.
80
+ Using krill: ```sudo eggs install``` will automaticaly restore your CRYPTED data during the installation.
81
81
 
82
82
  ## calamares and krill
83
83
  eggs was developed to use [calamares](https://calamares.io) as the system installer and allows its customization with themes. It also includes its own installer, called krill, which allows you to produce and install CLI systems such as servers. krill uses a CLI interface that mimics calamares and uses the same configuration files created by eggs for calamares. This provides a "roughly similar" installation experience for both desktop and server installations. With krill it is also possible to have unattended installations, simply by adding the ``--unattended`` flag, the configuration values can be changed in ``/etc/penguins-eggs.d/krill.yaml`` and will then be used for automatic installation.
@@ -105,7 +105,7 @@ There are more than a way to install eggs as .deb package, the most practical is
105
105
  The simplest way to install eggs is download the [package eggs](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) from [sourceforge page of the project](https://sourceforge.net/projects/penguins-eggs/) and install it
106
106
 
107
107
  ```
108
- sudo dpkg -i eggs_9.5.11_amd64.deb
108
+ sudo dpkg -i eggs_9.5.13_amd64.deb
109
109
  ```
110
110
 
111
111
  or, on a i386 system:
@@ -131,7 +131,7 @@ sudo apt update && sudo apt install eggs
131
131
  ```
132
132
 
133
133
  ### Upgrade eggs
134
- If you are using penguins-eggs-ppa You can ugrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_0.5.11_amd64.deb**.
134
+ If you are using penguins-eggs-ppa You can ugrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_0.5.12_amd64.deb**.
135
135
 
136
136
 
137
137
  ## Arch families
@@ -937,4 +937,4 @@ You can contact me by [mail](mailto://pieroproietti@gmail.com) or follow me on
937
937
  [twitter](https://twitter.com/pieroproietti).
938
938
 
939
939
  # Copyright and licenses
940
- Copyright (c) 2017, 2023 [Piero Proietti](https://penguins-eggs.net/about-me.html), dual licensed under the MIT or GPL Version 2 licenses.
940
+ Copyright (c) 2017, 2023 [Piero Proietti](https://penguins-eggs.net/about-me.html), dual licensed under the MIT or GPL Version 2 licenses.
@@ -20,11 +20,13 @@
20
20
  - elsie # LMDE5
21
21
  - filadelfia, # SysLinuxOS filadelfia
22
22
 
23
- # bootkworm derivated
23
+ # bookworm derivated
24
24
  - id: bookworm
25
25
  distro: Debian
26
26
  derivatives:
27
27
  - kali-rolling # kali
28
+ - faye # LMDE 6
29
+ - Sparky # SparkyLinux 7
28
30
 
29
31
  #
30
32
  # DEVUAN
@@ -7,6 +7,10 @@ TMPDIR=$CHROOT/tmp
7
7
  if [ ! -d $TMPDIR ]; then
8
8
  echo mkdir $TMPDIR
9
9
  fi
10
+
11
+ # patch: for same reason we need it for derivatives
12
+ chroot $CHROOT dpkg --configure -a
13
+
10
14
  # eseguo apt update
11
15
  chroot $CHROOT apt-get -y --allow-unauthenticated update
12
16
  # Set secure permissions for the initramfs if we're configuring
@@ -5,4 +5,5 @@ type: "job"
5
5
  name: "bootloader-config"
6
6
  interface: "process"
7
7
  command: "/usr/sbin/bootloader-config.sh"
8
- timeout: 600
8
+ timeout: 1000
9
+ # just long timeout: 600
@@ -45,6 +45,7 @@ efiBootMgr: "efibootmgr"
45
45
  # (problematic characters, see above, are replaced).
46
46
  #
47
47
  # efiBootloaderId: "dirname"
48
+ efiBootloaderId: "Debian"
48
49
 
49
50
  # Optionally install a copy of the GRUB EFI bootloader as the EFI
50
51
  # fallback loader (either bootia32.efi or bootx64.efi depending on
@@ -15,5 +15,5 @@ defaultGroups:
15
15
  - bluetooth
16
16
  autologinGroup: autologin
17
17
  sudoersGroup: sudo
18
- setRootPassword: false
19
- # doReusePassword: false
18
+ setRootPassword: true
19
+ doReusePassword: false
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const fs_1 = __importDefault(require("fs"));
7
7
  const js_yaml_1 = __importDefault(require("js-yaml"));
8
+ const pacman_1 = __importDefault(require("./pacman"));
8
9
  /**
9
10
  * cfs
10
11
  */
@@ -15,21 +16,22 @@ class CFS {
15
16
  */
16
17
  async steps() {
17
18
  const cfs = [];
18
- // if (await Pacman.calamaresCheck()) {
19
19
  let configRoot = '/etc/penguins-eggs.d/krill/';
20
- if (fs_1.default.existsSync('/etc/calamares/settings.conf')) {
20
+ if (pacman_1.default.calamaresExists()) {
21
21
  configRoot = '/etc/calamares/';
22
22
  }
23
- const settingsVar = fs_1.default.readFileSync(`${configRoot}settings.conf`, 'utf8');
24
- const settingsYaml = js_yaml_1.default.load(settingsVar);
25
- const execSequence = settingsYaml.sequence[1];
26
- const steps = execSequence.exec;
27
- for (const step of steps) {
28
- if (step.includes('cfs-')) {
29
- cfs.push(step);
23
+ // solo se esiste settings.conf CALAMARES
24
+ if (fs_1.default.existsSync(`${configRoot}settings.conf`)) {
25
+ const settingsVar = fs_1.default.readFileSync(`${configRoot}settings.conf`, 'utf8');
26
+ const settingsYaml = js_yaml_1.default.load(settingsVar);
27
+ const execSequence = settingsYaml.sequence[1];
28
+ const steps = execSequence.exec;
29
+ for (const step of steps) {
30
+ if (step.includes('cfs-')) {
31
+ cfs.push(step);
32
+ }
30
33
  }
31
34
  }
32
- //}
33
35
  return cfs;
34
36
  }
35
37
  }
@@ -84,19 +84,6 @@ class Archlinux {
84
84
  }
85
85
  return retVal;
86
86
  }
87
- /**
88
- * Torna verso se calamares è installato
89
- */
90
- static async calamaresCheck() {
91
- let installed = true;
92
- for (const i in this.packs4calamares) {
93
- if (!this.packageIsInstalled(this.packs4calamares[i])) {
94
- installed = false;
95
- break;
96
- }
97
- }
98
- return installed;
99
- }
100
87
  /**
101
88
  *
102
89
  */
@@ -133,6 +120,10 @@ class Archlinux {
133
120
  await (0, utils_2.exec)('pacman -R calamares-git', echo);
134
121
  removed = true;
135
122
  }
123
+ else if (await this.packagePacmanAvailable('calamares-eggs')) {
124
+ await (0, utils_2.exec)('pacman -R calamares-eggs', echo);
125
+ removed = true;
126
+ }
136
127
  if (removed) {
137
128
  if (node_fs_1.default.existsSync('/etc/calamares')) {
138
129
  await (0, utils_2.exec)('rm /etc/calamares -rf', echo);
@@ -194,5 +185,5 @@ class Archlinux {
194
185
  return version;
195
186
  }
196
187
  }
197
- Archlinux.packs4calamares = ['calamares'];
188
+ Archlinux.packs4calamares = ['calamares', 'calamares-git', 'calamares-eggs'];
198
189
  exports.default = Archlinux;
@@ -110,19 +110,6 @@ class Debian {
110
110
  }
111
111
  return retVal;
112
112
  }
113
- /**
114
- * Torna verso se calamares è installato
115
- */
116
- static async calamaresCheck() {
117
- let installed = true;
118
- for (const i in this.debs4calamares) {
119
- if (!this.packageIsInstalled(this.debs4calamares[i])) {
120
- installed = false;
121
- break;
122
- }
123
- }
124
- return installed;
125
- }
126
113
  /**
127
114
  *
128
115
  */
@@ -80,19 +80,6 @@ class Fedora {
80
80
  }
81
81
  return retVal;
82
82
  }
83
- /**
84
- * Torna verso se calamares è installato
85
- */
86
- static async calamaresCheck() {
87
- let installed = true;
88
- for (const i in this.packs4calamares) {
89
- if (!this.packageIsInstalled(this.packs4calamares[i])) {
90
- installed = false;
91
- break;
92
- }
93
- }
94
- return installed;
95
- }
96
83
  /**
97
84
  *
98
85
  */
@@ -80,19 +80,6 @@ class Suse {
80
80
  }
81
81
  return retVal;
82
82
  }
83
- /**
84
- * Torna verso se calamares è installato
85
- */
86
- static async calamaresCheck() {
87
- let installed = true;
88
- for (const i in this.packs4calamares) {
89
- if (!this.packageIsInstalled(this.packs4calamares[i])) {
90
- installed = false;
91
- break;
92
- }
93
- }
94
- return installed;
95
- }
96
83
  /**
97
84
  *
98
85
  */
@@ -7,7 +7,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Rolling = void 0;
10
- const pacman_1 = __importDefault(require("../../pacman"));
11
10
  const cfs_1 = __importDefault(require("../../cfs"));
12
11
  const fisherman_1 = __importDefault(require("../fisherman"));
13
12
  /**
@@ -39,10 +38,7 @@ class Rolling {
39
38
  */
40
39
  async create() {
41
40
  const fisherman = new fisherman_1.default(this.distro, this.installer, this.verbose);
42
- if (await pacman_1.default.calamaresCheck()) {
43
- // Crea settings solo per calamares
44
- await fisherman.createCalamaresSettings(this.theme, this.isClone);
45
- }
41
+ await fisherman.createCalamaresSettings(this.theme, this.isClone);
46
42
  await fisherman.buildModule('partition', this.theme);
47
43
  await fisherman.buildModule('mount');
48
44
  await fisherman.moduleUnpackfs();
@@ -11,7 +11,7 @@ const pacman_1 = __importDefault(require("../../pacman"));
11
11
  * @returns yaml-string
12
12
  */
13
13
  function remove(distro) {
14
- const packages = ['calamares'];
14
+ const packages = ['calamares', 'calamares-git', 'calamares-eggs'];
15
15
  if (distro.familyId === 'archlinux') {
16
16
  packages.push('penguins-eggs');
17
17
  }
@@ -23,7 +23,7 @@ function remove(distro) {
23
23
  yaml += ` - ${elem.trim()}\n`;
24
24
  }
25
25
  if (yaml !== '') {
26
- yaml = '- remove:\n' + yaml;
26
+ yaml = '- try_remove:\n' + yaml;
27
27
  }
28
28
  return yaml;
29
29
  }
@@ -18,6 +18,7 @@ const buster_1 = require("./distros/buster");
18
18
  const focal_1 = require("./distros/focal");
19
19
  const bionic_1 = require("./distros/bionic");
20
20
  const rolling_1 = require("./distros/rolling");
21
+ const pacman_1 = __importDefault(require("../pacman"));
21
22
  const installer_1 = require("./installer");
22
23
  /**
23
24
  *
@@ -228,12 +229,15 @@ class Incubator {
228
229
  if (this.theme.includes('/')) {
229
230
  calamaresIcon = `${this.theme}/theme/artwork/install-system.png`;
230
231
  }
231
- if (node_fs_1.default.existsSync(calamaresIcon)) {
232
- shelljs_1.default.cp(calamaresIcon, '/usr/share/icons/');
233
- }
234
- else {
235
- console.log(`${calamaresIcon} icon not found!`);
236
- process.exit();
232
+ // se non esiste non copio la icona
233
+ if (pacman_1.default.calamaresExists()) {
234
+ if (node_fs_1.default.existsSync(calamaresIcon)) {
235
+ shelljs_1.default.cp(calamaresIcon, '/usr/share/icons/');
236
+ }
237
+ else {
238
+ console.log(`${calamaresIcon} icon not found!`);
239
+ process.exit();
240
+ }
237
241
  }
238
242
  let calamaresLauncher = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/applications/install-system.desktop`);
239
243
  if (this.theme.includes('/')) {
@@ -14,7 +14,7 @@ function installer() {
14
14
  const installer = {};
15
15
  // configRoot
16
16
  installer.configRoot = '';
17
- if (pacman_1.default.packageIsInstalled('calamares')) {
17
+ if (pacman_1.default.calamaresExists()) {
18
18
  installer.name = 'calamares';
19
19
  installer.configRoot = '/etc/calamares/';
20
20
  installer.multiarch = multiarch() + 'calamares/';
@@ -22,15 +22,13 @@ function installer() {
22
22
  else {
23
23
  installer.name = 'krill';
24
24
  installer.configRoot = '/etc/penguins-eggs.d/krill/';
25
- /**
26
- * renamed: was penguins-eggs
27
- */
28
25
  installer.multiarch = multiarch() + 'krill/';
29
26
  }
30
27
  installer.modules = installer.configRoot + 'modules/';
31
28
  installer.multiarchModules = installer.multiarch + 'modules/';
32
29
  /**
33
- * i template nelle versioni isCalamaresAvailable sono QUELLI di calamares
30
+ * se distro.isCalamaresAvailable()
31
+ * i template di calamares e krill sono gli stessi
34
32
  */
35
33
  const remix = {};
36
34
  const distro = new distro_1.default(remix);
@@ -127,7 +127,7 @@ class Ovary {
127
127
  // Carica calamares sono se le icone sono accettate
128
128
  if (!noicons) { // se VOGLIO le icone
129
129
  if (!nointeractive && this.settings.distro.isCalamaresAvailable && (pacman_1.default.isInstalledGui()) &&
130
- this.settings.config.force_installer && !(await pacman_1.default.calamaresCheck())) {
130
+ this.settings.config.force_installer && !(pacman_1.default.calamaresExists())) {
131
131
  console.log('Installing ' + chalk_1.default.bgGray('calamares') + ' due force_installer=yes.');
132
132
  await pacman_1.default.calamaresInstall(verbose);
133
133
  const bleach = new bleach_1.default();
@@ -1065,7 +1065,7 @@ class Ovary {
1065
1065
  shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-eggs.desktop'), '/usr/share/applications/');
1066
1066
  let installerUrl = 'install-system.desktop';
1067
1067
  let installerIcon = 'install-system.sh';
1068
- if (pacman_1.default.packageIsInstalled('calamares')) {
1068
+ if (pacman_1.default.calamaresExists()) {
1069
1069
  shelljs_1.default.cp(node_path_1.default.resolve(__dirname, `../../addons/${theme}/theme/applications/install-system.desktop`), `${this.settings.work_dir.merged}/usr/share/applications/`);
1070
1070
  }
1071
1071
  else if (pacman_1.default.packageIsInstalled('live-installer')) {
@@ -220,21 +220,8 @@ class Pacman {
220
220
  /**
221
221
  * return true if calamares is installed
222
222
  */
223
- static async calamaresCheck() {
224
- let installed = true;
225
- if (this.distro().familyId === 'debian') {
226
- installed = await debian_1.default.calamaresCheck();
227
- }
228
- else if (this.distro().familyId === 'fedora') {
229
- installed = await fedora_1.default.calamaresCheck();
230
- }
231
- else if (this.distro().familyId === 'archlinux') {
232
- installed = await archlinux_1.default.calamaresCheck();
233
- }
234
- else if (this.distro().familyId === 'suse') {
235
- installed = await suse_1.default.calamaresCheck();
236
- }
237
- return installed;
223
+ static calamaresExists() {
224
+ return this.commandIsInstalled('calamares');
238
225
  }
239
226
  /**
240
227
  * Controlla se calamares è installabile
@@ -264,7 +251,9 @@ class Pacman {
264
251
  else if (this.distro().familyId === 'suse') {
265
252
  await suse_1.default.calamaresInstall(verbose);
266
253
  }
267
- // remove calamares link
254
+ // remove others calamares links
255
+ await (0, utils_2.exec)('rm -f /usr/share/applications/calamares-eggs-debugging.desktop');
256
+ await (0, utils_2.exec)('rm -f /usr/share/applications/calamares-eggs.desktop');
268
257
  await (0, utils_2.exec)('rm -f /usr/share/applications/calamares.desktop');
269
258
  }
270
259
  }
@@ -349,7 +338,7 @@ class Pacman {
349
338
  config.locales_default = env.LANG !== undefined ? env.LANG : 'en_US.UTF-8';
350
339
  config.locales = config.locales_default === 'en_US.UTF-8' ? ['en_US.UTF-8'] : [config.locales_default, 'en_US.UTF-8'];
351
340
  config.pmount_fixed = false;
352
- if (!this.packageIsInstalled('calamares')) {
341
+ if (!this.calamaresExists()) {
353
342
  config.force_installer = false;
354
343
  console.log('Due the lacks of calamares package set force_installer = false');
355
344
  }
@@ -706,10 +695,9 @@ class Pacman {
706
695
  *
707
696
  * @param cmd
708
697
  */
709
- static async commandIsInstalled(cmd) {
698
+ static commandIsInstalled(cmd) {
710
699
  let installed = false;
711
- const stdout = shelljs_1.default.exec(`command -v ${cmd}`, { silent: true }).stdout.trim();
712
- if (stdout !== '') {
700
+ if (shelljs_1.default.exec(`command -V ${cmd} &>/dev/null`).code == 0) {
713
701
  installed = true;
714
702
  }
715
703
  else {
@@ -94,7 +94,7 @@ class Calamares extends core_1.Command {
94
94
  /**
95
95
  * Remove calamares
96
96
  */
97
- if (await pacman_1.default.calamaresCheck()) {
97
+ if (pacman_1.default.calamaresExists()) {
98
98
  await pacman_1.default.calamaresRemove();
99
99
  if (await this.settings.load()) {
100
100
  this.settings.config.force_installer = false;
@@ -76,7 +76,7 @@ class Config extends core_1.Command {
76
76
  if (utils_1.default.machineArch() !== 'i386') {
77
77
  i.efi = !pacman_1.default.isUefi();
78
78
  }
79
- if (!cryptedclone && !(await pacman_1.default.calamaresCheck()) && pacman_1.default.isInstalledGui() && pacman_1.default.isCalamaresAvailable() && !pacman_1.default.packageIsInstalled('live-installer')) {
79
+ if (!cryptedclone && !(pacman_1.default.calamaresExists()) && pacman_1.default.isInstalledGui() && pacman_1.default.isCalamaresAvailable() && !pacman_1.default.packageIsInstalled('live-installer')) {
80
80
  if (noicons) {
81
81
  i.calamares = false;
82
82
  }
@@ -98,7 +98,7 @@ async function information(verbose = false) {
98
98
  let uefi = pacman_1.default.isUefi();
99
99
  let installer = false;
100
100
  if (pacman_1.default.isInstalledGui()) {
101
- installer = await pacman_1.default.calamaresCheck();
101
+ installer = pacman_1.default.calamaresExists();
102
102
  }
103
103
  const Ok = () => (react_1.default.createElement(ink_1.Text, { backgroundColor: "green" }, "OK"));
104
104
  // render(<Ok />)
@@ -509,7 +509,7 @@ class Sequence {
509
509
  *
510
510
  * if calamares is present: remove GUI installer link
511
511
  */
512
- if (await pacman_1.default.calamaresCheck()) {
512
+ if (pacman_1.default.calamaresExists()) {
513
513
  message = "remove GUI installer link";
514
514
  percent = 0.92;
515
515
  try {
@@ -113,7 +113,7 @@ class CliAutologin {
113
113
  async addMotd(distro, version, user, userPasswd, rootPasswd, chroot = '/') {
114
114
  const fileMotd = `${chroot}/etc/motd`;
115
115
  let installer = 'sudo eggs install';
116
- if (pacman_1.default.packageIsInstalled('calamares')) {
116
+ if (pacman_1.default.calamaresExists()) {
117
117
  if (pacman_1.default.packageIsInstalled('plasma-desktop')) {
118
118
  installer = 'startplasma-wayland to run GUI and launch calamares';
119
119
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.5.11",
4
+ "version": "9.5.13",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"