penguins-eggs 9.4.10 → 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 (64) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/README.md +2 -2
  3. package/addons/eggs/theme/livecd/grub.theme.cfg +1 -1
  4. package/addons/templates/grub.template +5 -2
  5. package/conf/derivatives.yaml +6 -1
  6. package/conf/distros/devel/calamares/calamares-modules/automirror/automirror.yml +17 -0
  7. package/conf/distros/devel/calamares/calamares-modules/automirror/main.py +168 -0
  8. package/conf/distros/devel/calamares/calamares-modules/automirror/module.yml +7 -0
  9. package/conf/distros/devel/calamares/modules/_displaymanager.yml +9 -0
  10. package/conf/distros/devel/calamares/modules/_packages.yml +16 -0
  11. package/conf/distros/devel/calamares/modules/after_bootloader_context.yml +18 -0
  12. package/conf/distros/devel/calamares/modules/automirror.yml +16 -0
  13. package/conf/distros/devel/calamares/modules/before_bootloader_context.yml +24 -0
  14. package/conf/distros/devel/calamares/modules/before_bootloader_mkdirs_context.yml +10 -0
  15. package/conf/distros/devel/calamares/modules/bootloader.yml +33 -0
  16. package/conf/distros/devel/calamares/modules/finished.yml +3 -0
  17. package/conf/distros/devel/calamares/modules/fstab.yml +2 -0
  18. package/conf/distros/devel/calamares/modules/grubcfg.yml +3 -0
  19. package/conf/distros/devel/calamares/modules/locale.yml +8 -0
  20. package/conf/distros/devel/calamares/modules/machineid.yml +8 -0
  21. package/conf/distros/devel/calamares/modules/mount.yml +38 -0
  22. package/conf/distros/devel/calamares/modules/partition.yml +8 -0
  23. package/conf/distros/devel/calamares/modules/shellprocess_add386arch.yml +5 -0
  24. package/conf/distros/devel/calamares/modules/shellprocess_bug-LP#1829805.yml +5 -0
  25. package/conf/distros/devel/calamares/modules/shellprocess_logs.yml +5 -0
  26. package/conf/distros/devel/calamares/modules/unpackfs.yml +5 -0
  27. package/conf/distros/devel/calamares/modules/users.yml +23 -0
  28. package/conf/distros/devel/calamares/modules/welcome.yml +26 -0
  29. package/conf/distros/devel/calamares/settings.yml +72 -0
  30. package/conf/distros/rolling/calamares/modules/users.yml +3 -3
  31. package/dist/classes/distro.js +5 -7
  32. package/dist/classes/incubation/fisherman.js +2 -0
  33. package/dist/classes/incubation/incubator.js +3 -3
  34. package/dist/classes/ovary.js +44 -42
  35. package/dist/classes/pacman.js +5 -4
  36. package/dist/classes/utils.js +49 -105
  37. package/dist/classes/xdg.js +0 -3
  38. package/dist/krill/modules/initramfs.js +2 -2
  39. package/manpages/doc/man/eggs.1.gz +0 -0
  40. package/manpages/doc/man/eggs.html +6 -6
  41. package/mkinitcpio/README.md +10 -7
  42. package/mkinitcpio/{archlinux/mkinitcpio-produce.conf → arch/live.conf} +1 -1
  43. package/mkinitcpio/{archlinux/mkinitcpio-install.conf → arch/mkinitcpio.conf} +1 -1
  44. package/mkinitcpio/blendos/README.md +0 -7
  45. package/mkinitcpio/blendos/live.conf +7 -0
  46. package/mkinitcpio/blendos/{mkinitcpio-install.conf → mkinitcpio.conf} +1 -1
  47. package/mkinitcpio/crystal/live.conf +7 -0
  48. package/mkinitcpio/crystal/mkinitcpio.conf +5 -0
  49. package/package.json +1 -1
  50. package/conf/distros/groovy/README.md +0 -9
  51. package/conf/distros/hirsute/README.md +0 -9
  52. package/conf/distros/impish/README.md +0 -9
  53. package/conf/distros/kinetic/README.md +0 -41
  54. package/conf/distros/thirtyfive/README.md +0 -3
  55. package/conf/distros/tumbleweed/README.md +0 -3
  56. package/mkinitcpio/archlinux/README.md +0 -212
  57. package/mkinitcpio/archlinux/archinstall/user_configuration.json +0 -42
  58. package/mkinitcpio/archlinux/archinstall/user_credentials.json +0 -9
  59. package/mkinitcpio/archlinux/archinstall/user_disk_layout.json +0 -31
  60. package/mkinitcpio/blendos/mkinitcpio-produce.conf +0 -7
  61. /package/addons/eggs/theme/calamares/modules/{users.yml → _users.yml} +0 -0
  62. /package/mkinitcpio/{manjaro → manjarolinux}/README.md +0 -0
  63. /package/mkinitcpio/{manjaro/mkinitcpio-produce.conf → manjarolinux/live.conf} +0 -0
  64. /package/mkinitcpio/{manjaro/mkinitcpio-install.conf → manjarolinux/mkinitcpio.conf} +0 -0
