penguins-eggs 9.5.8 → 9.5.11

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.8","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.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}]}}}
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.8_amd64.deb
108
+ sudo dpkg -i eggs_9.5.11_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.8_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.11_amd64.deb**.
135
135
 
136
136
 
137
137
  ## Arch families
@@ -13,12 +13,13 @@ class CFS {
13
13
  * steps
14
14
  * @returns
15
15
  */
16
- steps() {
16
+ async steps() {
17
+ const cfs = [];
18
+ // if (await Pacman.calamaresCheck()) {
17
19
  let configRoot = '/etc/penguins-eggs.d/krill/';
18
20
  if (fs_1.default.existsSync('/etc/calamares/settings.conf')) {
19
21
  configRoot = '/etc/calamares/';
20
22
  }
21
- const cfs = [];
22
23
  const settingsVar = fs_1.default.readFileSync(`${configRoot}settings.conf`, 'utf8');
23
24
  const settingsYaml = js_yaml_1.default.load(settingsVar);
24
25
  const execSequence = settingsYaml.sequence[1];
@@ -28,6 +29,7 @@ class CFS {
28
29
  cfs.push(step);
29
30
  }
30
31
  }
32
+ //}
31
33
  return cfs;
32
34
  }
33
35
  }
@@ -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);
@@ -7,6 +7,7 @@ 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"));
10
11
  const cfs_1 = __importDefault(require("../../cfs"));
11
12
  const fisherman_1 = __importDefault(require("../fisherman"));
12
13
  /**
@@ -38,7 +39,10 @@ class Rolling {
38
39
  */
39
40
  async create() {
40
41
  const fisherman = new fisherman_1.default(this.distro, this.installer, this.verbose);
41
- await fisherman.createCalamaresSettings(this.theme, this.isClone);
42
+ if (await pacman_1.default.calamaresCheck()) {
43
+ // Crea settings solo per calamares
44
+ await fisherman.createCalamaresSettings(this.theme, this.isClone);
45
+ }
42
46
  await fisherman.buildModule('partition', this.theme);
43
47
  await fisherman.buildModule('mount');
44
48
  await fisherman.moduleUnpackfs();
@@ -67,7 +71,7 @@ class Rolling {
67
71
  * cfs: custom final steps
68
72
  */
69
73
  const cfs = new cfs_1.default();
70
- const steps = cfs.steps();
74
+ const steps = await cfs.steps();
71
75
  if (steps.length > 0) {
72
76
  for (const step of steps) {
73
77
  await fisherman.buildCalamaresModule(step, true, this.theme);
@@ -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
  }
@@ -40,7 +40,7 @@ class Incubator {
40
40
  this.verbose = verbose;
41
41
  this.remix.branding = theme;
42
42
  this.isClone = isClone;
43
- // brandig è solo il basename
43
+ // branding è solo il basename
44
44
  this.remix.branding = node_path_1.default.basename(theme);
45
45
  }
46
46
  /**
@@ -50,6 +50,7 @@ class Incubator {
50
50
  const verbose = true;
51
51
  const echo = utils_1.default.setEcho(verbose);
52
52
  this.createInstallerDirs();
53
+ this.createBranding();
53
54
  // DEBIAN
54
55
  switch (this.distro.codenameLikeId) {
55
56
  case 'jessie': {
@@ -129,7 +130,6 @@ class Incubator {
129
130
  }
130
131
  // No default
131
132
  }
132
- this.createBranding();
133
133
  }
134
134
  /**
135
135
  *
@@ -150,7 +150,7 @@ class Incubator {
150
150
  console.log('error: ' + error + ' removing ' + this.installer.multiarch + ' -rf');
151
151
  }
152
152
  }
153
- // rootConfiguration krill calamares
153
+ // rootConfiguration krill/calamares
154
154
  if (!node_fs_1.default.existsSync(this.installer.configRoot)) {
155
155
  try {
156
156
  node_fs_1.default.mkdirSync(this.installer.configRoot);
@@ -200,57 +200,55 @@ class Incubator {
200
200
  }
201
201
  }
202
202
  /**
203
- * themes (only for calamares)
203
+ * themes krill/calamares
204
204
  */
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
- }
205
+ let calamaresBranding = node_path_1.default.resolve(__dirname, `../../../addons/eggs/theme/calamares/branding`);
206
+ if (this.theme.includes('/')) {
207
+ calamaresBranding = `${this.theme}/theme/calamares/branding`;
208
+ }
209
+ // console.log(`calamaresBranding: ${calamaresBranding}`)
210
+ if (node_fs_1.default.existsSync(calamaresBranding)) {
211
+ if (!node_fs_1.default.existsSync(this.installer.configRoot + `branding/${this.remix.branding}`)) {
212
+ try {
213
+ node_fs_1.default.mkdirSync(this.installer.configRoot + `branding/${this.remix.branding}`);
214
+ }
215
+ catch (error) {
216
+ console.log('error: ' + error + ' creating ' + this.installer.configRoot + `branding/${this.remix.branding}`);
219
217
  }
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
- if (node_fs_1.default.existsSync(calamaresIcon)) {
233
- shelljs_1.default.cp(calamaresIcon, '/usr/share/icons/');
234
- }
235
- else {
236
- console.log(`${calamaresIcon} icon not found!`);
237
- process.exit();
238
- }
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
218
  }
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');
219
+ // patch quirinux
220
+ shelljs_1.default.cp('-r', calamaresBranding + '/*', this.installer.configRoot + `branding/${this.remix.branding}/`);
221
+ }
222
+ else {
223
+ console.log(calamaresBranding);
224
+ console.log(`${calamaresBranding} branding not found!`);
225
+ process.exit();
226
+ }
227
+ let calamaresIcon = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/artwork/install-system.png`);
228
+ if (this.theme.includes('/')) {
229
+ calamaresIcon = `${this.theme}/theme/artwork/install-system.png`;
230
+ }
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();
237
+ }
238
+ let calamaresLauncher = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/applications/install-system.desktop`);
239
+ if (this.theme.includes('/')) {
240
+ calamaresLauncher = `${this.theme}/theme/applications/install-system.desktop`;
241
+ }
242
+ if (node_fs_1.default.existsSync(calamaresLauncher)) {
243
+ shelljs_1.default.cp(calamaresLauncher, '/usr/share/applications/');
244
+ }
245
+ else {
246
+ console.log(`${calamaresLauncher} launcher not found!`);
247
+ process.exit();
253
248
  }
249
+ // script di avvio
250
+ shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../../assets/calamares/install-system.sh'), '/usr/sbin/install-system.sh');
251
+ shelljs_1.default.chmod('+x', '/usr/sbin/install-system.sh');
254
252
  }
