penguins-eggs 9.5.5 → 9.5.7
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.
- package/.oclif.manifest.json +1 -1
- package/README.md +3 -2
- package/dist/classes/ovary.js +127 -121
- package/dist/classes/xdg.js +7 -0
- package/dist/commands/calamares.js +33 -30
- package/dist/commands/config.js +24 -16
- package/dist/commands/produce.js +5 -3
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +4 -3
- package/package.json +1 -1
- package/scripts/_eggs +5 -2
- package/scripts/eggs.bash +5 -5
package/.oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.5.5","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},"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},"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},"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.7","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},"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}]}}}
|
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.
|
|
108
|
+
sudo dpkg -i eggs_9.5.7_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.
|
|
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.7_amd64.deb**.
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
## Arch families
|
|
@@ -548,6 +548,7 @@ FLAGS
|
|
|
548
548
|
-f, --standard standard compression
|
|
549
549
|
-h, --help Show CLI help.
|
|
550
550
|
-m, --max max compression
|
|
551
|
+
-N, --noicons no icons
|
|
551
552
|
-n, --nointeractive no user interaction
|
|
552
553
|
-p, --prefix=<value> prefix
|
|
553
554
|
-s, --script script mode. Generate scripts to manage iso build
|
package/dist/classes/ovary.js
CHANGED
|
@@ -88,7 +88,7 @@ class Ovary {
|
|
|
88
88
|
*
|
|
89
89
|
* @param basename
|
|
90
90
|
*/
|
|
91
|
-
async produce(clone = false, cryptedclone = false, scriptOnly = false, yolkRenew = false, release = false, myAddons, nointeractive = false, verbose = false) {
|
|
91
|
+
async produce(clone = false, cryptedclone = false, scriptOnly = false, yolkRenew = false, release = false, myAddons, nointeractive = false, noicons = false, verbose = false) {
|
|
92
92
|
this.verbose = verbose;
|
|
93
93
|
this.echo = utils_2.default.setEcho(verbose);
|
|
94
94
|
if (this.verbose) {
|
|
@@ -124,12 +124,15 @@ class Ovary {
|
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
126
|
await this.liveCreateStructure();
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
127
|
+
// Carica calamares sono se le icone sono accettate
|
|
128
|
+
if (!noicons) { // se VOGLIO le icone !noicons
|
|
129
|
+
if (!nointeractive && this.settings.distro.isCalamaresAvailable && (pacman_1.default.isInstalledGui()) &&
|
|
130
|
+
this.settings.config.force_installer && !(await pacman_1.default.calamaresCheck())) {
|
|
131
|
+
console.log('Installing ' + chalk_1.default.bgGray('calamares') + ' due force_installer=yes.');
|
|
132
|
+
await pacman_1.default.calamaresInstall(verbose);
|
|
133
|
+
const bleach = new bleach_1.default();
|
|
134
|
+
await bleach.clean(verbose);
|
|
135
|
+
}
|
|
133
136
|
}
|
|
134
137
|
// CRYPTEDCLONE
|
|
135
138
|
if (cryptedclone) {
|
|
@@ -193,7 +196,7 @@ class Ovary {
|
|
|
193
196
|
await this.cleanUsersAccounts();
|
|
194
197
|
await this.createUserLive();
|
|
195
198
|
if (pacman_1.default.isInstalledGui()) {
|
|
196
|
-
await this.createXdgAutostart(this.settings.config.theme, myAddons);
|
|
199
|
+
await this.createXdgAutostart(this.settings.config.theme, myAddons, noicons);
|
|
197
200
|
/**
|
|
198
201
|
* GUI installed but NOT Desktop Manager: just create motd and issue
|
|
199
202
|
*/
|
|
@@ -653,6 +656,7 @@ class Ovary {
|
|
|
653
656
|
const distroId = this.settings.distro.distroId;
|
|
654
657
|
let fileConf = 'archlinux';
|
|
655
658
|
if (distroId === 'Arch' ||
|
|
659
|
+
distroId === 'Crystal' ||
|
|
656
660
|
distroId === 'EndeavourOS' ||
|
|
657
661
|
distroId === 'Garuda' ||
|
|
658
662
|
distroId === 'phyOS' ||
|
|
@@ -664,7 +668,7 @@ class Ovary {
|
|
|
664
668
|
}
|
|
665
669
|
else {
|
|
666
670
|
/**
|
|
667
|
-
* blendOS
|
|
671
|
+
* blendOS and ManjaroLinux have is own mkinitcpio
|
|
668
672
|
*/
|
|
669
673
|
fileConf = distroId.toLowerCase();
|
|
670
674
|
}
|
|
@@ -1042,131 +1046,133 @@ class Ovary {
|
|
|
1042
1046
|
/**
|
|
1043
1047
|
*
|
|
1044
1048
|
*/
|
|
1045
|
-
async createXdgAutostart(theme = 'eggs', myAddons) {
|
|
1049
|
+
async createXdgAutostart(theme = 'eggs', myAddons, noicons = false) {
|
|
1046
1050
|
if (this.verbose) {
|
|
1047
1051
|
console.log('ovary: createXdgAutostart()');
|
|
1048
1052
|
}
|
|
1049
1053
|
const pathHomeLive = `/home/${this.settings.config.user_opt}`;
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
* creazione dei link in /usr/share/applications
|
|
1056
|
-
*/
|
|
1057
|
-
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-eggs.desktop'), '/usr/share/applications/');
|
|
1058
|
-
let installerUrl = 'install-system.desktop';
|
|
1059
|
-
let installerIcon = 'install-system.sh';
|
|
1060
|
-
if (pacman_1.default.packageIsInstalled('calamares')) {
|
|
1061
|
-
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, `../../addons/${theme}/theme/applications/install-system.desktop`), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1062
|
-
}
|
|
1063
|
-
else if (pacman_1.default.packageIsInstalled('live-installer')) {
|
|
1064
|
-
// carico la policy per live-installer
|
|
1065
|
-
const policySource = node_path_1.default.resolve(__dirname, '../../assets/live-installer/com.github.pieroproietti.penguins-eggs.policy');
|
|
1066
|
-
const policyDest = '/usr/share/polkit-1/actions/com.github.pieroproietti.penguins-eggs.policy';
|
|
1067
|
-
shelljs_1.default.cp(policySource, policyDest);
|
|
1068
|
-
await (0, utils_1.exec)(`sed -i 's/auth_admin/yes/' ${policyDest}`);
|
|
1069
|
-
// carico in filesystem.live packages-remove
|
|
1070
|
-
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/live-installer/filesystem.packages-remove'), `${this.settings.work_dir.pathIso}/live/`);
|
|
1071
|
-
shelljs_1.default.touch(`${this.settings.work_dir.pathIso}/live/filesystem.packages`);
|
|
1072
|
-
installerUrl = 'penguins-live-installer.desktop';
|
|
1073
|
-
installerIcon = 'utilities-terminal';
|
|
1074
|
-
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-live-installer.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1075
|
-
}
|
|
1076
|
-
else {
|
|
1077
|
-
installerUrl = 'penguins-krill.desktop';
|
|
1078
|
-
installerIcon = 'utilities-terminal';
|
|
1079
|
-
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-krill.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1080
|
-
}
|
|
1081
|
-
/**
|
|
1082
|
-
* flags
|
|
1083
|
-
*/
|
|
1084
|
-
// adapt
|
|
1085
|
-
if (myAddons.adapt) {
|
|
1086
|
-
const dirAddon = node_path_1.default.resolve(__dirname, '../../addons/eggs/adapt/');
|
|
1087
|
-
shelljs_1.default.cp(`${dirAddon}/applications/eggs-adapt.desktop`, `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1088
|
-
shelljs_1.default.cp(`${dirAddon}/bin/adapt`, `${this.settings.work_dir.merged}/usr/bin/`);
|
|
1089
|
-
shelljs_1.default.chmod('+x', `${this.settings.work_dir.merged}/usr/bin/adapt`);
|
|
1090
|
-
}
|
|
1091
|
-
// ichoice
|
|
1092
|
-
if (myAddons.ichoice) {
|
|
1093
|
-
installerUrl = 'eggs-ichoice.desktop';
|
|
1094
|
-
installerIcon = 'system-software-install';
|
|
1095
|
-
const dirAddon = node_path_1.default.resolve(__dirname, '../../addons/eggs/ichoice/');
|
|
1096
|
-
shelljs_1.default.cp(`${dirAddon}/applications/eggs-ichoice.desktop`, `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1097
|
-
shelljs_1.default.cp(`${dirAddon}/bin/eggs-ichoice.sh`, `${this.settings.work_dir.merged}/usr/bin/`);
|
|
1098
|
-
shelljs_1.default.chmod('+x', `${this.settings.work_dir.merged}/usr/bin/eggs-ichoice.sh`);
|
|
1099
|
-
}
|
|
1100
|
-
// pve
|
|
1101
|
-
if (myAddons.pve) {
|
|
1054
|
+
if (!noicons) {
|
|
1055
|
+
// Copia icona penguins-eggs
|
|
1056
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/eggs.png'), '/usr/share/icons/');
|
|
1057
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/krill.svg'), '/usr/share/icons/');
|
|
1058
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/leaves.svg'), '/usr/share/icons/');
|
|
1102
1059
|
/**
|
|
1103
|
-
*
|
|
1060
|
+
* creazione dei link in /usr/share/applications
|
|
1104
1061
|
*/
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
const dirAutostart = `${this.settings.work_dir.merged}/etc/xdg/autostart`;
|
|
1124
|
-
if (fs_1.default.existsSync(dirAutostart)) {
|
|
1125
|
-
// Creo l'avviatore xdg DEVE essere add-penguins-links.desktop
|
|
1126
|
-
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-links-add.desktop'), dirAutostart);
|
|
1127
|
-
// create /usr/bin/penguins-links-add.sh
|
|
1128
|
-
const script = '/usr/bin/penguins-links-add.sh';
|
|
1129
|
-
let text = '';
|
|
1130
|
-
text += '#!/bin/sh\n';
|
|
1131
|
-
text += 'DESKTOP=$(xdg-user-dir DESKTOP)\n';
|
|
1132
|
-
text += 'test -d "$DESKTOP" && mkdir -p "$DESKTOP"\n';
|
|
1133
|
-
text += `cp /usr/share/applications/${installerUrl} "$DESKTOP"\n`;
|
|
1134
|
-
if (pacman_1.default.packageIsInstalled('lxde-core')) {
|
|
1135
|
-
text += this.lxdeLink('penguins-eggs.desktop', "Penguins' eggs", 'eggs');
|
|
1136
|
-
if (myAddons.adapt)
|
|
1137
|
-
text += this.lxdeLink('eggs-adapt.desktop', 'Adapt', 'video-display');
|
|
1138
|
-
if (myAddons.pve)
|
|
1139
|
-
text += this.lxdeLink('eggs-pve.desktop', 'Proxmox VE', 'proxmox-ve');
|
|
1140
|
-
if (myAddons.rsupport)
|
|
1141
|
-
text += this.lxdeLink('eggs-rsupport.desktop', 'Remote assistance', 'remote-assistance');
|
|
1062
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-eggs.desktop'), '/usr/share/applications/');
|
|
1063
|
+
let installerUrl = 'install-system.desktop';
|
|
1064
|
+
let installerIcon = 'install-system.sh';
|
|
1065
|
+
if (pacman_1.default.packageIsInstalled('calamares')) {
|
|
1066
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, `../../addons/${theme}/theme/applications/install-system.desktop`), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1067
|
+
}
|
|
1068
|
+
else if (pacman_1.default.packageIsInstalled('live-installer')) {
|
|
1069
|
+
// carico la policy per live-installer
|
|
1070
|
+
const policySource = node_path_1.default.resolve(__dirname, '../../assets/live-installer/com.github.pieroproietti.penguins-eggs.policy');
|
|
1071
|
+
const policyDest = '/usr/share/polkit-1/actions/com.github.pieroproietti.penguins-eggs.policy';
|
|
1072
|
+
shelljs_1.default.cp(policySource, policyDest);
|
|
1073
|
+
await (0, utils_1.exec)(`sed -i 's/auth_admin/yes/' ${policyDest}`);
|
|
1074
|
+
// carico in filesystem.live packages-remove
|
|
1075
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/live-installer/filesystem.packages-remove'), `${this.settings.work_dir.pathIso}/live/`);
|
|
1076
|
+
shelljs_1.default.touch(`${this.settings.work_dir.pathIso}/live/filesystem.packages`);
|
|
1077
|
+
installerUrl = 'penguins-live-installer.desktop';
|
|
1078
|
+
installerIcon = 'utilities-terminal';
|
|
1079
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-live-installer.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1142
1080
|
}
|
|
1143
1081
|
else {
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
if (myAddons.pve)
|
|
1148
|
-
text += 'cp /usr/share/applications/eggs-pve.desktop "$DESKTOP"\n';
|
|
1149
|
-
if (myAddons.rsupport)
|
|
1150
|
-
text += 'cp /usr/share/applications/eggs-rsupport.desktop "$DESKTOP"\n';
|
|
1082
|
+
installerUrl = 'penguins-krill.desktop';
|
|
1083
|
+
installerIcon = 'utilities-terminal';
|
|
1084
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-krill.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1151
1085
|
}
|
|
1152
1086
|
/**
|
|
1153
|
-
*
|
|
1087
|
+
* flags
|
|
1154
1088
|
*/
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
text += `test -f "$DESKTOP"/${installerUrl} && chmod a+x "$DESKTOP"/${installerUrl}\n`;
|
|
1162
|
-
text += `test -f "$DESKTOP"/${installerUrl} && gio set "$DESKTOP"/${installerUrl} metadata::trusted true\n`;
|
|
1089
|
+
// adapt
|
|
1090
|
+
if (myAddons.adapt) {
|
|
1091
|
+
const dirAddon = node_path_1.default.resolve(__dirname, '../../addons/eggs/adapt/');
|
|
1092
|
+
shelljs_1.default.cp(`${dirAddon}/applications/eggs-adapt.desktop`, `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1093
|
+
shelljs_1.default.cp(`${dirAddon}/bin/adapt`, `${this.settings.work_dir.merged}/usr/bin/`);
|
|
1094
|
+
shelljs_1.default.chmod('+x', `${this.settings.work_dir.merged}/usr/bin/adapt`);
|
|
1163
1095
|
}
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1096
|
+
// ichoice
|
|
1097
|
+
if (myAddons.ichoice) {
|
|
1098
|
+
installerUrl = 'eggs-ichoice.desktop';
|
|
1099
|
+
installerIcon = 'system-software-install';
|
|
1100
|
+
const dirAddon = node_path_1.default.resolve(__dirname, '../../addons/eggs/ichoice/');
|
|
1101
|
+
shelljs_1.default.cp(`${dirAddon}/applications/eggs-ichoice.desktop`, `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1102
|
+
shelljs_1.default.cp(`${dirAddon}/bin/eggs-ichoice.sh`, `${this.settings.work_dir.merged}/usr/bin/`);
|
|
1103
|
+
shelljs_1.default.chmod('+x', `${this.settings.work_dir.merged}/usr/bin/eggs-ichoice.sh`);
|
|
1104
|
+
}
|
|
1105
|
+
// pve
|
|
1106
|
+
if (myAddons.pve) {
|
|
1107
|
+
/**
|
|
1108
|
+
* create service pve-live
|
|
1109
|
+
*/
|
|
1110
|
+
const pve = new pve_live_1.default();
|
|
1111
|
+
pve.create(this.settings.work_dir.merged);
|
|
1112
|
+
/**
|
|
1113
|
+
* adding a desktop link for pve
|
|
1114
|
+
*/
|
|
1115
|
+
const dirAddon = node_path_1.default.resolve(__dirname, '../../addons/eggs/pve');
|
|
1116
|
+
shelljs_1.default.cp(`${dirAddon}/artwork/eggs-pve.png`, `${this.settings.work_dir.merged}/usr/share/icons/`);
|
|
1117
|
+
shelljs_1.default.cp(`${dirAddon}/applications/eggs-pve.desktop`, `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1118
|
+
}
|
|
1119
|
+
// rsupport
|
|
1120
|
+
if (myAddons.rsupport) {
|
|
1121
|
+
const dirAddon = node_path_1.default.resolve(__dirname, '../../addons/eggs/rsupport');
|
|
1122
|
+
shelljs_1.default.cp(`${dirAddon}/applications/eggs-rsupport.desktop`, `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
1123
|
+
shelljs_1.default.cp(`${dirAddon}/artwork/eggs-rsupport.png`, `${this.settings.work_dir.merged}/usr/share/icons/`);
|
|
1124
|
+
}
|
|
1125
|
+
/**
|
|
1126
|
+
* configuro add-penguins-desktop-icons in /etc/xdg/autostart
|
|
1127
|
+
*/
|
|
1128
|
+
const dirAutostart = `${this.settings.work_dir.merged}/etc/xdg/autostart`;
|
|
1129
|
+
if (fs_1.default.existsSync(dirAutostart)) {
|
|
1130
|
+
// Creo l'avviatore xdg DEVE essere add-penguins-links.desktop
|
|
1131
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-links-add.desktop'), dirAutostart);
|
|
1132
|
+
// create /usr/bin/penguins-links-add.sh
|
|
1133
|
+
const script = '/usr/bin/penguins-links-add.sh';
|
|
1134
|
+
let text = '';
|
|
1135
|
+
text += '#!/bin/sh\n';
|
|
1136
|
+
text += 'DESKTOP=$(xdg-user-dir DESKTOP)\n';
|
|
1137
|
+
text += 'test -d "$DESKTOP" && mkdir -p "$DESKTOP"\n';
|
|
1138
|
+
text += `cp /usr/share/applications/${installerUrl} "$DESKTOP"\n`;
|
|
1139
|
+
if (pacman_1.default.packageIsInstalled('lxde-core')) {
|
|
1140
|
+
text += this.lxdeLink('penguins-eggs.desktop', "Penguins' eggs", 'eggs');
|
|
1141
|
+
if (myAddons.adapt)
|
|
1142
|
+
text += this.lxdeLink('eggs-adapt.desktop', 'Adapt', 'video-display');
|
|
1143
|
+
if (myAddons.pve)
|
|
1144
|
+
text += this.lxdeLink('eggs-pve.desktop', 'Proxmox VE', 'proxmox-ve');
|
|
1145
|
+
if (myAddons.rsupport)
|
|
1146
|
+
text += this.lxdeLink('eggs-rsupport.desktop', 'Remote assistance', 'remote-assistance');
|
|
1147
|
+
}
|
|
1148
|
+
else {
|
|
1149
|
+
text += 'cp /usr/share/applications/penguins-eggs.desktop "$DESKTOP"\n';
|
|
1150
|
+
if (myAddons.adapt)
|
|
1151
|
+
text += 'cp /usr/share/applications/eggs-adapt.desktop "$DESKTOP"\n';
|
|
1152
|
+
if (myAddons.pve)
|
|
1153
|
+
text += 'cp /usr/share/applications/eggs-pve.desktop "$DESKTOP"\n';
|
|
1154
|
+
if (myAddons.rsupport)
|
|
1155
|
+
text += 'cp /usr/share/applications/eggs-rsupport.desktop "$DESKTOP"\n';
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* enable desktop links
|
|
1159
|
+
*/
|
|
1160
|
+
if (pacman_1.default.packageIsInstalled('gdm3') || pacman_1.default.packageIsInstalled('gdm')) {
|
|
1161
|
+
// GNOME
|
|
1162
|
+
text += 'test -f /usr/share/applications/penguins-eggs.desktop && cp /usr/share/applications/penguins-eggs.desktop "$DESKTOP"\n';
|
|
1163
|
+
text += 'test -f "$DESKTOP"/penguins-eggs.desktop && chmod a+x "$DESKTOP"/penguins-eggs.desktop\n';
|
|
1164
|
+
text += 'test -f "$DESKTOP"/penguins-eggs.desktop && gio set "$DESKTOP"/penguins-eggs.desktop metadata::trusted true\n';
|
|
1165
|
+
text += `test -f /usr/share/applications/${installerUrl} && cp /usr/share/applications/${installerUrl} "$DESKTOP"\n`;
|
|
1166
|
+
text += `test -f "$DESKTOP"/${installerUrl} && chmod a+x "$DESKTOP"/${installerUrl}\n`;
|
|
1167
|
+
text += `test -f "$DESKTOP"/${installerUrl} && gio set "$DESKTOP"/${installerUrl} metadata::trusted true\n`;
|
|
1168
|
+
}
|
|
1169
|
+
else {
|
|
1170
|
+
// OTHERS: CINNAMON/KDE/ETC
|
|
1171
|
+
text += 'chmod +x "$DESKTOP"/*.desktop';
|
|
1172
|
+
}
|
|
1173
|
+
fs_1.default.writeFileSync(script, text, 'utf8');
|
|
1174
|
+
await (0, utils_1.exec)(`chmod a+x ${script}`, this.echo);
|
|
1167
1175
|
}
|
|
1168
|
-
fs_1.default.writeFileSync(script, text, 'utf8');
|
|
1169
|
-
await (0, utils_1.exec)(`chmod a+x ${script}`, this.echo);
|
|
1170
1176
|
}
|
|
1171
1177
|
await xdg_1.default.autologin(await utils_2.default.getPrimaryUser(), this.settings.config.user_opt, this.settings.work_dir.merged);
|
|
1172
1178
|
}
|
package/dist/classes/xdg.js
CHANGED
|
@@ -258,6 +258,13 @@ class Xdg {
|
|
|
258
258
|
await (0, utils_2.exec)('mkdir /etc/skel/.config/xfce4-theme-switcher -p', echo);
|
|
259
259
|
await rsyncIfExist(`/home/${user}/.config/xfce4-theme-switcher`, '/etc/skel/.config/xfce4-theme-switcher', verbose);
|
|
260
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
* ALL Desktops:
|
|
263
|
+
*
|
|
264
|
+
* rm .config/user-dirs*
|
|
265
|
+
* to not look users-dirs building
|
|
266
|
+
*/
|
|
267
|
+
await (0, utils_2.exec)(`rm /etc/skel/.config/user-dirs.dirs`);
|
|
261
268
|
}
|
|
262
269
|
}
|
|
263
270
|
exports.default = Xdg;
|
|
@@ -57,46 +57,49 @@ class Calamares extends core_1.Command {
|
|
|
57
57
|
}
|
|
58
58
|
console.log(`theme: ${theme}`);
|
|
59
59
|
const nointeractive = flags.nointeractive;
|
|
60
|
+
const noicons = flags.noicons;
|
|
60
61
|
if (utils_1.default.isRoot(this.id)) {
|
|
61
62
|
let installer = 'krill';
|
|
62
63
|
if (pacman_1.default.isInstalledGui()) {
|
|
63
64
|
installer = 'calamares';
|
|
64
65
|
}
|
|
65
|
-
if (
|
|
66
|
-
if (
|
|
67
|
-
if (!
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
if (!noicons) { // se VOGLIO le icone !noicons
|
|
67
|
+
if (installer === 'calamares') {
|
|
68
|
+
if (!remove) {
|
|
69
|
+
if (!nointeractive || await utils_1.default.customConfirm('Select yes to continue...')) {
|
|
70
|
+
/**
|
|
71
|
+
* Install calamares
|
|
72
|
+
*/
|
|
73
|
+
if (install) {
|
|
74
|
+
utils_1.default.warning('Installing calamares...');
|
|
75
|
+
await pacman_1.default.calamaresInstall();
|
|
76
|
+
if (await this.settings.load()) {
|
|
77
|
+
this.settings.config.force_installer = true;
|
|
78
|
+
this.settings.save(this.settings.config);
|
|
79
|
+
await pacman_1.default.calamaresPolicies();
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Configure calamares
|
|
84
|
+
*/
|
|
74
85
|
if (await this.settings.load()) {
|
|
75
|
-
|
|
76
|
-
this.settings.
|
|
77
|
-
|
|
86
|
+
utils_1.default.warning('Configuring installer');
|
|
87
|
+
await this.settings.loadRemix(this.settings.config.snapshot_basename, theme);
|
|
88
|
+
this.incubator = new incubator_1.default(this.settings.remix, this.settings.distro, this.settings.config.user_opt, theme, verbose);
|
|
89
|
+
await this.incubator.config(release);
|
|
78
90
|
}
|
|
79
91
|
}
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
80
94
|
/**
|
|
81
|
-
*
|
|
95
|
+
* Remove calamares
|
|
82
96
|
*/
|
|
83
|
-
if (await
|
|
84
|
-
|
|
85
|
-
await this.settings.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
/**
|
|
93
|
-
* Remove calamares
|
|
94
|
-
*/
|
|
95
|
-
if (await pacman_1.default.calamaresCheck()) {
|
|
96
|
-
await pacman_1.default.calamaresRemove();
|
|
97
|
-
if (await this.settings.load()) {
|
|
98
|
-
this.settings.config.force_installer = false;
|
|
99
|
-
this.settings.save(this.settings.config);
|
|
97
|
+
if (await pacman_1.default.calamaresCheck()) {
|
|
98
|
+
await pacman_1.default.calamaresRemove();
|
|
99
|
+
if (await this.settings.load()) {
|
|
100
|
+
this.settings.config.force_installer = false;
|
|
101
|
+
this.settings.save(this.settings.config);
|
|
102
|
+
}
|
|
100
103
|
}
|
|
101
104
|
}
|
|
102
105
|
}
|
package/dist/commands/config.js
CHANGED
|
@@ -23,6 +23,7 @@ class Config extends core_1.Command {
|
|
|
23
23
|
async run() {
|
|
24
24
|
const { flags } = await this.parse(Config);
|
|
25
25
|
const nointeractive = flags.nointeractive;
|
|
26
|
+
const noicons = flags.noicons;
|
|
26
27
|
const verbose = flags.verbose;
|
|
27
28
|
if (!nointeractive) {
|
|
28
29
|
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
@@ -50,13 +51,13 @@ class Config extends core_1.Command {
|
|
|
50
51
|
}
|
|
51
52
|
// Vediamo che cosa c'è da fare...
|
|
52
53
|
utils_1.default.warning('what we need?');
|
|
53
|
-
const i = await Config.thatWeNeed(nointeractive, verbose);
|
|
54
|
+
const i = await Config.thatWeNeed(nointeractive, noicons, verbose);
|
|
54
55
|
if (i.needApt || i.configurationInstall || i.configurationRefresh || i.distroTemplate) {
|
|
55
56
|
if (nointeractive) {
|
|
56
|
-
await Config.install(i, nointeractive, verbose);
|
|
57
|
+
await Config.install(i, nointeractive, noicons, verbose);
|
|
57
58
|
}
|
|
58
59
|
else if (await utils_1.default.customConfirm()) {
|
|
59
|
-
await Config.install(i, nointeractive, verbose);
|
|
60
|
+
await Config.install(i, nointeractive, noicons, verbose);
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
}
|
|
@@ -69,16 +70,20 @@ class Config extends core_1.Command {
|
|
|
69
70
|
*
|
|
70
71
|
* @param verbose
|
|
71
72
|
*/
|
|
72
|
-
static async thatWeNeed(nointeractive = false, verbose = false, cryptedclone = false) {
|
|
73
|
+
static async thatWeNeed(nointeractive = false, noicons = false, verbose = false, cryptedclone = false) {
|
|
73
74
|
const i = {};
|
|
74
75
|
i.distroTemplate = !pacman_1.default.distroTemplateCheck();
|
|
75
76
|
if (utils_1.default.machineArch() !== 'i386') {
|
|
76
77
|
i.efi = !pacman_1.default.isUefi();
|
|
77
78
|
}
|
|
78
79
|
if (!cryptedclone && !(await pacman_1.default.calamaresCheck()) && pacman_1.default.isInstalledGui() && pacman_1.default.isCalamaresAvailable() && !pacman_1.default.packageIsInstalled('live-installer')) {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
if (noicons) {
|
|
81
|
+
i.calamares = false;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
utils_1.default.warning('Config: you are on a graphic system, I suggest to install the GUI installer calamares');
|
|
85
|
+
i.calamares = nointeractive ? false : await utils_1.default.customConfirm('Want You install calamares?');
|
|
86
|
+
}
|
|
82
87
|
}
|
|
83
88
|
i.configurationInstall = !pacman_1.default.configurationCheck();
|
|
84
89
|
if (!i.configurationInstall) {
|
|
@@ -148,7 +153,7 @@ class Config extends core_1.Command {
|
|
|
148
153
|
* @param i
|
|
149
154
|
* @param verbose
|
|
150
155
|
*/
|
|
151
|
-
static async install(i, nointeractive = false, verbose = false) {
|
|
156
|
+
static async install(i, nointeractive = false, noicons = false, verbose = false) {
|
|
152
157
|
const echo = utils_1.default.setEcho(verbose);
|
|
153
158
|
utils_1.default.warning('config: so, we install');
|
|
154
159
|
if (i.configurationInstall) {
|
|
@@ -185,14 +190,16 @@ class Config extends core_1.Command {
|
|
|
185
190
|
await pacman_1.default.prerequisitesInstall(verbose);
|
|
186
191
|
}
|
|
187
192
|
}
|
|
188
|
-
if (
|
|
189
|
-
if (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
if (!noicons) { // se VOGLIO le icone !noicons
|
|
194
|
+
if (i.calamares && pacman_1.default.isCalamaresAvailable()) {
|
|
195
|
+
if (nointeractive) {
|
|
196
|
+
utils_1.default.warning('I suggest You to install calamares GUI installer before to produce your ISO.\nJust write:\n sudo eggs calamares --install');
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
utils_1.default.warning('Installing calamares...');
|
|
200
|
+
await pacman_1.default.calamaresInstall(verbose);
|
|
201
|
+
await pacman_1.default.calamaresPolicies();
|
|
202
|
+
}
|
|
196
203
|
}
|
|
197
204
|
}
|
|
198
205
|
if (i.needApt && !nointeractive) {
|
|
@@ -208,6 +215,7 @@ Config.flags = {
|
|
|
208
215
|
clean: core_1.Flags.boolean({ char: 'c', description: 'remove old configuration before to create new one' }),
|
|
209
216
|
help: core_1.Flags.help({ char: 'h' }),
|
|
210
217
|
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'no user interaction' }),
|
|
218
|
+
noicons: core_1.Flags.boolean({ char: 'N', description: 'no icons' }),
|
|
211
219
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' }),
|
|
212
220
|
};
|
|
213
221
|
Config.description = 'Configure and install prerequisites deb packages to run it';
|
package/dist/commands/produce.js
CHANGED
|
@@ -74,6 +74,7 @@ class Produce extends core_1.Command {
|
|
|
74
74
|
const scriptOnly = flags.script;
|
|
75
75
|
const yolkRenew = flags.yolk;
|
|
76
76
|
const nointeractive = flags.nointeractive;
|
|
77
|
+
const noicons = flags.noicons;
|
|
77
78
|
/**
|
|
78
79
|
* theme: if not defined will use eggs
|
|
79
80
|
*/
|
|
@@ -95,9 +96,9 @@ class Produce extends core_1.Command {
|
|
|
95
96
|
process.exit();
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
|
-
const i = await config_1.default.thatWeNeed(nointeractive, verbose, cryptedclone);
|
|
99
|
+
const i = await config_1.default.thatWeNeed(nointeractive, noicons, verbose, cryptedclone);
|
|
99
100
|
if ((i.needApt || i.configurationInstall || i.configurationRefresh || i.distroTemplate) && (await utils_1.default.customConfirm('Select yes to continue...'))) {
|
|
100
|
-
await config_1.default.install(i, nointeractive, verbose);
|
|
101
|
+
await config_1.default.install(i, nointeractive, noicons, verbose);
|
|
101
102
|
}
|
|
102
103
|
const myAddons = {};
|
|
103
104
|
if (flags.addons != undefined) {
|
|
@@ -118,7 +119,7 @@ class Produce extends core_1.Command {
|
|
|
118
119
|
const ovary = new ovary_1.default();
|
|
119
120
|
utils_1.default.warning('Produce an egg...');
|
|
120
121
|
if (await ovary.fertilization(prefix, basename, theme, compression, !nointeractive)) {
|
|
121
|
-
await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, nointeractive, verbose);
|
|
122
|
+
await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, nointeractive, noicons, verbose);
|
|
122
123
|
ovary.finished(scriptOnly);
|
|
123
124
|
}
|
|
124
125
|
}
|
|
@@ -135,6 +136,7 @@ Produce.flags = {
|
|
|
135
136
|
help: core_1.Flags.help({ char: 'h' }),
|
|
136
137
|
max: core_1.Flags.boolean({ char: 'm', description: 'max compression' }),
|
|
137
138
|
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'no user interaction' }),
|
|
139
|
+
noicons: core_1.Flags.boolean({ char: 'N', description: 'no icons on desktop' }),
|
|
138
140
|
prefix: core_1.Flags.string({ char: 'p', description: 'prefix' }),
|
|
139
141
|
release: core_1.Flags.boolean({ description: 'release: max compression, remove penguins-eggs and calamares after installation' }),
|
|
140
142
|
script: core_1.Flags.boolean({ char: 's', description: 'script mode. Generate scripts to manage iso build' }),
|
|
Binary file
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
</head>
|
|
8
8
|
<body>
|
|
9
|
-
<h1>eggs(1) -- the reproductive system of penguins: eggs v9.
|
|
9
|
+
<h1>eggs(1) -- the reproductive system of penguins: eggs v9.5.6</h1>
|
|
10
10
|
<h1>SYNOPSIS</h1>
|
|
11
11
|
<p>Install Debian families (debian/devuan/ubuntu)</p>
|
|
12
|
-
<pre><code>$ sudo dpkg -i eggs_9.
|
|
12
|
+
<pre><code>$ sudo dpkg -i eggs_9.5.6_amd64.deb
|
|
13
13
|
</code></pre>
|
|
14
14
|
<p>Install Arch families (Arch, manjaro Linux)</p>
|
|
15
15
|
<p>Arch from AUR</p>
|
|
@@ -30,7 +30,7 @@ $ makepkg -si
|
|
|
30
30
|
<h1>USAGE</h1>
|
|
31
31
|
<pre><code>$ eggs (-v|--version|version)
|
|
32
32
|
|
|
33
|
-
penguins-eggs/9.
|
|
33
|
+
penguins-eggs/9.5.6 linux-x64 node-v18.16.1
|
|
34
34
|
$ eggs --help [COMMAND]
|
|
35
35
|
|
|
36
36
|
USAGE
|
|
@@ -344,6 +344,7 @@ FLAGS
|
|
|
344
344
|
-f, --standard standard compression
|
|
345
345
|
-h, --help Show CLI help.
|
|
346
346
|
-m, --max max compression
|
|
347
|
+
-N, --noicons no icons
|
|
347
348
|
-n, --nointeractive no user interaction
|
|
348
349
|
-p, --prefix=<value> prefix
|
|
349
350
|
-s, --script script mode. Generate scripts to manage iso build
|
package/package.json
CHANGED
package/scripts/_eggs
CHANGED
|
@@ -23,7 +23,7 @@ _eggs () {
|
|
|
23
23
|
"syncfrom:restore users and user data from a LUKS volumes"
|
|
24
24
|
"syncto:saves users and user data in a LUKS volume inside the iso"
|
|
25
25
|
"tools\:clean:clean system log, apt, etc"
|
|
26
|
-
"tools\:ppa:add/remove
|
|
26
|
+
"tools\:ppa:add/remove repo"
|
|
27
27
|
"tools\:skel:update skel from home configuration"
|
|
28
28
|
"tools\:stat:get statistics from sourceforge"
|
|
29
29
|
"tools\:yolk:configure eggs to install without internet"
|
|
@@ -70,6 +70,7 @@ config)
|
|
|
70
70
|
"--clean[remove old configuration before to create new one]"
|
|
71
71
|
"--help[Show CLI help.]"
|
|
72
72
|
"--nointeractive[no user interaction]"
|
|
73
|
+
"--noicons[no icons]"
|
|
73
74
|
"--verbose[verbose]"
|
|
74
75
|
)
|
|
75
76
|
;;
|
|
@@ -111,6 +112,7 @@ install)
|
|
|
111
112
|
"--crypted[Crypted CLI installation]"
|
|
112
113
|
"--custom=-[custom unattended configuration]:"
|
|
113
114
|
"--domain=-[Domain name, defult: .local]:"
|
|
115
|
+
"--halt[Halt the system after installation]"
|
|
114
116
|
"--help[Show CLI help.]"
|
|
115
117
|
"--ip[hostname as ip, eg: ip-192-168-1-33]"
|
|
116
118
|
"--nointeractive[no user interaction]"
|
|
@@ -147,6 +149,7 @@ produce)
|
|
|
147
149
|
"--help[Show CLI help.]"
|
|
148
150
|
"--max[max compression]"
|
|
149
151
|
"--nointeractive[no user interaction]"
|
|
152
|
+
"--noicons[no icons on desktop]"
|
|
150
153
|
"--prefix=-[prefix]:"
|
|
151
154
|
"--release[release: max compression, remove penguins-eggs and calamares after installation]"
|
|
152
155
|
"--script[script mode. Generate scripts to manage iso build]"
|
|
@@ -241,6 +244,7 @@ wardrobe:get)
|
|
|
241
244
|
wardrobe:list)
|
|
242
245
|
_command_flags=(
|
|
243
246
|
"--help[Show CLI help.]"
|
|
247
|
+
"--distro=-[distro]:"
|
|
244
248
|
"--verbose[]"
|
|
245
249
|
)
|
|
246
250
|
;;
|
|
@@ -259,7 +263,6 @@ wardrobe:wear)
|
|
|
259
263
|
"--help[Show CLI help.]"
|
|
260
264
|
"--no_accessories[not install accessories]"
|
|
261
265
|
"--no_firmwares[not install firmwares]"
|
|
262
|
-
"--silent[]"
|
|
263
266
|
"--verbose[]"
|
|
264
267
|
"--wardrobe=-[wardrobe]:"
|
|
265
268
|
)
|
package/scripts/eggs.bash
CHANGED
|
@@ -14,15 +14,15 @@ _eggs_autocomplete()
|
|
|
14
14
|
adapt --help --verbose
|
|
15
15
|
analyze --help --verbose
|
|
16
16
|
calamares --help --install --nointeractive --release --remove --theme --verbose
|
|
17
|
-
config --clean --help --nointeractive --verbose
|
|
17
|
+
config --clean --help --nointeractive --noicons --verbose
|
|
18
18
|
cuckoo --help
|
|
19
19
|
dad --clean --default --help --verbose
|
|
20
20
|
export:deb --all --clean --help --verbose
|
|
21
21
|
export:iso --clean --help --verbose
|
|
22
|
-
install --crypted --custom --domain --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
|
|
22
|
+
install --crypted --custom --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
|
|
23
23
|
kill --help --nointeractive --verbose
|
|
24
24
|
mom --help
|
|
25
|
-
produce --addons --basename --clone --cryptedclone --help --max --nointeractive --prefix --release --script --standard --theme --verbose --yolk
|
|
25
|
+
produce --addons --basename --clone --cryptedclone --help --max --nointeractive --noicons --prefix --release --script --standard --theme --verbose --yolk
|
|
26
26
|
status --help --verbose
|
|
27
27
|
syncfrom --delete --file --help --rootdir --verbose
|
|
28
28
|
syncto --delete --file --help --verbose
|
|
@@ -33,9 +33,9 @@ tools:stat --help --month --year
|
|
|
33
33
|
tools:yolk --help --verbose
|
|
34
34
|
update --help --verbose
|
|
35
35
|
wardrobe:get --help --verbose
|
|
36
|
-
wardrobe:list --help --verbose
|
|
36
|
+
wardrobe:list --help --distro --verbose
|
|
37
37
|
wardrobe:show --help --json --verbose --wardrobe
|
|
38
|
-
wardrobe:wear --help --no_accessories --no_firmwares --
|
|
38
|
+
wardrobe:wear --help --no_accessories --no_firmwares --verbose --wardrobe
|
|
39
39
|
autocomplete --refresh-cache
|
|
40
40
|
help --nested-commands
|
|
41
41
|
version --json --verbose
|