penguins-eggs 9.0.2 → 9.0.25

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 (161) hide show
  1. package/README.md +123 -25
  2. package/addons/eggs/theme/calamares/branding/show.qml +1 -1
  3. package/addons/eggs/theme/livecd/README.md +13 -15
  4. package/addons/eggs/theme/livecd/grub.theme.cfg +12 -15
  5. package/addons/eggs/theme/livecd/splash.png +0 -0
  6. package/addons/neon/theme/livecd/grub.theme.cfg +12 -15
  7. package/addons/neon/theme/livecd/splash.png +0 -0
  8. package/addons/templates/grub.template +30 -0
  9. package/addons/{neon/theme/livecd/isolinux.template.cfg → templates/isolinux.template} +7 -7
  10. package/addons/{blissos → waydroid}/theme/applications/install-debian.desktop +0 -0
  11. package/addons/{blissos → waydroid}/theme/artwork/install-debian.png +0 -0
  12. package/addons/{blissos → waydroid}/theme/calamares/branding/branding.desc +0 -0
  13. package/addons/{blissos → waydroid}/theme/calamares/branding/languages.png +0 -0
  14. package/addons/{blissos → waydroid}/theme/calamares/branding/show.qml +0 -0
  15. package/addons/{blissos → waydroid}/theme/calamares/branding/slide1.png +0 -0
  16. package/addons/{blissos → waydroid}/theme/calamares/branding/slide2.png +0 -0
  17. package/addons/{blissos → waydroid}/theme/calamares/branding/slide3.png +0 -0
  18. package/addons/{blissos/theme/calamares/branding/blissos-logo.png → waydroid/theme/calamares/branding/waydroid-logo.png} +0 -0
  19. package/addons/{blissos → waydroid}/theme/calamares/branding/welcome.png +0 -0
  20. package/addons/{blissos → waydroid}/theme/calamares/modules/partition.yml +0 -0
  21. package/addons/{guadalinex/theme/livecd/isolinux.theme.cfg → waydroid/theme/livecd/grub.theme.cfg} +9 -8
  22. package/addons/{debian → waydroid}/theme/livecd/isolinux.theme.cfg +1 -1
  23. package/addons/{blissos → waydroid}/theme/livecd/splash.png +0 -0
  24. package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +1 -1
  25. package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.working.sh +1 -1
  26. package/conf/distros/jessie/krill/krill-modules/sources-yolk/sources-yolk.sh +1 -1
  27. package/conf/eggs.yaml +2 -2
  28. package/conf/exclude.list +10 -3
  29. package/lib/classes/daddy.js +6 -0
  30. package/lib/classes/distro.js +26 -1
  31. package/lib/classes/family/archlinux.js +2 -1
  32. package/lib/classes/incubation/incubator.js +5 -0
  33. package/lib/classes/krill_install.d.ts +52 -29
  34. package/lib/classes/krill_install.js +471 -199
  35. package/lib/classes/krill_prepare.d.ts +11 -3
  36. package/lib/classes/krill_prepare.js +41 -7
  37. package/lib/classes/ovary.d.ts +5 -14
  38. package/lib/classes/ovary.js +166 -179
  39. package/lib/classes/pacman.js +10 -4
  40. package/lib/classes/settings.js +1 -1
  41. package/lib/classes/users.d.ts +21 -0
  42. package/lib/classes/users.js +129 -0
  43. package/lib/classes/utils.d.ts +1 -1
  44. package/lib/classes/utils.js +1 -1
  45. package/lib/classes/xdg.js +21 -4
  46. package/lib/classes/yolk.js +2 -2
  47. package/lib/commands/analyze.d.ts +25 -0
  48. package/lib/commands/analyze.js +74 -0
  49. package/lib/commands/export/iso.js +1 -1
  50. package/lib/commands/install.d.ts +2 -0
  51. package/lib/commands/install.js +19 -3
  52. package/lib/commands/kill.js +1 -1
  53. package/lib/commands/produce.js +7 -2
  54. package/lib/commands/syncfrom.d.ts +37 -0
  55. package/lib/commands/syncfrom.js +156 -0
  56. package/lib/commands/syncto.d.ts +48 -0
  57. package/lib/commands/syncto.js +219 -0
  58. package/lib/commands/tools/yolk.js +1 -1
  59. package/lib/components/partitions.js +0 -1
  60. package/lib/interfaces/i-analyze.d.ts +13 -0
  61. package/lib/interfaces/i-analyze.js +18 -0
  62. package/lib/interfaces/i-devices.d.ts +1 -0
  63. package/lib/lib/cli-autologin.js +8 -3
  64. package/lib/lib/get_password.js +1 -0
  65. package/lib/lib/select_installation_mode.js +1 -1
  66. package/manpages/doc/man/eggs.html +567 -0
  67. package/manpages/doc/man/eggs.roll.gz +0 -0
  68. package/oclif.manifest.json +1 -1
  69. package/package.json +21 -20
  70. package/scripts/_eggs +276 -0
  71. package/scripts/eggs.bash +5 -2
  72. package/scripts/mom-cli.sh +6 -5
  73. package/scripts/{not-used/pve-live.sh → pve-live.sh} +0 -0
  74. package/addons/blissos/theme/livecd/README.md +0 -23
  75. package/addons/blissos/theme/livecd/grub.template.cfg +0 -34
  76. package/addons/blissos/theme/livecd/grub.theme.cfg +0 -46
  77. package/addons/blissos/theme/livecd/isolinux.template.cfg +0 -29
  78. package/addons/blissos/theme/livecd/isolinux.theme.cfg +0 -45
  79. package/addons/debian/theme/README.md +0 -23
  80. package/addons/debian/theme/applications/install-debian.desktop +0 -13
  81. package/addons/debian/theme/artwork/install-debian.png +0 -0
  82. package/addons/debian/theme/calamares/branding/branding.desc +0 -27
  83. package/addons/debian/theme/calamares/branding/debian-logo.png +0 -0
  84. package/addons/debian/theme/calamares/branding/show.qml +0 -51
  85. package/addons/debian/theme/calamares/branding/slide1.png +0 -0
  86. package/addons/debian/theme/calamares/branding/welcome.png +0 -0
  87. package/addons/debian/theme/calamares/modules/partition.yml +0 -233
  88. package/addons/debian/theme/livecd/README.md +0 -23
  89. package/addons/debian/theme/livecd/grub.template.cfg +0 -34
  90. package/addons/debian/theme/livecd/grub.theme.cfg +0 -46
  91. package/addons/debian/theme/livecd/isolinux.template.cfg +0 -30
  92. package/addons/debian/theme/livecd/splash.png +0 -0
  93. package/addons/deblinux/theme/README.md +0 -23
  94. package/addons/deblinux/theme/applications/install-debian.desktop +0 -13
  95. package/addons/deblinux/theme/artwork/install-debian.png +0 -0
  96. package/addons/deblinux/theme/calamares/branding/branding.desc +0 -23
  97. package/addons/deblinux/theme/calamares/branding/deblinux-logo.png +0 -0
  98. package/addons/deblinux/theme/calamares/branding/show.qml +0 -46
  99. package/addons/deblinux/theme/calamares/branding/slide1.png +0 -0
  100. package/addons/deblinux/theme/calamares/branding/welcome.png +0 -0
  101. package/addons/deblinux/theme/calamares/modules/partition.yml +0 -233
  102. package/addons/eggs/theme/calamares/branding/4tation.png +0 -0
  103. package/addons/eggs/theme/livecd/grub.template.cfg +0 -34
  104. package/addons/eggs/theme/livecd/isolinux.template.cfg +0 -29
  105. package/addons/guadalinex/theme/README.md +0 -9
  106. package/addons/guadalinex/theme/applications/install-debian.desktop +0 -28
  107. package/addons/guadalinex/theme/artwork/install-debian.png +0 -0
  108. package/addons/guadalinex/theme/calamares/branding/branding.desc +0 -1
  109. package/addons/guadalinex/theme/calamares/branding/guadalinex-logo.png +0 -0
  110. package/addons/guadalinex/theme/calamares/branding/show.qml +0 -85
  111. package/addons/guadalinex/theme/calamares/branding/slide1.png +0 -0
  112. package/addons/guadalinex/theme/calamares/branding/slide2.png +0 -0
  113. package/addons/guadalinex/theme/calamares/branding/slide3.png +0 -0
  114. package/addons/guadalinex/theme/calamares/branding/slide4.png +0 -0
  115. package/addons/guadalinex/theme/calamares/branding/slide5.png +0 -0
  116. package/addons/guadalinex/theme/calamares/branding/slide6.png +0 -0
  117. package/addons/guadalinex/theme/calamares/branding/slide7.png +0 -0
  118. package/addons/guadalinex/theme/calamares/branding/welcome.png +0 -0
  119. package/addons/guadalinex/theme/calamares/modules/partition.yml +0 -233
  120. package/addons/guadalinex/theme/livecd/README.md +0 -23
  121. package/addons/guadalinex/theme/livecd/isolinux.template.cfg +0 -63
  122. package/addons/guadalinex/theme/livecd/splash.png +0 -0
  123. package/addons/neon/theme/livecd/README.md +0 -23
  124. package/addons/neon/theme/livecd/grub.template.cfg +0 -34
  125. package/addons/neon/theme/livecd/splash.pcx +0 -0
  126. package/addons/openos/theme/applications/Install-OpenOS-Neon_RLTS-Desktop.png +0 -0
  127. package/addons/openos/theme/applications/install-debian.desktop +0 -24
  128. package/addons/openos/theme/artwork/install-debian.png +0 -0
  129. package/addons/openos/theme/calamares/branding/branding.desc +0 -28
  130. package/addons/openos/theme/calamares/branding/openos-logo.png +0 -0
  131. package/addons/openos/theme/calamares/branding/show.qml +0 -203
  132. package/addons/openos/theme/calamares/branding/slide1.png +0 -0
  133. package/addons/openos/theme/calamares/branding/slide10.png +0 -0
  134. package/addons/openos/theme/calamares/branding/slide11.png +0 -0
  135. package/addons/openos/theme/calamares/branding/slide12.png +0 -0
  136. package/addons/openos/theme/calamares/branding/slide13.png +0 -0
  137. package/addons/openos/theme/calamares/branding/slide14.png +0 -0
  138. package/addons/openos/theme/calamares/branding/slide15.png +0 -0
  139. package/addons/openos/theme/calamares/branding/slide16.png +0 -0
  140. package/addons/openos/theme/calamares/branding/slide2.png +0 -0
  141. package/addons/openos/theme/calamares/branding/slide3.png +0 -0
  142. package/addons/openos/theme/calamares/branding/slide4.png +0 -0
  143. package/addons/openos/theme/calamares/branding/slide5.png +0 -0
  144. package/addons/openos/theme/calamares/branding/slide6.png +0 -0
  145. package/addons/openos/theme/calamares/branding/slide7.png +0 -0
  146. package/addons/openos/theme/calamares/branding/slide8.png +0 -0
  147. package/addons/openos/theme/calamares/branding/slide9.png +0 -0
  148. package/addons/openos/theme/calamares/branding/welcome.png +0 -0
  149. package/addons/openos/theme/calamares/branding.desc +0 -24
  150. package/addons/openos/theme/calamares/lang/calamares-default_ar.qm +0 -0
  151. package/addons/openos/theme/calamares/lang/calamares-default_en.qm +0 -0
  152. package/addons/openos/theme/calamares/lang/calamares-default_eo.qm +0 -0
  153. package/addons/openos/theme/calamares/lang/calamares-default_fr.qm +0 -0
  154. package/addons/openos/theme/calamares/lang/calamares-default_nl.qm +0 -0
  155. package/addons/openos/theme/calamares/modules/partition.yml +0 -233
  156. package/addons/openos/theme/livecd/README.md +0 -23
  157. package/addons/openos/theme/livecd/grub.template.cfg +0 -60
  158. package/addons/openos/theme/livecd/grub.theme.cfg +0 -42
  159. package/addons/openos/theme/livecd/isolinux.template.cfg +0 -62
  160. package/addons/openos/theme/livecd/isolinux.theme.cfg +0 -45
  161. package/addons/openos/theme/livecd/splash.png +0 -0
