penguins-eggs 9.3.20 → 9.3.23

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 (41) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/README.md +143 -80
  3. package/conf/derivatives.yaml +32 -31
  4. package/dist/classes/distro.js +10 -3
  5. package/dist/classes/pacman.js +3 -3
  6. package/dist/commands/adapt.js +6 -4
  7. package/dist/commands/analyze.js +2 -2
  8. package/dist/commands/calamares.js +9 -4
  9. package/dist/commands/config.js +7 -4
  10. package/dist/commands/cuckoo.js +4 -6
  11. package/dist/commands/dad.js +7 -2
  12. package/dist/commands/export/deb.js +7 -2
  13. package/dist/commands/export/iso.js +7 -2
  14. package/dist/commands/install.js +14 -16
  15. package/dist/commands/kill.js +4 -2
  16. package/dist/commands/mom.js +5 -2
  17. package/dist/commands/produce.js +15 -17
  18. package/dist/commands/status.js +6 -3
  19. package/dist/commands/syncfrom.js +6 -6
  20. package/dist/commands/syncto.js +5 -3
  21. package/dist/commands/tools/clean.js +4 -2
  22. package/dist/commands/tools/ppa.js +6 -2
  23. package/dist/commands/tools/skel.js +5 -6
  24. package/dist/commands/tools/stat.js +6 -1
  25. package/dist/commands/tools/yolk.js +4 -2
  26. package/dist/commands/update.js +4 -2
  27. package/dist/commands/wardrobe/get.js +8 -4
  28. package/dist/commands/wardrobe/list.js +8 -4
  29. package/dist/commands/wardrobe/show.js +9 -4
  30. package/dist/commands/wardrobe/wear.js +9 -4
  31. package/dist/lib/dependencies.js +7 -6
  32. package/package.json +3 -3
  33. package/scripts/README.md +120 -0
  34. package/scripts/includes/common.sh +59 -0
  35. package/scripts/includes/easybashgui +1695 -0
  36. package/scripts/includes/easybashgui-debug +146 -0
  37. package/scripts/includes/easybashgui.lib +8039 -0
  38. package/scripts/includes/easybashlib +550 -0
  39. package/scripts/includes/easydialog-legacy +163 -0
  40. package/scripts/mom.sh +56 -0
  41. /package/scripts/{mom-cli.sh → old-mom-cli.sh} +0 -0
package/README.md CHANGED
@@ -194,7 +194,7 @@ adapt monitor resolution for VM only
194
194
 
195
195
  ```
196
196
  USAGE
197
- $ eggs adapt [-v] [-h]
197
+ $ eggs adapt [-h] [-v]
198
198
 
199
199
  FLAGS
200
200
  -h, --help Show CLI help.
@@ -202,9 +202,12 @@ FLAGS
202
202
 
203
203
  DESCRIPTION
204
204
  adapt monitor resolution for VM only
205
+
206
+ EXAMPLES
207
+ $ eggs adapt
205
208
  ```
206
209
 
207
- _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/adapt.js)_
210
+ _See code: [dist/commands/adapt.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/adapt.js)_
208
211
 
209
212
  ## `eggs analyze`
210
213
 
@@ -222,10 +225,10 @@ DESCRIPTION
222
225
  analyze for syncto
223
226
 
224
227
  EXAMPLES
225
- $ sudo eggs analyze
228
+ sudo eggs analyze
226
229
  ```
227
230
 
228
- _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/analyze.js)_
231
+ _See code: [dist/commands/analyze.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/analyze.js)_
229
232
 
230
233
  ## `eggs autocomplete [SHELL]`
231
234
 
@@ -258,11 +261,11 @@ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomp
258
261
 
259
262
  ## `eggs calamares`
260
263
 
261
- calamares or install or configure it
264
+ configure calamares or install or configure it
262
265
 
263
266
  ```
264
267
  USAGE
265
- $ eggs calamares [-h] [-v] [-i] [-r] [--remove] [--theme <value>]
268
+ $ eggs calamares [-h] [-i] [-r] [--remove] [--theme <value>] [-v]
266
269
 
