penguins-eggs 9.4.12 → 9.4.15

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.
Files changed (26) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/README.md +2 -2
  3. package/conf/distros/rolling/calamares/modules/users.yml +3 -3
  4. package/dist/classes/distro.js +2 -3
  5. package/dist/classes/incubation/fisherman.js +2 -0
  6. package/dist/classes/ovary.js +44 -45
  7. package/dist/classes/utils.js +17 -69
  8. package/dist/classes/xdg.js +0 -3
  9. package/mkinitcpio/README.md +10 -7
  10. package/mkinitcpio/{archlinux/mkinitcpio-produce.conf → arch/live.conf} +1 -1
  11. package/mkinitcpio/{archlinux/mkinitcpio-install.conf → arch/mkinitcpio.conf} +1 -1
  12. package/mkinitcpio/blendos/README.md +0 -7
  13. package/mkinitcpio/blendos/live.conf +7 -0
  14. package/mkinitcpio/blendos/{mkinitcpio-install.conf → mkinitcpio.conf} +1 -1
  15. package/package.json +1 -1
  16. package/mkinitcpio/archlinux/README.md +0 -212
  17. package/mkinitcpio/archlinux/archinstall/user_configuration.json +0 -42
  18. package/mkinitcpio/archlinux/archinstall/user_credentials.json +0 -9
  19. package/mkinitcpio/archlinux/archinstall/user_disk_layout.json +0 -31
  20. package/mkinitcpio/blendos/mkinitcpio-produce.conf +0 -7
  21. /package/addons/eggs/theme/calamares/modules/{users.yml → _users.yml} +0 -0
  22. /package/mkinitcpio/crystal/{mkinitcpio-produce.conf → live.conf} +0 -0
  23. /package/mkinitcpio/crystal/{mkinitcpio-install.conf → mkinitcpio.conf} +0 -0
  24. /package/mkinitcpio/{manjaro → manjarolinux}/README.md +0 -0
  25. /package/mkinitcpio/{manjaro/mkinitcpio-produce.conf → manjarolinux/live.conf} +0 -0
  26. /package/mkinitcpio/{manjaro/mkinitcpio-install.conf → manjarolinux/mkinitcpio.conf} +0 -0