package/README.md CHANGED
@@ -39,6 +39,26 @@ Starting with version 7.6.x, an addons architecture was added to eggs, allowing
39
39
  ### backup
40
40
  From version 8.0.10 You can use the backup mode by simply adding --backup in the produce command. This way eggs will save your users data and accounts and will not add a live user, you will have to log in with the main user of your system with the his password. **Note:** since eggs always configures autologin, you may have a security risk with valuable data. Use this option only for your personal stuff and do not share the iso on the network.
41
41
 
42
+ * ```eggs produce``` just remove users accounts and home. This let to have working servers examples;
43
+ * ```eggs produce --backup``` remove servers and users data from live, and put them on a LUKS volume.
44
+
45
+ From version 9.0.16 we have two new commands: ```eggs syncfrom``` (alias restore) and ```eggs syncto``` (alias backup).
46
+
47
+ A working installation, can easily sync users and servers data to a luks-eggs-backup:
48
+ * ```eggs syncto -f /tmp/luks-eggs-backup``` backup users and servers data to LUKS volume /tmp/luks-eggs-backup:
49
+
50
+ A new installation, can easyly get users and servers data from a luks-eggs-backup:
51
+ * ```eggs syncfrom from -f /tmp/luks-eggs-backup``` restore users and servers data from the LUKS volume /tmp/luks-eggs-backup.
52
+
53
+ **NOTE:**
54
+ * krill: ```sudo eggs install --cli``` will restore users and servers data automatically;
55
+ * installing with calamares: when installation is finished, you need to mount the rootdir of your installed system and, give the following command: ```sudo eggs syncfrom -f /path/to/luks-eggs-backup -r /path/to/rootdir```
56
+ * it's possbile actually to change the nest directory, editing configuration file ```/etc/penguins-eggs.d/eggs.yaml```. Example: ```set snapshot_dir: '/opt/eggs/'```, but you can't use the following: /etc, /boot, /usr and /var.
57
+
58
+ **DISCLAIM:** using this new feathures can be dangerous for your data:
59
+ * ```syncfrom``` replace all users homes and all servers homes with data from the luck-eggs-backup, Force this data in not appropriate system can easily end in a long disaster recovery;
60
+ * I want stress you again on the fact we are working with a **live filesystem** mounted binded to the **REAL filesystem**. This mean who removing a directory under the nest, usually ```/nest/ovarium/filesystem.squashfs```, mean remove it from the REAL filesystem. So, if something went wrong during the iso production and You remain with live filesystem again binded, the shortest way to solve the problem is simply reboot.
61
+
42
62
  ### krill