267
270
  FLAGS
268
271
  -h, --help Show CLI help.
@@ -273,17 +276,19 @@ FLAGS
273
276
  --theme=<value> theme/branding for eggs and calamares
274
277
 
275
278
  DESCRIPTION
276
- calamares or install or configure it
279
+ configure calamares or install or configure it
277
280
 
278
281
  EXAMPLES
279
- ~$ sudo eggs calamares
280
- create/renew calamares configuration's files
282
+ sudo eggs calamares
283
+
284
+ sudo eggs calamares --install
285
+
286
+ sudo eggs calamares --install --theme=/path/to/theme
281
287
 
282
- ~$ sudo eggs calamares -i
283
- install calamares and create it's configuration's files
288
+ sudo eggs calamares --remove
284
289
  ```
285
290
 
286
- _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/calamares.js)_
291
+ _See code: [dist/commands/calamares.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/calamares.js)_
287
292
 
288
293
  ## `eggs config`
289
294
 
@@ -291,7 +296,7 @@ Configure and install prerequisites deb packages to run it
291
296
 
292
297
  ```
293
298
  USAGE
294
- $ eggs config [-n] [-c] [-h] [-v]
299
+ $ eggs config [-c] [-h] [-n] [-v]
295
300
 
296
301
  FLAGS
297
302
  -c, --clean remove old configuration before to create new one
@@ -303,11 +308,14 @@ DESCRIPTION
303
308
  Configure and install prerequisites deb packages to run it
304
309
 
305
310
  EXAMPLES
306
- ~$ sudo eggs config
307
- Configure and install prerequisites deb packages to run it
311
+ sudo eggs config
312
+
313
+ sudo eggs config --clean
314
+
315
+ sudo eggs config --clean --noninteractive
308
316
  ```
309
317
 
310
- _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/config.js)_
318
+ _See code: [dist/commands/config.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/config.js)_
311
319
 
312
320
  ## `eggs cuckoo`
313
321
 
@@ -324,19 +332,18 @@ DESCRIPTION
324
332
  PXE start with proxy-dhcp
325
333
 
326
334
  EXAMPLES
327
- $ sudo eggs cuckoo
328
- start a PXE server with dhcp-proxy (can coexists with a real dhcp server)
335
+ sudo eggs cuckoo
329
336
  ```
330
337
 
331
- _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/cuckoo.js)_
338
+ _See code: [dist/commands/cuckoo.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/cuckoo.js)_
332
339
 
333
340
  ## `eggs dad`
334
341
 
335
- ask help from daddy - configuration helper
342
+ ask help from daddy - TUI configuration helper
336
343
 
337
344
  ```
338
345
  USAGE
339
- $ eggs dad [-h] [-c] [-d] [-v]
346
+ $ eggs dad [-c] [-d] [-h] [-v]
340
347
 
341
348
  FLAGS
342
349
  -c, --clean remove old configuration before to create
@@ -345,10 +352,17 @@ FLAGS
345
352
  -v, --verbose
346
353
 
347
354
  DESCRIPTION
348
- ask help from daddy - configuration helper
355
+ ask help from daddy - TUI configuration helper
356
+
357
+ EXAMPLES
358
+ sudo dad
359
+
360
+ sudo dad --clean
361
+
362
+ sudo dad --default
349
363
  ```
350
364
 
351
- _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/dad.js)_
365
+ _See code: [dist/commands/dad.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/dad.js)_
352
366
 
353
367
  ## `eggs export deb`
354
368
 
@@ -356,7 +370,7 @@ export deb/docs/iso to the destination host
356
370
 
357
371
  ```
358
372
  USAGE
359
- $ eggs export deb [-h] [-a] [-c] [-v]
373
+ $ eggs export deb [-a] [-c] [-h] [-v]
360
374
 
361
375
  FLAGS
362
376
  -a, --all export all archs
@@ -366,6 +380,13 @@ FLAGS
366
380
 
367
381
  DESCRIPTION
368
382
  export deb/docs/iso to the destination host
383
+
384
+ EXAMPLES
385
+ $ eggs export deb
386
+
387
+ $ eggs export deb --clean
388
+
389
+ $ eggs export deb --all
369
390
  ```
