penguins-eggs 9.3.8 → 9.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":"9.3.8","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":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\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"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},"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\nstart a PXE server with dhcp-proxy (can coexists with a real dhcp server)\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"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},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs install\nInstall the system using krill installer\n"],"flags":{"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"none":{"name":"none","type":"boolean","char":"n","description":"Swap none: 256M","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","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":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"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":[]},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"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 \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode (CRYPTED)","allowNo":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":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},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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 restore"],"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},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","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":[]},"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"],"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 penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"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":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"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},"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":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","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":[],"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":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove PPA repositories (Debian family)","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","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":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"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":[],"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":["$ eggs yolk -v"],"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":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","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":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":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},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
1
+ {"version":"9.3.11","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":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\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"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},"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\nstart a PXE server with dhcp-proxy (can coexists with a real dhcp server)\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"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},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs install\nInstall the system using krill installer\n"],"flags":{"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"none":{"name":"none","type":"boolean","char":"n","description":"Swap none: 256M","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","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":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"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":[]},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"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 \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode (CRYPTED)","allowNo":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":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},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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 restore"],"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},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","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":[]},"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"],"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 penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"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":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"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},"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":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","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":[],"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":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove PPA repositories (Debian family)","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","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":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"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":[],"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":["$ eggs yolk -v"],"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":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","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":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","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":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":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},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
package/README.md CHANGED
@@ -205,7 +205,7 @@ DESCRIPTION
205
205
  adapt monitor resolution for VM only
206
206
  ```
207
207
 
208
- _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/adapt.js)_
208
+ _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/adapt.js)_
209
209
 
210
210
  ## `eggs analyze`
211
211
 
@@ -226,7 +226,7 @@ EXAMPLES
226
226
  $ sudo eggs analyze
227
227
  ```
228
228
 
229
- _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/analyze.js)_
229
+ _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/analyze.js)_
230
230
 
231
231
  ## `eggs autocomplete [SHELL]`
232
232
 
@@ -255,7 +255,7 @@ EXAMPLES
255
255
  $ eggs autocomplete --refresh-cache
256
256
  ```
257
257
 
258
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.3/src/commands/autocomplete/index.ts)_
258
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.7/src/commands/autocomplete/index.ts)_
259
259
 
260
260
  ## `eggs calamares`
261
261
 
@@ -284,7 +284,7 @@ EXAMPLES
284
284
  install calamares and create it's configuration's files
285
285
  ```
286
286
 
287
- _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/calamares.js)_
287
+ _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/calamares.js)_
288
288
 
289
289
  ## `eggs config`
290
290
 
@@ -308,7 +308,7 @@ EXAMPLES
308
308
  Configure and install prerequisites deb packages to run it
309
309
  ```
310
310
 
311
- _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/config.js)_
311
+ _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/config.js)_
312
312
 
313
313
  ## `eggs cuckoo`
314
314
 
@@ -329,7 +329,7 @@ EXAMPLES
329
329
  start a PXE server with dhcp-proxy (can coexists with a real dhcp server)
330
330
  ```
331
331
 
332
- _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/cuckoo.js)_
332
+ _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/cuckoo.js)_
333
333
 
334
334
  ## `eggs dad`
335
335
 
@@ -349,7 +349,7 @@ DESCRIPTION
349
349
  ask help from daddy - configuration helper
350
350
  ```
351
351
 
352
- _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/dad.js)_
352
+ _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/dad.js)_
353
353
 
354
354
  ## `eggs export deb`
355
355
 
@@ -405,7 +405,7 @@ DESCRIPTION
405
405
  Display help for eggs.
406
406
  ```
407
407
 
408
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.16/src/commands/help.ts)_
408
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.20/src/commands/help.ts)_
409
409
 
410
410
  ## `eggs install`
411
411
 
@@ -436,7 +436,7 @@ EXAMPLES
436
436
  Install the system using krill installer
