penguins-eggs 9.5.26 → 9.6.3

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.26","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},"policies":{"name":"policies","type":"boolean","char":"p","description":"configure calamares policies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons on desktop","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove repo","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools skel","sudo eggs tools skel --user user-to-be-copied"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools yolk"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrobe","eggs wardrobe list --distro arch"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"distro":{"name":"distro","type":"option","char":"d","description":"distro","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
1
+ {"version":"9.6.3","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},"policies":{"name":"policies","type":"boolean","char":"p","description":"configure calamares policies","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
@@ -92,10 +92,14 @@ I added two built-in assistants with eggs: mom and dad. While mom is a script ba
92
92
  yolk - so called staying on the subject of eggs - is a local repository included in the livecd that contains a minimum of indispensable packages during installation. Thanks to yolk, you can safely install your system without the need of an active internet connection.
93
93
 
94
94
  # Packages
95
- Supporting various distributions, we need to have different packages. Debian, Devuan and Ubuntu share the .deb packages of eggs, while for Arch Linux and ManjaroLinux they use their PKGBUILDs.
95
+ Supporting various distributions, we need to have different packages. Debian, Devuan and Ubuntu share the .deb packages for amd_64 and i386 architecture, while Arch and ManjaroLinux use their own PKGBUILDs.
96
96
 
97
97
  ## Debian families
98
- eggs is released as a deb package for amd64, armel and arm64 architectures. Because of eggs' features, they can be installed in Debian, Devuan, or Ubuntu-based distros without worrying about version (buster, bullseye, bookworm, etc.) except for architecture. It includes standard scripts for preinst, postinst, prerm and postrm and man pages.
98
+ eggs is released as a deb package for amd64, i386 and arm64 too.
99
+
100
+ Because of eggs' features, the packages can be installed in Debian, Devuan, or Ubuntu-based distros without worrying about exact version (buster, bullseye, bookworm, trixie, chimaera, daedalus, bionic, focal and jammy) are reported to work, of course respect the processor architecture.
101
+
102
+ The packages includes standard scripts for preinst, postinst, prerm and postrm and man pages.
99
103
 
100
104
  ### Install eggs
101
105
  There are more than a way to install eggs as .deb package, the most practical is to add and use penguins-eggs-ppa.
@@ -105,19 +109,27 @@ There are more than a way to install eggs as .deb package, the most practical is
105
109
  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
110
 
107
111
  ```
108
- sudo dpkg -i eggs_9.5.26_amd64.deb
112
+ sudo dpkg -i eggs_9.6.3_amd64.deb
109
113
  ```
110
114
 
111
115
  or, on a i386 system:
112
116
  ```
113
- sudo dpkg -i eggs_8.17.17-1_i386.deb
117
+ sudo dpkg -i eggs_9.6.3_i386.deb
114
118
  ```
115
119
 
116
120
  Once eggs is installed you can add the [penguins-eggs-ppa](https://pieroproietti.github.io/penguins-eggs-ppa) repository with the command: ```sudo eggs tools ppa --install```
117
121
 
118
122
  #### Using penguins-eggs-ppa (stable version)
119
123
 
120
- eggs have its repository ppa, You can use it, copy and paste in a terminal window the following two lines:
124
+ You can use a little utility I wrote: `addaura`. Use it in this way:
125
+
126
+ * `git clone https://github.com/pieroproietti/addaura`
127
+ * `cd addaura`
128
+ * `sudo ./addaura`
129
+
130
+ On Debian, Devuan and Ubuntu addaura will add the ppa and install eggs.
131
+
132
+ For derivatives of Debian, Devuan and Ubuntu, like Linuxmint, LMDE, etc, addaura will refuce to work but You can again copy and paste the following two lines in a terminal:
121
133
 
122
134
  ```
123
135
  curl -fsSL https://pieroproietti.github.io/penguins-eggs-ppa/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/penguins-eggs.gpg
@@ -131,17 +143,24 @@ sudo apt update && sudo apt install eggs
131
143
  ```
132
144
 
133
145
  ### Upgrade eggs
134
- If you are using penguins-eggs-ppa You can ugrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_0.5.12_amd64.deb**.
135
-
146
+ If you are using penguins-eggs-ppa You can upgrade 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.6.3_amd64.deb** or **gdebi eggs_9.6.3_i386.deb**.
136
147
 
137
148
  ## Arch families
138
149
  eggs has been present in [AUR](https://aur.archlinux.org/) for a long time, even without my knowledge thanks the support of Arch peoples. I am currently directly maintaining the AUR version of [penguins-eggs](https://aur.archlinux.org/packages/penguins-eggs) and I'm participating in the [Manjaro Community Repository](https://gitlab.manjaro.org/packages/community/penguins-eggs).
139
150
 
140
- The development versions of penguins eggs and other PKGBUILDs are instead in my [penguins-eggs-pkgbuilds](https://github.com/pieroproietti/penguins-eggs-pkgbuilds) repository.
151
+ The development versions of penguins eggs and other PKGBUILDs are instead in my [eggs-pkgbuilds](https://github.com/pieroproietti/eggs-pkgbuilds) repository.
141
152
 
142
153
  ### Arch
143
154
  It's possible to install penguins-eggs from [AUR](https://aur.archlinux.org/packages/penguins-eggs) adding repo [Chaotic-AUR](https://aur.chaotic.cx/) and using `sudo pacman -Sy penguins-eggs`.
144
155
 
156
+ You can use a little utility I wrote: `addaura`. Use it in this way:
157
+
158
+ * `git clone https://github.com/pieroproietti/addaura`
159
+ * `cd addaura`
160
+ * `sudo ./addaura`
161
+
162
+ Addaura will add AUR repository and install penguins-eggs.
163
+
145
164
  Of course you can also use yay: `yay penguins-eggs` or download the sources and run makepkg:
146
165
 
147
166
  ```
@@ -150,7 +169,9 @@ cd penguins-eggs
150
169
  makepkg -srcCi
151
170
  ```
152
171
  ### Manjaro
153
- From penguins-eggs v9.4.3 the package is part of the [Manjaro community](https://gitlab.manjaro.org/packages/community/penguins-eggs) repo and can be installed with `pamac install penguins-eggs`, alternatively you can download it and:
172
+ From penguins-eggs v9.4.3 the package is part of the [Manjaro community](https://gitlab.manjaro.org/packages/community/penguins-eggs) repo and can be installed with `pamac install penguins-eggs`.
173
+
174
+ Alternatively you can clone the package, and:
154
175
  ```
155
176
  git clone https://gitlab.manjaro.org/packages/community/penguins-eggs/
156
177
  cd penguins-eggs
package/conf/archiso.yaml CHANGED
@@ -1,5 +1,6 @@
1
1
  # Archiso compatible
2
2
  ---
3
+ - Arch
3
4
  - ArcoLinux
4
5
  - blendOS
5
6
  - EndeavourOS
@@ -88,6 +88,8 @@
88
88
  - id: devel
89
89
  distroLike: Ubuntu
90
90
  family: debian
91
+ ids:
92
+ - lunar
91
93
  derivatives:
92
94
  - devel # Rhino
93
95
  - lunar # Ubuntu lunar 23.04
@@ -99,6 +101,7 @@
99
101
  distroLike: Arch
100
102
  family: archlinux
101
103
  ids:
104
+ - n/a # Arch
102
105
  - Raptor # Garuda Raptor
103
106
  - Qonos # Manjaro
104
107
  - Ruah # Manjaro
package/conf/distros.yaml CHANGED
@@ -1,4 +1,5 @@
1
1
  # distros.yaml
2
+ # this is not used for now
2
3
  ---
3
4
  - family: debian
4
5
  - distro: Debian
@@ -13,6 +13,7 @@ const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
13
13
  const node_path_1 = tslib_1.__importDefault(require("node:path"));
14
14
  const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
15
15
  const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
16
+ const utils_1 = tslib_1.__importDefault(require("./utils"));
16
17
  /**
17
18
  * Classe
18
19
  */
@@ -237,11 +238,8 @@ class Distro {
237
238
  this.isolinuxPath = '/usr/lib/ISOLINUX/';
238
239
  this.syslinuxPath = '/usr/lib/syslinux/modules/bios/';
239
240
  this.pxelinuxPath = '/usr/lib/PXELINUX/';
240
- this.usrLibPath = '/usr/lib/x86_64-linux-gnu/';
241
241
  this.memdiskPath = '/usr/lib/syslinux/';
242
- if (process.arch === 'ia32') {
243
- this.usrLibPath = '/usr/lib/i386-linux-gnu/';
244
- }
242
+ this.usrLibPath = '/usr/lib/' + utils_1.default.usrLibPath();
245
243
  break;
246
244
  }
247
245
  case 'archlinux': {
@@ -123,10 +123,10 @@ class Archlinux {
123
123
  let removed = false;
124
124
  const echo = utils_1.default.setEcho(verbose);
125
125
  let calPKGs = [
126
- 'calamares',
127
- 'calamares-git',
126
+ 'arco-calamares-git',
128
127
  'calamares-eggs',
129
- 'arco-calamares-git'
128
+ 'calamares-git',
129
+ 'calamares',
130
130
  ];
131
131
  for (const calPKG of calPKGs) {
132
132
  if (await this.packagePacmanAvailable(calPKG)) {
@@ -56,7 +56,7 @@ class Debian {
56
56
  toRemove.push(elem);
57
57
  }
58
58
  }
59
- const arch = utils_1.default.machineArch();
59
+ const arch = utils_1.default.uefiArch();
60
60
  for (const dep of dependencies_1.depArch) {
61
61
  if (dep.arch.includes(arch)) {
62
62
  if (!this.packageIsInstalled(dep.package)) {
@@ -9,7 +9,12 @@ const pacman_1 = tslib_1.__importDefault(require("../../pacman"));
9
9
  * @returns yaml-string
10
10
  */
11
11
  function remove(distro) {
12
- const packages = ['calamares', 'calamares-git', 'calamares-eggs'];
12
+ const packages = [
13
+ 'arco-calamares-git',
14
+ 'calamares-eggs',
15
+ 'calamares-git',
16
+ 'calamares',
17
+ ];
13
18
  if (distro.familyId === 'archlinux') {
14
19
  packages.push('penguins-eggs');
15
20
  }
@@ -15,12 +15,12 @@ function installer() {
15
15
  if (pacman_1.default.calamaresExists()) {
16
16
  installer.name = 'calamares';
17
17
  installer.configRoot = '/etc/calamares/';
18
- installer.multiarch = multiarch() + 'calamares/';
18
+ installer.multiarch = pacman_1.default.distro().usrLibPath + '/calamares/';
19
19
  }
20
20
  else {
21
21
  installer.name = 'krill';
22
22
  installer.configRoot = '/etc/penguins-eggs.d/krill/';
23
- installer.multiarch = multiarch() + 'krill/';
23
+ installer.multiarch = pacman_1.default.distro().usrLibPath + '/krill/';
24
24
  }
25
25
  installer.modules = installer.configRoot + 'modules/';
26
26
  installer.multiarchModules = installer.multiarch + 'modules/';
@@ -46,10 +46,3 @@ function installer() {
46
46
  return installer;
47
47
  }
48
48
  exports.installer = installer;
49
- /**
50
- *
51
- * @returns
52
- */
53
- function multiarch() {
54
- return pacman_1.default.distro().usrLibPath;
55
- }
@@ -286,7 +286,7 @@ class Ovary {
286
286
  * Creo le directory di destinazione per boot, efi, isolinux e live
287
287
  */
288
288
  if (!fs_1.default.existsSync(this.settings.iso_work)) {
289
- cmd = `mkdir -p ${this.settings.iso_work}boot/grub/${utils_2.default.machineUEFI()}`;
289
+ cmd = `mkdir -p ${this.settings.iso_work}boot/grub/${utils_2.default.uefiFormat()}`;
290
290
  this.tryCatch(cmd);
291
291
  cmd = `mkdir -p ${this.settings.iso_work}efi/boot`;
292
292
  this.tryCatch(cmd);
@@ -1091,6 +1091,9 @@ class Ovary {
1091
1091
  * creazione dei link in /usr/share/applications
1092
1092
  */
1093
1093
  shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-eggs.desktop'), '/usr/share/applications/');
1094
+ /**
1095
+ * f=Scrivania/install-system.desktop; gio set -t string $f metadata::xfce-exe-checksum "$(sha256sum $f | awk '{print $1}'
1096
+ */
1094
1097
  let installerUrl = 'install-system.desktop';
1095
1098
  let installerIcon = 'install-system.sh';
1096
1099
  if (pacman_1.default.calamaresExists()) {
@@ -1284,7 +1287,7 @@ class Ovary {
1284
1287
  let text = '';
1285
1288
  text += 'search --file --set=root /.disk/info\n';
1286
1289
  text += 'set prefix=($root)/boot/grub\n';
1287
- text += `source $prefix/${utils_2.default.machineUEFI()}/grub.cfg\n`;
1290
+ text += `source $prefix/${utils_2.default.uefiFormat()}/grub.cfg\n`;
1288
1291
  utils_2.default.write(grubCfg, text);
1289
1292
  // #################################
1290
1293
  /**
@@ -1297,7 +1300,7 @@ class Ovary {
1297
1300
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}`, this.echo);
1298
1301
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}boot`, this.echo);
1299
1302
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}boot/grub`, this.echo);
1300
- await (0, utils_1.exec)(`mkdir ${efiWorkDir}boot/grub/${utils_2.default.machineUEFI()}`, this.echo);
1303
+ await (0, utils_1.exec)(`mkdir ${efiWorkDir}boot/grub/${utils_2.default.uefiFormat()}`, this.echo);
1301
1304
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}efi`, this.echo);
1302
1305
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}efi/boot`, this.echo);
1303
1306
  /**
@@ -1330,12 +1333,12 @@ class Ovary {
1330
1333
  * second grub.cfg file in efiWork
1331
1334
  */
1332
1335
  // for i in $(ls /usr/lib/grub/x86_64-efi |grep part_|grep \.mod|sed 's/.mod//'); do echo "insmod $i" >> boot/grub/x86_64-efi/grub.cfg; done
1333
- let cmd = `for i in $(ls /usr/lib/grub/${utils_2.default.machineUEFI()}|grep part_|grep \.mod|sed 's/.mod//'); do echo "insmod $i" >> ${efiWorkDir}boot/grub/${utils_2.default.machineUEFI()}/grub.cfg; done`;
1336
+ let cmd = `for i in $(ls /usr/lib/grub/${utils_2.default.uefiFormat()}|grep part_|grep \.mod|sed 's/.mod//'); do echo "insmod $i" >> ${efiWorkDir}boot/grub/${utils_2.default.uefiFormat()}/grub.cfg; done`;
1334
1337
  await (0, utils_1.exec)(cmd, this.echo);
1335
- //cmd = `for i in efi_gop efi_uga ieee1275_fb vbe vga video_bochs video_cirrus jpeg png gfxterm ; do echo "insmod $i" >> ${efiWorkDir}boot/grub/${Utils.machineUEFI()}/grub.cfg ; done`
1336
- cmd = `for i in efi_gop efi_uga ieee1275_fb vbe vga video_bochs video_cirrus jpeg png gfxterm ; do echo "insmod $i" >> ${efiWorkDir}boot/grub/${utils_2.default.machineUEFI()}/grub.cfg ; done`;
1338
+ //cmd = `for i in efi_gop efi_uga ieee1275_fb vbe vga video_bochs video_cirrus jpeg png gfxterm ; do echo "insmod $i" >> ${efiWorkDir}boot/grub/${Utils.uefiFormat()}/grub.cfg ; done`
1339
+ cmd = `for i in efi_gop efi_uga ieee1275_fb vbe vga video_bochs video_cirrus jpeg png gfxterm ; do echo "insmod $i" >> ${efiWorkDir}boot/grub/${utils_2.default.uefiFormat()}/grub.cfg ; done`;
1337
1340
  await (0, utils_1.exec)(cmd, this.echo);
1338
- await (0, utils_1.exec)(`echo "source /boot/grub/grub.cfg" >> ${efiWorkDir}boot/grub/${utils_2.default.machineUEFI()}/grub.cfg`, this.echo);
1341
+ await (0, utils_1.exec)(`echo "source /boot/grub/grub.cfg" >> ${efiWorkDir}boot/grub/${utils_2.default.uefiFormat()}/grub.cfg`, this.echo);
1339
1342
  /**
1340
1343
  * andiamo in memdiskDir
1341
1344
  */
@@ -1348,17 +1351,21 @@ class Ovary {
1348
1351
  process.chdir(memdiskDir);
1349
1352
  await (0, utils_1.exec)('tar -cvf memdisk boot', this.echo);
1350
1353
  process.chdir(currentDir);
1351
- // make the grub image
1352
1354
  // -O, --format=FORMAT
1353
1355
  // -m --memdisk=FILE embed FILE as a memdisk image
1354
1356
  // -o, --output=FILE embed FILE as a memdisk image
1355
1357
  // -p, --prefix=DIR set prefix directory
1356
1358
  // --format=x86_64-efi --memdisk=memdisk --output=bootx64.efi --prefix?DIR set prefix directory
1357
1359
  // grub-mkimage -O "x86_64-efi" -m "memdisk" -o "bootx64.efi" -p '(memdisk)/boot/grub' search iso9660 configfile normal memdisk tar cat part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus chain boot linux
1358
- await (0, utils_1.exec)(`${grubName}-mkimage -O "${utils_2.default.machineUEFI()}" -m "${memdiskDir}/memdisk" -o "${memdiskDir}/bootx64.efi" -p '(memdisk)/boot/grub' search iso9660 configfile normal memdisk tar cat part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus chain boot linux`, this.echo);
1360
+ // arm64-efi
1361
+ await (0, utils_1.exec)(`${grubName}-mkimage -O "${utils_2.default.uefiFormat()}" \
1362
+ -m "${memdiskDir}/memdisk" \
1363
+ -o "${memdiskDir}/${utils_2.default.uefiBN()}" \
1364
+ -p '(memdisk)/boot/grub' \
1365
+ search iso9660 configfile normal memdisk tar cat part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus chain boot linux`, this.echo);
1359
1366
  // popd torna in efiWorkDir
1360
1367
  // copy the grub image to efi/boot (to go later in the device's root)
1361
- await (0, utils_1.exec)(`cp ${memdiskDir}/bootx64.efi ${efiWorkDir}efi/boot`, this.echo);
1368
+ await (0, utils_1.exec)(`cp ${memdiskDir}/${utils_2.default.uefiBN()} ${efiWorkDir}efi/boot`, this.echo);
1362
1369
  // #######################
1363
1370
  // Do the boot image "boot/grub/efiboot.img"
1364
1371
  await (0, utils_1.exec)(`dd if=/dev/zero of=${efiWorkDir}boot/grub/efiboot.img bs=1K count=1440`, this.echo);
@@ -1368,10 +1375,10 @@ class Ovary {
1368
1375
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}img-mnt/efi`, this.echo);
1369
1376
  await (0, utils_1.exec)(`mkdir ${efiWorkDir}img-mnt/efi/boot`, this.echo);
1370
1377
  // era cp -r
1371
- await (0, utils_1.exec)(`cp ${memdiskDir}/bootx64.efi ${efiWorkDir}img-mnt/efi/boot`, this.echo);
1378
+ await (0, utils_1.exec)(`cp ${memdiskDir}/${utils_2.default.uefiBN()} ${efiWorkDir}img-mnt/efi/boot`, this.echo);
1372
1379
  // #######################
1373
1380
  // copy modules and font
1374
- await (0, utils_1.exec)(`cp -r /usr/lib/grub/${utils_2.default.machineUEFI()}/* ${efiWorkDir}boot/grub/${utils_2.default.machineUEFI()}/`, this.echo);
1381
+ await (0, utils_1.exec)(`cp -r /usr/lib/grub/${utils_2.default.uefiFormat()}/* ${efiWorkDir}boot/grub/${utils_2.default.uefiFormat()}/`, this.echo);
1375
1382
  // if this doesn't work try another font from the same place (grub's default, unicode.pf2, is much larger)
1376
1383
  // Either of these will work, and they look the same to me. Unicode seems to work with qemu. -fsr
1377
1384
  if (fs_1.default.existsSync('/usr/share/grub/font.pf2')) {
@@ -1428,6 +1435,8 @@ class Ovary {
1428
1435
  * loopback.cfg
1429
1436
  */
1430
1437
  fs_1.default.writeFileSync(`${isoDir}/boot/grub/loopback.cfg`, 'source /boot/grub/grub.cfg\n');
1438
+ // console.log('end makeEfi')
1439
+ // process.exit()
1431
1440
  }
1432
1441
  // #######################################################################################
1433
1442
  /**
@@ -121,7 +121,7 @@ class Pacman {
121
121
  static isUefi() {
122
122
  let isUefi = false;
123
123
  if (this.distro().familyId === 'debian') {
124
- if (utils_1.default.machineArch() !== 'i386' && this.packageIsInstalled('grub-efi-' + utils_1.default.machineArch() + '-bin')) {
124
+ if (utils_1.default.uefiArch() !== 'i386' && this.packageIsInstalled('grub-efi-' + utils_1.default.uefiArch() + '-bin')) {
125
125
  isUefi = true;
126
126
  }
127
127
  }
@@ -354,7 +354,7 @@ class Pacman {
354
354
  }
355
355
  if (!Pacman.isUefi()) {
356
356
  config.make_efi = false;
357
- console.log('Due the lacks of grub-efi-' + utils_1.default.machineArch() + '-bin package set make_efi = false');
357
+ console.log('Due the lacks of grub-efi-' + utils_1.default.uefiArch() + '-bin package set make_efi = false');
358
358
  }
359
359
  /**
360
360
  * Salvo la configurazione di eggs.yaml
@@ -64,8 +64,11 @@ class PveLive {
64
64
  // this.systemctl.start('pve-ha-crm')
65
65
  // this.systemctl.start('pve-ha-lrm')
66
66
  }
67
+ /**
68
+ *
69
+ */
67
70
  stop() {
68
- this.systemctl.start('pve-live');
71
+ this.systemctl.stop('pve-live');
69
72
  }
70
73
  }
71
74
  exports.default = PveLive;
@@ -50,7 +50,7 @@ class Tools {
50
50
  if (prefix.endsWith('rolling-')) {
51
51
  prefix = prefix.substring(0, prefix.indexOf('rolling-'));
52
52
  }
53
- this.snapshot_name = prefix + settings.config.snapshot_basename + '_'; // + Utils.machineArch() + '_'
53
+ this.snapshot_name = prefix + settings.config.snapshot_basename + '_'; // + Utils.uefiArch() + '_'
54
54
  }
55
55
  else {
56
56
  console.log(`Can't find: ${this.tools_yaml}`);
@@ -16,7 +16,6 @@ const path_1 = tslib_1.__importDefault(require("path"));
16
16
  const os_1 = tslib_1.__importDefault(require("os"));
17
17
  const inquirer = require('inquirer');
18
18
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
19
- const pacman_1 = tslib_1.__importDefault(require("./pacman"));
20
19
  const child_process_1 = require("child_process");
21
20
  const netmask_1 = require("netmask");
22
21
  // libraries
@@ -255,73 +254,74 @@ class Utils {
255
254
  return fileSizeInBytes;
256
255
  }
257
256
  /**
258
- * machineArch
259
- * arm-efi, arm64-efi,
260
- * grub-mkimage -O aarch64-efi -m memdisk -o bootx64.efi -p '(memdisk)/boot/grub' search iso9660 configfile normal memdisk tar cat part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus chain boot linux
261
- unknown target format aarch64-efi
257
+ * uefiArch
262
258
  * @returns arch
263
259
  */
264
- static machineArch() {
260
+ static uefiArch() {
265
261
  let arch = '';
266
- if (process.arch === 'x64') {
267
- arch = 'amd64';
268
- }
269
- else if (process.arch === 'ia32') {
262
+ if (process.arch === 'ia32') {
270
263
  arch = 'i386';
271
- // ma, se è installato node386 come in rasberry-desktop...
264
+ //
272
265
  if (shelljs_1.default.exec('uname -m', { silent: true }).stdout.trim() === 'x86_64') {
273
266
  arch = 'amd64';
274
267
  }
275
268
  }
269
+ else if (process.arch === 'x64') {
270
+ arch = 'amd64';
271
+ }
276
272
  else if (process.arch === 'arm64') {
277
273
  arch = 'arm64';
278
274
  }
279
- else if (process.arch === 'arm') {
280
- arch = 'armel';
281
- }
282
275
  return arch;
283
276
  }
284
277
  /**
285
- * machineUEFI
286
- * @returns machineArch
278
+ * i386-efi,
279
+ * x86_64-efi,
280
+ * arm64-efi,
287
281
  */
288
- static machineUEFI() {
289
- // grub-mkimage vuole: i386-efi, x86_64-efi, arm-efi, arm64-efi,
290
- let arch = this.machineArch();
291
- let machineUEFI = '';
292
- if (arch === 'amd64') {
293
- machineUEFI = 'x86_64-efi';
294
- }
295
- else if (arch === 'armel') {
296
- machineUEFI = 'arm-efi';
282
+ static uefiFormat() {
283
+ let format = '';
284
+ if (process.arch === 'ia32') {
285
+ format = 'i386-efi';
286
+ if (shelljs_1.default.exec('uname -m', { silent: true }).stdout.trim() === 'x86_64') {
287
+ format = 'x86_64-efi';
288
+ }
297
289
  }
298
- if (pacman_1.default.distro().familyId === 'fedora') {
299
- machineUEFI = 'i386-efi';
290
+ else if (process.arch === 'x64') {
291
+ format = 'x86_64-efi';
300
292
  }
301
- else if (pacman_1.default.distro().familyId === 'suse') {
302
- machineUEFI = 'i386-efi';
293
+ else if (process.arch === 'arm64') {
294
+ format = 'arm64-efi';
303
295
  }
304
- return machineUEFI;
296
+ return format;
305
297
  }
306
298
  /**
307
- * eggsArch
299
+ *
308
300
  * @returns
309
301
  */
310
- static eggsArch() {
311
- let arch = '';
302
+ static uefiBN() {
303
+ let bn = 'nothing.efi';
312
304
  if (process.arch === 'x64') {
313
- arch = 'amd64';
314
- }
315
- else if (process.arch === 'ia32') {
316
- arch = 'i386';
305
+ bn = 'bootx64.efi';
317
306
  }
318
307
  else if (process.arch === 'arm64') {
319
- arch = 'arm64';
308
+ bn = 'bootaa64.efi';
309
+ }
310
+ return bn;
311
+ }
312
+ /**
313
+ *
314
+ * @returns
315
+ */
316
+ static usrLibPath() {
317
+ let path = '';
318
+ if (process.arch === 'x64') {
319
+ path = 'x86_64-linux-gnu';
320
320
  }
321
- else if (process.arch === 'arm') {
322
- arch = 'armel';
321
+ else if (process.arch === 'arm64') {
322
+ path = 'aarch64-linux-gnu';
323
323
  }
324
- return arch;
324
+ return path;
325
325
  }
326
326
  /**
327
327
  *
@@ -357,7 +357,7 @@ class Utils {
357
357
  * @returns eggName
358
358
  */
359
359
  static getPostfix() {
360
- let postfix = '_' + this.machineArch() + '_' + Utils.formatDate(new Date()) + '.iso';
360
+ let postfix = '_' + this.uefiArch() + '_' + Utils.formatDate(new Date()) + '.iso';
361
361
  return postfix;
362
362
  }
363
363
  /**
@@ -30,61 +30,63 @@ class Yolk {
30
30
  this.verbose = verbose;
31
31
  this.echo = utils_1.default.setEcho(verbose);
32
32
  utils_1.default.warning("Creating a local repo on /var/local/yolk");
33
- if (utils_1.default.machineArch() !== 'amd64') {
34
- utils_1.default.error(`Is not possible to create yolk on ${utils_1.default.machineArch()}`);
35
- process.exit;
36
- }
37
- utils_1.default.warning('Updating system');
38
- if (!pacman_1.default.commandIsInstalled('dpkg-scanpackages')) {
39
- process.exit(0);
40
- }
41
- let cmd = '';
42
- try {
43
- cmd = 'apt-get update --yes';
44
- await (0, utils_2.exec)(cmd, this.echo);
45
- }
46
- catch (error) {
47
- console.log(error);
48
- await utils_1.default.pressKeyToExit(cmd);
49
- }
50
- if (!this.yolkExists()) {
51
- await (0, utils_2.exec)(`mkdir ${this.yolkDir} -p`, this.echo);
52
- await (0, utils_2.exec)(`chown _apt:root ${this.yolkDir} -R`, this.echo);
33
+ if (utils_1.default.uefiArch() !== 'amd64') {
34
+ utils_1.default.warning(`yolk is not applicable on the architecture ${utils_1.default.uefiArch()}`);
53
35
  }
54
36
  else {
55
- await this.yolkClean();
56
- }
57
- // packages we need
58
- const pkgs = [
59
- 'cryptsetup',
60
- // 'grub-efi-amd64-bin',
61
- 'grub-efi-amd64',
62
- 'grub-pc',
63
- 'keyutils',
64
- 'shim-signed',
65
- ];
66
- process.chdir(this.yolkDir);
67
- utils_1.default.warning(`Downloading packages and its dependencies`);
68
- for (const pkg of pkgs) {
69
- utils_1.default.warning(`- ${pkg}`);
70
- cmd = `apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances ${pkg} | grep "^\\w" | sort -u`;
71
- let depends = pkg + '\n';
72
- depends += (await (0, utils_2.exec)(cmd, { echo: false, capture: true })).data;
73
- await this.installDeps(depends.split('\n'));
37
+ utils_1.default.warning('Updating system');
38
+ if (!pacman_1.default.commandIsInstalled('dpkg-scanpackages')) {
39
+ utils_1.default.warning(`I cannot find the command dpkg-scanpackages`);
40
+ process.exit(0);
41
+ }
42
+ let cmd = '';
43
+ try {
44
+ cmd = 'apt-get update --yes';
45
+ await (0, utils_2.exec)(cmd, this.echo);
46
+ }
47
+ catch (error) {
48
+ console.log(error);
49
+ await utils_1.default.pressKeyToExit(cmd);
50
+ }
51
+ if (!this.yolkExists()) {
52
+ await (0, utils_2.exec)(`mkdir ${this.yolkDir} -p`, this.echo);
53
+ await (0, utils_2.exec)(`chown _apt:root ${this.yolkDir} -R`, this.echo);
54
+ }
55
+ else {
56
+ await this.yolkClean();
57
+ }
58
+ // packages we need
59
+ const pkgs = [
60
+ 'cryptsetup',
61
+ // 'grub-efi-amd64-bin',
62
+ 'grub-efi-amd64',
63
+ 'grub-pc',
64
+ 'keyutils',
65
+ 'shim-signed',
66
+ ];
67
+ process.chdir(this.yolkDir);
68
+ utils_1.default.warning(`Downloading packages and its dependencies`);
69
+ for (const pkg of pkgs) {
70
+ utils_1.default.warning(`- ${pkg}`);
71
+ cmd = `apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances ${pkg} | grep "^\\w" | sort -u`;
72
+ let depends = pkg + '\n';
73
+ depends += (await (0, utils_2.exec)(cmd, { echo: false, capture: true })).data;
74
+ await this.installDeps(depends.split('\n'));
75
+ }
76
+ // create Package.gz
77
+ cmd = 'dpkg-scanpackages -h md5,sha1,sha256 . | gzip -c > Packages.gz';
78
+ utils_1.default.warning(cmd);
79
+ await (0, utils_2.exec)(cmd, { echo: false, capture: true });
80
+ // Create Release date: Sat, 14 Aug 2021 07:42:00 UTC
81
+ const now = shelljs_1.default.exec('date -R -u').stdout.trim();
82
+ const content = `Archive: stable\nComponent: yolk\nOrigin: penguins-eggs\nArchitecture: ${utils_1.default.uefiArch()} \nDate: ${now}\n`;
83
+ utils_1.default.warning('Writing Release');
84
+ fs_1.default.writeFileSync('Release', content);
85
+ // Cleaning
86
+ utils_1.default.warning('Cleaning apt cache');
87
+ const bleach = new bleach_1.default();
88
+ await bleach.clean(verbose);
74
89
  }
75
- // create Package.gz
76
- cmd = 'dpkg-scanpackages -h md5,sha1,sha256 . | gzip -c > Packages.gz';
77
- utils_1.default.warning(cmd);
78
- await (0, utils_2.exec)(cmd, { echo: false, capture: true });
79
- // Create Release date: Sat, 14 Aug 2021 07:42:00 UTC
80
- const now = shelljs_1.default.exec('date -R -u').stdout.trim();
81
- const content = `Archive: stable\nComponent: yolk\nOrigin: penguins-eggs\nArchitecture: ${utils_1.default.machineArch()} \nDate: ${now}\n`;
82
- utils_1.default.warning('Writing Release');
83
- fs_1.default.writeFileSync('Release', content);
84
- // Cleaning
85
- utils_1.default.warning('Cleaning apt cache');
86
- const bleach = new bleach_1.default();
87
- await bleach.clean(verbose);
88
90
  }
89
91
  /**
90
92
  * if depends are not Installed
@@ -72,7 +72,7 @@ class Config extends core_1.Command {
72
72
  static async thatWeNeed(nointeractive = false, noicons = false, verbose = false, cryptedclone = false) {
73
73
  const i = {};
74
74
  i.distroTemplate = !pacman_1.default.distroTemplateCheck();
75
- if (utils_1.default.machineArch() !== 'i386') {
75
+ if (utils_1.default.uefiArch() !== 'i386') {
76
76
  i.efi = !pacman_1.default.isUefi();
77
77
  }
78
78
  if (!cryptedclone && !(pacman_1.default.calamaresExists()) && pacman_1.default.isInstalledGui() && pacman_1.default.isCalamaresAvailable() && !pacman_1.default.packageIsInstalled('live-installer')) {
@@ -102,9 +102,9 @@ class Config extends core_1.Command {
102
102
  console.log(chalk_1.default.yellow(' apt-get update --yes\n'));
103
103
  }
104
104
  }
105
- if (i.efi && pacman_1.default.distro().familyId === 'debian' && utils_1.default.machineArch() !== 'i386') {
105
+ if (i.efi && pacman_1.default.distro().familyId === 'debian' && utils_1.default.uefiArch() !== 'i386') {
106
106
  console.log('- install efi packages');
107
- console.log(chalk_1.default.yellow(' apt install -y grub-efi-' + utils_1.default.machineArch() + '-bin\n'));
107
+ console.log(chalk_1.default.yellow(' apt install -y grub-efi-' + utils_1.default.uefiArch() + '-bin\n'));
108
108
  }
109
109
  if (i.prerequisites) {
110
110
  console.log('- install packages prerequisites');
@@ -174,11 +174,11 @@ class Config extends core_1.Command {
174
174
  if (i.efi) {
175
175
  if (nointeractive) {
176
176
  utils_1.default.error('config: you are on a system UEFI');
177
- utils_1.default.warning('I suggest You to install grub-efi-' + utils_1.default.machineArch() + '-bin before to produce your ISO.\nJust write:\n sudo apt install grub-efi-' + utils_1.default.machineArch());
177
+ utils_1.default.warning('I suggest You to install grub-efi-' + utils_1.default.uefiArch() + '-bin before to produce your ISO.\nJust write:\n sudo apt install grub-efi-' + utils_1.default.uefiArch());
178
178
  }
179
179
  else if (pacman_1.default.distro().familyId === 'debian') {
180
180
  utils_1.default.warning('Installing uefi support...');
181
- await (0, utils_2.exec)('apt-get install grub-efi-' + utils_1.default.machineArch() + '-bin --yes', echo);
181
+ await (0, utils_2.exec)('apt-get install grub-efi-' + utils_1.default.uefiArch() + '-bin --yes', echo);
182
182
  }
183
183
  }
184
184
  if (i.prerequisites) {
@@ -21,7 +21,7 @@ class ExportDeb extends core_1.Command {
21
21
  await Tu.loadSettings();
22
22
  const echo = utils_1.default.setEcho(flags.verbose);
23
23
  let script = '';
24
- let arch = utils_1.default.eggsArch();
24
+ let arch = utils_1.default.uefiArch();
25
25
  if (flags.all) {
26
26
  arch = '*';
27
27
  }
@@ -116,10 +116,10 @@ class Update extends core_1.Command {
116
116
  const Tu = new tools_1.default();
117
117
  await Tu.loadSettings();
118
118
  utils_1.default.warning('import from lan');
119
- const cmd = `scp ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathDeb}${Tu.config.filterDeb}${utils_1.default.eggsArch()}.deb /tmp`;
119
+ const cmd = `scp ${Tu.config.remoteUser}@${Tu.config.remoteHost}:${Tu.config.remotePathDeb}${Tu.config.filterDeb}${utils_1.default.uefiArch()}.deb /tmp`;
120
120
  await (0, utils_2.exec)(cmd, { echo: true, capture: true });
121
- if (await utils_1.default.customConfirm(`Want to install ${Tu.config.filterDeb}${utils_1.default.eggsArch()}.deb`)) {
122
- await (0, utils_2.exec)(`dpkg -i /tmp/${Tu.config.filterDeb}${utils_1.default.eggsArch()}.deb`);
121
+ if (await utils_1.default.customConfirm(`Want to install ${Tu.config.filterDeb}${utils_1.default.uefiArch()}.deb`)) {
122
+ await (0, utils_2.exec)(`dpkg -i /tmp/${Tu.config.filterDeb}${utils_1.default.uefiArch()}.deb`);
123
123
  }
124
124
  }
125
125
  /**
@@ -28,7 +28,7 @@ async function bootloaderConfigUbuntu() {
28
28
  const aptInstallOptions = ' apt install -y --no-upgrade --allow-unauthenticated -o Acquire::gpgv::Options::=--ignore-time-conflict ';
29
29
  if (this.efi) {
30
30
  try {
31
- cmd = `chroot ${this.installTarget} ${aptInstallOptions} grub-efi-${utils_2.default.machineArch()} --allow-unauthenticated ${this.toNull}`;
31
+ cmd = `chroot ${this.installTarget} ${aptInstallOptions} grub-efi-${utils_2.default.uefiArch()} --allow-unauthenticated ${this.toNull}`;
32
32
  await (0, utils_1.exec)(cmd, this.echo);
33
33
  }
34
34
  catch (error) {
@@ -2,9 +2,9 @@
2
2
 
3
3
  After Debian/Devuan/Ubuntu I decided to bring eggs under Arch and thanx to the collaboration of stefano@manjaro.com we was able to remaster linuxmanjaro since january 2022.
4
4
 
5
- Actually, we are on may 2023, arch, rebornOS, endeavourOS are working well with archlinux mkinitcpio.
5
+ Actually, we are on may 2023, Arch, RebornOS, EndeavourOS are working well with archlinux mkinitcpio.
6
6
 
7
- The same for manjaro.
7
+ The same for ManjaroLinux.
8
8
 
9
9
  We have problems with blendos and crystal and sometime I don't know how to ask help and how to find.
10
10
 
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.26",
4
+ "version": "9.6.3",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
File without changes
@@ -1,7 +0,0 @@
1
- # blendOS live
2
- MODULES=()
3
- BINARIES=()
4
- FILES=()
5
- HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs kms block filesystems keyboard)
6
- COMPRESSION="zstd"
7
- #COMPRESSION_OPTIONS=(-T0 -15)
@@ -1,4 +0,0 @@
1
- # blendOS install
2
- MODULES=(qxl virtio-gpu virtio virtio_scsi virtio_blk virtio_pci virtio_net virtio_ring)
3
- HOOKS=(base udev blend plymouth autodetect modconf block keyboard keymap consolefont filesystems fsck)
4
- COMPRESSION="zstd"
@@ -1,5 +0,0 @@
1
- # Crystal live
2
- MODULES=()
3
- BINARIES=()
4
- FILES=()
5
- HOOKS=(base udev modconf archiso block filesystems)
@@ -1,5 +0,0 @@
1
- # Crystal
2
- MODULES=()
3
- BINARIES=()
4
- FILES=()
5
- HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)