370
391
 
371
392
  ## `eggs export iso`
@@ -374,7 +395,7 @@ export iso in the destination host
374
395
 
375
396
  ```
376
397
  USAGE
377
- $ eggs export iso [-h] [-b] [-c] [-v]
398
+ $ eggs export iso [-b] [-c] [-h] [-v]
378
399
 
379
400
  FLAGS
380
401
  -b, --backup export backup ISOs
@@ -384,6 +405,13 @@ FLAGS
384
405
 
385
406
  DESCRIPTION
386
407
  export iso in the destination host
408
+
409
+ EXAMPLES
410
+ $ eggs export iso
411
+
412
+ $ eggs export iso --clean
413
+
414
+ $ eggs export iso --backup
387
415
  ```
388
416
 
389
417
  ## `eggs help [COMMAND]`
@@ -408,11 +436,11 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.2
408
436
 
409
437
  ## `eggs install`
410
438
 
411
- command-line system installer - the egg became a penguin!
439
+ krill: the CLI system installer - the egg became a penguin!
412
440
 
413
441
  ```
414
442
  USAGE
415
- $ eggs install [-u] [-c <value>] [-n] [-i] [-r] [-d <value>] [-S] [-s] [-N] [-k] [-p] [-h] [-v]
443
+ $ eggs install [-k] [-c <value>] [-d <value>] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
416
444
 
417
445
  FLAGS
418
446
  -N, --none Swap none: 256M
@@ -430,14 +458,17 @@ FLAGS
430
458
  -v, --verbose Verbose
431
459
 
432
460
  DESCRIPTION
433
- command-line system installer - the egg became a penguin!
461
+ krill: the CLI system installer - the egg became a penguin!
434
462
 
435
463
  EXAMPLES
436
- $ eggs install
437
- Install the system using krill installer
464
+ sudo eggs install
465
+
466
+ sudo eggs install --unattended
467
+
468
+ sudo eggs install --custom it
438
469
  ```
439
470
 
440
- _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/install.js)_
471
+ _See code: [dist/commands/install.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/install.js)_
441
472
 
442
473
  ## `eggs kill`
443
474
 
@@ -455,15 +486,14 @@ DESCRIPTION
455
486
  kill the eggs/free the nest
456
487
 
457
488
  EXAMPLES
458
- $ eggs kill
459
- kill the eggs/free the nest
489
+ sudo eggs kill
460
490
  ```
461
491
 
462
- _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/kill.js)_
492
+ _See code: [dist/commands/kill.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/kill.js)_
463
493
 
464
494
  ## `eggs mom`
465
495
 
466
- ask for mommy - gui helper
496
+ ask help from mommy - TUI helper
467
497
 
468
498
  ```
469
499
  USAGE
@@ -473,10 +503,13 @@ FLAGS
473
503
  -h, --help Show CLI help.
474
504
 
475
505
  DESCRIPTION
476
- ask for mommy - gui helper
506
+ ask help from mommy - TUI helper
507
+
508
+ EXAMPLES
509
+ $ eggs mom
477
510
  ```
478
511
 
479
- _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/mom.js)_
512
+ _See code: [dist/commands/mom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/mom.js)_
480
513
 
481
514
  ## `eggs produce`
482
515
 
@@ -484,8 +517,8 @@ produce a live image from your system whithout your data
484
517
 
485
518
  ```
486
519
  USAGE
487
- $ eggs produce [-p <value>] [--basename <value>] [-b] [-c] [-f] [-m] [-v] [-y] [-s] [-h] [--theme <value>]
488
- [--addons <value>] [--release] [-n]
520
+ $ eggs produce [--addons <value>] [-b] [--basename <value>] [-c] [-f] [-h] [-m] [-n] [-p <value>]
521
+ [--release] [-s] [--theme <value>] [-v] [-y]
489
522
 
490
523
  FLAGS
491
524
  -b, --backup backup mode (CRYPTED)