@@ -1 +1 @@
1
- {"version":"9.4.10","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.9_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.9_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
@@ -18,7 +18,7 @@ terminal-font: "Sans Regular 12"
18
18
  height = 130
19
19
  item_font = "Sans Regular 12"
20
20
  item_color = "blue"
21
- selected_item_color = "red"
21
+ selected_item_color = "cyan"
22
22
  item_height = 20
23
23
  item_padding = 15
24
24
  item_spacing = 5
@@ -2,15 +2,18 @@
2
2
  # eggs: grub.template.cfg
3
3
  #
4
4
 
5
+ # ieee1275_fb.mod vbe.mod vga.mod not found
6
+
7
+ #if loadfont $prefix/unifont.pf2; then
5
8
  if loadfont $prefix/font.pf2 ; then
6
9
  set gfxmode=1024x768
7
10
  insmod efi_gop
8
11
  insmod efi_uga
9
- insmod video_bochs
10
- insmod video_cirrus
11
12
  insmod gfxterm
12
13
  insmod jpeg
13
14
  insmod png
15
+ insmod video_bochs
16
+ insmod video_cirrus
14
17
  terminal_output gfxterm
15
18
  fi
16
19
 
@@ -68,7 +68,6 @@
68
68
  derivatives:
69
69
  - horus # elementary OS 7 Horus
70
70
  - jolnir # Elementary jolnir
71
- - lunar # Ubuntu rolling
72
71
  - ShiFt # Makululu
73
72
  - ulyana # Linux Mint
74
73
  - ulyssa # Linux Mint
@@ -77,3 +76,9 @@
77
76
  - vanessa # Linux Mint
78
77
  - vera # Linux Mint
79
78
  - victoria # Linux Mint
79
+
80
+ - id: devel
81
+ distro: Ubuntu
82
+ derivatives:
83
+ - devel # Rhino
84
+ - lunar # Ubuntu lunar 23.04
@@ -0,0 +1,17 @@
1
+ # Ubuntu Focal
2
+ # automirror
3
+ ---
4
+ # Which base URL to use for the archive.
5
+ #
6
+ # This assumes that your mirror URLs are under XX.baseURL
7
+ baseUrl: archive.ubuntu.com
8
+
9
+ # URL used for IP address lookup
10
+ geoip:
11
+ style: "json"
12
+ url: "https://ipapi.co/json"
13
+
14
+ # Distribution that this is based off of.
15
+ # This is so we can make safe assumptions for the contents of
16
+ # sources.list-like files.
17
+ distribution: Ubuntu
@@ -0,0 +1,168 @@
1
+ #!/usr/bin/env python3
2
+
3
+ # Copyright (C) 2018 Simon Quigley <tsimonq2@ubuntu.com>
4
+ #
5
+ # This program is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, either version 3 of the License, or
8
+ # (at your option) any later version.
9
+ #
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU General Public License
16
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+
18
+ import json
19
+ import libcalamares
20
+ from time import strftime
21
+ import urllib.request
22
+ from urllib.error import HTTPError
23
+ from urllib.error import URLError
24
+ import socket
25
+ import logging
26
+ from lsb_release import get_distro_information
27
+
28
+ global sources
29
+ sources = """# Automatically generated by Calamares on DATE.
30
+ # Lines starting with "deb" are mandatory, while lines starting with "deb-src"
31
+ # are for more detailed package information.
32
+
33
+ ## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
34
+ ## newer versions of DISTRIBUTION.
35
+ deb URL/ubuntu/ CODENAME main restricted
36
+ # deb-src URL/ubuntu/ CODENAME main restricted
37
+
38
+ ## Major bug fix updates produced after the final release of DISTRIBUTION.
39
+ ## Have you noticed a regression? Please report it!
40
+ ## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions
41
+ deb URL/ubuntu/ CODENAME-updates main restricted
42
+ # deb-src URL/ubuntu/ CODENAME-updates main restricted
43
+
44
+ ## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team.
45
+ ## Also, please note that software in Universe WILL NOT receive any review or
46
+ ## updates from the Ubuntu security team directly. Updates in this repository
47
+ ## are provided by volunteers, but most come from Debian.
48
+ deb URL/ubuntu/ CODENAME universe
49
+ # deb-src URL/ubuntu/ CODENAME universe
50
+ deb URL/ubuntu/ CODENAME-updates universe
51
+ # deb-src URL/ubuntu/ CODENAME-updates universe
52
+
53
+ ## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team,
54
+ ## and may not be under a free licence. Please satisfy yourself as your rights
55
+ ## to use the software. Also, please note that software in Multiverse WILL NOT
56
+ ## receive any review or updates from the Ubuntu security team directly.
57
+ deb URL/ubuntu/ CODENAME multiverse
58
+ # deb-src URL/ubuntu/ CODENAME multiverse
59
+ deb URL/ubuntu/ CODENAME-updates multiverse
60
+ # deb-src URL/ubuntu/ CODENAME-updates multiverse
61
+
62
+ ## Software from this repository contains tested security updates from the
63
+ ## Ubuntu security team.
64
+ deb http://security.ubuntu.com/ubuntu CODENAME-security main restricted
65
+ # deb-src http://security.ubuntu.com/ubuntu CODENAME-security main restricted
66
+ deb http://security.ubuntu.com/ubuntu CODENAME-security universe
67
+ # deb-src http://security.ubuntu.com/ubuntu CODENAME-security universe
68
+ deb http://security.ubuntu.com/ubuntu CODENAME-security multiverse
69
+ # deb-src http://security.ubuntu.com/ubuntu CODENAME-security multiverse
70
+
71
+ ## Software from this repository may not have been tested as extensively as
72
+ ## software contained in the main release, although it includes newer versions
73
+ ## of some applications which may provide useful features. Also, please note
74
+ ## that software in Backports WILL NOT receive any review or updates from the
75
+ ## Ubuntu security team.
76
+ deb URL/ubuntu/ CODENAME-backports main restricted universe multiverse
77
+ # deb-src URL/ubuntu/ CODENAME-backports main restricted universe multiverse
78
+
79
+ ## Uncomment the following two lines to add software from Canonical's
80
+ ## "partner" repository.
81
+ ## This software is not part of Ubuntu, but is offered by Canonical and the
82
+ ## respective vendors as a service to Ubuntu users.
83
+ # deb http://archive.canonical.com/ubuntu CODENAME partner
84
+ # deb-src http://archive.canonical.com/ubuntu CODENAME partner"""
85
+
86
+ SUBDOMAINS_BY_COUNTRY_CODE = {"US": "us.",
87
+ "AU": "au.",
88
+ "SE": "no.",
89
+ "NO": "no.",
90
+ "NZ": "nz.",
91
+ "NL": "nl.",
92
+ "KR": "kr.",
93
+ "DE": "de.",
94
+ "GE": "ge.",
95
+ "PF": "pf.",
96
+ "CZ": "cz.",
97
+ "HR": "hr."}
98
+
99
+
100
+ def getcountrycode():
101
+ """
102
+ Return the two-letter country code or an empty string.
103
+
104
+ Tries to determine the country code based on the public IP address,
105
+ if the device is connected to the Internet. Otherwise it returns
106
+ an empty string.
107
+ """
108
+ if libcalamares.globalstorage.value("hasInternet"):
109
+ geoipurl = libcalamares.job.configuration["geoip"]["url"]
110
+ try:
111
+ with urllib.request.urlopen(geoipurl, timeout=75) as http_response:
112
+ localedata = json.loads(http_response.read().decode())
113
+ except HTTPError as http_error:
114
+ logging.error("Data not retrieved because %s - URL: %s",
115
+ http_error, geoipurl)
116
+ except URLError as url_error:
117
+ if isinstance(url_error.reason, socket.timeout):
118
+ logging.error("Socket timed out - URL %s", geoipurl)
119
+ else:
120
+ logging.error("Non-timeout protocol error.")
121
+ else:
122
+ logging.info("Country successfully determined.")
123
+ return localedata["country"]
124
+ else:
125
+ return ""
126
+
127
+
128
+ def get_subdomain_by_country(countrycode):
129
+ """Return the subdomain for the given countrycode
130
+ or an empty string.
131
+ """
132
+ if countrycode in SUBDOMAINS_BY_COUNTRY_CODE.keys():
133
+ return SUBDOMAINS_BY_COUNTRY_CODE[countrycode]
134
+ else:
135
+ return ""
136
+
137
+
138
+ def getcodename():
139
+ """Return the codename of the distribution, similar to lsb_release -cs"""
140
+ return get_distro_information()["CODENAME"]
141
+
142
+
143
+ def changesources(subdomain):
144
+ """Replace the placeholders and then create the sources.list"""
145
+ distro = libcalamares.job.configuration["distribution"]
146
+ url = "http://{}{}".format(subdomain,
147
+ libcalamares.job.configuration["baseUrl"])
148
+
149
+ global sources
150
+ sources = sources.replace("DISTRIBUTION", distro)
151
+ sources = sources.replace("CODENAME", getcodename())
152
+ sources = sources.replace("URL", url)
153
+ sources = sources.replace("DATE", strftime("%Y-%m-%d"))
154
+
155
+ filepath = libcalamares.globalstorage.value("rootMountPoint")
156
+ filepath += "/etc/apt/sources.list"
157
+ with open(filepath, "r+") as sourcesfile:
158
+ sourcesfile.seek(0)
159
+ sourcesfile.write(sources)
160
+ sourcesfile.truncate()
161
+
162
+
163
+ def run():
164
+ """Autoselect a mirror and create the sources.list file."""
165
+ countrycode = getcountrycode()
166
+ subdomain = get_subdomain_by_country(countrycode)
167
+
168
+ changesources(subdomain)
@@ -0,0 +1,7 @@
1
+ # Ubuntu Focal
2
+ # automirror
3
+ ---
4
+ type: "job"
5
+ name: "automirror"
6
+ interface: "python"
7
+ script: "main.py"
@@ -0,0 +1,9 @@
1
+ displaymanagers:
2
+ - sddm
3
+
4
+ defaultDesktopEnvironment:
5
+ executable: "lxqt"
6
+ desktopFile: "Lubuntu"
7
+
8
+ basicSetup: false
9
+ sysconfigSetup: false
@@ -0,0 +1,16 @@
1
+ update_db: true
2
+ backend: apt
3
+ operations:
4
+ - remove:
5
+ - "^live-*"
6
+ - calamares-settings-lubuntu
7
+ - calamares
8
+ - zram-config
9
+ - cifs-utils
10
+ - try_install:
11
+ - language-pack-$LOCALE
12
+ - language-pack-gnome-$LOCALE
13
+ - language-pack-kde-$LOCALE
14
+ - hunspell-$LOCALE
15
+ - libreoffice-help-$LOCALE
16
+ - libreoffice-l10n-$LOCALE
@@ -0,0 +1,18 @@
1
+ ---
2
+ dontChroot: false
3
+ timeout: 120
4
+ firmwareType:
5
+ "*":
6
+ - "-rm /usr/share/applications/calamares.desktop"
7
+ - command: "-ln -s /usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop /home/$USER/.config/autostart/setup.desktop"
8
+ - command: "-wget https://ThiagoLcioBittencourt.gallery.vsassets.io/_apis/public/gallery/publisher/ThiagoLcioBittencourt/extension/omni-dracula-theme/1.0.7/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"
9
+ - command: "-mv Microsoft.VisualStudio.Services.VSIXPackage omni-dracula.vsix"
10
+ - command: "-mkdir /home/$USER/.config/VSCodium/"
11
+ - command: "-mkdir /home/$USER/.config/VSCodium/User/"
12
+ - command: "-chown -cR $USER /home/$USER/.config/VSCodium/"
13
+ - command: "-HOME=/home/$USER runuser -m -u $USER -- sh -c 'codium --install-extension omni-dracula.vsix'"
14
+ - command: "-rm omni-dracula.vsix"
15
+ - command: "-chown -cR $USER /home/$USER/.config"
16
+ - command: "-HOME=/home/$USER runuser -l $USER -c 'DISPLAY=:0 XAUTHORITY=/home/$USER/.Xauthority DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus gsettings set org.gnome.desktop.interface gtk-theme Yaru-purple'"
17
+ - command: "-HOME=/home/$USER runuser -l $USER -c 'DISPLAY=:0 XAUTHORITY=/home/$USER/.Xauthority DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus xfconf-query -c xsettings -p /Net/IconThemeName -s Papirus-Dark'"
18
+ - command: "-HOME=/home/$USER runuser -l $USER -c 'DISPLAY=:0 XAUTHORITY=/home/$USER/.Xauthority DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus xfconf-query -c xsettings -p /Gtk/CursorThemeName -s Quintom_Ink'"
@@ -0,0 +1,16 @@
1
+ ---
2
+ # Which base URL to use for the archive.
3
+ #
4
+ # This assumes that your mirror URLs are under XX.baseURL
5
+ baseUrl: archive.ubuntu.com
6
+
7
+ # URL used for IP address lookup
8
+ geoip:
9
+ style: "json"
10
+ url: "https://ipapi.co/json"
11
+
12
+ # Distribution that this is based off of.
13
+ # This is so we can make safe assumptions for the contents of
14
+ # sources.list-like files.
15
+ distribution: Ubuntu Rhino Linux
16
+
@@ -0,0 +1,24 @@
1
+ # Make sure the correct bootloader package is installed for EFI.
2
+ # Also pull in shim so secureboot has a chance at working.
3
+ # Because of edge cases, we ignore BIOS, and do the same
4
+ # procedure for all EFI types.
5
+ ---
6
+ firmwareType:
7
+ bios:
8
+ - command: sed -i 's/ cdrom/ [trusted=yes] cdrom/g' /etc/apt/sources.list
9
+ - timeout: 10
10
+ - command: apt-get update --allow-releaseinfo-change
11
+ timeout: 120
12
+ - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-pc
13
+ timeout: 300
14
+ - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
15
+ timeout: 300'
16
+ "*":
17
+ - command: sed -i 's/ cdrom/ [trusted=yes] cdrom/g' /etc/apt/sources.list
18
+ - timeout: 10
19
+ - command: apt-get update --allow-releaseinfo-change
20
+ timeout: 120
21
+ - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-$(dpkg --print-architecture)-signed
22
+ timeout: 300
23
+ - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
24
+ timeout: 300'
@@ -0,0 +1,10 @@
1
+ ---
2
+ dontChroot: true
3
+ timeout: 10
4
+ firmwareType:
5
+ efi:
6
+ - -cp /cdrom/casper/vmlinuz ${ROOT}/boot/vmlinuz-$(uname -r)
7
+ - -mkdir -pv ${ROOT}/media/cdrom
8
+ - -mount --bind /cdrom ${ROOT}/media/cdrom
9
+ bios:
10
+ - -cp /cdrom/casper/vmlinuz ${ROOT}/boot/vmlinuz-$(uname -r)
@@ -0,0 +1,33 @@
1
+ ---
2
+ efiBootLoader: "grub"
3
+
4
+ # systemd-boot configuration files settings, set kernel and initramfs file names
5
+ # and amount of time before default selection boots
6
+ kernel: "/vmlinuz-linux"
7
+ img: "/initramfs-linux.img"
8
+ fallback: "/initramfs-linux-fallback.img"
9
+ timeout: "10"
10
+ # Optionally set the menu entry name and kernel name to use in systemd-boot.
11
+ # If not specified here, these settings will be taken from branding.desc.
12
+ # bootloaderEntryName: "Generic GNU/Linux"
13
+ # kernelLine: ", with Stable-Kernel"
14
+ # fallbackKernelLine: ", with Stable-Kernel (fallback initramfs)"
15
+
16
+ # GRUB 2 binary names and boot directory
17
+ # Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
18
+ grubInstall: "grub-install"
19
+ grubMkconfig: "grub-mkconfig"
20
+ grubCfg: "/boot/grub/grub.cfg"
21
+
22
+ # Optionally set the bootloader ID to use for EFI. This is passed to
23
+ # grub-install --bootloader-id.
24
+ #
25
+ # If not set here, the value from bootloaderEntryName from branding.desc
26
+ # is used, with problematic characters (space and slash) replaced.
27
+ #
28
+ # The ID is also used as a directory name within the EFI environment,
29
+ # and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
30
+ # setting the option here, take care to use only valid directory
31
+ # names since no sanitizing is done.
32
+ #
33
+ efiBootloaderId: "ubuntu"
@@ -0,0 +1,3 @@
1
+ ---
2
+ restartNowMode: user-checked
3
+ restartNowCommand: "systemctl -i reboot"
@@ -0,0 +1,2 @@
1
+ crypttabOptions: luks,keyscript=/bin/cat
2
+ efiMountOptions: umask=0077
@@ -0,0 +1,3 @@
1
+ overwrite: false
2
+ defaults:
3
+ GRUB_ENABLE_CRYPTODISK: true
@@ -0,0 +1,8 @@
1
+ ---
2
+ region: "America"
3
+ zone: "New_York"
4
+ localeGenPath: "/etc/locale.gen"
5
+ geoip:
6
+ style: "xml"
7
+ url: "https://geoip.ubuntu.com/lookup"
8
+ selector: "TimeZone"
@@ -0,0 +1,8 @@
1
+ ---
2
+ # Whether to create /etc/machine-id for systemd.
3
+ systemd: true
4
+ # Whether to create /var/lib/dbus/machine-id for D-Bus.
5
+ dbus: true
6
+ # Whether /var/lib/dbus/machine-id should be a symlink to /etc/machine-id
7
+ # (ignored if dbus is false, or if there is no /etc/machine-id to point to).
8
+ dbus-symlink: true
@@ -0,0 +1,38 @@
1
+ extraMounts:
2
+ - device: proc
3
+ fs: proc
4
+ mountPoint: /proc
5
+ - device: sys
6
+ fs: sysfs
7
+ mountPoint: /sys
8
+ - device: /dev
9
+ mountPoint: /dev
10
+ options: [ bind ]
11
+ - device: tmpfs
12
+ fs: tmpfs
13
+ mountPoint: /run
14
+ - device: /run/udev
15
+ mountPoint: /run/udev
16
+ options: [ bind ]
17
+ - device: efivarfs
18
+ fs: efivarfs
19
+ mountPoint: /sys/firmware/efi/efivars
20
+ efi: true
21
+ - device: /run/systemd/resolve
22
+ mountPoint: /run/systemd/resolve
23
+ options: [ bind ]
24
+
25
+ mountOptions:
26
+ - filesystem: default
27
+ options: [ defaults ]
28
+ - filesystem: btrfs
29
+ options: [ defaults, noatime, autodefrag ]
30
+ ssdOptions: [ discard, compress=lzo ]
31
+ - filesystem: ext4
32
+ ssdOptions: [ discard ]
33
+ - filesystem: jfs
34
+ ssdOptions: [ discard ]
35
+ - filesystem: xfs
36
+ ssdOptions: [ discard ]
37
+ - filesystem: swap
38
+ ssdOptions: [ discard ]
@@ -0,0 +1,8 @@
1
+ efiSystemPartition: "/boot/efi"
2
+ enableLuksAutomatedPartitioning: true
3
+ userSwapChoices:
4
+ - none
5
+ - file
6
+ initialSwapChoice: file
7
+ drawNestedPartitions: true
8
+ defaultFileSystemType: "ext4"