@@ -1 +1 @@
1
- {"version":"9.4.12","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and its dependencies","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme /path/to/theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove PPA repositories (Debian family)","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.4.15","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs adapt"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"calamares":{"id":"calamares","description":"configure calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs calamares","sudo eggs calamares --install","sudo eggs calamares --install --theme=/path/to/theme","sudo eggs calamares --remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and its dependencies","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"release":{"name":"release","type":"boolean","char":"r","description":"release: remove calamares and all its dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","description":"remove calamares and its dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs config","sudo eggs config --clean","sudo eggs config --clean --nointeractive"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"cuckoo":{"id":"cuckoo","description":"PXE start with proxy-dhcp","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs cuckoo"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"dad":{"id":"dad","description":"ask help from daddy - TUI configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo dad","sudo dad --clean","sudo dad --default"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"install":{"id":"install","description":"krill: the CLI system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs install","sudo eggs install --unattended --halt","sudo eggs install --custom it"],"flags":{"crypted":{"name":"crypted","type":"boolean","char":"k","description":"Crypted CLI installation","allowNo":false},"custom":{"name":"custom","type":"option","char":"c","description":"custom unattended configuration","multiple":false},"domain":{"name":"domain","type":"option","char":"d","description":"Domain name, defult: .local","multiple":false},"halt":{"name":"halt","type":"boolean","char":"H","description":"Halt the system after installation","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"ip":{"name":"ip","type":"boolean","char":"i","description":"hostname as ip, eg: ip-192-168-1-33","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"none":{"name":"none","type":"boolean","char":"N","description":"Swap none: 256M","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"random":{"name":"random","type":"boolean","char":"r","description":"Add random to hostname, eg: colibri-ay412dt","allowNo":false},"small":{"name":"small","type":"boolean","char":"s","description":"Swap small: RAM","allowNo":false},"suspend":{"name":"suspend","type":"boolean","char":"S","description":"Swap suspend: RAM x 2","allowNo":false},"unattended":{"name":"unattended","type":"boolean","char":"u","description":"Unattended installation","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs kill"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"mom":{"id":"mom","description":"ask help from mommy - TUI helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs mom"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs produce","sudo eggs produce --standard","sudo eggs produce --max","sudo eggs produce --max --basename=colibri","sudo eggs produce --cryptedclone","sudo eggs produce --clone","sudo eggs produce --basename=colibri","sudo eggs produce --basename=colibri --theme /path/to/theme --addons adapt"],"flags":{"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"clone":{"name":"clone","type":"boolean","char":"c","description":"clone","allowNo":false},"cryptedclone":{"name":"cryptedclone","type":"boolean","char":"C","description":"crypted clone","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"release":{"name":"release","type":"boolean","description":"release: max compression, remove penguins-eggs and calamares after installation","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"standard":{"name":"standard","type":"boolean","char":"f","description":"standard compression","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false}},"args":[]},"status":{"id":"status","description":"informations about eggs status","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs status"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"syncfrom":{"id":"syncfrom","description":"restore users and user data from a LUKS volumes","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncfrom","sudo eggs syncfrom --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"syncto":{"id":"syncto","description":"saves users and user data in a LUKS volume inside the iso","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs syncto","sudo eggs syncto --file /path/to/fileLUKS"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"update":{"id":"update","description":"update the Penguins' eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs update"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export deb","eggs export deb --clean","eggs export deb --all"],"flags":{"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs export iso","eggs export iso --clean"],"flags":{"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools clean"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:ppa":{"id":"tools:ppa","description":"add/remove PPA repositories (Debian family)","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools ppa --add","sudo eggs tools ppa --remove"],"flags":{"add":{"name":"add","type":"boolean","char":"a","description":"add penguins-eggs PPA repository","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"no user interaction","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove penguins-eggs PPA repository","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[]},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools skel","sudo eggs tools skel --user user-to-be-copied"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs tools stat","eggs tools stat --month","eggs tools stat --year"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[]},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs tools yolk"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe get","eggs wardrobe get your-wardrobe"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}]},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe list","eggs wardrobe list your-wardrobe","eggs wardrobe list --distro arch"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"distro":{"name":"distro","type":"option","char":"d","description":"distro","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}]},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}],"example":["eggs wardrobe show colibri","eggs wardrobe show accessories/firmwares","eggs wardrobe show accessories/"]},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["sudo eggs wardrobe wear duck","sudo eggs wardrobe wear accessories/firmwares","sudo eggs wardrobe wear wagtail/waydroid"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"a","description":"not install accessories","allowNo":false},"no_firmwares":{"name":"no_firmwares","type":"boolean","char":"f","description":"not install firmwares","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false}},"args":[{"name":"costume","description":"costume","required":false}]}}}
package/README.md CHANGED
@@ -105,7 +105,7 @@ There are more than a way to install eggs as .deb package, the most practical is
105
105
  The simplest way to install eggs is download the [package eggs](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) from [sourceforge page of the project](https://sourceforge.net/projects/penguins-eggs/) and install it
106
106
 
107
107
  ```
108
- sudo dpkg -i eggs_9.4.12_amd64.deb
108
+ sudo dpkg -i eggs_9.4.15_amd64.deb
109
109
  ```
110
110
 
111
111
  or, on a i386 system:
@@ -131,7 +131,7 @@ sudo apt update && sudo apt install eggs
131
131
  ```
132
132
 
133
133
  ### Upgrade eggs
134
- If you are using penguins-eggs-ppa You can ugrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_9.4.12_amd64.deb**.
134
+ If you are using penguins-eggs-ppa You can ugrade eggs as others packages just: **sudo apt upgrade**, else simply download new versions of eggs from [sourgeforge page](https://sourceforge.net/projects/penguins-eggs/files/DEBS/) and install it with the standard command **sudo dpkg -i eggs_9.4.15_amd64.deb**.
135
135
 
136
136
 
137
137
  ## Arch families
@@ -1,11 +1,11 @@
1
- # Debian Buster
1
+ # Arch
2
2
  # users
3
3
  ---
4
4
  userGroup: users
5
5
  defaultGroups:
6
6
  - cdrom
7
7
  - floppy
8
- - sudo
8
+ - wheel
9
9
  - audio
10
10
  - dip
11
11
  - video
@@ -15,6 +15,6 @@ defaultGroups:
15
15
  - scanner
16
16
  - bluetooth
17
17
  autologinGroup: autologin
18
- sudoersGroup: sudo
18
+ sudoersGroup: wheel
19
19
  setRootPassword: true
20
20
  doReusePassword: false
@@ -174,12 +174,11 @@ class Distro {
174
174
  break;
175
175
  }
176
176
  /**
177
- * Arch Linux / RebornOS
178
- * calamares rebornOS: Reborn-OS/calamares-core-git
177
+ * Arch Linux
179
178
  */
180
179
  case 'n/a':
181
180
  case 'rolling': {
182
- // ARCH, BlendOS, RebornOS, EndeavourOS
181
+ // Arch, BlendOS, RebornOS, EndeavourOS
183
182
  this.familyId = 'archlinux';
184
183
  this.distroLike = 'Arch';
185
184
  this.codenameId = 'rolling';
@@ -92,6 +92,8 @@ class Fisherman {
92
92
  // console.log('creating calamares module ' + name)
93
93
  let moduleSource = node_path_1.default.resolve(__dirname, this.installer.templateModules + name + '.yml');
94
94
  /**
95
+ * Here we MUST revisit it and bring theme from wardrobe
96
+ *
95
97
  * We need vendor here to have possibility to load custom modules for calamares
96
98
  * the custom modules live in: /addons/vendor/theme/calamares/modules
97
99
  * and - if exist - take priority on distro modules on /conf/distros/calamares/modules
@@ -230,6 +230,7 @@ class Ovary {
230
230
  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);
231
231
  }
232
232
  else if (this.settings.distro.distroId === 'Arch' ||
233
+ this.settings.distro.distroId === 'blendOS' ||
233
234
  this.settings.distro.distroId === 'RebornOS' ||
234
235
  this.settings.distro.distroId === 'EndeavourOS') {
235
236
  await (0, utils_1.exec)(`mkdir ${this.settings.work_dir.pathIso}arch/x86_64 -p`, this.echo);
@@ -571,21 +572,7 @@ class Ovary {
571
572
  utils_2.default.warning('Cannot find: ' + isolinuxTemplate);
572
573
  process.exit();
573
574
  }
574
- /**
575
- * kernel_parameters are used by miso, archiso
576
- */
577
- let kernel_parameters = `boot=live components locales=${process.env.LANG}`;
578
- if (this.familyId === 'archlinux') {
579
- const volid = utils_2.default.getVolid(this.settings.remix.name);
580
- if (this.settings.distro.distroId === 'ManjaroLinux') {
581
- kernel_parameters += ` misobasedir=manjaro misolabel=${volid}`;
582
- }
583
- else if (this.settings.distro.distroId === 'Arch' ||
584
- this.settings.distro.distroId === 'RebornOS' ||
585
- this.settings.distro.distroId === 'EndeavourOS') {
586
- kernel_parameters += ` archisobasedir=arch archisolabel=${volid} cow_spacesize=4G`;
587
- }
588
- }
575
+ const kernel_parameters = this.kernelParameters();
589
576
  const template = fs_1.default.readFileSync(isolinuxTemplate, 'utf8');
590
577
  const view = {
591
578
  fullname: this.settings.remix.fullname.toUpperCase(),
@@ -609,6 +596,28 @@ class Ovary {
609
596
  }
610
597
  fs_1.default.copyFileSync(splashSrc, splashDest);
611
598
  }
599
+ /**
600
+ *
601
+ * @returns kernelParameters
602
+ */
603
+ kernelParameters() {
604
+ const distroId = this.settings.distro.distroId;
605
+ let kp = `boot=live components locales=${process.env.LANG}`;
606
+ if (this.familyId === 'archlinux') {
607
+ const volid = utils_2.default.getVolid(this.settings.remix.name);
608
+ if (distroId === 'Arch' ||
609
+ distroId === 'blendOS' ||
610
+ distroId === 'EndeavourOS' ||
611
+ distroId === 'RebornOS') {
612
+ kp += ` archisobasedir=arch archisolabel=${volid}`;
613
+ }
614
+ else if (distroId === 'ManjaroLinux') {
615
+ kp += ` misobasedir=manjaro misolabel=${volid}`;
616
+ }
617
+ kp += ` cow_spacesize=4G`;
618
+ }
619
+ return kp;
620
+ }
612
621
  /**
613
622
  * copy kernel
614
623
  */
@@ -637,20 +646,24 @@ class Ovary {
637
646
  let initrdImg = utils_2.default.initrdImg();
638
647
  initrdImg = initrdImg.slice(Math.max(0, initrdImg.lastIndexOf('/') + 1));
639
648
  utils_2.default.warning(`Creating ${initrdImg} in ${this.settings.work_dir.pathIso}/live/`);
640
- if (this.settings.distro.distroId === 'Arch' ||
641
- this.settings.distro.distroId === 'RebornOS' ||
642
- this.settings.distro.distroId === 'EndeavourOS') {
643
- 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));
644
- }
645
- else if (this.settings.distro.distroId === 'blendOS') {
646
- await (0, utils_1.exec)(`mkinitcpio -c ${node_path_1.default.resolve(__dirname, '../../mkinitcpio/blendos/mkinitcpio-produce.conf')} -g ${this.settings.work_dir.pathIso}/live/${initrdImg}`, utils_2.default.setEcho(true));
647
- }
648
- else if (this.settings.distro.distroId === 'ManjaroLinux') {
649
- 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));
649
+ const distroId = this.settings.distro.distroId;
650
+ let fileConf = 'archlinux';
651
+ if (distroId === 'Arch' ||
652
+ distroId === 'EndeavourOS' ||
653
+ distroId === 'RebornOS') {
654
+ /**
655
+ * Arch, EndeavoursOS and RebornOS use arch
656
+ */
657
+ fileConf = 'arch';
650
658
  }
651
- else if (this.settings.distro.distroId === 'Crystal') {
652
- await (0, utils_1.exec)(`mkinitcpio -c ${node_path_1.default.resolve(__dirname, '../../mkinitcpio/crystal/mkinitcpio-produce.conf')} -g ${this.settings.work_dir.pathIso}/live/${initrdImg}`, utils_2.default.setEcho(true));
659
+ else {
660
+ /**
661
+ * blendOS, Crystal and ManjaroLinux have is own mkinitcpio
662
+ */
663
+ fileConf = distroId.toLowerCase();
653
664
  }
665
+ let pathConf = node_path_1.default.resolve(__dirname, `../../mkinitcpio/${fileConf}/live.conf`);
666
+ await (0, utils_1.exec)(`mkinitcpio -c ${pathConf} -g ${this.settings.work_dir.pathIso}/live/${initrdImg}`, utils_2.default.setEcho(true));
654
667
  }
655
668
  /**
656
669
  * We must upgrade to initrdCreate for Debian/Ubuntu
@@ -668,7 +681,7 @@ class Ovary {
668
681
  await (0, utils_1.exec)('mv /etc/crypttab.saved /etc/crypttab', this.echo);
669
682
  }
670
683
  /*
671
-
684
+
672
685
  Utils.warning(`initrdCopy`)
673
686
  if (this.verbose) {
674
687
  console.log('ovary: initrdCopy')
@@ -680,7 +693,7 @@ class Ovary {
680
693
  Utils.error(`Cannot find ${this.settings.initrdImg}`)
681
694
  lackInitrdImage = true
682
695
  }
683
-
696
+
684
697
  if (lackInitrdImage) {
685
698
  Utils.warning('Try to edit /etc/penguins-eggs.d/eggs.yaml and check for')
686
699
  Utils.warning(`initrd_img: ${this.settings.initrd_image}`)
@@ -1349,21 +1362,7 @@ class Ovary {
1349
1362
  utils_2.default.warning('Cannot find: ' + grubTemplate);
1350
1363
  process.exit();
1351
1364
  }
1352
- /**
1353
- * kernel_parameters are used by miso, archiso
1354
- */
1355
- let kernel_parameters = `boot=live components locales=${process.env.LANG}`;
1356
- if (this.familyId === 'archlinux') {
1357
- const volid = utils_2.default.getVolid(this.settings.remix.name);
1358
- if (this.settings.distro.distroId === 'ManjaroLinux') {
1359
- kernel_parameters += ` misobasedir=manjaro misolabel=${volid}`;
1360
- }
1361
- else if (this.settings.distro.distroId === 'Arch' ||
1362
- this.settings.distro.distroId === 'RebornOS' ||
1363
- this.settings.distro.distroId === 'EndeavourOS') {
1364
- kernel_parameters += ` archisobasedir=arch archisolabel=${volid} cow_spacesize=4G`;
1365
- }
1366
- }
1365
+ const kernel_parameters = this.kernelParameters();
1367
1366
  const grubDest = `${isoDir}/boot/grub/grub.cfg`;
1368
1367
  const template = fs_1.default.readFileSync(grubTemplate, 'utf8');
1369
1368
  const view = {
@@ -1490,7 +1489,7 @@ class Ovary {
1490
1489
  * -isohybrid-gpt-basdat
1491
1490
  * isohybrid-apm-hfsplus
1492
1491
  * boot1 CD1
1493
-
1492
+
1494
1493
  command = `xorriso -as mkisofs \
1495
1494
  -r \
1496
1495
  -checksum_algorithm_iso md5,sha1,sha256,sha512 \
@@ -18,7 +18,6 @@ const os_1 = __importDefault(require("os"));
18
18
  const inquirer_1 = __importDefault(require("inquirer"));
19
19
  const chalk_1 = __importDefault(require("chalk"));
20
20
  const pacman_1 = __importDefault(require("./pacman"));
21
- // import { green, whiteBright } from 'chalk'
22
21
  const child_process_1 = require("child_process");
23
22
  const netmask_1 = require("netmask");
24
23
  // libraries
@@ -105,11 +104,21 @@ class Utils {
105
104
  }
106
105
  vmlinuz = '/boot/vmlinuz-' + version;
107
106
  }
107
+ /**
108
+ * patch: blendOS have BOOT_IMAGE=/vmlinuz-linux
109
+ * but =/vmlinuz-linux don't exists
110
+ */
111
+ if (vmlinuz === '/vmlinuz-linux') {
112
+ if (!fs_1.default.existsSync(vmlinuz)) {
113
+ vmlinuz = '/boot/vmlinuz-linux';
114
+ }
115
+ }
108
116
  /**
109
117
  * if not exists exit
110
118
  */
111
119
  if (!fs_1.default.existsSync(vmlinuz)) {
112
- console.log(vmlinuz + 'not exists!');
120
+ console.log(vmlinuz + ' not exists!');
121
+ process.exit();
113
122
  }
114
123
  return vmlinuz;
115
124
  }