@@ -507,38 +540,22 @@ DESCRIPTION
507
540
  produce a live image from your system whithout your data
508
541
 
509
542
  EXAMPLES
510
- $ sudo eggs produce
511
- produce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).
512
- If hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso
543
+ sudo eggs produce
513
544
 
514
- $ sudo eggs produce -v
515
- same as previuos, but with --verbose output
545
+ sudo eggs produce --fast
516
546
 
517
- $ sudo eggs produce -vf
518
- same as previuos, compression zstd, lz4 or gzip (depend from system capability)
547
+ sudo eggs produce --max
519
548
 
520
- $ sudo eggs produce -vm
521
- same as previuos, compression xz -Xbcj x86 (max compression, about 10%
522
- more compressed)
549
+ sudo eggs produce --fast --basename=colibri
523
550
 
524
- $ sudo eggs produce -vf --basename leo --theme debian --addons adapt
525
- produce an ISO called leo-i386-2020-08-25_1215.iso compression fast,
526
- using Debian theme and link to adapt
551
+ sudo eggs produce --fast --basename=colibri --theme /path/to/theme --addons adapt
527
552
 
528
- $ sudo eggs produce -v --basename leo --theme debian --addons rsupport
529
- produce an ISO called leo-i386-2020-08-25_1215.iso compression xz,
530
- using Debian theme and link to dwagent
553
+ sudo eggs produce --fast --clone
531
554
 
532
- $ sudo eggs produce -v --basename leo --rsupport
533
- produce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs
534
- theme and link to dwagent
535
-
536
- $ sudo eggs produce -vs --basename leo --rsupport
537
- produce scripts to build an ISO as the previus example. Scripts can be found
538
- in /home/eggs/ovarium and you can customize all you need
555
+ sudo eggs produce --fast --backup
539
556
  ```
540
557
 
541
- _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/produce.js)_
558
+ _See code: [dist/commands/produce.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/produce.js)_
542
559
 
543
560
  ## `eggs status`
544
561
 
@@ -546,7 +563,7 @@ informations about eggs status
546
563
 
547
564
  ```
548
565
  USAGE
549
- $ eggs status [-v] [-h]
566
+ $ eggs status [-h] [-v]
550
567
 
551
568
  FLAGS
552
569
  -h, --help Show CLI help.
@@ -554,9 +571,12 @@ FLAGS
554
571
 
555
572
  DESCRIPTION
556
573
  informations about eggs status
574
+
575
+ EXAMPLES
576
+ $ eggs status
557
577
  ```
558
578
 
559
- _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/status.js)_
579
+ _See code: [dist/commands/status.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/status.js)_
560
580
 
561
581
  ## `eggs syncfrom`
562
582
 
@@ -564,7 +584,7 @@ restore users and user data from a LUKS volumes
564
584
 
565
585
  ```
566
586
  USAGE
567
- $ eggs syncfrom [--delete <value>] [-f <value>] [-r <value>] [-h] [-v]
587
+ $ eggs syncfrom [--delete <value>] [-f <value>] [-h] [-r <value>] [-v]
568
588
 
569
589
  FLAGS
570
590
  -f, --file=<value> file LUKS volume encrypted
@@ -577,10 +597,12 @@ DESCRIPTION
577
597
  restore users and user data from a LUKS volumes
578
598
 
579
599
  EXAMPLES
580
- $ sudo eggs restore
600
+ sudo eggs restore
601
+
602
+ sudo eggs restore --file /path/to/fileLUKS
581
603
  ```
582
604
 
583
- _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/syncfrom.js)_
605
+ _See code: [dist/commands/syncfrom.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/syncfrom.js)_
584
606
 
585
607
  ## `eggs syncto`
586
608
 
@@ -600,10 +622,12 @@ DESCRIPTION
600
622
  saves users and user data in a LUKS volume inside the iso
601
623
 
602
624
  EXAMPLES
603
- $ sudo eggs syncto
625
+ sudo eggs syncto
626
+
627
+ sudo eggs syncto --file /path/to/fileLUKS
604
628
  ```
