penguins-eggs 9.1.37 → 9.2.2

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 (83) hide show
  1. package/README.md +39 -76
  2. package/addons/eggs/adapt/applications/eggs-adapt.desktop +0 -0
  3. package/addons/eggs/adapt/bin/adapt +0 -0
  4. package/addons/eggs/ichoice/bin/eggs-ichoice.sh +0 -0
  5. package/addons/eggs/pve/applications/eggs-pve.desktop +0 -0
  6. package/addons/eggs/rsupport/applications/eggs-rsupport.desktop +0 -0
  7. package/addons/eggs/theme/applications/install-debian.desktop +0 -0
  8. package/addons/neon/theme/applications/install-debian.desktop +0 -0
  9. package/addons/telos/theme/applications/install-debian.desktop +0 -0
  10. package/addons/ufficiozero/theme/applications/install-debian.desktop +0 -0
  11. package/addons/waydroid/theme/applications/install-debian.desktop +0 -0
  12. package/assets/calamares/install-debian +0 -0
  13. package/assets/penguins-eggs.desktop +0 -0
  14. package/assets/penguins-krill.desktop +0 -0
  15. package/assets/penguins-links-add.desktop +0 -0
  16. package/assets/penguins-live-installer.desktop +0 -0
  17. package/bin/dev +0 -0
  18. package/conf/distros/bionic/calamares/calamares-modules/after-bootloader/after-bootloader.sh +0 -0
  19. package/conf/distros/bionic/calamares/calamares-modules/before-bootloader/before-bootloader.sh +0 -0
  20. package/conf/distros/bionic/calamares/calamares-modules/before-bootloader-mkdirs/before-bootloader-mkdirs.sh +0 -0
  21. package/conf/distros/bionic/calamares/calamares-modules/bug/bug.sh +0 -0
  22. package/conf/distros/bionic/calamares/calamares-modules/grubcfg/main.py +0 -0
  23. package/conf/distros/bionic/calamares/settings.yml +2 -2
  24. package/conf/distros/buster/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  25. package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
  26. package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  27. package/conf/distros/buster/calamares/settings.yml +2 -2
  28. package/conf/distros/focal/calamares/calamares-modules/automirror/main.py +0 -0
  29. package/conf/distros/focal/calamares/settings.yml +2 -2
  30. package/conf/distros/rolling/calamares/modules/machineid.yml +4 -0
  31. package/conf/distros/rolling/calamares/modules/packages.yml +1 -1
  32. package/conf/distros/rolling/calamares/modules/shellprocess_removelink.yml +6 -0
  33. package/conf/distros/rolling/calamares/settings.yml +4 -11
  34. package/lib/classes/bleach.js +6 -4
  35. package/lib/classes/daddy.js +2 -1
  36. package/lib/classes/distro.js +4 -0
  37. package/lib/classes/family/archlinux.js +8 -4
  38. package/lib/classes/incubation/distros/bionic.d.ts +1 -1
  39. package/lib/classes/incubation/distros/bionic.js +1 -1
  40. package/lib/classes/incubation/distros/buster.d.ts +1 -1
  41. package/lib/classes/incubation/distros/buster.js +1 -1
  42. package/lib/classes/incubation/distros/focal.d.ts +1 -1
  43. package/lib/classes/incubation/distros/focal.js +1 -1
  44. package/lib/classes/incubation/distros/jessie.d.ts +1 -1
  45. package/lib/classes/incubation/distros/jessie.js +1 -1
  46. package/lib/classes/incubation/distros/rolling.d.ts +3 -3
  47. package/lib/classes/incubation/distros/rolling.js +4 -5
  48. package/lib/classes/incubation/fisherman-helper/packages.d.ts +4 -0
  49. package/lib/classes/incubation/fisherman-helper/packages.js +9 -16
  50. package/lib/classes/incubation/fisherman.d.ts +1 -1
  51. package/lib/classes/incubation/fisherman.js +24 -10
  52. package/lib/classes/incubation/incubator.js +26 -22
  53. package/lib/classes/ovary.d.ts +2 -1
  54. package/lib/classes/ovary.js +50 -20
  55. package/lib/classes/pacman.js +5 -5
  56. package/lib/classes/utils.d.ts +1 -1
  57. package/lib/classes/utils.js +3 -3
  58. package/lib/commands/calamares.js +1 -0
  59. package/lib/commands/{krill.d.ts → install.d.ts} +0 -1
  60. package/lib/commands/{krill.js → install.js} +6 -24
  61. package/lib/commands/produce.d.ts +1 -0
  62. package/lib/commands/produce.js +5 -7
  63. package/lib/commands/syncfrom.js +1 -1
  64. package/lib/commands/syncto.js +1 -1
  65. package/lib/krill/krill-prepare.d.ts +3 -1
  66. package/lib/krill/krill-prepare.js +7 -1
  67. package/lib/krill/krill-sequence.d.ts +1 -0
  68. package/lib/krill/krill-sequence.js +5 -2
  69. package/package.json +113 -117
  70. package/scripts/_eggs +21 -20
  71. package/scripts/bros/waydroid-helper.sh +0 -0
  72. package/scripts/eggs-adapt.sh +0 -0
  73. package/scripts/eggs.bash +4 -4
  74. package/scripts/install-eggs-ppa.sh +0 -0
  75. package/scripts/mom-cli.sh +23 -79
  76. package/scripts/pve-live.service +0 -0
  77. package/scripts/pve-live.sh +0 -0
  78. package/scripts/resy.sh +0 -0
  79. package/scripts/userexist.sh +0 -0
  80. package/conf/distros/rolling/calamares/calamares-modules/remove-link/module.yml +0 -9
  81. package/conf/distros/rolling/calamares/calamares-modules/remove-link/remove-link.sh +0 -3
  82. package/lib/commands/remove.d.ts +0 -21
  83. package/lib/commands/remove.js +0 -84