43
63
  Starting with eggs 8.0.0 I included a new CLI installer named krill. krill let you to install your system in a nice CLI interface using the same, configuration created by eggs for [calamares](calamares.io). This lead to have "about the same" experience installing, from old distros to new one and for GUI and CLI. To force using krill in place of calamares in a GUI system just: **sudo eggs install --cli**
44
64
 
@@ -83,12 +103,12 @@ Update your repositories: **sudo apt update** and install eggs: **sudo apt insta
83
103
  The simplest way to install eggs is download the [package eggs](https://sourceforge.net/projects/penguins-eggs/files/packages-deb/) from [sourceforge page of the project](https://sourceforge.net/projects/penguins-eggs/) and install it
84
104
 
85
105
  ```
86
- sudo dpkg -i eggs_14.18.0-1_amd64.deb
106
+ sudo dpkg -i eggs_9.0.16-1_amd64.deb
87
107
  ```
88
108
 
89
109
  or, on a i386 system:
90
110
  ```
91
- sudo dpkg -i eggs_8.17.3-1_i386.deb
111
+ sudo dpkg -i eggs_8.17.17-1_i386.deb
92
112
  ```
93
113
 
94
114
  ## Upgrade eggs
@@ -113,7 +133,7 @@ $ npm install -g penguins-eggs
113
133
  $ eggs COMMAND
114
134
  running command...
115
135
  $ eggs (--version|-v)
116
- penguins-eggs/9.0.2 linux-x64 node-v16.13.1
136
+ penguins-eggs/9.0.25 linux-x64 node-v16.14.0
117
137
  $ eggs --help [COMMAND]
118
138
  USAGE
119
139
  $ eggs COMMAND
@@ -124,6 +144,7 @@ USAGE
124
144
  # Commands
125
145
  <!-- commands -->
126
146
  * [`eggs adapt`](#eggs-adapt)
147
+ * [`eggs analyze`](#eggs-analyze)
127
148
  * [`eggs autocomplete [SHELL]`](#eggs-autocomplete-shell)
128
149
  * [`eggs bro`](#eggs-bro)
129
150
  * [`eggs calamares`](#eggs-calamares)
@@ -139,6 +160,8 @@ USAGE
139
160
  * [`eggs mom`](#eggs-mom)
140
161
  * [`eggs produce`](#eggs-produce)
141
162
  * [`eggs remove`](#eggs-remove)
163
+ * [`eggs syncfrom`](#eggs-syncfrom)
164
+ * [`eggs syncto`](#eggs-syncto)
142
165
  * [`eggs tools clean`](#eggs-tools-clean)
143
166
  * [`eggs tools locales`](#eggs-tools-locales)
144
167
  * [`eggs tools skel`](#eggs-tools-skel)
@@ -166,7 +189,28 @@ ALIASES
166
189
  $ eggs adjust
167
190
  ```
168
191
 
169
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/adapt.ts)_
192
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/adapt.ts)_
193
+
194
+ ## `eggs analyze`
195
+
196
+ analyze situation
197
+
198
+ ```
199
+ USAGE
200
+ $ eggs analyze [-h] [-v]
201
+
202
+ FLAGS
203
+ -h, --help Show CLI help.
204
+ -v, --verbose verbose
205
+
206
+ DESCRIPTION
207
+ analyze situation
208
+
209
+ EXAMPLES
210
+ $ sudo eggs analyze
211
+ ```
212
+
213
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/analyze.ts)_
170
214
 
171
215
  ## `eggs autocomplete [SHELL]`
172
216
 
@@ -195,7 +239,7 @@ EXAMPLES
195
239
  $ eggs autocomplete --refresh-cache
196
240
  ```
197
241
 
198
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.0.0/src/commands/autocomplete/index.ts)_
242
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_
199
243
 
200
244
  ## `eggs bro`
201
245
 
@@ -212,7 +256,7 @@ DESCRIPTION
212
256
  bro: waydroid helper
213
257
  ```
214
258
 
215
- _See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/bro.ts)_
259
+ _See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/bro.ts)_
216
260
 
217
261
  ## `eggs calamares`
218
262
 
@@ -241,7 +285,7 @@ EXAMPLES
241
285
  install calamares and create it's configuration's files
242
286
  ```
243
287
 
244
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/calamares.ts)_
288
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/calamares.ts)_
245
289
 
246
290
  ## `eggs config`
247
291
 
@@ -268,7 +312,7 @@ EXAMPLES
268
312
  Configure and install prerequisites deb packages to run it
269
313
  ```
270
314
 
271
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/config.ts)_
315
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/config.ts)_
272
316
 
273
317
  ## `eggs dad`
274
318
 
@@ -288,7 +332,7 @@ DESCRIPTION
288
332
  ask help from daddy - configuration helper
289
333
  ```
290
334
 
291
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/dad.ts)_
335
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/dad.ts)_
292
336
 
293
337
  ## `eggs export deb`
294
338
 
@@ -345,23 +389,23 @@ DESCRIPTION
345
389
 
346
390
  ## `eggs help [COMMAND]`
347
391
 
348
- display help for eggs
392
+ Display help for eggs.
349
393
 
350
394
  ```
351
395
  USAGE
352
- $ eggs help [COMMAND] [--all]
396
+ $ eggs help [COMMAND] [-n]
353
397
 
354
398
  ARGUMENTS
355
- COMMAND command to show help for
399
+ COMMAND Command to show help for.
356
400
 
357
401
  FLAGS
358
- --all see all commands in CLI
402
+ -n, --nested-commands Include all nested commands in the output.
359
403
 
360
404
  DESCRIPTION
361
- display help for eggs
405
+ Display help for eggs.
362
406
  ```
363
407
 
364
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_
408
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.11/src/commands/help.ts)_
365
409
 
366
410
  ## `eggs info`
367
411
 
@@ -379,7 +423,7 @@ DESCRIPTION
379
423
  re-thinking for a different approach to CLI
380
424
  ```
381
425
 
382
- _See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/info.ts)_
426
+ _See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/info.ts)_
383
427
 
384
428
  ## `eggs install`
385
429
 
@@ -387,11 +431,13 @@ command-line system installer - the egg became a penguin!
387
431
 
388
432
  ```
389
433
  USAGE
390
- $ eggs install [-c] [-h] [-v]
434
+ $ eggs install [-c] [-k] [-p] [-h] [-v]
391
435
 
392
436
  FLAGS
393
437
  -c, --cli force use CLI installer
394
438
  -h, --help Show CLI help.
439
+ -k, --crypted crypted CLI installation
440
+ -p, --pve Proxmox VE install
395
441
  -v, --verbose verbose
396
442
 
397
443
  DESCRIPTION
@@ -406,7 +452,7 @@ EXAMPLES
406
452
  Install the system using GUI or CLI installer
407
453
  ```
408
454
 
409
- _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/install.ts)_
455
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/install.ts)_
410
456
 
411
457
  ## `eggs kill`
412
458
 
@@ -428,7 +474,7 @@ EXAMPLES
428
474
  kill the eggs/free the nest
429
475
  ```
430
476
 
431
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/kill.ts)_
477
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/kill.ts)_
432
478
 
433
479
  ## `eggs mom`
434
480
 
@@ -445,11 +491,11 @@ DESCRIPTION
445
491
  ask for mommy - gui helper
446
492
  ```
447
493
 
448
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/mom.ts)_
494
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/mom.ts)_
449
495
 
450
496
  ## `eggs produce`
451
497
 
452
- the system produce an egg: iso image of your system
498
+ produce a live image from your system whithout your data
453
499
 
454
500
  ```
455
501
  USAGE
@@ -472,7 +518,7 @@ FLAGS
472
518
  --theme=<value> theme for livecd, calamares branding and partitions
473
519
 
474
520
  DESCRIPTION
475
- the system produce an egg: iso image of your system
521
+ produce a live image from your system whithout your data
476
522
 
477
523
  ALIASES
478
524
  $ eggs spawn
@@ -510,7 +556,7 @@ EXAMPLES
510
556
  in /home/eggs/ovarium and you can customize all you need
511
557
  ```
512
558
 
513
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/produce.ts)_
559
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/produce.ts)_
514
560
 
515
561
  ## `eggs remove`
516
562
 
@@ -540,7 +586,59 @@ EXAMPLES
540
586
  remove eggs, eggs configurations, packages dependencies
541
587
  ```
542
588
 
543
- _See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/remove.ts)_
589
+ _See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/remove.ts)_
590
+
591
+ ## `eggs syncfrom`
592
+
593
+ Restore users, server and datas from luks-eggs-backup
594
+
595
+ ```
596
+ USAGE
597
+ $ eggs syncfrom [-f <value>] [-r <value>] [-h] [-v]
598
+
599
+ FLAGS
600
+ -f, --file=<value> file with LUKS volume encrypted
601
+ -h, --help Show CLI help.
602
+ -r, --rootdir=<value> rootdir of the installed system, when used from live
603
+ -v, --verbose verbose
604
+
605
+ DESCRIPTION
606
+ Restore users, server and datas from luks-eggs-backup
607
+
608
+ ALIASES
609
+ $ eggs restore
610
+
611
+ EXAMPLES
612
+ $ sudo eggs restore
613
+ ```
614
+
615
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/syncfrom.ts)_
616
+
617
+ ## `eggs syncto`
618
+
619
+ Backup users, server and datas to luks-eggs-backup
620
+
621
+ ```
622
+ USAGE
623
+ $ eggs syncto [-k] [-f <value>] [-h] [-v]
624
+
625
+ FLAGS
626
+ -f, --file=<value> file LUKS volume encrypted
627
+ -h, --help Show CLI help.
628
+ -k, --krill krill
629
+ -v, --verbose verbose
630
+
631
+ DESCRIPTION
632
+ Backup users, server and datas to luks-eggs-backup
633
+
634
+ ALIASES
635
+ $ eggs backup
636
+
637
+ EXAMPLES
638
+ $ sudo eggs restore
639
+ ```
640
+
641
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/syncto.ts)_
544
642
 
545
643
  ## `eggs tools clean`
546
644
 
@@ -663,7 +761,7 @@ EXAMPLES
663
761
  update/upgrade the penguin's eggs tool
664
762
  ```
665
763
 
666
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.2/src/commands/update.ts)_
764
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.25/src/commands/update.ts)_
667
765
 
668
766
  ## `eggs version`
669
767
 
@@ -57,7 +57,7 @@ Presentation
57
57
  anchors.horizontalCenter: reproductiveSystem.horizontalCenter
58
58
  anchors.top: background.top
59
59
  text: qsTr("<h1>Penguin's eggs</h1><br/>"+
60
- "<h2>The reproductive system for penguins!</h2>"+
60
+ "<h2>eggs: the reproductive system of penguins!</h2>"+
61
61
  "<h3>https://penguins-eggs.net</h3>")
62
62
  wrapMode: Text.WordWrap
63
63
  width: 800
@@ -1,23 +1,21 @@
1
- I'm trying to made a way to easy customize livecd boot.
1
+ # livecd customization
2
2
 
3
- * grub.template.cfg
3
+ LiveCD customization is composed of:
4
4
  * grub.theme.cfg
5
- * isolinux.template.cfg
6
5
  * isolinux.theme.cfg
7
6
  * splash.png
8
7
 
9
- # How it work
10
- eggs take cure to copy to fill the template with the necessary values and copy configurations on /boot/grub and /isolinux on the ISO image.
8
+ ## How it work
9
+ eggs take cure to copy your theme configurations on /boot/grub and /isolinux on the ISO image.
11
10
 
12
- # grub
13
- You can adapt the template and the grub theme file i accord to your needs. During the production of eggs file grub.template.cfg will be convertent in grub.cfg and copied under /boot/grub directory of the image.
14
- * __grub.template.cfg__ -> will became -> __/boot/grub/grub.cfg__ under the iso
15
- * __grub.theme.cfg__
11
+ ## grub
12
+ You can adapt the grub theme file according to your needs. During the production of eggs a grub.cfh will be geerated and copied under ```/boot/grub``` directory of the image.
13
+ * __grub.theme.cfg__ -> will became -> __/boot/grub/theme.cfg__ under the iso
16
14
 
17
- # isolinux
18
- You can adapt the template for isolinux and the isolinux theme. During the production of eggs file isolinux.template.cfg will be convertent in isolilinux.cfg and copied under /isolinux directory of the image.
19
- * __isolinux.template.cfg__ -> will became -> __/isolinux/isolinux.cfg__ under the iso
20
- * __isolinux.theme.cfg__
21
15
 
22
- # splash
23
- both the themes will use the same splash file, who will be copied under /isolinux directory of the image.
16
+ ## isolinux
17
+ You can adapt the isolinux theme. During the production of eggs an isolilinux.cfg will be generated and copied under ```/isolinux``` directory of the image.
18
+ * __isolinux.theme.cfg__ -> will became -> __/isolinux/theme.cfg__ under the iso
19
+
20
+ ## splash
21
+ Both isolinux and grub themes use the same splash file.
@@ -1,24 +1,21 @@
1
- #
2
- # eggs: grub.theme.cfg
3
- #
1
+ # GRUB2 gfxmenu theme
4
2
 
5
- title-color: "cyan"
6
- title-text: "Penguin's eggs - Perri's brewery edition -"
7
- # title-font: "Sans Regular 20"
8
- desktop-color: "grey"
9
- desktop-image: "/isolinux/splash.png"
10
- #message-color: "white"
11
- #message-bg-color: "cyan"
12
- #terminal-font: "Sans Regular 12"
3
+ # Global Property
4
+ title-color: "blue"
5
+ title-text: "Penguin's eggs - Perri's brewery edition"
6
+ title-font: "Sans Regular 20"
7
+ desktop-color: "black"
8
+ desktop-image: "splash.png"
13
9
 
10
+ # show boot_menu
14
11
  + boot_menu {
15
12
  top = 150
16
13
  left = 15%
17
14
  width = 75%
18
15
  height = 130
19
- #item_font = "Sans Regular 12"
20
- item_color = "blue"
21
- selected_item_color = "white"
16
+ item_font = "Sans Regular 12"
17
+ item_color = "black"
18
+ selected_item_color = "blue"
22
19
  item_height = 20
23
20
  item_padding = 15
24
21
  item_spacing = 5
@@ -42,5 +39,5 @@ desktop-image: "/isolinux/splash.png"
42
39
  + vbox {
43
40
  top = 100%
44
41
  left = 2%
45
- + label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"}
42
+ + label {text = "Press 'E' key to edit, 'C' for command." font = "Sans 10" color = "white" align = "left"}
46
43
  }
Binary file
@@ -1,24 +1,21 @@
1
- #
2
- # eggs: grub.theme.cfg
3
- #
1
+ # GRUB2 gfxmenu theme
4
2
 
5
- title-color: "cyan"
6
- title-text: "Neon KDE"
7
- # title-font: "Sans Regular 20"
8
- desktop-color: "grey"
9
- desktop-image: "/isolinux/splash.png"
10
- #message-color: "white"
11
- #message-bg-color: "cyan"
12
- #terminal-font: "Sans Regular 12"
3
+ # Global Property
4
+ title-color: "blue"
5
+ title-text: "Penguin's eggs - KDE neon theme"
6
+ title-font: "Sans Regular 20"
7
+ desktop-color: "black"
8
+ desktop-image: "splash.png"
13
9
 
10
+ # show boot_menu
14
11
  + boot_menu {
15
12
  top = 150
16
13
  left = 15%
17
14
  width = 75%
18
15
  height = 130
19
- #item_font = "Sans Regular 12"
20
- item_color = "blue"
21
- selected_item_color = "white"
16
+ item_font = "Sans Regular 12"
17
+ item_color = "black"
18
+ selected_item_color = "blue"
22
19
  item_height = 20
23
20
  item_padding = 15
24
21
  item_spacing = 5
@@ -42,5 +39,5 @@ desktop-image: "/isolinux/splash.png"
42
39
  + vbox {
43
40
  top = 100%
44
41
  left = 2%
45
- + label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"}
42
+ + label {text = "Press 'E' key to edit, 'C' for command." font = "Sans 10" color = "white" align = "left"}
46
43
  }
Binary file
@@ -0,0 +1,30 @@
1
+ #
2
+ # eggs: grub.template.cfg
3
+ #
4
+
5
+ if loadfont $prefix/font.pf2 ; then
6
+ set gfxmode=640x480
7
+ insmod efi_gop
8
+ insmod efi_uga
9
+ insmod video_bochs
10
+ insmod video_cirrus
11
+ insmod gfxterm
12
+ insmod jpeg
13
+ insmod png
14
+ terminal_output gfxterm
15
+ fi
16
+
17
+ set theme=/boot/grub/theme.cfg
18
+
19
+ menuentry "{{{fullname}}} (kernel {{{kernel}}})" {
20
+ set gfxpayload=keep
21
+ {{{rmModules}}}
22
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
23
+ initrd {{{initrdImg}}}
24
+ }
25
+ menuentry "{{{fullname}}} safe" {
26
+ set gfxpayload=keep
27
+ {{{rmModules}}}
28
+ linux {{{vmlinuz}}} {{{kernel_parameters}}}
29
+ initrd {{{initrdImg}}}
30
+ }
@@ -1,4 +1,3 @@
1
- #
2
1
  # eggs: isolinux.cfg
3
2
  #
4
3
 
@@ -11,19 +10,20 @@ timeout 200
11
10
  #
12
11
  #
13
12
 
14
- label start
13
+ label default
15
14
  menu label {{{fullname}}} (kernel {{{kernel}}})
16
15
  menu default
17
- say "Booting {{{customName}}} GNU/Linux Live (kernel {{{kernel}}})"
16
+ say "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}})"
18
17
  linux {{{vmlinuz}}}
19
18
  append initrd={{{initrdImg}}} {{{kernel_parameters}}}
20
19
 
21
20
  label safe
22
- menu label English/safe
23
- say "Booting {{{customName}}} GNU/Linux Live (kernel {{{kernel}}})"
21
+ menu label {{{fullname}}} safe
22
+ say "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}})"
24
23
  linux {{{vmlinuz}}}
25
24
  append initrd={{{initrdImg}}} {{{kernel_parameters}}}
26
25
 
27
- label Boot from local disk
26
+ label boot from local disk
28
27
  com32 chain.c32
29
- append hd1 1 swap
28
+ append hd1 1 swap
29
+
@@ -1,19 +1,20 @@
1
- title-color: "cyan"
2
- title-text: "EducaAndOS 20.04 - Unofficial version - aosucas499"
1
+ # GRUB2 gfxmenu theme
2
+
3
+ # Global Property
4
+ title-color: "white"
5
+ title-text: "Waydroid: Android in a Linux container"
3
6
  # title-font: "Sans Regular 20"
4
7
  desktop-color: "blue"
5
- desktop-image: "/isolinux/splash.png"
6
- #message-color: "white"
7
- #message-bg-color: "cyan"
8
- #terminal-font: "Sans Regular 12"
8
+ desktop-image: "splash.png"
9
9
 
10
+ # show boot_menu
10
11
  + boot_menu {
11
12
  top = 150
12
13
  left = 15%
13
14
  width = 75%
14
15
  height = 130
15
16
  #item_font = "Sans Regular 12"
16
- item_color = "blue"
17
+ item_color = "gray"
17
18
  selected_item_color = "white"
18
19
  item_height = 20
19
20
  item_padding = 15
@@ -38,5 +39,5 @@ desktop-image: "/isolinux/splash.png"
38
39
  + vbox {
39
40
  top = 100%
40
41
  left = 2%
41
- + label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"}
42
+ + label {text = "Press 'E' key to edit, 'C' for command." font = "Sans 10" color = "white" align = "left"}
42
43
  }
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # eggs: isolinux.theme
3
3
  #
4
-
4
+ MENU TITLE Waydroid: Android in a Linux container
5
5
  MENU BACKGROUND splash.png
6
6
  # MENU COLOR element backgound foreground shadow
7
7
  # background and foreground are hexadecimal digits for alpha (opacity), red, green and blue,
@@ -66,7 +66,7 @@ function restore_apt {
66
66
  function yolk {
67
67
  mkdir "$APT_ROOT/sources.list.d"
68
68
  cat << EOF > $CHROOT/etc/apt/sources.list.d/yolk.list
69
- deb [trusted=yes] file:///usr/local/yolk ./
69
+ deb [trusted=yes] file:///var/local/yolk ./
70
70
  EOF
71
71
  chroot ${CHROOT} apt-get --allow-unauthenticated update -y
72
72
  }
@@ -49,7 +49,7 @@ function add_list {
49
49
  function add_yolk {
50
50
  remove_list
51
51
  cat << EOF > $CHROOT/etc/apt/sources.list.d/yolk.list
52
- deb [trusted=yes] file:/usr/local/yolk ./
52
+ deb [trusted=yes] file:/var/local/yolk ./
53
53
  EOF
54
54
  chroot $CHROOT apt-get --allow-unauthenticated update -y
55
55
  }
@@ -49,7 +49,7 @@ function add_list {
49
49
  function add_yolk {
50
50
  remove_list
51
51
  cat << EOF > $CHROOT/etc/apt/sources.list.d/yolk.list
52
- deb [trusted=yes] file:/usr/local/yolk ./
52
+ deb [trusted=yes] file:/var/local/yolk ./
53
53
  EOF
54
54
  chroot $CHROOT apt-get --allow-unauthenticated update -y
55
55
  }
package/conf/eggs.yaml CHANGED
@@ -26,8 +26,8 @@ snapshot_basename: 'hostname'
26
26
  # You can change the rsync excludes file here - if you know what you're doing -
27
27
  # be sure to use the full path to the file.
28
28
  #
29
- # default /usr/local/share/excludes/penguins-eggs-snapshot-exclude.list
30
- snapshot_excludes: '/usr/local/share/penguins-eggs/exclude.list'
29
+ # default /var/local/share/excludes/penguins-eggs-snapshot-exclude.list
30
+ snapshot_excludes: '/var/local/share/penguins-eggs/exclude.list'
31
31
 
32
32
  # user to be used in the liveCd
33
33
  # default live
package/conf/exclude.list CHANGED
@@ -75,15 +75,22 @@ var/lib/sudo/*
75
75
  var/lib/udisks/*
76
76
  var/lib/urandom/*
77
77
 
78
- # Toglie tutto ad eccezione di:
79
- # apache2, clamav, pveprozy, samba, mysql
80
- var/log/!(apache2|clamav|pveproxy|samba|mysql|)
78
+ # var/log:
79
+ # remove all with exception of:
80
+ # apache2, clamav, pveprozy, samba, mysql, cga-update-manager
81
+ var/log/!(apache2|clamav|pveproxy|samba|mysql|cga-update-manager)
82
+
83
+ # the follow lines remove all inside ther respective dirs:
81
84
  var/log/apache2/*
82
85
  var/log/clamav/*
83
86
  var/log/pveproxy/*
84
87
  var/log/samba/*
85
88
  var/log/mysql/*
86
89
 
90
+ # We don't want remove nothing in /var/log/cga-update-manager
91
+ #var/log/cga-update-manager
92
+
93
+
87
94
  var/mail/*
88
95
  var/spool/mail/*
89
96
  var/tmp/*