605
629
 
606
- _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/syncto.js)_
630
+ _See code: [dist/commands/syncto.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/syncto.js)_
607
631
 
608
632
  ## `eggs tools clean`
609
633
 
@@ -619,6 +643,9 @@ FLAGS
619
643
 
620
644
  DESCRIPTION
621
645
  clean system log, apt, etc
646
+
647
+ EXAMPLES
648
+ sudo eggs tools clean
622
649
  ```
623
650
 
624
651
  ## `eggs tools ppa`
@@ -627,7 +654,7 @@ add/remove PPA repositories (Debian family)
627
654
 
628
655
  ```
629
656
  USAGE
630
- $ eggs tools ppa [-h] [-a] [-r] [-v]
657
+ $ eggs tools ppa [-a] [-h] [-r] [-v]
631
658
 
632
659
  FLAGS
633
660
  -a, --add add penguins-eggs PPA repository
@@ -637,6 +664,11 @@ FLAGS
637
664
 
638
665
  DESCRIPTION
639
666
  add/remove PPA repositories (Debian family)
667
+
668
+ EXAMPLES
669
+ sudo eggs tools ppa --add
670
+
671
+ sudo eggs tools ppa --remove
640
672
  ```
641
673
 
642
674
  ## `eggs tools skel`
@@ -656,8 +688,9 @@ DESCRIPTION
656
688
  update skel from home configuration
657
689
 
658
690
  EXAMPLES
659
- $ eggs skel --user mauro
660
- desktop configuration of user mauro will get used as default
691
+ sudo eggs skel
692
+
693
+ sudo eggs skel --user user-to-be-copied
661
694
  ```
662
695
 
663
696
  ## `eggs tools stat`
@@ -675,6 +708,13 @@ FLAGS
675
708
 
676
709
  DESCRIPTION
677
710
  get statistics from sourceforge
711
+
712
+ EXAMPLES
713
+ $ eggs tools stat
714
+
715
+ $ eggs tools stat --month
716
+
717
+ $ eggs tools stat --year
678
718
  ```
679
719
 
680
720
  ## `eggs tools yolk`
@@ -693,7 +733,7 @@ DESCRIPTION
693
733
  configure eggs to install without internet
694
734
 
695
735
  EXAMPLES
696
- $ eggs yolk -v
736
+ sudo eggs yolk
697
737
  ```
698
738
 
699
739
  ## `eggs update`
@@ -713,10 +753,9 @@ DESCRIPTION
713
753
 
714
754
  EXAMPLES
715
755
  $ eggs update
716
- update/upgrade the penguin's eggs tool
717
756
  ```
718
757
 
719
- _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.20/dist/commands/update.js)_
758
+ _See code: [dist/commands/update.js](https://github.com/pieroproietti/penguins-eggs/blob/v9.3.23/dist/commands/update.js)_
720
759
 
721
760
  ## `eggs version`
722
761
 
@@ -744,7 +783,7 @@ get warorobe
744
783
 
745
784
  ```
746
785
  USAGE
747
- $ eggs wardrobe get [REPO] [-v] [-h]
786
+ $ eggs wardrobe get [REPO] [-h] [-v]
748
787
 
749
788
  ARGUMENTS
750
789
  REPO repository to get
@@ -755,6 +794,11 @@ FLAGS
755
794
 
756
795
  DESCRIPTION
757
796
  get warorobe
797
+
798
+ EXAMPLES
799
+ $ eggs wardrobe get
800
+
801
+ $ eggs wardrobe get your-wardrobe
758
802
  ```
759
803
 
760
804
  ## `eggs wardrobe list [WARDROBE]`
@@ -763,7 +807,7 @@ list costumes and accessoires in wardrobe
763
807
 
764
808
  ```
765
809
  USAGE
766
- $ eggs wardrobe list [WARDROBE] [-v] [-h]
810
+ $ eggs wardrobe list [WARDROBE] [-h] [-v]
767
811
 
768
812
  ARGUMENTS
769
813
  WARDROBE wardrobe