package/README.md CHANGED
@@ -56,26 +56,21 @@ eggs include a CLI installer named krill, this let you to produce and install se
56
56
  ### addons and themes
57
57
  Addons are used mostly to let third parties to develop extensions. Note that currently we have an extension for the theme that includes both branding calamares, link and installer icon. In addition, also as an addon has been developed choose between GUI or CLI installation, adapt the video resolution, link to remote support, etc.
58
58
 
59
- ### backup
60
- 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.
59
+ ### backup/clone
61
60
 
62
- * ```eggs produce``` just remove users accounts and home. This let to have working servers examples;
63
- * ```eggs produce --backup``` remove servers and users data from live, and put them on a LUKS volume.
61
+ We have two methods to save in the live systema all our data: clone and backup.
64
62
 
65
- We have another two commands for backup/restore: ```eggs syncfrom``` and ```eggs syncto```. A working installation, can easily sync users and servers data to a luks-eggs-backup file:
63
+ ```eggs produces --fast --clone``` saves our users and our data directly in the generated iso. The data will be visible directly from the live and accessible to anyone who gets a copy.
66
64
 
67
- * ```eggs syncto -f /tmp/luks-eggs-backup``` backup users and servers data to LUKS volume /tmp/luks-eggs-backup:
65
+ ```eggs produces --fast --backup``` saves our data within the generated iso using a LUKS volume. Our data will NOT be visible in the live system but can be reinstalled automatically with krill installer. Even having the generated image available, our data will be protected by the LUKS passphrase.
68
66
 
69
- Or a new installation, can easyly get users and servers data from a luks-eggs-backup:
70
- * ```eggs syncfrom from -f /tmp/luks-eggs-backup``` restore users and servers data from the LUKS volume /tmp/luks-eggs-backup.
67
+ * ```eggs produce``` just users accounts and homes.
68
+ * ```eggs produce --clone``` include all users data UNCRYPTED directly on the live.
69
+ * ```eggs produce --backup``` include all users data CRYPTED on a LUKS volume inside the iso.
71
70
 
72
71
  **NOTE:**