437
437
  ```
438
438
 
439
- _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/install.js)_
439
+ _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/install.js)_
440
440
 
441
441
  ## `eggs kill`
442
442
 
@@ -458,7 +458,7 @@ EXAMPLES
458
458
  kill the eggs/free the nest
459
459
  ```
460
460
 
461
- _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/kill.js)_
461
+ _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/kill.js)_
462
462
 
463
463
  ## `eggs mom`
464
464
 
@@ -475,7 +475,7 @@ DESCRIPTION
475
475
  ask for mommy - gui helper
476
476
  ```
477
477
 
478
- _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/mom.js)_
478
+ _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/mom.js)_
479
479
 
480
480
  ## `eggs produce`
481
481
 
@@ -537,7 +537,7 @@ EXAMPLES
537
537
  in /home/eggs/ovarium and you can customize all you need
538
538
  ```
539
539
 
540
- _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/produce.js)_
540
+ _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/produce.js)_
541
541
 
542
542
  ## `eggs status`
543
543
 
@@ -555,7 +555,7 @@ DESCRIPTION
555
555
  informations about eggs status
556
556
  ```
557
557
 
558
- _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/status.js)_
558
+ _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/status.js)_
559
559
 
560
560
  ## `eggs syncfrom`
561
561
 
@@ -579,7 +579,7 @@ EXAMPLES
579
579
  $ sudo eggs restore
580
580
  ```
581
581
 
582
- _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/syncfrom.js)_
582
+ _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/syncfrom.js)_
583
583
 
584
584
  ## `eggs syncto`
585
585
 
@@ -602,7 +602,7 @@ EXAMPLES
602
602
  $ sudo eggs syncto
603
603
  ```
604
604
 
605
- _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/syncto.js)_
605
+ _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/syncto.js)_
606
606
 
607
607
  ## `eggs tools clean`
608
608
 
@@ -715,7 +715,7 @@ EXAMPLES
715
715
  update/upgrade the penguin's eggs tool
716
716
  ```
717
717
 
718
- _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.8/dist/commands/update.js)_
718
+ _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.11/dist/commands/update.js)_
719
719
 
720
720
  ## `eggs version`
721
721
 
@@ -4,9 +4,9 @@ Version=1.0
4
4
  Name=Install System
5
5
  GenericName=System Installer
6
6
  Keywords=calamares;system;installer;
7
- Exec=sh -c "pkexec /usr/bin/calamares"
8
- # Exec=pkexec calamares
9
- TryExec=calamares
7
+ #Exec=sh -c "pkexec /usr/bin/calamares"
8
+ Exec=install-debian
9
+ #TryExec=calamares
10
10
  Comment=Calamares — System Installer
11
11
  Icon=install-debian
12
12
  Terminal=false
@@ -7,9 +7,9 @@
7
7
  sudo mv /etc/fstab /etc/fstab.orig.calamares
8
8
 
9
9
  # Access control to run calamares as root for xwayland
10
- #xhost +si:localuser:root
10
+ xhost +si:localuser:root
11
11
  pkexec calamares
12
- #xhost -si:localuser:root
12
+ xhost -si:localuser:root
13
13
 
14
14
  # Restore stale fstab, for what it's worth
15
15
  sudo mv /etc/fstab.orig.calamares /etc/fstab
package/conf/eggs.yaml CHANGED
@@ -13,7 +13,7 @@ snapshot_prefix: ''
13
13
  snapshot_excludes: /usr/local/share/penguins-eggs/exclude.list
14
14
 
15
15
  # snapshot_basename, default: ''
16
- snapshot_basename: ''
16
+ snapshot_basename: '' # max 32 chars [A-Z0-9_]
17
17
 
18
18
  # user liveCD, default: live
19
19
  user_opt: live
package/conf/tools.yaml CHANGED
@@ -4,7 +4,7 @@
4
4
  penguins_eggs_conf: /etc/penguins-eggs.d/eggs.yaml
5
5
 
6
6
  # you can adapt this configuration to your needs