@@ -774,6 +818,11 @@ FLAGS
774
818
 
775
819
  DESCRIPTION
776
820
  list costumes and accessoires in wardrobe
821
+
822
+ EXAMPLES
823
+ $ eggs wardrobe list
824
+
825
+ $ eggs wardrobe list your-wardrove
777
826
  ```
778
827
 
779
828
  ## `eggs wardrobe show [COSTUME]`
@@ -782,7 +831,7 @@ show costumes/accessories in wardrobe
782
831
 
783
832
  ```
784
833
  USAGE
785
- $ eggs wardrobe show [COSTUME] [-w <value>] [-j] [-v] [-h]
834
+ $ eggs wardrobe show [COSTUME] [-h] [-j] [-v] [-w <value>]
786
835
 
787
836
  ARGUMENTS
788
837
  COSTUME costume
@@ -795,6 +844,13 @@ FLAGS
795
844
 
796
845
  DESCRIPTION
797
846
  show costumes/accessories in wardrobe
847
+
848
+ EXAMPLES
849
+ $ eggs wardrobe show colibri
850
+
851
+ $ eggs wardrobe show accessories/firmwares
852
+
853
+ $ eggs wardrobe show accessories/
798
854
  ```
799
855
 
800
856
  ## `eggs wardrobe wear [COSTUME]`
@@ -803,7 +859,7 @@ wear costume/accessories from wardrobe
803
859
 
804
860
  ```
805
861
  USAGE
806
- $ eggs wardrobe wear [COSTUME] [-w <value>] [-a] [-f] [-s] [-v] [-h]
862
+ $ eggs wardrobe wear [COSTUME] [-h] [-a] [-f] [-s] [-v] [-w <value>]
807
863
 
808
864
  ARGUMENTS
809
865
  COSTUME costume
@@ -818,6 +874,13 @@ FLAGS
818
874
 
819
875
  DESCRIPTION
820
876
  wear costume/accessories from wardrobe
