penguins-eggs 9.5.9 → 9.5.12

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.9","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 /path/to/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.12","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
@@ -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.9_amd64.deb
108
+ sudo dpkg -i eggs_9.5.12_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_9.5.9_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
@@ -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
  */
@@ -13,19 +14,22 @@ class CFS {
13
14
  * steps
14
15
  * @returns
15
16
  */
16
- steps() {
17
+ async steps() {
18
+ const cfs = [];
17
19
  let configRoot = '/etc/penguins-eggs.d/krill/';
18
- if (fs_1.default.existsSync('/etc/calamares/settings.conf')) {
20
+ if (pacman_1.default.calamaresExists()) {
19
21
  configRoot = '/etc/calamares/';
20
22
  }
21
- const cfs = [];
22
- const settingsVar = fs_1.default.readFileSync(`${configRoot}settings.conf`, 'utf8');
23
- const settingsYaml = js_yaml_1.default.load(settingsVar);
24
- const execSequence = settingsYaml.sequence[1];
25
- const steps = execSequence.exec;
26
- for (const step of steps) {
27
- if (step.includes('cfs-')) {
28
- 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
+ }
29
33
  }
30
34
  }
31
35
  return cfs;
@@ -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
  */
@@ -34,9 +34,12 @@ function branding(remix, distro, theme = '', verbose = false) {
34
34
  const versionedName = remix.fullname + ' (' + version + ')'; // Questa la mette nella descrizione andrebbe aggiunta la versione dal nome della iso
35
35
  const shortVersionedName = remix.versionName + ' ' + version;
36
36
  let bootloaderEntryName = distro.distroId;
37
- // Necessario: Devuan, LMDE, caraco, syslinuxos devono avere EFI=Debian altrimenti non funziona EFI
37
+ /**
38
+ * some distros: Devuan, LMDE, syslinuxos
39
+ * must have: bootloaderEntryName=Debian
40
+ * to work on EFI
41
+ */
38
42
  switch (distro.distroId.toLowerCase()) {
39
- case 'caraco':
40
43
  case 'devuan':
41
44
  case 'lmde':
42
45
  case 'syslinuxos': {
@@ -69,7 +69,7 @@ class Bionic {
69
69
  * cfs: custom final steps
70
70
  */
71
71
  const cfs = new cfs_1.default();
72
- const steps = cfs.steps();
72
+ const steps = await cfs.steps();
73
73
  if (steps.length > 0) {
74
74
  for (const step of steps) {
75
75
  await fisherman.buildCalamaresModule(step, true, this.theme);
@@ -71,7 +71,7 @@ class Buster {
71
71
  * cfs: custom final steps
72
72
  */
73
73
  const cfs = new cfs_1.default();
74
- const steps = cfs.steps();
74
+ const steps = await cfs.steps();
75
75
  if (steps.length > 0) {
76
76
  for (const step of steps) {
77
77
  await fisherman.buildCalamaresModule(step, true, this.theme);
@@ -66,7 +66,7 @@ class Focal {
66
66
  * cfs: custom final steps
67
67
  */
68
68
  const cfs = new cfs_1.default();
69
- const steps = cfs.steps();
69
+ const steps = await cfs.steps();
70
70
  if (steps.length > 0) {
71
71
  for (const step of steps) {
72
72
  await fisherman.buildCalamaresModule(step, true, this.theme);
@@ -67,7 +67,7 @@ class Rolling {
67
67
  * cfs: custom final steps
68
68
  */
69
69
  const cfs = new cfs_1.default();
70
- const steps = cfs.steps();
70
+ const steps = await cfs.steps();
71
71
  if (steps.length > 0) {
72
72
  for (const step of steps) {
73
73
  await fisherman.buildCalamaresModule(step, true, this.theme);
@@ -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
  }
@@ -14,6 +14,7 @@ const js_yaml_1 = __importDefault(require("js-yaml"));
14
14
  const shelljs_1 = __importDefault(require("shelljs"));
15
15
  const displaymanager_1 = require("./displaymanager");
16
16
  const utils_1 = __importDefault(require("../../utils"));
17
+ const installer_1 = require("../installer");
17
18
  /**
18
19
  *
19
20
  * @param src
@@ -58,7 +59,8 @@ exports.settings = settings;
58
59
  *
59
60
  */
60
61
  function cfsAppend(cfs) {
61
- let soContent = fs_1.default.readFileSync('/etc/calamares/settings.conf', 'utf8');
62
+ const configRoot = (0, installer_1.installer)().configRoot + 'settings.conf';
63
+ let soContent = fs_1.default.readFileSync(configRoot, 'utf8');
62
64
  let so = js_yaml_1.default.load(soContent);
63
65
  const cfsContent = fs_1.default.readFileSync(cfs, 'utf8');
64
66
  const cfsSteps = js_yaml_1.default.load(cfsContent);
@@ -75,6 +77,7 @@ function cfsAppend(cfs) {
75
77
  so.sequence[1].exec.push('end-cfs'); // we will replace with umount
76
78
  }
77
79
  }
78
- fs_1.default.writeFileSync("/etc/calamares/settings.conf", js_yaml_1.default.dump(so), 'utf-8');
79
- shelljs_1.default.sed('-i', 'end-cfs', 'umount', "/etc/calamares/settings.conf");
80
+ // ***
81
+ fs_1.default.writeFileSync(configRoot, js_yaml_1.default.dump(so), 'utf-8');
82
+ shelljs_1.default.sed('-i', 'end-cfs', 'umount', configRoot);
80
83
  }
@@ -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
  *
@@ -40,7 +41,7 @@ class Incubator {
40
41
  this.verbose = verbose;
41
42
  this.remix.branding = theme;
42
43
  this.isClone = isClone;
43
- // brandig è solo il basename
44
+ // branding è solo il basename
44
45
  this.remix.branding = node_path_1.default.basename(theme);
45
46
  }
46
47
  /**
@@ -50,6 +51,7 @@ class Incubator {
50
51
  const verbose = true;
51
52
  const echo = utils_1.default.setEcho(verbose);
52
53
  this.createInstallerDirs();
54
+ this.createBranding();
53
55
  // DEBIAN
54
56
  switch (this.distro.codenameLikeId) {
55
57
  case 'jessie': {
@@ -129,7 +131,6 @@ class Incubator {
129
131
  }
130
132
  // No default
131
133
  }
132
- this.createBranding();
133
134
  }
134
135
  /**
135
136
  *
@@ -150,7 +151,7 @@ class Incubator {
150
151
  console.log('error: ' + error + ' removing ' + this.installer.multiarch + ' -rf');
151
152
  }
152
153
  }
153
- // rootConfiguration krill calamares
154
+ // rootConfiguration krill/calamares
154
155
  if (!node_fs_1.default.existsSync(this.installer.configRoot)) {
155
156
  try {
156
157
  node_fs_1.default.mkdirSync(this.installer.configRoot);
@@ -200,35 +201,36 @@ class Incubator {
200
201
  }
201
202
  }
202
203
  /**
203
- * themes (only for calamares)
204
+ * themes krill/calamares
204
205
  */
205
- if (this.installer.name === 'calamares') {
206
- let calamaresBranding = node_path_1.default.resolve(__dirname, `../../../addons/eggs/theme/calamares/branding`);
207
- if (this.theme.includes('/')) {
208
- calamaresBranding = `${this.theme}/theme/calamares/branding`;
209
- }
210
- // console.log(`calamaresBranding: ${calamaresBranding}`)
211
- if (node_fs_1.default.existsSync(calamaresBranding)) {
212
- if (!node_fs_1.default.existsSync(this.installer.configRoot + `branding/${this.remix.branding}`)) {
213
- try {
214
- node_fs_1.default.mkdirSync(this.installer.configRoot + `branding/${this.remix.branding}`);
215
- }
216
- catch (error) {
217
- console.log('error: ' + error + ' creating ' + this.installer.configRoot + `branding/${this.remix.branding}`);
218
- }
206
+ let calamaresBranding = node_path_1.default.resolve(__dirname, `../../../addons/eggs/theme/calamares/branding`);
207
+ if (this.theme.includes('/')) {
208
+ calamaresBranding = `${this.theme}/theme/calamares/branding`;
209
+ }
210
+ // console.log(`calamaresBranding: ${calamaresBranding}`)
211
+ if (node_fs_1.default.existsSync(calamaresBranding)) {
212
+ if (!node_fs_1.default.existsSync(this.installer.configRoot + `branding/${this.remix.branding}`)) {
213
+ try {
214
+ node_fs_1.default.mkdirSync(this.installer.configRoot + `branding/${this.remix.branding}`);
215
+ }
216
+ catch (error) {
217
+ console.log('error: ' + error + ' creating ' + this.installer.configRoot + `branding/${this.remix.branding}`);
219
218
  }
220
- // patch quirinux
221
- shelljs_1.default.cp('-r', calamaresBranding + '/*', this.installer.configRoot + `branding/${this.remix.branding}/`);
222
- }
223
- else {
224
- console.log(calamaresBranding);
225
- console.log(`${calamaresBranding} branding not found!`);
226
- process.exit();
227
- }
228
- let calamaresIcon = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/artwork/install-system.png`);
229
- if (this.theme.includes('/')) {
230
- calamaresIcon = `${this.theme}/theme/artwork/install-system.png`;
231
219
  }
220
+ // patch quirinux
221
+ shelljs_1.default.cp('-r', calamaresBranding + '/*', this.installer.configRoot + `branding/${this.remix.branding}/`);
222
+ }
223
+ else {
224
+ console.log(calamaresBranding);
225
+ console.log(`${calamaresBranding} branding not found!`);
226
+ process.exit();
227
+ }
228
+ let calamaresIcon = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/artwork/install-system.png`);
229
+ if (this.theme.includes('/')) {
230
+ calamaresIcon = `${this.theme}/theme/artwork/install-system.png`;
231
+ }
232
+ // se non esiste non copio la icona
233
+ if (pacman_1.default.calamaresExists()) {
232
234
  if (node_fs_1.default.existsSync(calamaresIcon)) {
233
235
  shelljs_1.default.cp(calamaresIcon, '/usr/share/icons/');
234
236
  }
@@ -236,21 +238,21 @@ class Incubator {
236
238
  console.log(`${calamaresIcon} icon not found!`);
237
239
  process.exit();
238
240
  }
239
- let calamaresLauncher = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/applications/install-system.desktop`);
240
- if (this.theme.includes('/')) {
241
- calamaresLauncher = `${this.theme}/theme/applications/install-system.desktop`;
242
- }
243
- if (node_fs_1.default.existsSync(calamaresLauncher)) {
244
- shelljs_1.default.cp(calamaresLauncher, '/usr/share/applications/');
245
- }
246
- else {
247
- console.log(`${calamaresLauncher} launcher not found!`);
248
- process.exit();
249
- }
250
- // script di avvio
251
- shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../../assets/calamares/install-system.sh'), '/usr/sbin/install-system.sh');
252
- shelljs_1.default.chmod('+x', '/usr/sbin/install-system.sh');
253
241
  }
242
+ let calamaresLauncher = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/applications/install-system.desktop`);
243
+ if (this.theme.includes('/')) {
244
+ calamaresLauncher = `${this.theme}/theme/applications/install-system.desktop`;
245
+ }
246
+ if (node_fs_1.default.existsSync(calamaresLauncher)) {
247
+ shelljs_1.default.cp(calamaresLauncher, '/usr/share/applications/');
248
+ }
249
+ else {
250
+ console.log(`${calamaresLauncher} launcher not found!`);
251
+ process.exit();
252
+ }
253
+ // script di avvio
254
+ shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../../assets/calamares/install-system.sh'), '/usr/sbin/install-system.sh');
255
+ shelljs_1.default.chmod('+x', '/usr/sbin/install-system.sh');
254
256
  }
255
257
  /**
256
258
  *
@@ -259,7 +261,7 @@ class Incubator {
259
261
  const branding = require('./branding').branding;
260
262
  const dir = this.installer.configRoot + 'branding/' + this.remix.branding + '/';
261
263
  if (!node_fs_1.default.existsSync(dir)) {
262
- shelljs_1.default.exec(dir + ' -p');
264
+ shelljs_1.default.exec(`mkdir ${dir} -p`);
263
265
  }
264
266
  const file = dir + 'branding.desc';
265
267
  const content = branding(this.remix, this.distro, this.verbose);
@@ -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
  }
@@ -154,6 +154,6 @@ Produce.examples = [
154
154
  'sudo eggs produce --cryptedclone',
155
155
  'sudo eggs produce --clone',
156
156
  'sudo eggs produce --basename=colibri',
157
- 'sudo eggs produce --basename=colibri --theme /path/to/theme --addons adapt',
157
+ 'sudo eggs produce --basename=colibri --theme theme --addons adapt',
158
158
  ];
159
159
  exports.default = Produce;
@@ -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 {
@@ -535,7 +535,7 @@ class Sequence {
535
535
  * custom final steps
536
536
  */
537
537
  const cfs = new cfs_1.default();
538
- const steps = cfs.steps();
538
+ const steps = await cfs.steps();
539
539
  if (steps.length > 0) {
540
540
  for (const step of steps) {
541
541
  message = `running ${step}`;
@@ -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
  }
@@ -48,6 +48,7 @@ exports.depCommon = [
48
48
  'dosfstools',
49
49
  'dpkg-dev',
50
50
  'git',
51
+ 'grub-efi-amd64-bin',
51
52
  'isolinux',
52
53
  'jq',
53
54
  'live-boot-initramfs-tools',
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.9",
4
+ "version": "9.5.12",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
@@ -11,10 +11,10 @@
11
11
  "dependencies": {
12
12
  "@oclif/core": "^1.26.2",
13
13
  "@oclif/plugin-autocomplete": "1.3.8",
14
- "@oclif/plugin-help": "^5.2.8",
14
+ "@oclif/plugin-help": "^5.2.11",
15
15
  "@oclif/plugin-version": "1.2.1",
16
- "@oclif/plugin-warn-if-update-available": "^2.0.37",
17
- "@oclif/test": "^2.3.22",
16
+ "@oclif/plugin-warn-if-update-available": "^2.0.41",
17
+ "@oclif/test": "^2.3.26",
18
18
  "axios": "^1.4.0",
19
19
  "chalk": "^4.1.2",
20
20
  "etrick": "0.0.3",
@@ -28,10 +28,10 @@
28
28
  "node-static": "^0.7.11",
29
29
  "react": "^18.2.0",
30
30
  "shelljs": "0.8.5",
31
- "systeminformation": "^5.18.3",
31
+ "systeminformation": "^5.18.6",
32
32
  "tftp": "^0.1.2",
33
- "tslib": "^2.5.3",
34
- "typescript": "^5.1.3"
33
+ "tslib": "^2.6.0",
34
+ "typescript": "^5.1.6"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@tsconfig/recommended": "^1.0.2",
@@ -44,11 +44,11 @@
44
44
  "@types/mocha": "^10.0.1",
45
45
  "@types/mustache": "^4.2.2",
46
46
  "@types/netmask": "^1.0.30",
47
- "@types/node": "^18.16.17",
47
+ "@types/node": "^18.16.19",
48
48
  "@types/node-static": "^0.7.7",
49
- "@types/react": "^18.2.9",
49
+ "@types/react": "^18.2.14",
50
50
  "@types/shelljs": "^0.8.12",
51
- "@typescript-eslint/parser": "^5.59.9",
51
+ "@typescript-eslint/parser": "^5.61.0",
52
52
  "chai": "^4.3.7",
53
53
  "eslint": "^7",
54
54
  "eslint-config-oclif": "^4.0.0",
@@ -57,7 +57,7 @@
57
57
  "mocha": "^10.2.0",
58
58
  "nyc": "^15.1.0",
59
59
  "oclif-pnpm": "3.4.3-1",
60
- "perrisbrewery": "9.3.18",
60
+ "perrisbrewery": "9.5.9",
61
61
  "ts-node": "^10.9.1"
62
62
  },
63
63
  "dirname": "eggs",