73
- * krill: ```sudo eggs install --cli``` will restore users and servers data automatically;
74
- * 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```
75
- * 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.
72
+ Using ```sudo eggs krill --cli``` will restore your CRYPTED backup automatically. Of course the original passphrase will be request.
76
73
 
77
- **DISCLAIM:** using this feathures in non appropriate way can be dangerous for your data:
78
- * ```syncfrom``` replace all users homes and all servers homes with data from the luck-eggs-backup file, Force this data in a not appropriate system can easily end in a long disaster recovery.
79
74
 
80
75
  ## What distributions can I use?
81
76
  eggs was born on Debian strecth, buster and followinng. Actually full support Debian from jessie to bookworm/sid, Devuan beowulf, chimaera, daedalus, Ubuntu bionic, focal, jammy - and all derivatives from them including Linux mint, Deepin, neon KDE, etc - ManjaroLinux and finally Arch, the last distro added.
@@ -132,7 +127,7 @@ $ npm install -g penguins-eggs
132
127
  $ eggs COMMAND
133
128
  running command...
134
129
  $ eggs (--version|-v)
135
- penguins-eggs/9.1.37 linux-x64 node-v16.16.0
130
+ penguins-eggs/9.2.2 linux-x64 node-v16.16.0
136
131
  $ eggs --help [COMMAND]
137
132
  USAGE
138
133
  $ eggs COMMAND
@@ -158,7 +153,6 @@ USAGE
158
153
  * [`eggs krill`](#eggs-krill)
159
154
  * [`eggs mom`](#eggs-mom)
160
155
  * [`eggs produce`](#eggs-produce)
161
- * [`eggs remove`](#eggs-remove)
162
156
  * [`eggs syncfrom`](#eggs-syncfrom)
163
157
  * [`eggs syncto`](#eggs-syncto)
164
158
  * [`eggs tools clean`](#eggs-tools-clean)
@@ -189,7 +183,7 @@ DESCRIPTION
189
183
  adapt monitor resolution for VM only
190
184
  ```
191
185
 
192
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/adapt.ts)_
186
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/adapt.ts)_
193
187
 
194
188
  ## `eggs analyze`
195
189
 
@@ -210,7 +204,7 @@ EXAMPLES
210
204
  $ sudo eggs analyze
211
205
  ```
212
206
 
213
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/analyze.ts)_
207
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/analyze.ts)_
214
208
 
215
209
  ## `eggs autocomplete [SHELL]`
216
210
 
@@ -268,7 +262,7 @@ EXAMPLES
268
262
  install calamares and create it's configuration's files
269
263
  ```
270
264
 
271
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/calamares.ts)_
265
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/calamares.ts)_
272
266
 
273
267
  ## `eggs config`
274
268
 
@@ -292,7 +286,7 @@ EXAMPLES
292
286
  Configure and install prerequisites deb packages to run it
293
287
  ```
294
288
 
295
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/config.ts)_
289
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/config.ts)_
296
290
 
297
291
  ## `eggs dad`
298
292
 
@@ -312,7 +306,7 @@ DESCRIPTION
312
306
  ask help from daddy - configuration helper
313
307
  ```
314
308
 
315
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/dad.ts)_
309
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/dad.ts)_
316
310
 
317
311
  ## `eggs export deb`
318
312
 
@@ -403,7 +397,7 @@ DESCRIPTION
403
397
  informations about eggs configuration
404
398
  ```
405
399
 
406
- _See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/info.ts)_
400
+ _See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/info.ts)_
407
401
 
408
402
  ## `eggs install`
409
403
 
@@ -411,10 +405,9 @@ command-line system installer - the egg became a penguin!
411
405
 
412
406
  ```
413
407
  USAGE
414
- $ eggs install [-c] [-k] [-p] [-h] [-v]
408
+ $ eggs install [-k] [-p] [-h] [-v]
415
409
 
416
410
  FLAGS
417
- -c, --cli force use CLI installer
418
411
  -h, --help Show CLI help.
419
412
  -k, --crypted crypted CLI installation
420
413
  -p, --pve Proxmox VE install
@@ -424,13 +417,15 @@ DESCRIPTION
424
417
  command-line system installer - the egg became a penguin!
425
418
 
426
419
  ALIASES
427
- $ eggs install
420
+ $ eggs krill
428
421
 
429
422
  EXAMPLES
430
423
  $ eggs install
431
- Install the system using GUI or CLI installer
424
+ Install the system using krill installer
432
425
  ```
433
426
 
427
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/install.ts)_
428
+
434
429
  ## `eggs kill`
435
430
 
436
431
  kill the eggs/free the nest
@@ -451,7 +446,7 @@ EXAMPLES
451
446
  kill the eggs/free the nest
452
447
  ```
453
448
 
454
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/kill.ts)_
449
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/kill.ts)_
455
450
 
456
451
  ## `eggs krill`
457
452
 
@@ -459,10 +454,9 @@ command-line system installer - the egg became a penguin!
459
454
 