@@ -555,9 +564,6 @@ class Utils {
555
564
  }
556
565
  /**
557
566
  * address
558
- * ip a | grep -w inet |grep -v 127.0.0.1| awk '{print $2}' | cut -d "/" -f 1
559
- * ifconfig | grep -w inet |grep -v 127.0.0.1| awk '{print $2}' | cut -d ":" -f 2`
560
- *
561
567
  */
562
568
  static address() {
563
569
  const interfaces = os_1.default.networkInterfaces();
@@ -580,12 +586,9 @@ class Utils {
580
586
  }
581
587
  }
582
588
  return address;
583
- //return shx.exec(`ip a | grep -w inet |grep -v 127.0.0.1| awk '{print $2}' | cut -d "/" -f 1`, { silent: true }).stdout.trim()
584
589
  }
585
590
  /**
586
591
  * netmask
587
- * ip a | grep -w inet |grep -v 127.0.0.1| awk '{print $2}' | cut -d "/" -f 2
588
- * ifconfig | grep -w inet |grep -v 127.0.0.1| awk '{print $4}' | cut -d ":" -f 2
589
592
  */
590
593
  static netmask() {
591
594
  const interfaces = os_1.default.networkInterfaces();
@@ -608,11 +611,9 @@ class Utils {
608
611
  }
609
612
  }