255
253
  /**
256
254
  *
@@ -259,7 +257,7 @@ class Incubator {
259
257
  const branding = require('./branding').branding;
260
258
  const dir = this.installer.configRoot + 'branding/' + this.remix.branding + '/';
261
259
  if (!node_fs_1.default.existsSync(dir)) {
262
- shelljs_1.default.exec(dir + ' -p');
260
+ shelljs_1.default.exec(`mkdir ${dir} -p`);
263
261
  }
264
262
  const file = dir + 'branding.desc';
265
263
  const content = branding(this.remix, this.distro, this.verbose);
@@ -84,7 +84,16 @@ class Utils {
84
84
  vmlinuz = vmlinuz.substring(vmlinuz.indexOf('@') + 1);
85
85
  }
86
86
  /**
87
- * If vmlinuz not found in /proc/cmdline,
87
+ * blendOS: BOOT_IMAGE=/vmlinuz-linux
88
+ * but =/vmlinuz-linux exists in /boot/
89
+ */
90
+ if (vmlinuz === '/vmlinuz-linux' || vmlinuz === '/vmlinuz-linux-zen') {
91
+ if (fs_1.default.existsSync(`/boot${vmlinuz}`)) {
92
+ vmlinuz = `/boot${vmlinuz}`;
93
+ }
94
+ }
95
+ /**
96
+ * If vmlinuz not found
88
97
  */
89
98
  if (vmlinuz === '') {
90
99
  let version = 'linux';
@@ -104,15 +113,6 @@ class Utils {
104
113
  }
105
114
  vmlinuz = '/boot/vmlinuz-' + version;
106
115
  }
107
- /**
108
- * patch: blendOS have BOOT_IMAGE=/vmlinuz-linux
109
- * but =/vmlinuz-linux don't exists
110
- */
111
- if (vmlinuz === '/vmlinuz-linux') {
112
- if (!fs_1.default.existsSync(vmlinuz)) {
113
- vmlinuz = '/boot/vmlinuz-linux';
114
- }
115
- }
116
116
  /**
117
117
  * if not exists exit
118
118
  */
@@ -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;
@@ -147,6 +147,7 @@ class Krill {
147
147
  */
148
148
  if (await this.pvExist()) {
149
149
  await utils_1.default.pressKeyToExit(`There is a lvm2 volume in the system, remove it manually before installation.\nkrill installer refuses to continue`);
150
+ process.exit();
150
151
  }
151
152
  /**
152
153
  * stop udisks2.service
@@ -431,6 +431,10 @@ class Sequence {
431
431
  percent = 0.78;
432
432
  if (this.users.autologin) {
433
433
  await xdg_1.default.autologin(await utils_1.default.getPrimaryUser(), this.users.name, this.installTarget);
434
+ if (this.distro.distroLike === 'Arch') {
435
+ await (0, utils_2.exec)(`chroot ${this.installTarget} groupadd autologin`);
436
+ await (0, utils_2.exec)(`chroot ${this.installTarget} gpasswd -a ${this.users.name} autologin`);
437
+ }
434
438
  }
435
439
  await redraw(react_1.default.createElement(install_1.default, { message: message, percent: percent }));
436
440
  }
@@ -531,7 +535,7 @@ class Sequence {
531
535
  * custom final steps
532
536
  */
533
537
  const cfs = new cfs_1.default();
534
- const steps = cfs.steps();
538
+ const steps = await cfs.steps();
535
539
  if (steps.length > 0) {
536
540
  for (const step of steps) {
537
541
  message = `running ${step}`;
@@ -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.8",
4
+ "version": "9.5.11",
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",