7
- remoteHost: 192.168.61.2
7
+ remoteHost: 192.168.1.2
8
8
 
9
9
  # path to remote host
10
10
  remotePathDeb: /eggs/
@@ -293,15 +293,17 @@ class Distro {
293
293
  break;
294
294
  }
295
295
  /**
296
- * Arch Linux
296
+ * Arch Linux / RebornOS
297
+ * calamares rebornOS: Reborn-OS/calamares-core-git
297
298
  */
298
299
  case 'n/a': {
299
300
  this.familyId = 'archlinux';
300
301
  this.distroLike = 'Arch';
301
302
  this.codenameId = 'rolling';
302
303
  this.codenameLikeId = 'rolling';
303
- this.liveMediumPath = `/run/archiso/copytoram/`;
304
- this.squashfs = `airootfs.sfs`;
304
+ this.liveMediumPath = '/run/archiso/copytoram/';
305
+ this.squashfs = `/airootfs.sfs`;
306
+ //this.squashfs = `arch/x86_64/airootfs.sfs`
305
307
  break;
306
308
  }
307
309
  /**
@@ -317,35 +319,6 @@ class Distro {
317
319
  this.squashfs = `manjaro/x86_64/livefs.sfs`;
318
320
  break;
319
321
  }
320
- /**
321
- * GARUDA
322
- */
323
- case 'Harpy-Eagle':
324
- case 'White-tailed-eagle': {
325
- this.familyId = 'archlinux';
326
- this.distroLike = 'Arch';
327
- this.codenameLikeId = 'rolling';
328
- break;
329
- }
330
- /**
331
- * FEDORA
332
- */
333
- case 'ThirtyFive': {
334
- this.familyId = 'fedora';
335
- this.distroLike = 'Fedora';
336
- this.codenameLikeId = 'thirtyfive';
337
- break;
338
- /**
339
- * openSuse
340
- */
341
- }
342
- case 'tumbleweed': {
343
- this.familyId = 'suse';
344
- this.distroLike = 'SUSE';
345
- this.codenameId = 'tumbleweed';
346
- this.codenameLikeId = 'tumbleweed';
347
- break;
348
- }
349
322
  default: {
350
323
  /**
351
324
  * se proprio non riesco provo con Debian buster
@@ -223,7 +223,7 @@ class Ovary {
223
223
  await (0, utils_1.exec)(`ln ${this.settings.work_dir.pathIso}live/filesystem.squashfs ${this.settings.work_dir.pathIso}manjaro/x86_64/livefs.sfs`, this.echo);
224
224
  await (0, utils_1.exec)(`md5sum ${this.settings.work_dir.pathIso}live/filesystem.squashfs > ${this.settings.work_dir.pathIso}manjaro/x86_64/livefs.md5`, this.echo);
225
225
  }
226
- else if (this.settings.distro.distroId === 'Arch') {
226
+ else if (this.settings.distro.distroId === 'Arch' || this.settings.distro.distroId === 'RebornOS') {
227
227
  await (0, utils_1.exec)(`mkdir ${this.settings.work_dir.pathIso}arch/x86_64 -p`, this.echo);
228
228
  await (0, utils_1.exec)(`ln ${this.settings.work_dir.pathIso}live/filesystem.squashfs ${this.settings.work_dir.pathIso}arch/x86_64/airootfs.sfs`, this.echo);
229
229
  await (0, utils_1.exec)(`sha512sum ${this.settings.work_dir.pathIso}live/filesystem.squashfs > ${this.settings.work_dir.pathIso}arch/x86_64/airootfs.sha512`, this.echo);
@@ -553,7 +553,7 @@ class Ovary {
553
553
  if (this.settings.distro.distroId === 'ManjaroLinux') {
554
554
  kernel_parameters += ` misobasedir=manjaro misolabel=${volid}`;
555
555
  }
556
- else if (this.settings.distro.distroId === 'Arch') {
556
+ else if (this.settings.distro.distroId === 'Arch' || this.settings.distro.distroId === 'RebornOS') {
557
557
  kernel_parameters += ` archisobasedir=arch archisolabel=${volid} cow_spacesize=4G`;
558
558
  }
559
559
  }
@@ -611,7 +611,7 @@ class Ovary {
611
611
  if (this.settings.distro.distroId === 'ManjaroLinux') {
612
612
  await (0, utils_1.exec)(`mkinitcpio -c ${node_path_1.default.resolve(__dirname, '../../mkinitcpio/manjaro/mkinitcpio-produce.conf')} -g ${this.settings.work_dir.pathIso}/live/${initrdImg}`, utils_2.default.setEcho(true));
613
613
  }
614
- else if (this.settings.distro.distroId === 'Arch') {
614
+ else if (this.settings.distro.distroId === 'Arch' || this.settings.distro.distroId === 'RebornOS') {
615
615
  await (0, utils_1.exec)(`mkinitcpio -c ${node_path_1.default.resolve(__dirname, '../../mkinitcpio/archlinux/mkinitcpio-produce.conf')} -g ${this.settings.work_dir.pathIso}/live/${initrdImg}`, utils_2.default.setEcho(true));
616
616
  }
617
617
  }
@@ -782,7 +782,7 @@ class Ovary {
782
782
  let cmd = '';
783
783
  const cmds = [];
784
784
  cmds.push('# NOTE: cdrom, dev, live, media, mnt, proc, run, sys and tmp', `# need just a mkdir in ${this.settings.work_dir.merged}`);
785
- cmds.push(`# host: ${node_os_1.default.hostname()} user: ${utils_2.default.getPrimaryUser()}\n`);
785
+ cmds.push(`# host: ${node_os_1.default.hostname()} user: ${await utils_2.default.getPrimaryUser()}\n`);
786
786
  for (const dir of dirs) {
787
787
  cmds.push(startLine);
788
788
  if (n8_1.default.isDirectory(dir)) {
@@ -857,7 +857,7 @@ class Ovary {
857
857
  }
858
858
  const cmds = [];
859
859
  cmds.push('# NOTE: home, cdrom, dev, live, media, mnt, proc, run, sys and tmp', `# need just to be removed in ${this.settings.work_dir.merged}`);
860
- cmds.push(`# host: ${node_os_1.default.hostname()} user: ${utils_2.default.getPrimaryUser()}\n`);
860
+ cmds.push(`# host: ${node_os_1.default.hostname()} user: ${await utils_2.default.getPrimaryUser()}\n`);
861
861
  // await exec(`/usr/bin/pkill mksquashfs; /usr/bin/pkill md5sum`, {echo: true})
862
862
  if (fs_1.default.existsSync(this.settings.work_dir.merged)) {
863
863
  const bindDirs = fs_1.default.readdirSync(this.settings.work_dir.merged, {
@@ -1115,7 +1115,7 @@ class Ovary {
1115
1115
  fs_1.default.writeFileSync(script, text, 'utf8');
1116
1116
  await (0, utils_1.exec)(`chmod a+x ${script}`, this.echo);
1117
1117
  }
1118
- await xdg_1.default.autologin(utils_2.default.getPrimaryUser(), this.settings.config.user_opt, this.settings.work_dir.merged);
1118
+ await xdg_1.default.autologin(await utils_2.default.getPrimaryUser(), this.settings.config.user_opt, this.settings.work_dir.merged);
1119
1119
  }
1120
1120
  /**
1121
1121
  * Creazione link desktop per lxde
@@ -1324,7 +1324,7 @@ class Ovary {
1324
1324
  if (this.settings.distro.distroId === 'ManjaroLinux') {
1325
1325
  kernel_parameters += ` misobasedir=manjaro misolabel=${volid}`;
1326
1326
  }
1327
- else if (this.settings.distro.distroId === 'Arch') {
1327
+ else if (this.settings.distro.distroId === 'Arch' || this.settings.distro.distroId === 'RebornOS') {
1328
1328
  kernel_parameters += ` archisobasedir=arch archisolabel=${volid} cow_spacesize=4G`;
1329
1329
  }
1330
1330
  }
@@ -42,7 +42,7 @@ class Pxe {
42
42
  await this.settings.load();
43
43
  if (utils_1.default.isLive()) {
44
44
  this.eggRoot = this.settings.distro.liveMediumPath;
45
- if (this.settings.distro.distroId === 'Arch') {
45
+ if (this.settings.distro.distroId === 'Arch' || this.settings.distro.distroId === 'RebornOS') {
46
46
  this.eggRoot = '/run/archiso/bootmnt/';
47
47
  await (0, utils_2.exec)(`mkdir ${this.eggRoot} -p`);
48
48
  await (0, utils_2.exec)(`mount /dev/sr0 ${this.eggRoot}`);
@@ -128,7 +128,7 @@ class Pxe {
128
128
  if (this.settings.distro.distroId === 'ManjaroLinux') {
129
129
  await this.tryCatch(`ln -s ${this.eggRoot}manjaro ${this.pxeRoot}/manjaro`);
130
130
  }
131
- else if (this.settings.distro.distroId === 'Arch') {
131
+ else if (this.settings.distro.distroId === 'Arch' || this.settings.distro.distroId === 'RebornOS') {
132
132
  await this.tryCatch(`ln -s ${this.eggRoot}arch ${this.pxeRoot}/arch`);
133
133
  }
134
134
  if (fs_1.default.existsSync(this.eggRoot)) {
@@ -331,7 +331,7 @@ class Tailor {
331
331
  * Copyng skel in /home/user
332
332
  */
333
333
  if (fs_1.default.existsSync(`${this.costume}/dirs/etc/skel`)) {
334
- const user = utils_1.default.getPrimaryUser();
334
+ const user = await utils_1.default.getPrimaryUser();
335
335
  step = `copying skel in /home/${user}/`;
336
336
  utils_1.default.warning(step);
337
337
  cmd = `rsync -avx ${this.costume}/dirs/etc/skel/.config /home/${user}/`;
@@ -19,6 +19,8 @@ const pacman_1 = tslib_1.__importDefault(require("./pacman"));
19
19
  // import { green, whiteBright } from 'chalk'
20
20
  const child_process_1 = require("child_process");
21
21
  const netmask_1 = require("netmask");
22
+ // libraries
23
+ const utils_1 = require("../lib/utils");
22
24
  const distro_1 = tslib_1.__importDefault(require("./distro"));
23
25
  const pjson = require('../../package.json');
24
26
  /**
@@ -94,7 +96,7 @@ class Utils {
94
96
  }
95
97
  // Arch
96
98
  let distro = new distro_1.default();
97
- if (distro.distroId === 'Arch') {
99
+ if (distro.distroId === 'Arch' || distro.distroId === 'RebornOS') {
98
100
  vmlinuz = '/boot/vmlinuz-linux';
99
101
  }
100
102
  // btrfs
@@ -128,7 +130,7 @@ class Utils {
128
130
  version = vmlinuz.substring(vmlinuz.indexOf('-'));
129
131
  }
130
132
  let distro = new distro_1.default();
131
- if (distro.distroId === 'Arch') {
133
+ if (distro.distroId === 'Arch' || distro.distroId === 'RebornOS') {
132
134
  initrd = '/boot/initramfs-linux.img';
133
135
  }
134
136
  else {
@@ -162,14 +164,10 @@ class Utils {
162
164
  /**
163
165
  * Return the primary user's name
164
166
  */
165
- static getPrimaryUser() {
166
- // const primaryUser = shx.exec('echo $SUDO_USER', { silent: true }).stdout.trim()
167
- let primaryUser = '';
168
- if (process.env.SUDO_USER !== undefined) {
169
- primaryUser = process.env.SUDO_USER;
170
- }
167
+ static async getPrimaryUser() {
168
+ let primaryUser = (await (0, utils_1.exec)('/usr/bin/logname', { echo: false, ignore: false, capture: true })).data.trim();
171
169
  if (primaryUser === '') {
172
- console.log('Cannot find your user name. Log as normal user and run: $sudo eggs [COMMAND]');
170
+ console.log(`Cannot find your user name...`);
173
171
  process.exit(1);
174
172
  }
175
173
  return primaryUser;
@@ -866,7 +864,7 @@ class Utils {
866
864
  static async wardrobe() {
867
865
  let wardrobe = `${os_1.default.homedir()}/.wardrobe`;
868
866
  if (Utils.isRoot()) {
869
- wardrobe = `/home/${Utils.getPrimaryUser()}/.wardrobe`;
867
+ wardrobe = `/home/${await Utils.getPrimaryUser()}/.wardrobe`;
870
868
  // let result = await exec(`echo $(logname)`, { echo: false, capture: true })
871
869
  // let result = await exec(`echo $(SUDO_USER)`, { echo: false, capture: true })
872
870
  //if (result.code === 0) {
@@ -35,7 +35,7 @@ class Xdg {
35
35
  else {
36
36
  xdg_dirs.forEach(async (dir) => {
37
37
  if (dir === xdg_dir) {
38
- retval = node_path_1.default.basename(shelljs_1.default.exec(`sudo -u ${utils_1.default.getPrimaryUser()} xdg-user-dir ${dir}`, { silent: true }).stdout.trim());
38
+ retval = node_path_1.default.basename(shelljs_1.default.exec(`sudo -u ${await utils_1.default.getPrimaryUser()} xdg-user-dir ${dir}`, { silent: true }).stdout.trim());
39
39
  }
40
40
  });
41
41
  }
@@ -207,6 +207,8 @@ class Xdg {
207
207
  await (0, utils_2.exec)(`mkdir /etc/skel/.local/share -p`, echo);
208
208
  await rsyncIfExist(`/home/${user}/.local/share/recently-used.xbel`, '/etc/skel/.local/share', verbose);
209
209
  }
210
+ // .linuxfx we need it for linuxfx
211
+ await rsyncIfExist(`/home/${user}/.linuxfx`, `/etc/skel`, verbose);
210
212
  await (0, utils_2.exec)('chown root:root /etc/skel -R', echo);
211
213
  await (0, utils_2.exec)('chmod a+rwx,g-w,o-w /etc/skel/ -R', echo);
212
214
  await execIfExist('chmod a+rwx,g-w-x,o-wx', '/etc/skel/.bashrc', verbose);
@@ -80,6 +80,15 @@ class Produce extends core_1.Command {
80
80
  let theme = 'eggs';
81
81
  if (flags.theme !== undefined) {
82
82
  theme = flags.theme;
83
+ if (theme.includes('/')) {
84
+ if (theme.endsWith('/')) {
85
+ theme = theme.substring(0, theme.length - 1);
86
+ }
87
+ if (!node_fs_1.default.existsSync(theme + '/theme')) {
88
+ console.log('Cannot find theme: ' + theme);
89
+ process.exit();
90
+ }
91
+ }
83
92
  }
84
93
  const nointeractive = false;
85
94
  const i = await config_1.default.thatWeNeed(nointeractive, verbose, backup);
@@ -20,7 +20,7 @@ class Skel extends core_1.Command {
20
20
  verbose = true;
21
21
  }
22
22
  let user = '';
23
- user = flags.user ? flags.user : utils_1.default.getPrimaryUser();
23
+ user = flags.user ? flags.user : await utils_1.default.getPrimaryUser();
24
24
  utils_1.default.warning(`user: ${user}`);
25
25
  const homeSource = `/home/${user}`;
26
26
  if (!fs_1.default.existsSync(homeSource)) {
@@ -405,7 +405,7 @@ class Sequence {
405
405
  message = "autologin GUI";
406
406
  percent = 0.65;
407
407
  if (this.users.autologin) {
408
- await xdg_1.default.autologin(utils_1.default.getPrimaryUser(), this.users.name, this.installTarget);
408
+ await xdg_1.default.autologin(await utils_1.default.getPrimaryUser(), this.users.name, this.installTarget);
409
409
  }
410
410
  await redraw(react_1.default.createElement(install_1.default, { message: message, percent: percent }));
411
411
  }
File without changes
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.3.8",
4
+ "version": "9.3.11",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
10
10
  "dependencies": {
11
- "@oclif/core": "^1.20.4",
12
- "@oclif/plugin-autocomplete": "1.3.3",
13
- "@oclif/plugin-help": "^5.1.16",
14
- "@oclif/plugin-not-found": "^2.3.6",
11
+ "@oclif/core": "^1.21.0",
12
+ "@oclif/plugin-autocomplete": "1.3.7",
13
+ "@oclif/plugin-help": "^5.1.20",
14
+ "@oclif/plugin-not-found": "^2.3.9",
15
15
  "@oclif/plugin-version": "^1.1.3",
16
- "@oclif/plugin-warn-if-update-available": "^2.0.9",
17
- "@oclif/test": "^2.2.4",
18
- "axios": "^1.1.3",
16
+ "@oclif/plugin-warn-if-update-available": "^2.0.16",
17
+ "@oclif/test": "^2.2.15",
18
+ "axios": "^1.2.1",
19
19
  "chalk": "^4.1.2",
20
20
  "ink": "^3.2.0",
21
21
  "ink-big-text": "^1.2.0",
@@ -25,37 +25,37 @@
25
25
  "mustache": "^4.2.0",
26
26
  "netmask": "^2.0.2",
27
27
  "node-static": "^0.7.11",
28
- "penguins-oclif": "^9.1.37",
28
+ "oclif-pnpm": "^3.4.2",
29
29
  "react": "^17.0.2",
30
30
  "shelljs": "0.8.5",
31
31
  "tftp": "^0.1.2",
32
- "tslib": "^2.4.0",
33
- "typescript": "^4.8.4"
32
+ "tslib": "^2.4.1",
33
+ "typescript": "^4.9.4"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@tsconfig/recommended": "^1.0.1",
37
- "@types/chai": "^4.3.3",
37
+ "@types/chai": "^4.3.4",
38
38
  "@types/ini": "^1.3.31",
39
39
  "@types/ink-big-text": "^1.2.1",
40
40
  "@types/ink-gradient": "^2.0.1",
41
- "@types/inquirer": "^9.0.2",
41
+ "@types/inquirer": "^9.0.3",
42
42
  "@types/js-yaml": "^4.0.5",
43
- "@types/mocha": "^10.0.0",
44
- "@types/mustache": "^4.2.1",
43
+ "@types/mocha": "^10.0.1",
44
+ "@types/mustache": "^4.2.2",
45
45
  "@types/netmask": "^1.0.30",
46
- "@types/node": "^18.11.3",
46
+ "@types/node": "^18.11.13",
47
47
  "@types/node-static": "^0.7.7",
48
- "@types/react": "^18.0.21",
48
+ "@types/react": "^18.0.26",
49
49
  "@types/shelljs": "^0.8.11",
50
- "@typescript-eslint/parser": "^5.40.1",
51
- "chai": "^4.3.6",
50
+ "@typescript-eslint/parser": "^5.46.0",
51
+ "chai": "^4.3.7",
52
52
  "eslint": "^7.32.0",
53
53
  "eslint-config-oclif": "^4.0.0",
54
54
  "eslint-config-oclif-typescript": "^1.0.3",
55
55
  "globby": "^11.1.0",
56
- "mocha": "^10.1.0",
56
+ "mocha": "^10.2.0",
57
57
  "nyc": "^15.1.0",
58
- "perrisbrewery": "^9.3.4",
58
+ "perrisbrewery": "^9.3.12",
59
59
  "ts-node": "^10.9.1"
60
60
  },
61
61
  "peerDependencies": {