877
+
878
+ EXAMPLES
879
+ sudo eggs wardrobe wear duck
880
+
881
+ sudo eggs wardrobe wear accessories/firmwares
882
+
883
+ sudo eggs wardrobe wear wagtail/waydroid
821
884
  ```
822
885
  <!-- commandsstop -->
823
886
 
@@ -8,64 +8,65 @@
8
8
  # buster derivated
9
9
  - id: buster
10
10
  distro: Debian
11
- derivatives: [
12
- debbie, # LMDE4
13
- siena, # Ufficiozero siena
14
- ]
11
+ derivatives:
12
+ - debbie # LMDE4
13
+ - siena # Ufficiozero siena
15
14
 
16
15
  # bullseye derivated
17
16
  - id: bullseye
18
17
  distro: Debian
19
- derivatives: [
20
- elsie, # LMDE elsie
21
- filadelfia, # SysLinuxOS filadelfia
22
- desktop # Netrunner Desktop 23
23
- ]
18
+ derivatives:
19
+ - desktop # Netrunner Desktop 23
20
+ - elsie # LMDE5
21
+ - filadelfia, # SysLinuxOS filadelfia
24
22
 
25
23
  # bootkworm derivated
26
24
  - id: bookworm
27
25
  distro: Debian
28
- derivatives: [
29
- kali-rolling # kali
30
- ]
26
+ derivatives:
27
+ - kali-rolling # kali
31
28
 
32
29
  #
33
30
  # DEVUAN
34
31
  #
35
-
36
32
  # beowulf derivated
37
33
  - id: beowulf
38
34
  distro: Devuan
39
- derivatives: [
40
- roma # Ufficiozero roma
41
- ]
35
+ derivatives:
36
+ - roma # Ufficiozero roma
42
37
 
43
38
  #
44
39
  # UBUNTU
45
40
  #
46
-
47
41
  # bionic derivated
48
42
  - id: bionic
49
43
  distro: Ubuntu
50
- derivatives: [
51
- hera, # Elementary hera
52
- tara, tessa, tina, tricia, # Linux Mint
53
- vieste # Ufficiozero vieste
54
- ]
44
+ derivatives:
45
+ - hera # Elementary hera
46
+ - tara # Linux Mint
47
+ - tessa # Linux Mint
48
+ - tina # Linux Mint
49
+ - tricia # Linux Mint
50
+ - vieste # Ufficiozero vieste
55
51
 
56
52
  # focal derivated
57
53
  - id: focal
58
54
  distro: Ubuntu
59
- derivatives: [
60
- tropea # UfficioZero tropea
61
- ]
55
+ derivatives:
56
+ - tropea # UfficioZero tropea
62
57
 
63
58
  # jammy derivated
64
59
  - id: jammy
65
60
  distro: Ubuntu
66
- derivatives: [
67
- ulyana, ulyssa, uma, una, vanessa, vera, # Linux Mint
68
- jolnir, # Elementary jolnir
69
- ShiFt, # Makululu
70
- lunar # Ubuntu rolling
71
- ]
61
+ derivatives:
62
+ - horus # elementary OS 7 Horus
63
+ - jolnir # Elementary jolnir
64
+ - lunar # Ubuntu rolling
65
+ - ShiFt # Makululu
66
+ - ulyana # Linux Mint
67
+ - ulyssa # Linux Mint
68
+ - uma # Linux Mint
69
+ - una # Linux Mint
70
+ - vanessa # Linux Mint
71
+ - vera # Linux Mint
72
+ - victoria # Linux Mint
@@ -9,6 +9,7 @@
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  const tslib_1 = require("tslib");
11
11
  const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
12
+ const node_path_1 = tslib_1.__importDefault(require("node:path"));
12
13
  const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
13
14
  const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
14
15
  /**
@@ -119,13 +120,13 @@ class Distro {
119
120
  break;
120
121
  }
121
122
  case 'bookworm': {
122
- // Debian 12 bookworm
123
+ // Debian 12 bookworm
123
124
  this.distroLike = 'Debian';
124
125
  this.codenameLikeId = 'bookworm';
125
126
  break;
126
127
  }
127
128
  case 'beowulf': {
128
- // Devuab 3 beowulf
129
+ // Devuab 3 beowulf
129
130
  this.distroLike = 'Devuan';
130
131
  this.codenameLikeId = 'beowulf';
131
132
  break;
@@ -198,8 +199,14 @@ class Distro {
198
199
  break;
199
200
  }
200
201
  default: {
202
+ /**
203
+ * patch per Roy
204
+ */
201
205
  let found = false;
202
- const file = '/etc/penguins-eggs.d/derivatives.yaml';
206
+ let file = node_path_1.default.resolve(__dirname, '../../conf/derivatives.yaml');
207
+ if (node_fs_1.default.existsSync('/etc/penguins-eggs.d/derivatives.yaml')) {
208
+ file = "/etc/penguins-eggs.d/derivatives.yaml";
209
+ }
203
210
  const content = node_fs_1.default.readFileSync(file, 'utf8');
204
211
  let distros = js_yaml_1.default.load(content);
205
212
  for (let i = 0; i < distros.length; i++) {
@@ -392,10 +392,10 @@ class Pacman {
392
392
  }
393
393
  (0, node_child_process_1.execSync)(`mkdir -p ${init}`);
394
394
  shelljs_1.default.ln('-s', node_path_1.default.resolve(__dirname, '../../addons'), addons);
395
- shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/README.md'), '/etc/penguins-eggs.d/');
395
+ shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/README.md'), confRoot);
396
396
  shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/tools.yaml'), config_tools);
397
- shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/krill.yaml'), '/etc/penguins-eggs.d/krill.yaml');
398
- shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/derivatives.yaml'), '/etc/penguins-eggs.d/');
397
+ shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/krill.yaml'), confRoot);
398
+ shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/derivatives.yaml'), confRoot);
399
399
  // init
400
400
  shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../conf/init/unattended.sh'), '/etc/penguins-eggs.d/init');
401
401
  shelljs_1.default.chmod('+x', '/etc/penguins-eggs.d/init/unattended.sh');