460
455
  ```
461
456
  USAGE
462
- $ eggs krill [-c] [-k] [-p] [-h] [-v]
457
+ $ eggs krill [-k] [-p] [-h] [-v]
463
458
 
464
459
  FLAGS
465
- -c, --cli force use CLI installer
466
460
  -h, --help Show CLI help.
467
461
  -k, --crypted crypted CLI installation
468
462
  -p, --pve Proxmox VE install
@@ -472,15 +466,13 @@ DESCRIPTION
472
466
  command-line system installer - the egg became a penguin!
473
467
 
474
468
  ALIASES
475
- $ eggs install
469
+ $ eggs krill
476
470
 
477
471
  EXAMPLES
478
472
  $ eggs install
479
- Install the system using GUI or CLI installer
473
+ Install the system using krill installer
480
474
  ```
481
475
 
482
- _See code: [src/commands/krill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/krill.ts)_
483
-
484
476
  ## `eggs mom`
485
477
 
486
478
  ask for mommy - gui helper
@@ -496,7 +488,7 @@ DESCRIPTION
496
488
  ask for mommy - gui helper
497
489
  ```
498
490
 
499
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/mom.ts)_
491
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/mom.ts)_
500
492
 
501
493
  ## `eggs produce`
502
494
 
@@ -504,11 +496,12 @@ produce a live image from your system whithout your data
504
496
 
505
497
  ```
506
498
  USAGE
507
- $ eggs produce [-p <value>] [--basename <value>] [-b] [-f] [-n] [-m] [-v] [-y] [-s] [-h] [--theme <value>]
508
- [--addons <value>] [--release]
499
+ $ eggs produce [-p <value>] [--basename <value>] [-b] [-c] [-f] [-n] [-m] [-v] [-y] [-s] [-h] [--theme
500
+ <value>] [--addons <value>] [--release]
509
501
 
510
502
  FLAGS
511
- -b, --backup backup mode
503
+ -b, --backup backup mode (CRYPTED)
504
+ -c, --clone clone mode
512
505
  -f, --fast fast compression
513
506
  -h, --help Show CLI help.
514
507
  -m, --max max compression
@@ -519,7 +512,7 @@ FLAGS
519
512
  -y, --yolk -y force yolk renew
520
513
  --addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
521
514
  --basename=<value> basename
522
- --release release: configure GUI installer to remove eggs and calamares after installation
515
+ --release release: max compression, remove penguins-eggs and calamares after installation
523
516
  --theme=<value> theme for livecd, calamares branding and partitions
524
517
 
525
518
  DESCRIPTION
@@ -557,41 +550,11 @@ EXAMPLES
557
550
  in /home/eggs/ovarium and you can customize all you need
558
551
  ```
559
552
 
560
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/produce.ts)_
561
-
562
- ## `eggs remove`
563
-
564
- remove eggs and others stuff
565
-
566
- ```
567
- USAGE
568
- $ eggs remove [-p] [-a] [-h] [-v]
569
-
570
- FLAGS
571
- -a, --autoremove remove eggs packages dependencies
572
- -h, --help Show CLI help.
573
- -p, --purge remove eggs configurations files
574
- -v, --verbose verbose
575
-
576
- DESCRIPTION
577
- remove eggs and others stuff
578
-
579
- EXAMPLES
580
- $ sudo eggs remove
581
- remove eggs
582
-
583
- $ sudo eggs remove --purge
584
- remove eggs, eggs configurations, configuration's files
585
-
586
- $ sudo eggs remove --autoremove
587
- remove eggs, eggs configurations, packages dependencies
588
- ```
589
-
590
- _See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/remove.ts)_
553
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/produce.ts)_
591
554
 
592
555
  ## `eggs syncfrom`
593
556
 
594
- Restore users, server and datas from luks-eggs-backup
557
+ restore users and user data from a LUKS volumes
595
558
 
596
559
  ```
597
560
  USAGE
@@ -605,17 +568,17 @@ FLAGS
605
568
  --delete=<value> rsync --delete delete extraneous files from dest dirs
606
569
 
607
570
  DESCRIPTION
608
- Restore users, server and datas from luks-eggs-backup
571
+ restore users and user data from a LUKS volumes
609
572
 
610
573
  EXAMPLES
611
574
  $ sudo eggs restore
612
575
  ```
613
576
 
614
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/syncfrom.ts)_
577
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/syncfrom.ts)_
615
578
 
616
579
  ## `eggs syncto`
617
580
 
618
- saving users' datas and accounts on LUKS volume
581
+ saves users and user data in a LUKS volume inside the iso
619
582
 
620
583
  ```
