penguins-eggs 9.6.19 → 9.6.21
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 +5 -4
- package/conf/exclude.list +149 -22
- package/dist/classes/compressors.js +3 -3
- package/dist/classes/distro.js +6 -8
- package/dist/classes/ovary.js +39 -4
- package/dist/classes/utils.js +18 -0
- package/dist/classes/xdg.js +16 -3
- package/dist/commands/produce.js +6 -3
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +6 -5
- package/package.json +1 -1
- package/scripts/_eggs +23 -2
- package/scripts/eggs.bash +2 -1
- package/scripts/non-live-cmdline +194 -0
package/.oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.6.19","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":["krill"],"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},"isos":{"name":"isos","type":"boolean","char":"i","description":"erase all ISOs on remote mount","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},"checksum":{"name":"checksum","type":"boolean","char":"C","description":"export checksums md5 and sha256","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.21","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":["krill"],"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},"isos":{"name":"isos","type":"boolean","char":"i","description":"erase all ISOs on remote mount","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},"noicons":{"name":"noicons","type":"boolean","char":"N","description":"no icons on desktop","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},"unsecure":{"name":"unsecure","type":"boolean","char":"u","description":"include /home/* and full /root contents on live","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"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},"checksum":{"name":"checksum","type":"boolean","char":"C","description":"export checksums md5 and sha256","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
|
@@ -112,12 +112,12 @@ There are more than a way to install eggs as .deb package, the most practical is
|
|
|
112
112
|
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
|
|
113
113
|
|
|
114
114
|
```
|
|
115
|
-
sudo dpkg -i eggs_9.6.
|
|
115
|
+
sudo dpkg -i eggs_9.6.21_amd64.deb
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
or, on a i386 system:
|
|
119
119
|
```
|
|
120
|
-
sudo dpkg -i eggs_9.6.
|
|
120
|
+
sudo dpkg -i eggs_9.6.21_i386.deb
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
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```
|
|
@@ -146,7 +146,7 @@ sudo apt update && sudo apt install eggs
|
|
|
146
146
|
```
|
|
147
147
|
|
|
148
148
|
### Upgrade eggs
|
|
149
|
-
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
|
|
149
|
+
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 gdebi eggs_9.6.21_amd64.deb** or **sudo dpkg -i eggs_9.6.21_i386.deb** and **sudo apt install -f**.
|
|
150
150
|
|
|
151
151
|
## Arch families
|
|
152
152
|
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).
|
|
@@ -579,8 +579,9 @@ FLAGS
|
|
|
579
579
|
-n, --nointeractive no user interaction
|
|
580
580
|
-p, --prefix=<value> prefix
|
|
581
581
|
-s, --script script mode. Generate scripts to manage iso build
|
|
582
|
+
-u, --unsecure include /home/* and full /root contents on live
|
|
582
583
|
-v, --verbose verbose
|
|
583
|
-
-y, --yolk
|
|
584
|
+
-y, --yolk force yolk renew
|
|
584
585
|
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
585
586
|
--basename=<value> basename
|
|
586
587
|
--release release: max compression, remove penguins-eggs and calamares after installation
|
package/conf/exclude.list
CHANGED
|
@@ -2,14 +2,11 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Location: /usr/local/share/penguins-eggs/exclude.list
|
|
4
4
|
#
|
|
5
|
-
# Authors: fsmithred (original), Piero Proietti, Tim Wallace
|
|
5
|
+
# Authors: fsmithred (original), Piero Proietti, Tim Wallace, Hosein Seilany
|
|
6
6
|
#
|
|
7
|
-
# NOTE: all is alfabetic sorted
|
|
8
|
-
#
|
|
9
|
-
# - moved /mnt/* under SYSTEM
|
|
10
|
-
# - created LIVE STUFFS, CUSTOM and TESTING
|
|
11
|
-
|
|
7
|
+
# NOTE: all is alfabetic sorted using code->command palette->sortes lines ascending
|
|
12
8
|
######################################################################################################
|
|
9
|
+
|
|
13
10
|
# SYSTEM: Exclude some system files - These are required, and you probably shouldn't change them.
|
|
14
11
|
# They are temporary files only created on bootup - otherwise would waste space on a clone
|
|
15
12
|
cdrom/*
|
|
@@ -46,39 +43,169 @@ etc/mtab
|
|
|
46
43
|
|
|
47
44
|
# Arch family
|
|
48
45
|
home/*/.local/share/yay
|
|
49
|
-
var/cache/
|
|
50
|
-
var/cache/
|
|
46
|
+
# NOT necessary: under var/cache/ we remove all
|
|
47
|
+
#var/cache/pacman/pkg
|
|
48
|
+
#var/cache/private/yay
|
|
51
49
|
|
|
52
50
|
# Debian family
|
|
53
|
-
var/cache/
|
|
54
|
-
var/cache/apt/
|
|
55
|
-
var/cache/apt/
|
|
56
|
-
var/cache/apt/
|
|
57
|
-
var/cache/
|
|
51
|
+
# NOT necessary: under var/cache/ we remove all
|
|
52
|
+
#var/cache/apt/apt-file/*
|
|
53
|
+
#var/cache/apt/archives/*.deb
|
|
54
|
+
#var/cache/apt/pkgcache.bin
|
|
55
|
+
#var/cache/apt/srcpkgcache.bin
|
|
56
|
+
#var/cache/debconf/*~old
|
|
58
57
|
|
|
59
58
|
######################################################################################################
|
|
60
59
|
# MISC: miscellanea
|
|
60
|
+
.snapshots/*
|
|
61
|
+
etc/apt/*~
|
|
61
62
|
etc/crypttab
|
|
62
|
-
etc/initramfs-tools/conf.d/cryptroot
|
|
63
|
-
etc/initramfs-tools/conf.d/resume
|
|
63
|
+
etc/initramfs-tools/conf.d/cryptroot
|
|
64
|
+
etc/initramfs-tools/conf.d/resume
|
|
64
65
|
etc/popularity-contest.conf
|
|
66
|
+
etc/skel/.config/Code
|
|
67
|
+
etc/skel/.local/share/baloo/*
|
|
68
|
+
etc/skel/.ZAP/*
|
|
69
|
+
lost+found
|
|
70
|
+
swap/*
|
|
71
|
+
swapfile
|
|
72
|
+
usr/bin/x86_64-w64-mingw32-cpp-win32
|
|
73
|
+
usr/bin/x86_64-w64-mingw32-gcc-12-win32
|
|
74
|
+
usr/bin/x86_64-w64-mingw32-gcc-ar-win32
|
|
75
|
+
usr/bin/x86_64-w64-mingw32-gcc-nm-win32
|
|
76
|
+
usr/bin/x86_64-w64-mingw32-gcc-ranlib-win32
|
|
77
|
+
usr/bin/x86_64-w64-mingw32-gcc-win32
|
|
78
|
+
usr/bin/x86_64-w64-mingw32-gcov-dump-win32
|
|
79
|
+
usr/bin/x86_64-w64-mingw32-gcov-tool-win32
|
|
80
|
+
usr/bin/x86_64-w64-mingw32-gcov-win32
|
|
81
|
+
usr/bin/x86_64-w64-mingw32-lto-dump-win32
|
|
82
|
+
usr/i686-w64-mingw32/*
|
|
83
|
+
usr/include/gtkmm-3.0/*
|
|
84
|
+
usr/lib/gcc/i686-w64-mingw32/*
|
|
85
|
+
usr/lib/gcc/x86_64-w64-mingw32/*
|
|
86
|
+
usr/lib/i386-linux-gnu/*
|
|
87
|
+
usr/lib/i386-linux-gnu/libLLVM-12.so
|
|
88
|
+
usr/lib/i386-linux-gnu/libLLVM-12.so.1
|
|
89
|
+
usr/lib/llvm-11/*
|
|
90
|
+
usr/lib/llvm-9/*
|
|
91
|
+
usr/lib/mono/*
|
|
92
|
+
usr/lib/snapd/*
|
|
93
|
+
usr/lib/x86_64-linux-gnu/libLLVM-10.so
|
|
94
|
+
usr/lib/x86_64-linux-gnu/libLLVM-10.so.1
|
|
95
|
+
usr/lib/x86_64-linux-gnu/libLLVM-11.so
|
|
96
|
+
usr/lib/x86_64-linux-gnu/libLLVM-11.so.1
|
|
97
|
+
usr/lib/x86_64-linux-gnu/libLLVM-12.so
|
|
98
|
+
usr/lib/x86_64-linux-gnu/libLLVM-12.so.1
|
|
99
|
+
usr/lib/x86_64-linux-gnu/libLLVM-14.so
|
|
100
|
+
usr/lib/x86_64-linux-gnu/libLLVM-14.so.1
|
|
101
|
+
usr/lib/x86_64-linux-gnu/libLLVM-9.so
|
|
102
|
+
usr/lib/x86_64-linux-gnu/libLLVM-9.so.1
|
|
103
|
+
usr/lib/x86_64-linux-gnu/openblas-pthread/*
|
|
104
|
+
usr/share/dict/*
|
|
105
|
+
usr/share/doc/*
|
|
106
|
+
usr/share/eclipse/*
|
|
107
|
+
usr/share/gimp/2.0/help/en/images/*
|
|
108
|
+
usr/share/gtk-doc/html/*
|
|
109
|
+
usr/share/krita/*
|
|
110
|
+
usr/share/texmf/*
|
|
111
|
+
usr/share/xemacs21/*
|
|
112
|
+
usr/x86_64-w64-mingw32/*
|
|
113
|
+
var/backups/*
|
|
114
|
+
var/cache/*
|
|
115
|
+
var/lib/aide/*
|
|
65
116
|
var/lib/apt/*~
|
|
66
117
|
var/lib/apt/cdroms.list
|
|
67
118
|
var/lib/apt/lists/*
|
|
68
119
|
var/lib/aptitude/*.old
|
|
120
|
+
var/lib/cache
|
|
69
121
|
var/lib/dbus/machine-id
|
|
70
122
|
var/lib/dhcp/*
|
|
123
|
+
var/lib/dkms/wireguard/*
|
|
71
124
|
var/lib/dpkg/*~old
|
|
125
|
+
var/lib/gems/2.7.0/cache/*
|
|
126
|
+
var/lib/snapd/*
|
|
72
127
|
var/log/*
|
|
128
|
+
var/log/kern.log
|
|
129
|
+
var/log/lastlog
|
|
130
|
+
var/log/syslog
|
|
131
|
+
var/spool/*
|
|
132
|
+
var/tmp/*
|
|
133
|
+
|
|
73
134
|
|
|
74
135
|
######################################################################################################
|
|
75
|
-
# CUSTOM:
|
|
76
|
-
.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
136
|
+
# CUSTOM: the nest - usually /home/eggs - is automatically excluded!
|
|
137
|
+
blissos/data.img
|
|
138
|
+
|
|
139
|
+
# uncomment to test --clone when is too big
|
|
140
|
+
# home/artisan/*
|
|
80
141
|
|
|
81
142
|
|
|
82
143
|
######################################################################################################
|
|
83
|
-
#
|
|
84
|
-
# home
|
|
144
|
+
# You can exclude all home contents, just removing comment in next line
|
|
145
|
+
# home/*/*
|
|
146
|
+
|
|
147
|
+
home/*/.adobe
|
|
148
|
+
home/*/.aptitude
|
|
149
|
+
home/*/.bash_history
|
|
150
|
+
home/*/.cache
|
|
151
|
+
home/*/.config/BraveSoftware/Brave-Browser/*
|
|
152
|
+
home/*/.config/chromium
|
|
153
|
+
home/*/.config/Code
|
|
154
|
+
home/*/.config/discord
|
|
155
|
+
home/*/.config/filezilla
|
|
156
|
+
home/*/.config/GIMP/
|
|
157
|
+
home/*/.config/hexchat
|
|
158
|
+
home/*/.config/VSCodium
|
|
159
|
+
home/*/.dbus
|
|
160
|
+
home/*/.evolution/cache/
|
|
161
|
+
home/*/.gconf/apps/gnome-settings/gnome-search-tool/%gconf.xml
|
|
162
|
+
home/*/.gimp-2.4
|
|
163
|
+
home/*/.gimp-2.6
|
|
164
|
+
home/*/.gimp-2.8
|
|
165
|
+
home/*/.gksu*
|
|
166
|
+
home/*/.gnome2/gedit-metadata.xml
|
|
167
|
+
home/*/.gnupg
|
|
168
|
+
home/*/.gvfs
|
|
169
|
+
home/*/.ICEauthority
|
|
170
|
+
home/*/.kde/cache*
|
|
171
|
+
home/*/.kde/share/apps/RecentDocuments/*.desktop
|
|
172
|
+
home/*/.kde4/share/apps/RecentDocuments/*.desktop
|
|
173
|
+
home/*/.lesshst
|
|
174
|
+
home/*/.libreoffice/3-suse/user/registrymodifications.xcu
|
|
175
|
+
home/*/.libreoffice/3/user/registrymodifications
|
|
176
|
+
home/*/.local/share/DBeaverData/*
|
|
177
|
+
home/*/.local/share/Google/*
|
|
178
|
+
home/*/.local/share/jupyter/*
|
|
179
|
+
home/*/.local/share/QtProject/*
|
|
180
|
+
home/*/.local/share/RecentDocuments/*.desktop
|
|
181
|
+
home/*/.local/share/recently-used.xbel
|
|
182
|
+
home/*/.local/share/Trash/*
|
|
183
|
+
home/*/.log
|
|
184
|
+
home/*/.macromedia
|
|
185
|
+
home/*/.maltego/v4.2.17/var/cache/*
|
|
186
|
+
home/*/.mozilla/*
|
|
187
|
+
home/*/.nano_history
|
|
188
|
+
home/*/.nautilus/metafiles/*
|
|
189
|
+
home/*/.pulse*
|
|
190
|
+
home/*/.recently-used
|
|
191
|
+
home/*/.recently-used.xbel
|
|
192
|
+
home/*/.ssh
|
|
193
|
+
home/*/.thumbnails/fail/*
|
|
194
|
+
home/*/.thumbnails/large/*
|
|
195
|
+
home/*/.thumbnails/normal/*
|
|
196
|
+
home/*/.Trash*
|
|
197
|
+
home/*/.var/app/org.filezillaproject.Filezilla/config/filezilla
|
|
198
|
+
home/*/.var/app/org.mozilla.firefox/cache/mozilla
|
|
199
|
+
home/*/.var/app/org.mozilla.Thunderbird/cache/thunderbird/
|
|
200
|
+
home/*/.vbox*
|
|
201
|
+
home/*/.viminfo
|
|
202
|
+
home/*/.VirtualBox
|
|
203
|
+
home/*/.wine
|
|
204
|
+
home/*/.Xauthority
|
|
205
|
+
home/*/.xchat2/*
|
|
206
|
+
home/*/.xsession-errors
|
|
207
|
+
home/*/.ZAP/*
|
|
208
|
+
home/*/env01/*
|
|
209
|
+
home/*/snap/filezilla/22/.config/filezilla
|
|
210
|
+
home/*/snap/firefox/common/.cache/mozilla
|
|
211
|
+
home/*/VirtualBox
|
|
@@ -57,13 +57,13 @@ class Compressors {
|
|
|
57
57
|
return comp;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* max
|
|
60
|
+
* max high rate compressing of iso file with these options: "xz -Xbcj x86 -b 1M -no-duplicates -no-recovery -always-use-fragments"
|
|
61
61
|
* @returns
|
|
62
62
|
*/
|
|
63
63
|
max() {
|
|
64
|
-
let comp = 'xz -b
|
|
64
|
+
let comp = 'xz -Xbcj x86 -b 1M -no-duplicates -no-recovery -always-use-fragments';
|
|
65
65
|
if (process.arch === 'arm64') {
|
|
66
|
-
comp = 'xz -b
|
|
66
|
+
comp = 'xz x86 -b 1M -no-duplicates -no-recovery -always-use-fragments'; // -Xbcj arm NOT work
|
|
67
67
|
}
|
|
68
68
|
return comp;
|
|
69
69
|
}
|
package/dist/classes/distro.js
CHANGED
|
@@ -248,16 +248,14 @@ class Distro {
|
|
|
248
248
|
break;
|
|
249
249
|
}
|
|
250
250
|
// No default
|
|
251
|
-
} // Fine analisi
|
|
251
|
+
} // Fine analisi codenameId
|
|
252
252
|
/**
|
|
253
|
-
*
|
|
253
|
+
* if lsb-release exists
|
|
254
254
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
if (node_fs_1.default.existsSync('/etc/antix-version')) {
|
|
260
|
-
this.distroId = 'MX';
|
|
255
|
+
const lsbConfig = '/etc/lsb-release';
|
|
256
|
+
if (node_fs_1.default.existsSync(lsbConfig)) {
|
|
257
|
+
this.distroId = utils_1.default.searchOnFile(lsbConfig, `DISTRIB_ID`);
|
|
258
|
+
this.codenameId = utils_1.default.searchOnFile(lsbConfig, `DISTRIB_CODENAME`);
|
|
261
259
|
}
|
|
262
260
|
/**
|
|
263
261
|
* ManjaroLinux
|
package/dist/classes/ovary.js
CHANGED
|
@@ -89,7 +89,7 @@ class Ovary {
|
|
|
89
89
|
*
|
|
90
90
|
* @param basename
|
|
91
91
|
*/
|
|
92
|
-
async produce(clone = false, cryptedclone = false, scriptOnly = false, yolkRenew = false, release = false, myAddons, nointeractive = false, noicons = false, verbose = false) {
|
|
92
|
+
async produce(clone = false, cryptedclone = false, scriptOnly = false, yolkRenew = false, release = false, myAddons, nointeractive = false, noicons = false, unsecure = false, verbose = false) {
|
|
93
93
|
this.verbose = verbose;
|
|
94
94
|
this.echo = utils_2.default.setEcho(verbose);
|
|
95
95
|
if (this.verbose) {
|
|
@@ -221,7 +221,7 @@ class Ovary {
|
|
|
221
221
|
this.cliAutologin.addAutologin(this.settings.distro.distroId, this.settings.distro.codenameId, this.settings.config.user_opt, this.settings.config.user_opt_passwd, this.settings.config.root_passwd, this.settings.work_dir.merged);
|
|
222
222
|
}
|
|
223
223
|
await this.editLiveFs(clone, cryptedclone);
|
|
224
|
-
mksquashfsCmd = await this.makeSquashfs(scriptOnly);
|
|
224
|
+
mksquashfsCmd = await this.makeSquashfs(scriptOnly, unsecure);
|
|
225
225
|
await this.uBindLiveFs(); // Lo smonto prima della fase di backup
|
|
226
226
|
}
|
|
227
227
|
if (cryptedclone) {
|
|
@@ -234,6 +234,33 @@ class Ovary {
|
|
|
234
234
|
const mkIsofsCmd = this.xorrisoCommand(clone, cryptedclone).replace(/\s\s+/g, ' ');
|
|
235
235
|
const info = utils_2.default.getVolid(this.settings.remix.name);
|
|
236
236
|
this.makeDotDisk(info, mksquashfsCmd, mkIsofsCmd);
|
|
237
|
+
/**
|
|
238
|
+
* AntiX/MX LINUX
|
|
239
|
+
*/
|
|
240
|
+
if (fs_1.default.existsSync('/etc/antix-version')) {
|
|
241
|
+
let uname = (await (0, utils_1.exec)('uname -r', { capture: true })).data;
|
|
242
|
+
uname = uname.replaceAll('\n', '');
|
|
243
|
+
let content = '';
|
|
244
|
+
content += 'mkdir /live/bin -p\n';
|
|
245
|
+
content += '## \n';
|
|
246
|
+
content += 'cp /usr/lib/penguins-eggs/scripts/non-live-cmdline /live/bin -p\n';
|
|
247
|
+
content += 'chmod +x /live/bin/non-live-cmdline\n';
|
|
248
|
+
content += '## \n';
|
|
249
|
+
content += 'mkdir /live/boot-dev/antiX -p\n';
|
|
250
|
+
content += 'ln -s /run/live/medium/live/filesystem.squashfs /live/boot-dev/antiX/linuxfs\n';
|
|
251
|
+
content += `ln -s /run/live/medium/live/initrd.img-${uname} /live/boot-dev/antiX/initrd.gz\n`;
|
|
252
|
+
content += `ln -s /run/live/medium/live/vmlinuz-${uname} /live/boot-dev/antiX/vmlinuz\n`;
|
|
253
|
+
content += `# md5sum /live/boot-dev/antiX/linuxfs > /live/boot-dev/antiX/linuxfs.md5\n`;
|
|
254
|
+
content += `# md5sum /live/boot-dev/antiX/initrd.gz > /live/boot-dev/antiX/initrd.gz.md5\n`;
|
|
255
|
+
content += `# md5sum /live/boot-dev/antiX/vmlinuz > /live/boot-dev/antiX/vmlinuz.md5\n`;
|
|
256
|
+
content += `# /live/aufs -> /run/live/rootfs/filesystem.squashfs\n`;
|
|
257
|
+
content += 'ln -s /run/live/rootfs/filesystem.squashfs /live/aufs\n';
|
|
258
|
+
content += `# use: minstall -no-media-check\n`;
|
|
259
|
+
content += 'minstall --no-media-check\n';
|
|
260
|
+
let file = `${this.settings.iso_work}antix-mx-installer`;
|
|
261
|
+
fs_1.default.writeFileSync(file, content);
|
|
262
|
+
await (0, utils_1.exec)(`chmod +x ${file}`);
|
|
263
|
+
}
|
|
237
264
|
/**
|
|
238
265
|
* patch to emulate miso/archiso on archilinux
|
|
239
266
|
*/
|
|
@@ -743,7 +770,7 @@ class Ovary {
|
|
|
743
770
|
/**
|
|
744
771
|
* squashFs: crea in live filesystem.squashfs
|
|
745
772
|
*/
|
|
746
|
-
async makeSquashfs(scriptOnly = false) {
|
|
773
|
+
async makeSquashfs(scriptOnly = false, unsecure = false) {
|
|
747
774
|
if (this.verbose) {
|
|
748
775
|
console.log('Ovary: makeSquashfs');
|
|
749
776
|
}
|
|
@@ -775,6 +802,14 @@ class Ovary {
|
|
|
775
802
|
}
|
|
776
803
|
}
|
|
777
804
|
}
|
|
805
|
+
/**
|
|
806
|
+
* secure
|
|
807
|
+
*/
|
|
808
|
+
if (!unsecure) {
|
|
809
|
+
this.addRemoveExclusion(true, `home/*/*`);
|
|
810
|
+
this.addRemoveExclusion(true, `root/*`);
|
|
811
|
+
this.addRemoveExclusion(true, `root/.*`);
|
|
812
|
+
}
|
|
778
813
|
if (shelljs_1.default.exec('/usr/bin/test -L /etc/localtime', { silent: true }) && shelljs_1.default.exec('cat /etc/timezone', { silent: true }) !== 'Europe/Rome') {
|
|
779
814
|
// this.addRemoveExclusion(true, '/etc/localtime')
|
|
780
815
|
}
|
|
@@ -1207,7 +1242,7 @@ class Ovary {
|
|
|
1207
1242
|
*/
|
|
1208
1243
|
const dirAutostart = `${this.settings.work_dir.merged}/etc/xdg/autostart`;
|
|
1209
1244
|
if (fs_1.default.existsSync(dirAutostart)) {
|
|
1210
|
-
// Creo l'avviatore xdg DEVE essere add-penguins-links.desktop
|
|
1245
|
+
// Creo l'avviatore xdg: DEVE essere add-penguins-links.desktop
|
|
1211
1246
|
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-links-add.desktop'), dirAutostart);
|
|
1212
1247
|
// create /usr/bin/penguins-links-add.sh
|
|
1213
1248
|
const script = '/usr/bin/penguins-links-add.sh';
|
package/dist/classes/utils.js
CHANGED
|
@@ -27,6 +27,24 @@ const pjson = require('../../package.json');
|
|
|
27
27
|
* @remarks all the utilities
|
|
28
28
|
*/
|
|
29
29
|
class Utils {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param file
|
|
33
|
+
* @param search
|
|
34
|
+
* @returns value
|
|
35
|
+
*/
|
|
36
|
+
static searchOnFile(file = '', search = '') {
|
|
37
|
+
const lines = fs_1.default.readFileSync(file, 'utf8').split("\n");
|
|
38
|
+
let value = '';
|
|
39
|
+
lines.forEach(line => {
|
|
40
|
+
line = line.replace(/\s+/g, ' '); // Remove multiple spaces with single space
|
|
41
|
+
if (line.includes(search)) {
|
|
42
|
+
value = line.substring(line.indexOf('=') + 1);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
value = value.replaceAll('"', ''); // Remove "
|
|
46
|
+
return value.trim();
|
|
47
|
+
}
|
|
30
48
|
/**
|
|
31
49
|
* Restituisce il prefisso della iso
|
|
32
50
|
* @param distroId
|
package/dist/classes/xdg.js
CHANGED
|
@@ -82,11 +82,24 @@ class Xdg {
|
|
|
82
82
|
static async autologin(olduser, newuser, chroot = '/') {
|
|
83
83
|
if (pacman_1.default.isInstalledGui()) {
|
|
84
84
|
/**
|
|
85
|
-
* SLIM
|
|
85
|
+
* SLIM & SLIMSKI
|
|
86
86
|
*/
|
|
87
|
+
let slimConf = '';
|
|
87
88
|
if (pacman_1.default.packageIsInstalled('slim')) {
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
slimConf = 'slim.conf';
|
|
90
|
+
if (node_fs_1.default.existsSync('/etc/slim.local.conf')) {
|
|
91
|
+
slimConf = 'slim.local.conf';
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (pacman_1.default.packageIsInstalled('slimski')) {
|
|
95
|
+
slimConf = 'slimski.conf';
|
|
96
|
+
if (node_fs_1.default.existsSync('/etc/slimski.local.conf')) {
|
|
97
|
+
slimConf = 'slimski.local.conf';
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
if (slimConf !== '') {
|
|
101
|
+
shelljs_1.default.sed('-i', 'auto_login no', 'auto_login yes', `${chroot}/etc/${slimConf}`);
|
|
102
|
+
shelljs_1.default.sed('-i', `default_user ${olduser}`, `default_user ${newuser}`, `${chroot}/etc/${slimConf}`);
|
|
90
103
|
}
|
|
91
104
|
/**
|
|
92
105
|
* LIGHTDM
|
package/dist/commands/produce.js
CHANGED
|
@@ -74,6 +74,8 @@ class Produce extends core_1.Command {
|
|
|
74
74
|
const yolkRenew = flags.yolk;
|
|
75
75
|
const nointeractive = flags.nointeractive;
|
|
76
76
|
const noicons = flags.noicons;
|
|
77
|
+
// if clone or cryptedclone unsecure = true
|
|
78
|
+
const unsecure = flags.unsecure || clone || cryptedclone;
|
|
77
79
|
/**
|
|
78
80
|
* theme: if not defined will use eggs
|
|
79
81
|
*/
|
|
@@ -118,7 +120,7 @@ class Produce extends core_1.Command {
|
|
|
118
120
|
const ovary = new ovary_1.default();
|
|
119
121
|
utils_1.default.warning('Produce an egg...');
|
|
120
122
|
if (await ovary.fertilization(prefix, basename, theme, compression, !nointeractive)) {
|
|
121
|
-
await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, nointeractive, noicons, verbose);
|
|
123
|
+
await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, nointeractive, noicons, unsecure, verbose);
|
|
122
124
|
ovary.finished(scriptOnly);
|
|
123
125
|
}
|
|
124
126
|
}
|
|
@@ -134,15 +136,16 @@ Produce.flags = {
|
|
|
134
136
|
cryptedclone: core_1.Flags.boolean({ char: 'C', description: 'crypted clone' }),
|
|
135
137
|
help: core_1.Flags.help({ char: 'h' }),
|
|
136
138
|
max: core_1.Flags.boolean({ char: 'm', description: 'max compression' }),
|
|
137
|
-
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'no user interaction' }),
|
|
138
139
|
noicons: core_1.Flags.boolean({ char: 'N', description: 'no icons on desktop' }),
|
|
140
|
+
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'no user interaction' }),
|
|
139
141
|
prefix: core_1.Flags.string({ char: 'p', description: 'prefix' }),
|
|
140
142
|
release: core_1.Flags.boolean({ description: 'release: max compression, remove penguins-eggs and calamares after installation' }),
|
|
141
143
|
script: core_1.Flags.boolean({ char: 's', description: 'script mode. Generate scripts to manage iso build' }),
|
|
142
144
|
standard: core_1.Flags.boolean({ char: 'f', description: 'standard compression' }),
|
|
143
145
|
theme: core_1.Flags.string({ description: 'theme for livecd, calamares branding and partitions' }),
|
|
146
|
+
unsecure: core_1.Flags.boolean({ char: 'u', description: 'include /home/* and full /root contents on live' }),
|
|
144
147
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' }),
|
|
145
|
-
yolk: core_1.Flags.boolean({ char: 'y', description: '
|
|
148
|
+
yolk: core_1.Flags.boolean({ char: 'y', description: 'force yolk renew' }),
|
|
146
149
|
};
|
|
147
150
|
Produce.description = 'produce a live image from your system whithout your data';
|
|
148
151
|
Produce.examples = [
|
|
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.6.
|
|
9
|
+
<h1>eggs(1) -- the reproductive system of penguins: eggs v9.6.21</h1>
|
|
10
10
|
<h1>SYNOPSIS</h1>
|
|
11
11
|
<p>Install Debian families (debian/devuan/ubuntu)</p>
|
|
12
|
-
<pre><code>$ sudo dpkg -i eggs_9.6.
|
|
12
|
+
<pre><code>$ sudo dpkg -i eggs_9.6.21_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.6.
|
|
33
|
+
penguins-eggs/9.6.21 linux-x64 node-v18.17.1
|
|
34
34
|
$ eggs --help [COMMAND]
|
|
35
35
|
|
|
36
36
|
USAGE
|
|
@@ -273,7 +273,7 @@ FLAGS
|
|
|
273
273
|
DESCRIPTION
|
|
274
274
|
Display help for eggs.
|
|
275
275
|
</code></pre>
|
|
276
|
-
<h2><code>eggs install</code></h2>
|
|
276
|
+
<h2><code>eggs install</code> or <code>eggs krill</code></h2>
|
|
277
277
|
<p>krill: the CLI system installer - the egg became a penguin!</p>
|
|
278
278
|
<pre><code>USAGE
|
|
279
279
|
$ eggs install [-k] [-c <value>] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
|
|
@@ -351,8 +351,9 @@ FLAGS
|
|
|
351
351
|
-n, --nointeractive no user interaction
|
|
352
352
|
-p, --prefix=<value> prefix
|
|
353
353
|
-s, --script script mode. Generate scripts to manage iso build
|
|
354
|
+
-u, --unsecure include /home/* and full /root contents on live
|
|
354
355
|
-v, --verbose verbose
|
|
355
|
-
-y, --yolk
|
|
356
|
+
-y, --yolk force yolk renew
|
|
356
357
|
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
357
358
|
--basename=<value> basename
|
|
358
359
|
--release release: max compression, remove penguins-eggs and calamares after installation
|
package/package.json
CHANGED
package/scripts/_eggs
CHANGED
|
@@ -16,6 +16,7 @@ _eggs () {
|
|
|
16
16
|
"export\:deb:export deb/docs/iso to the destination host"
|
|
17
17
|
"export\:iso:export iso in the destination host"
|
|
18
18
|
"install:krill: the CLI system installer - the egg became a penguin!"
|
|
19
|
+
"krill:krill: the CLI system installer - the egg became a penguin!"
|
|
19
20
|
"kill:kill the eggs/free the nest"
|
|
20
21
|
"mom:ask help from mommy - TUI helper"
|
|
21
22
|
"produce:produce a live image from your system whithout your data"
|
|
@@ -128,6 +129,25 @@ install)
|
|
|
128
129
|
)
|
|
129
130
|
;;
|
|
130
131
|
|
|
132
|
+
krill)
|
|
133
|
+
_command_flags=(
|
|
134
|
+
"--crypted[Crypted CLI installation]"
|
|
135
|
+
"--custom=-[custom unattended configuration]:"
|
|
136
|
+
"--domain=-[Domain name, defult: .local]:"
|
|
137
|
+
"--halt[Halt the system after installation]"
|
|
138
|
+
"--help[Show CLI help.]"
|
|
139
|
+
"--ip[hostname as ip, eg: ip-192-168-1-33]"
|
|
140
|
+
"--nointeractive[no user interaction]"
|
|
141
|
+
"--none[Swap none: 256M]"
|
|
142
|
+
"--pve[Proxmox VE install]"
|
|
143
|
+
"--random[Add random to hostname, eg: colibri-ay412dt]"
|
|
144
|
+
"--small[Swap small: RAM]"
|
|
145
|
+
"--suspend[Swap suspend: RAM x 2]"
|
|
146
|
+
"--unattended[Unattended installation]"
|
|
147
|
+
"--verbose[Verbose]"
|
|
148
|
+
)
|
|
149
|
+
;;
|
|
150
|
+
|
|
131
151
|
kill)
|
|
132
152
|
_command_flags=(
|
|
133
153
|
"--help[Show CLI help.]"
|
|
@@ -151,15 +171,16 @@ produce)
|
|
|
151
171
|
"--cryptedclone[crypted clone]"
|
|
152
172
|
"--help[Show CLI help.]"
|
|
153
173
|
"--max[max compression]"
|
|
154
|
-
"--nointeractive[no user interaction]"
|
|
155
174
|
"--noicons[no icons on desktop]"
|
|
175
|
+
"--nointeractive[no user interaction]"
|
|
156
176
|
"--prefix=-[prefix]:"
|
|
157
177
|
"--release[release: max compression, remove penguins-eggs and calamares after installation]"
|
|
158
178
|
"--script[script mode. Generate scripts to manage iso build]"
|
|
159
179
|
"--standard[standard compression]"
|
|
160
180
|
"--theme=-[theme for livecd, calamares branding and partitions]:"
|
|
181
|
+
"--unsecure[include /home/* and full /root contents on live]"
|
|
161
182
|
"--verbose[verbose]"
|
|
162
|
-
"--yolk[
|
|
183
|
+
"--yolk[force yolk renew]"
|
|
163
184
|
)
|
|
164
185
|
;;
|
|
165
186
|
|
package/scripts/eggs.bash
CHANGED
|
@@ -20,9 +20,10 @@ dad --clean --default --help --verbose
|
|
|
20
20
|
export:deb --all --clean --help --verbose
|
|
21
21
|
export:iso --clean --checksum --help --verbose
|
|
22
22
|
install --crypted --custom --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
|
|
23
|
+
krill --crypted --custom --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
|
|
23
24
|
kill --help --nointeractive --isos --verbose
|
|
24
25
|
mom --help
|
|
25
|
-
produce --addons --basename --clone --cryptedclone --help --max --
|
|
26
|
+
produce --addons --basename --clone --cryptedclone --help --max --noicons --nointeractive --prefix --release --script --standard --theme --unsecure --verbose --yolk
|
|
26
27
|
status --help --verbose
|
|
27
28
|
syncfrom --delete --file --help --rootdir --verbose
|
|
28
29
|
syncto --delete --file --help --verbose
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
PROC_CMDLINE=$(cat /proc/cmdline)
|
|
4
|
+
CONF_CMDLINE=$(grep ^CONFIG_CMDLINE= /boot/config-$(uname -r) 2>/dev/null | cut -d\" -f2 | tail -1)
|
|
5
|
+
|
|
6
|
+
CMD_LINE=""
|
|
7
|
+
for param in $PROC_CMDLINE; do
|
|
8
|
+
x=x
|
|
9
|
+
for conf in $CONF_CMDLINE; do
|
|
10
|
+
[ "$conf" = "$param" ] && x="" && break
|
|
11
|
+
done
|
|
12
|
+
[ -n "$x" ] && CMD_LINE="$CMD_LINE $param"
|
|
13
|
+
done
|
|
14
|
+
|
|
15
|
+
for param in $CMD_LINE; do
|
|
16
|
+
case $param in
|
|
17
|
+
|
|
18
|
+
menus) ;;
|
|
19
|
+
menus=*) ;;
|
|
20
|
+
old-conf) ;;
|
|
21
|
+
new-conf) ;;
|
|
22
|
+
splash) ;;
|
|
23
|
+
splash=*) ;;
|
|
24
|
+
poweroff) ;;
|
|
25
|
+
reboot) ;;
|
|
26
|
+
bootdir=*|bdir=*) ;;
|
|
27
|
+
bootlabel=*|blabel=*|blab=*) ;;
|
|
28
|
+
bootuuid=*|buuid=*) ;;
|
|
29
|
+
bootdev=*|bdev=*) ;;
|
|
30
|
+
|
|
31
|
+
try=*|retry=*) ;;
|
|
32
|
+
|
|
33
|
+
persistdir=*|pdir=*) ;;
|
|
34
|
+
|
|
35
|
+
persistlabel=*|plabel=*|plab=*) ;;
|
|
36
|
+
persistuuid=*|puuid=*) ;;
|
|
37
|
+
persistdev=*|pdev=*) ;;
|
|
38
|
+
|
|
39
|
+
persistretry=*|pretry=*|ptry=*) ;;
|
|
40
|
+
|
|
41
|
+
dbv=*) ;;
|
|
42
|
+
fneed=*) ;;
|
|
43
|
+
fforce) ;;
|
|
44
|
+
frugal) ;;
|
|
45
|
+
frugal=*) ;;
|
|
46
|
+
flab=*) ;;
|
|
47
|
+
fdev=*) ;;
|
|
48
|
+
fuuid=*) ;;
|
|
49
|
+
|
|
50
|
+
iso=*|fromiso=*) ;;
|
|
51
|
+
iso|fromiso) ;;
|
|
52
|
+
|
|
53
|
+
from=*) ;;
|
|
54
|
+
|
|
55
|
+
persist=*|p=*) ;;
|
|
56
|
+
persist) ;;
|
|
57
|
+
|
|
58
|
+
sqext=*) ;;
|
|
59
|
+
sqname=*) ;;
|
|
60
|
+
sq=*) ;;
|
|
61
|
+
|
|
62
|
+
verbose=*|verb=*|v=*) ;;
|
|
63
|
+
bp=*) ;;
|
|
64
|
+
pk=*) ;;
|
|
65
|
+
|
|
66
|
+
check|md5|checkmd5) ;;
|
|
67
|
+
hico|highcolor) ;;
|
|
68
|
+
loco|lowcolor) ;;
|
|
69
|
+
noco|nocolor) ;;
|
|
70
|
+
|
|
71
|
+
noxtra) ;;
|
|
72
|
+
doxtra) ;;
|
|
73
|
+
|
|
74
|
+
db+) ;;
|
|
75
|
+
db++) ;;
|
|
76
|
+
|
|
77
|
+
fancyprompt|fprompt) ;;
|
|
78
|
+
autologin|alogin) ;;
|
|
79
|
+
|
|
80
|
+
toram|toram=*) ;;
|
|
81
|
+
|
|
82
|
+
noremaster) ;;
|
|
83
|
+
rollback) ;;
|
|
84
|
+
lang=*) ;;
|
|
85
|
+
|
|
86
|
+
noclear) ;;
|
|
87
|
+
gfxsave|gfxsave=*) ;;
|
|
88
|
+
|
|
89
|
+
checkfs) ;;
|
|
90
|
+
nocheckfs) ;;
|
|
91
|
+
|
|
92
|
+
failsafe) ;;
|
|
93
|
+
load=*) ;;
|
|
94
|
+
bl=*|blacklist=*) ;;
|
|
95
|
+
|
|
96
|
+
coldplug) ;;
|
|
97
|
+
hotplug) ;;
|
|
98
|
+
traceload) ;;
|
|
99
|
+
autoload|aload) ;;
|
|
100
|
+
|
|
101
|
+
init=*) ;;
|
|
102
|
+
|
|
103
|
+
nousb2|noehci) ;;
|
|
104
|
+
|
|
105
|
+
noerrlog) ;;
|
|
106
|
+
errtest) ;;
|
|
107
|
+
errtest=*) ;;
|
|
108
|
+
noerr=*) ;;
|
|
109
|
+
|
|
110
|
+
vtblank=*) ;;
|
|
111
|
+
|
|
112
|
+
livedir=*|ldir=*) ;;
|
|
113
|
+
pw|passwd|pw=*|passwd=*) ;;
|
|
114
|
+
private|private=*) ;;
|
|
115
|
+
bootchart) ;;
|
|
116
|
+
noplink) ;;
|
|
117
|
+
plink) ;;
|
|
118
|
+
|
|
119
|
+
disable=*|nosysv=*) ;;
|
|
120
|
+
disable_srv=*|disable_service=*) ;;
|
|
121
|
+
lean|mean|Xtralean|nodbus) ;;
|
|
122
|
+
initcall_debug|printk.time=y) ;;
|
|
123
|
+
|
|
124
|
+
# Convenience short cuts from our menus
|
|
125
|
+
persist_all) ;;
|
|
126
|
+
persist_root) ;;
|
|
127
|
+
persist_static) ;;
|
|
128
|
+
p_static_root) ;;
|
|
129
|
+
persist_home) ;;
|
|
130
|
+
frugal_persist) ;;
|
|
131
|
+
frugal_root) ;;
|
|
132
|
+
frugal_static) ;;
|
|
133
|
+
f_static_root) ;;
|
|
134
|
+
frugal_home) ;;
|
|
135
|
+
frugal_only) ;;
|
|
136
|
+
nostore) ;;
|
|
137
|
+
dostore) ;;
|
|
138
|
+
disablestore) ;;
|
|
139
|
+
fatuid=*|fatgid=*) ;;
|
|
140
|
+
live_swap=*) ;;
|
|
141
|
+
mk_swap_file) ;;
|
|
142
|
+
mk_swap_file=*) ;;
|
|
143
|
+
notmptmp) ;;
|
|
144
|
+
nomicrocode) ;;
|
|
145
|
+
nosavelogs) ;;
|
|
146
|
+
tty1on) ;;
|
|
147
|
+
splasht) ;;
|
|
148
|
+
splasht=*) ;;
|
|
149
|
+
st_tty=*) ;;
|
|
150
|
+
vcard=*) ;;
|
|
151
|
+
|
|
152
|
+
# Our Live params
|
|
153
|
+
hwclock=utc|hwclock=local|xorg|xorg=*|noearlyvid|earlyvid) ;;
|
|
154
|
+
amnt|amnt=*|automount|automount=*|confont=*|conkeys=*);;
|
|
155
|
+
desktop=*|dpi=*|fstab=*|hostname=*|kbd=*|kbopt=*|kbvar=*);;
|
|
156
|
+
lang=*|mirror=*|mount=*|noloadkeys|noprompt);;
|
|
157
|
+
nosplash|password|password=*|prompt|pw|pw=*|tz=*|ubp=*|ushow=*);;
|
|
158
|
+
uverb=*|xres=*|noxorg);;
|
|
159
|
+
desktheme=*) ;;
|
|
160
|
+
nosavestate|savestate|dbsavestate) ;;
|
|
161
|
+
deskdelay=*) ;;
|
|
162
|
+
udpi=*|sdpi=*) ;;
|
|
163
|
+
fontsize=*) ;;
|
|
164
|
+
norepo|norepo=*) ;;
|
|
165
|
+
conwidth=*);;
|
|
166
|
+
noautomount) ;;
|
|
167
|
+
vga=ask+save) ;;
|
|
168
|
+
|
|
169
|
+
skylakeflicker) ;;
|
|
170
|
+
i915powersave) ;;
|
|
171
|
+
|
|
172
|
+
aufs|overlayfs) ;;
|
|
173
|
+
wicd|nowicd) ;;
|
|
174
|
+
|
|
175
|
+
nomicrocode) ;;
|
|
176
|
+
live_swap=off) ;;
|
|
177
|
+
live_swap=force) ;;
|
|
178
|
+
live_swap=all-off) ;;
|
|
179
|
+
mk_swap_file=*) ;;
|
|
180
|
+
|
|
181
|
+
# Added by Grub
|
|
182
|
+
BOOT_IMAGE=*) ;;
|
|
183
|
+
|
|
184
|
+
# Sometimes added with grub loop mounts
|
|
185
|
+
*root=*) ;;
|
|
186
|
+
|
|
187
|
+
# Added by live-Grub menu
|
|
188
|
+
grubsave) ;;
|
|
189
|
+
kernel=*) ;;
|
|
190
|
+
extra=*) ;;
|
|
191
|
+
|
|
192
|
+
*) printf "%s " "$param"
|
|
193
|
+
esac
|
|
194
|
+
done
|