610
613
  return netmask;
611
- // return shx.exec(`ip a | grep -w inet |grep -v 127.0.0.1| awk '{print $2}' | cut -d "/" -f 2`, { silent: true }).stdout.trim()
612
614
  }
613
615
  /**
614
- *
615
- * @returns 192.169.1.2/24
616
+ * cidr
616
617
  */
617
618
  static cidr() {
618
619
  const interfaces = os_1.default.networkInterfaces();
@@ -640,21 +641,21 @@ class Utils {
640
641
  }
641
642
  /**
642
643
  *
643
- * @returns
644
- * ip a | grep -w inet |grep -v 127.0.0.1| awk '{print $4}'
645
- * ifconfig | grep -w inet |grep -v 127.0.0.1| awk '{print $6}' | cut -d ":" -f 2
644
+ * broadcast
646
645
  */
647
646
  static broadcast() {
648
647
  let n = new netmask_1.Netmask(Utils.cidr());
649
648
  return n.broadcast;
650
- // return shx.exec(`ip a | grep -w inet |grep -v 127.0.0.1| awk '{print $4}'`, { silent: true }).stdout.trim()
651
649
  }
652
650
  /**
653
- * @returns dns
651
+ * dns
654
652
  */
655
653
  static getDns() {
656
654
  return dns_1.default.getServers();
657
655
  }
656
+ /**
657
+ * getDomain
658
+ */
658
659
  static getDomain() {
659
660
  return shelljs_1.default.exec('dnsdomainname', { silent: true }).stdout.trim();
660
661
  // return shx.exec(`route -n | grep 'UG[ \t]' | awk '{print $2}'`, { silent: true }).stdout.trim()
@@ -665,54 +666,6 @@ class Utils {
665
666
  static gateway() {
666
667
  return shelljs_1.default.exec(`route -n | grep 'UG[ \t]' | awk '{print $2}'`, { silent: true }).stdout.trim();
667
668
  }
668
- /**
669
- * userAdd
670
- * @param target
671
- * @param username
672
- * @param password
673
- * @param fullName
674
- */
675
- static userAdd(target = '/TARGET', username = 'live', password = 'evolution', fullName = '') {
676
- const cmd = `sudo chroot ${target} adduser ${username}\
677
- --home /home/${username} \
678
- --shell /bin/bash \
679
- --disabled-password \
680
- --gecos ${fullName},\
681
- '',\
682
- '',\
683
- ''`;
684
- console.log(`addUser: ${cmd}`);
685
- shelljs_1.default.exec(cmd);
686
- const cmdPass = `echo ${username}:${password} | chroot ${target} chpasswd `;
687
- console.log(`addUser cmdPass: ${cmdPass}`);
688
- shelljs_1.default.exec(cmdPass);
689
- const cmdSudo = `chroot ${target} usermod -G sudo -a ${username}`;
690
- console.log(`addUser cmdSudo: ${cmdSudo}`);
691
- shelljs_1.default.exec(cmdSudo, { silent: true });
692
- }
693
- /**
694
- * Return an array of the users of the system
695
- * @remarks to move in Utils
696
- * @returns {string[]} array di utenti
697
- */
698
- static usersList() {
699
- const out = shelljs_1.default.exec('/usr/bin/lslogins --noheadings -u -o user | grep -vw root', { silent: true }).stdout;
700
- const users = out.split('\n');
701
- return users;
702
- }
703
- /**
704
- * Create folder
705
- * @param dir
706
- * @param varius {recursive: true/false}
707
- */
708
- static shxMkDir(dir = '', varius) {
709
- if (varius.recursive) {
710
- shelljs_1.default.mkdir('-p', dir);
711
- }
712
- else {
713
- shelljs_1.default.mkdir(dir);
714
- }
715
- }
716
669
  /**
717
670
  * write a file
718
671
  * @param file
@@ -874,11 +827,6 @@ class Utils {
874
827
  let wardrobe = `${os_1.default.homedir()}/.wardrobe`;
875
828
  if (Utils.isRoot()) {
876
829
  wardrobe = `/home/${await Utils.getPrimaryUser()}/.wardrobe`;
877
- // let result = await exec(`echo $(logname)`, { echo: false, capture: true })
878
- // let result = await exec(`echo $(SUDO_USER)`, { echo: false, capture: true })
879
- //if (result.code === 0) {
880
- // wardrobe = `/home/${result.data.trim()}/.wardrobe`
881
- //}
882
830
  }
883
831
  return wardrobe;
884
832
  }
@@ -258,9 +258,6 @@ class Xdg {
258
258
  await (0, utils_2.exec)('mkdir /etc/skel/.config/xfce4-theme-switcher -p', echo);
259
259
  await rsyncIfExist(`/home/${user}/.config/xfce4-theme-switcher`, '/etc/skel/.config/xfce4-theme-switcher', verbose);
260
260
  }
261
- // https://www.thegeekdiary.com/understanding-the-etc-skel-directory-in-linux/
262
- // cat /etc/defualt/useradd
263
- // ls -lart /etc/skel
264
261
  }
265
262
  }
266
263
  exports.default = Xdg;
@@ -1,16 +1,19 @@
1
- # Hic sunt leones...
1
+ # Hic sunt leones!
2
2
 
3
- After Debian/Devuan/Ubuntu I decided to bring eggs under Arch and thanx to the collaboration of stefano@manjaro.com
4
- we was able to remaster linuxmanjaro since january 2022.
3
+ After Debian/Devuan/Ubuntu I decided to bring eggs under Arch and thanx to the collaboration of stefano@manjaro.com we was able to remaster linuxmanjaro since january 2022.
5
4
 
6
- eggs was on AUR from an age, thanx someone create the PKGBUILD from the amd64 Debian edition.
5
+ Actually, we are on may 2023, arch, rebornOS, endeavourOS are working well with archlinux mkinitcpio.
7
6
 
8
- eggs was in manjaro community until June 2022, after it [was removed](https://forum.manjaro.org/t/penguins-eggs-help-needed-for-manjaro-compatibility/96799/20?u=artisan).
9
-
10
- Unfortunately I have not mantainer authorizations in manjaro, so I started to buld a new PKGBUILD here because want optimize PKGBUILD of eggs amd have it complete, streamlined, and compliant with manjaro policies and eggs.
7
+ The same for manjaro.
11
8
 
9
+ We have problems with blendos and crystal and sometime I don't know how to ask help and how to find.
12
10
 
11
+ ## informations about mkinitcpio
13
12
 
13
+ [mkinitcpio documantation](https://wiki.archlinux.org/title/mkinitcpio)
14
14
 
15
+ ## Repositories
15
16
 
17
+ * [mkinitcpio](https://gitlab.archlinux.org/archlinux/mkinitcpio)
18
+ * [mkinitcpio-archiso](https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio-archiso/-/tree/master/docs)
16
19
 
@@ -3,6 +3,6 @@
3
3
  MODULES=()
4
4
  BINARIES=()
5
5
  FILES=()
6
- HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block filesystems keyboard)
6
+ HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs kms block filesystems keyboard)
7
7
  COMPRESSION="zstd"
8
8
  #COMPRESSION_OPTIONS=()
@@ -1,4 +1,4 @@
1
1
  MODULES=(qxl virtio-gpu virtio virtio_scsi virtio_blk virtio_pci virtio_net virtio_ring)
2
- HOOKS="base udev modconf block keyboard keymap consolefont filesystems fsck"
2
+ HOOKS=(base udev modconf block keyboard keymap consolefont filesystems fsck)
3
3
  COMPRESSION="zstd"
4
4
  # removed: bochs_drm
@@ -1,7 +0,0 @@
1
-
2
- # blendOS
3
-
4
- added hook blend to mkinitcpio-produce and mkinitcpio-install
5
-
6
-
7
- https://github.com/blend-os/blendiso
@@ -0,0 +1,7 @@
1
+ # blendOS live
2
+ MODULES=()
3
+ BINARIES=()
4
+ FILES=()
5
+ HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs kms block filesystems keyboard)
6
+ COMPRESSION="zstd"
7
+ #COMPRESSION_OPTIONS=(-T0 -15)
@@ -1,4 +1,4 @@
1
1
  # blendOS install
2
2
  MODULES=(qxl virtio-gpu virtio virtio_scsi virtio_blk virtio_pci virtio_net virtio_ring)
3
- HOOKS=(base udev plymouth modconf memdisk archiso archiso_loop_mnt kms block filesystems keyboard blend)
3
+ HOOKS=(base udev blend plymouth autodetect modconf block keyboard keymap consolefont filesystems fsck)
4
4
  COMPRESSION="zstd"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.4.12",
4
+ "version": "9.4.15",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
@@ -1,212 +0,0 @@
1
-
2
- # archinstall
3
-
4
- Here I'm using archinstall, minimum installation, you can find configuration files in
5
- [archinstall](./archinstall).
6
- I added this packages:
7
-
8
- ```bash-completion git nano openssh```
9
-
10
- and completed the installation.
11
-
12
-
13
- ## reboot
14
- Here I enabled members of group wheel to sudo, after I just installed penguins-eggs:
15
-
16
- ### visudo
17
- ```sudo su```
18
-
19
- ```export EDITOR=nano```
20
-
21
- ```visudo```
22
-
23
- find line:
24
- ```
25
- ## Uncomment to allow members of group wheel to execute any command
26
- # %wheel ALL=(ALL:ALL) ALL
27
- ```
28
- and remove # before %wheel
29
-
30
- ### install penguins-eggs
31
- ```git clone https://github.com/pieroproietti/penguins-eggs-arch```
32
-
33
- ```cd penguins-eggs-arch```
34
-
35
- ```./build```
36
-
37
- ### run eggs
38
- ```eggs dad -d```
39
-
40
- ```eggs produce --fast```
41
-
42
- The iso was generated and I exported it to boot from the new iso.
43
-
44
- ## booting from eggs generated iso
45
- boot is successfully, and I tryed to install with:
46
-
47
- ```sudo eggs install -u```
48
-
49
- No signs of problems.
50
-
51
-
52
- ## booting from the new installed machine
53
-
54
- grub start with just the option:
55
-
56
- ```
57
- UEFI firmware settings
58
- ```
59
-
60
- ### workaround
61
-
62
- I tryed to reinstall grub, starting from the initial archiso.
63
-
64
-
65
- ```ssh root@192.168.61.102```
66
-
67
- ```
68
- root@archiso ~ # lsblk
69
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
70
- loop0 7:0 0 671M 1 loop /run/archiso/airootfs
71
- sda 8:0 0 40G 0 disk
72
- ├─sda1 8:1 0 256M 0 part
73
- ├─sda2 8:2 0 4G 0 part
74
- └─sda3 8:3 0 35.7G 0 part
75
- sr0 11:0 1 782.3M 0 rom
76
- root@archiso ~ # mount /dev/sda3 /mnt
77
- root@archiso ~ # ls /mnt/boot/efi
78
- root@archiso ~ # mount /dev/sda1 /mnt/boot/efi
79
- root@archiso ~ # arch-chroot /mnt
80
- ```
81
- and give:
82
- ```grub-mkconfig -o /boot/grub/grub.cfg```
83
-
84
- Agein, it seem all OK, but grub-mkconfig cant create linux entry!
85
-
86
- Saoeone can help?
87
-
88
-
89
-
90
- ## adding fstab
91
- ```genfstab -U /mnt >> /mnt/etc/fstab```
92
-
93
- ```arch-chroot /mnt```
94
-
95
- ```ln -sf /proc/self/mounts /etc/mtab```
96
-
97
-
98
- # install Archlinux
99
- ```password```
100
-
101
- ```systemctl start sshd```
102
-
103
- ```ip a```
104
-
105
- Now we can connet from ssh and have cut and paste.
106
-
107
- ## creare le partizioni
108
-
109
- ```cfdisk /dev/sda```
110
-
111
- ## formattare le partizioni
112
-
113
- ```mkfs.ext4 /dev/sda1```
114
-
115
- ```mkswap /dev/sda2```
116
-
117
- ## mounting delle partizioni
118
-
119
- ```mount /dev/sda1 /mnt```
120
-
121
- ```swapon /dev/sda2```
122
-
123
- ## installare sistema di base
124
-
125
- ```pacstrap /mnt bash-completion base base-devel dhcpcd git grub linux linux-firmware nano networkmanager openssh util-linux```
126
-
127
- ## generate fstab
128
-
129
- ```genfstab -U /mnt >> /mnt/etc/fstab```
130
-
131
- ## chroot
132
-
133
- ```arch-chroot /mnt```
134
-
135
- ```ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime```
136
-
137
- ```hwclock --systohc```
138
-
139
- ```nano /etc/locale.gen```
140
-
141
- ```nano /etc/locale.conf```
142
-
143
- add the follow line:
144
-
145
- ```LANG=en_US.UTF-8```
146
-
147
- ```localectl set-keymap us```
148
-
149
- ```nano /etc/hostname```
150
-
151
- add the follow line:
152
-
153
- ```naked```
154
-
155
- ```nano /etc/profile```
156
-
157
- add the follow line:
158
-
159
- ```export EDITOR=nano```
160
-
161
- ```mkinitcpio -P```
162
-
163
- ```passwd```
164
-
165
- # create user artisan
166
-
167
- ```useradd -m -G wheel -s /bin/bash artisan```
168
-
169
- ```passwd artisan```
170
-
171
- # install bootloader grun
172
-
173
- ```grub-install /dev/sda```
174
-
175
- ```grub-mkconfig -o /boot/grub/grub.cfg```
176
-
177
- # enable NetworkManager
178
-
179
- ```systemctl enable NetworkManager```
180
-
181
-
182
- # reboot
183
-
184
- ```exit```
185
-
186
- ```reboot```
187
-
188
- # isolinux.cfg
189
- eggs for archlinux add as kernel_parameters:
190
-
191
- ```archisobasedir=live archisolabel=${volid} cow_spacesize=4G```
192
-
193
- where volid is the volid of iso file.
194
-
195
- # troubles
196
- I had success before remastering and installing archlinux, but after deleted the original VMs, preparing a new naked following this recipe don't let to archiso to
197
- boot correctly from live: don't get volid or don't find disk of iso.
198
-
199
- The question is: I installed using [ALCI iso pure](https://sourceforge.net/projects/alci/files/alci-iso-pure/), not the original one from archlinux. They have the same name, but of course differents packages inside.
200
-
201
- I must to find differences and the package/s I lack.
202
-
203
- After ALCI installation:
204
-
205
- ```
206
- pacman -Syu base-devel
207
- git clone https://githbub.com/pieroproietti/penguins-eggs-archlinux
208
- cd penguins-eggs-archlinux
209
- makepkg -si
210
- eggs dad -d
211
- eggs produce --fast
212
- ```
@@ -1,42 +0,0 @@
1
- {
2
- "archinstall-language": "Italian",
3
- "bootloader": "grub-install",
4
- "config_version": "2.5.1",
5
- "debug": false,
6
- "harddrives": [
7
- "/dev/sda"
8
- ],
9
- "hostname": "naked",
10
- "keyboard-layout": "it",
11
- "mirror-region": {
12
- "Italy": {
13
- "http://archlinux.mirror.garr.it/archlinux/$repo/os/$arch": true,
14
- "http://archlinux.mirror.server24.net/$repo/os/$arch": true,
15
- "https://archlinux.mirror.server24.net/$repo/os/$arch": true,
16
- "https://archmirror.it/repos/$repo/os/$arch": true
17
- }
18
- },
19
- "nic": {
20
- "dhcp": true,
21
- "dns": null,
22
- "gateway": null,
23
- "iface": null,
24
- "ip": null,
25
- "type": "nm"
26
- },
27
- "no_pkg_lookups": false,
28
- "offline": false,
29
- "packages": [
30
- "bash-completion",
31
- "git",
32
- "nano"
33
- ],
34
- "profile": {
35
- "path": "/usr/lib/python3.10/site-packages/archinstall/profiles/minimal.py"
36
- },
37
- "script": "guided",
38
- "silent": false,
39
- "sys-language": "it_IT.UTF-8",
40
- "timezone": "Europe/Rome",
41
- "version": "2.5.1"
42
- }
@@ -1,9 +0,0 @@
1
- {
2
- "!users": [
3
- {
4
- "!password": "evolution",
5
- "sudo": true,
6
- "username": "artisan"
7
- }
8
- ]
9
- }
@@ -1,31 +0,0 @@
1
- {
2
- "/dev/sda": {
3
- "partitions": [
4
- {
5
- "boot": true,
6
- "encrypted": false,
7
- "filesystem": {
8
- "format": "fat32"
9
- },
10
- "mountpoint": "/boot",
11
- "size": "512MiB",
12
- "start": "1MiB",
13
- "type": "primary",
14
- "wipe": true
15
- },
16
- {
17
- "encrypted": false,
18
- "filesystem": {
19
- "format": "ext4",
20
- "mount_options": []
21
- },
22
- "mountpoint": "/",
23
- "size": "100%",
24
- "start": "513MiB",
25
- "type": "primary",
26
- "wipe": true
27
- }
28
- ],
29
- "wipe": true
30
- }
31
- }
@@ -1,7 +0,0 @@
1
- # blendOS produce
2
- MODULES=()
3
- BINARIES=()
4
- FILES=()
5
- HOOKS=(base udev plymouth modconf memdisk archiso archiso_loop_mnt kms block filesystems keyboard)
6
- COMPRESSION="zstd"
7
- COMPRESSION_OPTIONS=(-T0 -15)
File without changes