621
584
  USAGE
@@ -628,13 +591,13 @@ FLAGS
628
591
  --delete=<value> rsync --delete delete extraneous files from dest dirs
629
592
 
630
593
  DESCRIPTION
631
- saving users' datas and accounts on LUKS volume
594
+ saves users and user data in a LUKS volume inside the iso
632
595
 
633
596
  EXAMPLES
634
597
  $ sudo eggs syncto
635
598
  ```
636
599
 
637
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/syncto.ts)_
600
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/syncto.ts)_
638
601
 
639
602
  ## `eggs tools clean`
640
603
 
@@ -729,7 +692,7 @@ EXAMPLES
729
692
  update/upgrade the penguin's eggs tool
730
693
  ```
731
694
 
732
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/update.ts)_
695
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.2.2/src/commands/update.ts)_
733
696
 
734
697
  ## `eggs version`
735
698
 
@@ -867,7 +830,7 @@ There is a [Penguin's eggs official book](https://penguins-eggs.net/book/) and s
867
830
  * [blog](https://penguins-eggs.net)
868
831
  * [facebook penguin's eggs group](https://www.facebook.com/groups/128861437762355/)
869
832
  * [sources](https://github.com/pieroproietti/penguins-krill)
870
- * [telegram](telegram.me/PieroProietti)
833
+ * [telegram](https://t.me/penguins_eggs) penguin's eggs channel
871
834
  * [twitter](https://twitter.com/pieroproietti)
872
835
 
873
836
  You can contact me at pieroproietti@gmail.com or [meet me](https://meet.jit.si/PenguinsEggsMeeting)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/bin/dev CHANGED
File without changes
@@ -11,7 +11,7 @@ sequence:
11
11
  - locale
12
12
  - keyboard
13
13
  - partition
14
- - users
14
+ {{createUsers}}users
15
15
  - summary
16
16
  - exec:
17
17
  - partition
@@ -24,7 +24,7 @@ sequence:
24
24
  - keyboard
25
25
  - localecfg
26
26
  - luksbootkeyfile
27
- - users
27
+ {{createUsers}}users
28
28
  {{hasDisplaymanager}}displaymanager
29
29
  - networkcfg
30
30
  - hwclock
@@ -52,7 +52,7 @@ sequence:
52
52
  - locale
53
53
  - keyboard
54
54
  - partition
55
- - users
55
+ {{createUsers}}users
56
56
  - summary
57
57
 
58
58
  # Phase 2 - install.
@@ -72,7 +72,7 @@ sequence:
72
72
  - locale
73
73
  - keyboard
74
74
  - localecfg
75
- - users
75
+ {{createUsers}}users
76
76
  {{hasDisplaymanager}}displaymanager
77
77
  - networkcfg
78
78
  - hwclock
@@ -28,7 +28,7 @@ sequence:
28
28
  - locale
29
29
  - keyboard
30
30
  - partition
31
- - users
31
+ {{createUsers}}users
32
32
  - summary
33
33
  - exec:
34
34
  - partition
@@ -41,7 +41,7 @@ sequence:
41
41
  - keyboard
42
42
  - localecfg
43
43
  - luksbootkeyfile
44
- - users
44
+ {{createUsers}}users
45
45
  {{hasDisplaymanager}}displaymanager
46
46
  - networkcfg
47
47
  - hwclock
@@ -0,0 +1,4 @@
1
+ ---
2
+ systemd: true
3
+ dbus: true
4
+ symlink: true
@@ -1,7 +1,7 @@
1
1
  # manjaro
2
2
  # packages
3
3
  ---
4
- backend: pamac
4
+ backend: pacman
5
5
 
6
6
  operations:
7
7
  {{remove}}
@@ -0,0 +1,6 @@
1
+ --
2
+ dontChroot: false
3
+ timeout: 30
4
+ script:
5
+ - "rm -r @@ROOT@@/usr/share/applications/install-debian.desktop"
6
+
@@ -18,7 +18,7 @@ sequence:
18
18
  - locale
19
19
  - keyboard
20
20
  - partition
21
- - users
21
+ {{createUsers}}users
22
22
  - summary
23
23
 
24
24
  # Phase 2 - install.
@@ -31,29 +31,22 @@ sequence:
31
31
  - partition
32
32
  - mount
33
33
  - unpackfs
34
- # sources-yolk
35
- #{{hasSystemd}}machineid
34
+ - machineid
36
35
  - fstab
37
36
  - locale
38
37
  - keyboard
39
38
  - localecfg
40
- - users
39
+ {{createUsers}}users
41
40
  {{hasDisplaymanager}}displaymanager
42
41
  - networkcfg
43
42
  - hwclock
44
- #{{hasSystemd}}services-systemd
45
- #- bootloader-config
46
43
  - grubcfg
47
44
  - bootloader
48
45
  - packages
49
46
  - luksbootkeyfile
50
47
  - plymouthcfg
51
- #- initramfscfg
52
- #- initramfs
53
48
  - removeuser
54
- #- shellprocess@cleanup
55
- #- remove-link
56
- #- sources-yolk-unmount
49
+ # shellprocess removelink
57
50
  - umount
58
51
 
59
52
  # Phase 3 - postinstall.
@@ -22,12 +22,15 @@ class Bleach {
22
22
  * @param verbose
23
23
  */
24
24
  async clean(verbose = false) {
25
+ if (verbose) {
26
+ utils_1.default.warning('cleaning the system');
27
+ }
25
28
  const distro = new distro_1.default();
26
- if (distro.distroLike === 'Debian' || distro.distroLike === 'Devuan' || (distro.distroLike === 'Ubuntu')) {
29
+ if (distro.familyId === 'debian') {
27
30
  await this.cleanApt(verbose);
28
31
  }
29
- else if (distro.distroLike === 'Arch') {
30
- await (0, utils_2.exec)('paccache -ruk0');
32
+ else if (distro.familyId === 'archlinux') {
33
+ await (0, utils_2.exec)('pacman -Scc', utils_1.default.setEcho(true));
31
34
  }
32
35
  await this.cleanHistory(verbose);
33
36
  await this.cleanJournal(verbose);
@@ -41,7 +44,6 @@ class Bleach {
41
44
  let echo = { echo: false, ignore: true, capture: false };
42
45
  if (verbose) {
43
46
  echo = { echo: true, ignore: true, capture: false };
44
- utils_1.default.warning('cleaning apt');
45
47
  }
46
48
  await (0, utils_2.exec)('apt-get clean', echo);
47
49
  await (0, utils_2.exec)('apt-get autoclean', echo);
@@ -102,13 +102,14 @@ class Daddy {
102
102
  const myAddons = {};
103
103
  myAddons.adapt = true;
104
104
  const backup = false;
105
+ const personal = false;
105
106
  const scriptOnly = false;
106
107
  const yolkRenew = false;
107
108
  const final = false;
108
109
  const ovary = new ovary_1.default();
109
110
  utils_1.default.warning('Produce an egg...');
110
111
  if (await ovary.fertilization(config.snapshot_prefix, config.snapshot_basename, config.theme, config.compression)) {
111
- await ovary.produce(backup, scriptOnly, yolkRenew, final, myAddons, verbose);
112
+ await ovary.produce(backup, personal, scriptOnly, yolkRenew, final, myAddons, verbose);
112
113
  ovary.finished(scriptOnly);
113
114
  }
114
115
  }
@@ -27,6 +27,10 @@
27
27
  * Ubuntu 21.10 (impish) active
28
28
  * Ubuntu 22.04 (jammy) LTS
29
29
  *
30
+ * Arch
31
+ * Manjaro Qonos
32
+ * Manjaro Ruah
33
+ *
30
34
  */
31
35
  'use strict';
32
36
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -36,8 +36,12 @@ class Archlinux {
36
36
  * Crea array pacchetti da installare/rimuovere
37
37
  */
38
38
  static packages(remove = false, verbose = false) {
39
+ /**
40
+ * praticamente non serve, perche prende dal pacchetto o da pkgbuild
41
+ */
39
42
  // non può essere pacman è universalmente presente
40
- const packages = ['arch-install-scripts', 'awk', 'dosfstools', 'e2fsprogs', 'erofs-utils', 'findutils', 'gzip', 'libarchive', 'libisoburn', 'mtools', 'openssl', 'pacman', 'rsync', 'sed', 'syslinux', 'squashfs-tools'];
43
+ // 'pacman', 'awk', 'dosfstools'
44
+ const packages = ['']; // 'arch-install-scripts', 'e2fsprogs', 'erofs-utils', 'findutils', 'gzip', 'libarchive', 'libisoburn', 'mtools', 'openssl', 'rsync', 'sed', 'syslinux', 'squashfs-tools']
41
45
  const toInstall = [];
42
46
  const toRemove = [];
43
47
  for (const elem of packages) {
@@ -97,12 +101,12 @@ class Archlinux {
97
101
  static async calamaresInstall(verbose = false) {
98
102
  verbose = true; // serve per pacman
99
103
  const echo = utils_1.default.setEcho(verbose);
104
+ let cmd = `pacman -Sy --noconfirm ${(0, dependencies_1.array2spaced)(this.packs4calamares)}`;
100
105
  try {
101
- // inserito flag --noconfirm
102
- await (0, utils_2.exec)(`pacman -Sy --noconfirm ${(0, dependencies_1.array2spaced)(this.packs4calamares)}`, echo);
106
+ await (0, utils_2.exec)(cmd, echo);
103
107
  }
104
108
  catch {
105
- utils_1.default.error(`Archlinux.calamaresInstall() pacman -Sy ${(0, dependencies_1.array2spaced)(this.packs4calamares)}`); // + e.error)
109
+ utils_1.default.error(`Archlinux.calamaresInstall(): ${cmd}`); // + e.error)
106
110
  }
107
111
  }
108
112
  /**
@@ -21,7 +21,7 @@ export declare class Bionic {
21
21
  * @param release
22
22
  * @param verbose
23
23
  */
24
- constructor(installer: IInstaller, remix: IRemix, distro: IDistro, release: boolean, user_opt: string, verbose?: boolean);
24
+ constructor(installer: IInstaller, remix: IRemix, distro: IDistro, user_opt: string, release?: boolean, verbose?: boolean);
25
25
  /**
26
26
  *
27
27
  */
@@ -19,7 +19,7 @@ class Bionic {
19
19
  * @param release
20
20
  * @param verbose
21
21
  */
22
- constructor(installer, remix, distro, release, user_opt, verbose = false) {
22
+ constructor(installer, remix, distro, user_opt, release = false, verbose = false) {
23
23
  this.verbose = false;
24
24
  this.installer = {};
25
25
  this.release = false;
@@ -23,7 +23,7 @@ export declare class Buster {
23
23
  * @param displaymanager
24
24
  * @param verbose
25
25
  */
26
- constructor(installer: IInstaller, remix: IRemix, distro: IDistro, release: boolean, user_opt: string, verbose?: boolean);
26
+ constructor(installer: IInstaller, remix: IRemix, distro: IDistro, user_opt: string, release?: boolean, verbose?: boolean);
27
27
  /**
28
28
  *
29
29
  */
@@ -21,7 +21,7 @@ class Buster {
21
21
  * @param displaymanager
22
22
  * @param verbose
23
23
  */
24
- constructor(installer, remix, distro, release, user_opt, verbose = false) {
24
+ constructor(installer, remix, distro, user_opt, release = false, verbose = false) {
25
25
  this.verbose = false;
26
26
  this.installer = {};
27
27
  this.release = false;
@@ -21,7 +21,7 @@ export declare class Focal {
21
21
  * @param displaymanager
22
22
  * @param verbose
23
23
  */
24
- constructor(installer: IInstaller, remix: IRemix, distro: IDistro, release: boolean, user_opt: string, verbose?: boolean);
24
+ constructor(installer: IInstaller, remix: IRemix, distro: IDistro, user_opt: string, release?: boolean, verbose?: boolean);
25
25
  /**
26
26
  *
27
27
  */
@@ -19,7 +19,7 @@ class Focal {
19
19
  * @param displaymanager
20
20
  * @param verbose
21
21
  */
22
- constructor(installer, remix, distro, release, user_opt, verbose = false) {
22
+ constructor(installer, remix, distro, user_opt, release = false, verbose = false) {
23
23
  this.verbose = false;
24
24
  this.installer = {};
25
25
  this.release = false;
@@ -24,7 +24,7 @@ export declare class Jessie {
24
24
  * @param displaymanager
25
25
  * @param verbose
26
26
  */
27
- constructor(installer: IInstaller, remix: IRemix, distro: IDistro, release: boolean, user_opt: string, verbose?: boolean);
27
+ constructor(installer: IInstaller, remix: IRemix, distro: IDistro, user_opt: string, release?: boolean, verbose?: boolean);
28
28
  /**
29
29
  *
30
30
  */