penguins-eggs 10.0.15 → 10.0.18

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.
@@ -662,13 +662,6 @@
662
662
  "allowNo": false,
663
663
  "type": "boolean"
664
664
  },
665
- "udf": {
666
- "char": "U",
667
- "description": "udf, create iso UDF format using genisoimage",
668
- "name": "udf",
669
- "allowNo": false,
670
- "type": "boolean"
671
- },
672
665
  "yolk": {
673
666
  "char": "y",
674
667
  "description": "force yolk renew",
@@ -1468,5 +1461,5 @@
1468
1461
  ]
1469
1462
  }
1470
1463
  },
1471
- "version": "10.0.15"
1464
+ "version": "10.0.18"
1472
1465
  }
package/README.md CHANGED
@@ -32,6 +32,7 @@ penguins-eggs
32
32
  * [Cook eggs in 5 minutes!](https://penguins-eggs.net/docs/Tutorial/eggs5)
33
33
  * [Users guide](https://penguins-eggs.net/docs/Tutorial/eggs-users-guide)
34
34
  * [Wardrobe users' guide](https://penguins-eggs.net/docs/Tutorial/wardrobe-users-guide)
35
+ * [Penguins' eggs book](https://penguins-eggs.gitbook.io/book)
35
36
  * [FAQ](https://penguins-eggs.net/docs/faq)
36
37
  * [Changelog](https://github.com/pieroproietti/penguins-eggs/blob/master/CHANGELOG.md#changelog)
37
38
 
@@ -485,7 +486,7 @@ EXAMPLES
485
486
  $ eggs adapt
486
487
  ```
487
488
 
488
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/adapt.ts)_
489
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/adapt.ts)_
489
490
 
490
491
  ## `eggs analyze`
491
492
 
@@ -506,7 +507,7 @@ EXAMPLES
506
507
  sudo eggs analyze
507
508
  ```
508
509
 
509
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/analyze.ts)_
510
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/analyze.ts)_
510
511
 
511
512
  ## `eggs autocomplete [SHELL]`
512
513
 
@@ -570,7 +571,7 @@ EXAMPLES
570
571
  sudo eggs calamares --remove
571
572
  ```
572
573
 
573
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/calamares.ts)_
574
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/calamares.ts)_
574
575
 
575
576
  ## `eggs config`
576
577
 
@@ -597,7 +598,7 @@ EXAMPLES
597
598
  sudo eggs config --clean --nointeractive
598
599
  ```
599
600
 
600
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/config.ts)_
601
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/config.ts)_
601
602
 
602
603
  ## `eggs cuckoo`
603
604
 
@@ -617,7 +618,7 @@ EXAMPLES
617
618
  sudo eggs cuckoo
618
619
  ```
619
620
 
620
- _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/cuckoo.ts)_
621
+ _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/cuckoo.ts)_
621
622
 
622
623
  ## `eggs dad`
623
624
 
@@ -645,7 +646,7 @@ EXAMPLES
645
646
  sudo dad --default
646
647
  ```
647
648
 
648
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/dad.ts)_
649
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/dad.ts)_
649
650
 
650
651
  ## `eggs export deb`
651
652
 
@@ -672,7 +673,7 @@ EXAMPLES
672
673
  $ eggs export deb --all
673
674
  ```
674
675
 
675
- _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/export/deb.ts)_
676
+ _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/export/deb.ts)_
676
677
 
677
678
  ## `eggs export iso`
678
679
 
@@ -697,7 +698,7 @@ EXAMPLES
697
698
  $ eggs export iso --clean
698
699
  ```
699
700
 
700
- _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/export/iso.ts)_
701
+ _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/export/iso.ts)_
701
702
 
702
703
  ## `eggs help [COMMAND]`
703
704
 
@@ -758,7 +759,7 @@ EXAMPLES
758
759
  sudo eggs install --chroot
759
760
  ```
760
761
 
761
- _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/install.ts)_
762
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/install.ts)_
762
763
 
763
764
  ## `eggs kill`
764
765
 
@@ -781,7 +782,7 @@ EXAMPLES
781
782
  sudo eggs kill
782
783
  ```
783
784
 
784
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/kill.ts)_
785
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/kill.ts)_
785
786
 
786
787
  ## `eggs krill`
787
788
 
@@ -840,7 +841,7 @@ EXAMPLES
840
841
  $ eggs mom
841
842
  ```
842
843
 
843
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/mom.ts)_
844
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/mom.ts)_
844
845
 
845
846
  ## `eggs produce`
846
847
 
@@ -849,13 +850,12 @@ produce a live image from your system whithout your data
849
850
  ```
850
851
  USAGE
851
852
  $ eggs produce [--addons <value>...] [--basename <value>] [-c] [-C] [--excludes <value>...] [-h] [--links
852
- <value>...] [-m] [-N] [-n] [-p] [-P <value>] [--release] [-s] [-f] [--theme <value>] [-u] [-v] [-U] [-y]
853
+ <value>...] [-m] [-N] [-n] [-p] [-P <value>] [--release] [-s] [-f] [--theme <value>] [-u] [-v] [-y]
853
854
 
854
855
  FLAGS
855
856
  -C, --cryptedclone crypted clone
856
857
  -N, --noicon no icon eggs on desktop
857
858
  -P, --prefix=<value> prefix
858
- -U, --udf udf, create iso UDF format using genisoimage
859
859
  -c, --clone clone
860
860
  -f, --standard standard compression: xz -b 1M
861
861
  -h, --help Show CLI help.
@@ -898,7 +898,7 @@ EXAMPLES
898
898
  sudo eggs produce --excludes home # exclude ~/*
899
899
  ```
900
900
 
901
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/produce.ts)_
901
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/produce.ts)_
902
902
 
903
903
  ## `eggs status`
904
904
 
@@ -919,7 +919,7 @@ EXAMPLES
919
919
  $ eggs status
920
920
  ```
921
921
 
922
- _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/status.ts)_
922
+ _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/status.ts)_
923
923
 
924
924
  ## `eggs syncfrom`
925
925
 
@@ -945,7 +945,7 @@ EXAMPLES
945
945
  sudo eggs syncfrom --file /path/to/luks-volume
946
946
  ```
947
947
 
948
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/syncfrom.ts)_
948
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/syncfrom.ts)_
949
949
 
950
950
  ## `eggs syncto`
951
951
 
@@ -972,7 +972,7 @@ EXAMPLES
972
972
  sudo eggs syncto --excludes
973
973
  ```
974
974
 
975
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/syncto.ts)_
975
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/syncto.ts)_
976
976
 
977
977
  ## `eggs tools clean`
978
978
 
@@ -994,7 +994,7 @@ EXAMPLES
994
994
  sudo eggs tools clean
995
995
  ```
996
996
 
997
- _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/tools/clean.ts)_
997
+ _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/tools/clean.ts)_
998
998
 
999
999
  ## `eggs tools ppa`
1000
1000
 
@@ -1020,7 +1020,7 @@ EXAMPLES
1020
1020
  sudo eggs tools ppa --remove
1021
1021
  ```
1022
1022
 
1023
- _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/tools/ppa.ts)_
1023
+ _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/tools/ppa.ts)_
1024
1024
 
1025
1025
  ## `eggs tools skel`
1026
1026
 
@@ -1044,7 +1044,7 @@ EXAMPLES
1044
1044
  sudo eggs tools skel --user user-to-be-copied
1045
1045
  ```
1046
1046
 
1047
- _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/tools/skel.ts)_
1047
+ _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/tools/skel.ts)_
1048
1048
 
1049
1049
  ## `eggs tools stat`
1050
1050
 
@@ -1070,7 +1070,7 @@ EXAMPLES
1070
1070
  $ eggs tools stat --year
1071
1071
  ```
1072
1072
 
1073
- _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/tools/stat.ts)_
1073
+ _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/tools/stat.ts)_
1074
1074
 
1075
1075
  ## `eggs tools yolk`
1076
1076
 
@@ -1091,7 +1091,7 @@ EXAMPLES
1091
1091
  sudo eggs tools yolk
1092
1092
  ```
1093
1093
 
1094
- _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/tools/yolk.ts)_
1094
+ _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/tools/yolk.ts)_
1095
1095
 
1096
1096
  ## `eggs update`
1097
1097
 
@@ -1112,7 +1112,7 @@ EXAMPLES
1112
1112
  $ eggs update
1113
1113
  ```
1114
1114
 
1115
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/update.ts)_
1115
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/update.ts)_
1116
1116
 
1117
1117
  ## `eggs version`
1118
1118
 
@@ -1158,7 +1158,7 @@ EXAMPLES
1158
1158
  $ eggs wardrobe get your-wardrobe
1159
1159
  ```
1160
1160
 
1161
- _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/wardrobe/get.ts)_
1161
+ _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/wardrobe/get.ts)_
1162
1162
 
1163
1163
  ## `eggs wardrobe list [REPO]`
1164
1164
 
@@ -1187,7 +1187,7 @@ EXAMPLES
1187
1187
  $ eggs wardrobe list --distro arch
1188
1188
  ```
1189
1189
 
1190
- _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/wardrobe/list.ts)_
1190
+ _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/wardrobe/list.ts)_
1191
1191
 
1192
1192
  ## `eggs wardrobe show [REPO]`
1193
1193
 
@@ -1217,7 +1217,7 @@ EXAMPLES
1217
1217
  $ eggs wardrobe show accessories/
1218
1218
  ```
1219
1219
 
1220
- _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/wardrobe/show.ts)_
1220
+ _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/wardrobe/show.ts)_
1221
1221
 
1222
1222
  ## `eggs wardrobe wear [REPO]`
1223
1223
 
@@ -1248,7 +1248,7 @@ EXAMPLES
1248
1248
  sudo eggs wardrobe wear wagtail/waydroid
1249
1249
  ```
1250
1250
 
1251
- _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.15/src/commands/wardrobe/wear.ts)_
1251
+ _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.18/src/commands/wardrobe/wear.ts)_
1252
1252
  <!-- commandsstop -->
1253
1253
 
1254
1254
  # penGUI
package/conf/yolk.yaml ADDED
@@ -0,0 +1,52 @@
1
+ packages:
2
+ - cryptsetup
3
+ - grub-efi-amd64
4
+ - grub-pc
5
+ - keyutils
6
+ - shim-signed
7
+ ############################################
8
+ # optional packages: yoi can add or remove
9
+ ############################################
10
+ #- amd64-microcode_3.20230808.1.1~deb12u1_amd64.deb
11
+ #- atmel-firmware_1.3-7_all.deb
12
+ #- b43-fwcutter_019-8_amd64.deb
13
+ #- bluez-firmware_1.2-9_all.deb
14
+ #- cheese_43.0-1_amd64.deb
15
+ #- cheese-common_43.0-1_all.deb
16
+ #- cups_2.4.2-3+deb12u5_amd64.deb
17
+ #- cups-bsd_2.4.2-3+deb12u5_amd64.deb
18
+ #- cups-client_2.4.2-3+deb12u5_amd64.deb
19
+ #- cups-common_2.4.2-3+deb12u5_all.deb
20
+ #- cups-core-drivers_2.4.2-3+deb12u5_amd64.deb
21
+ #- cups-daemon_2.4.2-3+deb12u5_amd64.deb
22
+ #- cups-ipp-utils_2.4.2-3+deb12u5_amd64.deb
23
+ #- cups-ppdc_2.4.2-3+deb12u5_amd64.deb
24
+ #- cups-server-common_2.4.2-3+deb12u5_all.deb
25
+ #- dahdi-firmware-nonfree_2.11.1.0.20170917-2_all.deb
26
+ #- firmware-amd-graphics_20230210-5_all.deb
27
+ #- firmware-ast_20140808-7_all.deb
28
+ #- firmware-b43-installer_019-8_all.deb
29
+ #- firmware-b43legacy-installer_019-8_all.deb
30
+ #- firmware-bnx2_20230210-5_all.deb
31
+ #- firmware-bnx2x_20230210-5_all.deb
32
+ #- firmware-brcm80211_20230210-5_all.deb
33
+ #- firmware-intel-sound_20230210-5_all.deb
34
+ #- firmware-ipw2x00_20230210-5_all.deb
35
+ #- firmware-ivtv_20230210-5_all.deb
36
+ #- firmware-iwlwifi_20230210-5_all.deb
37
+ #- firmware-linux-nonfree_20230210-5_all.deb
38
+ #- firmware-realtek_20230210-5_all.deb
39
+ #- firmware-realtek-rtl8723cs-bt_20181104-2_all.deb
40
+ #- firmware-sof-signed_2.2.4-1_all.deb
41
+ #- firmware-zd1211_1.5-10_all.deb
42
+ #- intel-microcode_3.20231114.1~deb12u1_amd64.deb
43
+ #- libcheese-gtk25_43.0-1_amd64.deb
44
+ #- libcheese8_43.0-1_amd64.deb
45
+ #- libcups2_2.4.2-3+deb12u5_amd64.deb
46
+ #- libcupsimage2_2.4.2-3+deb12u5_amd64.deb
47
+ #- libsane_1.2.1-2_amd64.deb
48
+ #- libsane-common_1.2.1-2_all.deb
49
+ #- libsane1_1.2.1-2_amd64.deb
50
+ #- sane_1.0.14-17_amd64.deb
51
+ #- sane-airscan_0.99.27-1+b1_amd64.deb
52
+ #- sane-utils_1.2.1-2_amd64.deb
@@ -44,8 +44,8 @@ export default class Bleach {
44
44
  }
45
45
  await exec('apt-get clean', echo);
46
46
  await exec('apt-get autoclean', echo);
47
- const dest = '/var/lib/apt/lists/';
48
- rmdir(dest, verbose);
47
+ const lockFile = '/var/lib/apt/lists/lock';
48
+ await exec(`rm ${lockFile} -rf`, echo);
49
49
  }
50
50
  /**
51
51
  * cleanHistory
@@ -159,7 +159,7 @@ export default class Ovary {
159
159
  * @param unsecure
160
160
  * @param verbose
161
161
  */
162
- produce(clone: boolean | undefined, cryptedclone: boolean | undefined, scriptOnly: boolean | undefined, yolkRenew: boolean | undefined, release: boolean | undefined, myAddons: IAddons, myLinks: string[], excludes: IExcludes, nointeractive?: boolean, noicons?: boolean, unsecure?: boolean, udf?: boolean, verbose?: boolean): Promise<void>;
162
+ produce(clone: boolean | undefined, cryptedclone: boolean | undefined, scriptOnly: boolean | undefined, yolkRenew: boolean | undefined, release: boolean | undefined, myAddons: IAddons, myLinks: string[], excludes: IExcludes, nointeractive?: boolean, noicons?: boolean, unsecure?: boolean, verbose?: boolean): Promise<void>;
163
163
  /**
164
164
  * syslinux
165
165
  */
@@ -191,7 +191,7 @@ export default class Ovary {
191
191
  * @param cryptedclone
192
192
  * @returns cmd 4 mkiso
193
193
  */
194
- xorrisoCommand(clone?: boolean, cryptedclone?: boolean, udf?: boolean): Promise<string>;
194
+ xorrisoCommand(clone?: boolean, cryptedclone?: boolean): Promise<string>;
195
195
  /**
196
196
  * Creazione link desktop per lxde
197
197
  * @param name
@@ -93,7 +93,7 @@ export default class Ovary {
93
93
  */
94
94
  const dirs = fs.readdirSync('/');
95
95
  const startLine = '#############################################################';
96
- const titleLine = '# -----------------------------------------------------------';
96
+ const titleLine = '# ---------------------------------------------------------';
97
97
  const endLine = '# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n';
98
98
  let lnkDest = '';
99
99
  let cmd = '';
@@ -1275,7 +1275,7 @@ export default class Ovary {
1275
1275
  * @param unsecure
1276
1276
  * @param verbose
1277
1277
  */
1278
- async produce(clone = false, cryptedclone = false, scriptOnly = false, yolkRenew = false, release = false, myAddons, myLinks, excludes, nointeractive = false, noicons = false, unsecure = false, udf = false, verbose = false) {
1278
+ async produce(clone = false, cryptedclone = false, scriptOnly = false, yolkRenew = false, release = false, myAddons, myLinks, excludes, nointeractive = false, noicons = false, unsecure = false, verbose = false) {
1279
1279
  this.verbose = verbose;
1280
1280
  this.echo = Utils.setEcho(verbose);
1281
1281
  if (this.verbose) {
@@ -1467,7 +1467,7 @@ export default class Ovary {
1467
1467
  Utils.warning(`moving ${luksFile} in ${this.nest}iso/live`);
1468
1468
  await exec(`mv ${luksFile} ${this.nest}iso/live`, this.echo);
1469
1469
  }
1470
- const mkIsofsCmd = (await this.xorrisoCommand(clone, cryptedclone, udf)).replaceAll(/\s\s+/g, ' ');
1470
+ const mkIsofsCmd = (await this.xorrisoCommand(clone, cryptedclone)).replaceAll(/\s\s+/g, ' ');
1471
1471
  this.makeDotDisk(this.volid, mksquashfsCmd, mkIsofsCmd);
1472
1472
  /**
1473
1473
  * AntiX/MX LINUX
@@ -1648,7 +1648,7 @@ export default class Ovary {
1648
1648
  * @param cryptedclone
1649
1649
  * @returns cmd 4 mkiso
1650
1650
  */
1651
- async xorrisoCommand(clone = false, cryptedclone = false, udf = false) {
1651
+ async xorrisoCommand(clone = false, cryptedclone = false) {
1652
1652
  if (this.verbose) {
1653
1653
  console.log('Ovary: xorrisoCommand');
1654
1654
  }
@@ -1695,28 +1695,26 @@ export default class Ovary {
1695
1695
  uefi_isohybridGptBasdat = '-isohybrid-gpt-basdat';
1696
1696
  uefi_noEmulBoot = '-no-emul-boot';
1697
1697
  }
1698
- if (udf) {
1699
- if (Pacman.packageIsInstalled('genisoimage')) {
1700
- this.genisoimage = true;
1701
- command = `genisoimage \
1702
- -iso-level 3 \
1703
- -allow-limited-size \
1704
- -joliet-long \
1705
- -r \
1706
- -V "V3.0" \
1707
- -cache-inodes \
1708
- -J \
1709
- -l \
1710
- -b isolinux/isolinux.bin \
1711
- -c isolinux/boot.cat \
1712
- -no-emul-boot \
1713
- -boot-load-size 4 \
1714
- -boot-info-table \
1715
- -eltorito-alt-boot \
1716
- -e boot/grub/efiboot.img \
1717
- -o ${output} ${this.settings.iso_work}`;
1718
- return command;
1719
- }
1698
+ if (Pacman.packageIsInstalled('genisoimage')) {
1699
+ this.genisoimage = true;
1700
+ command = `genisoimage \
1701
+ -iso-level 3 \
1702
+ -allow-limited-size \
1703
+ -joliet-long \
1704
+ -r \
1705
+ -V ${this.volid} \
1706
+ -cache-inodes \
1707
+ -J \
1708
+ -l \
1709
+ -b isolinux/isolinux.bin \
1710
+ -c isolinux/boot.cat \
1711
+ -no-emul-boot \
1712
+ -boot-load-size 4 \
1713
+ -boot-info-table \
1714
+ -eltorito-alt-boot \
1715
+ -e boot/grub/efiboot.img \
1716
+ -o ${output} ${this.settings.iso_work}`;
1717
+ return command;
1720
1718
  }
1721
1719
  // xorriso
1722
1720
  command = `xorriso -as mkisofs \
@@ -222,6 +222,7 @@ export default class Pacman {
222
222
  shx.cp(path.resolve(__dirname, '../../conf/tools.yaml'), config_tools);
223
223
  shx.cp(path.resolve(__dirname, '../../conf/krill.yaml'), confRoot);
224
224
  shx.cp(path.resolve(__dirname, '../../conf/derivatives.yaml'), confRoot);
225
+ shx.cp(path.resolve(__dirname, '../../conf/yolk.yaml'), confRoot);
225
226
  // init
226
227
  shx.cp(path.resolve(__dirname, '../../conf/init/unattended.sh'), '/etc/penguins-eggs.d/init');
227
228
  shx.chmod('+x', '/etc/penguins-eggs.d/init/unattended.sh');
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import fs from 'node:fs';
9
9
  import shx from 'shelljs';
10
+ import yaml from 'js-yaml';
10
11
  import { exec } from '../lib/utils.js';
11
12
  import Bleach from './bleach.js';
12
13
  import Pacman from './pacman.js';
@@ -51,11 +52,11 @@ export default class Yolk {
51
52
  await exec(`mkdir ${this.yolkDir} -p`, this.echo);
52
53
  await exec(`chown _apt:root ${this.yolkDir} -R`, this.echo);
53
54
  }
54
- // packages we need
55
- const pkgs = ['cryptsetup', 'grub-efi-amd64', 'grub-pc', 'keyutils', 'shim-signed'];
55
+ const yolk_yaml = '/etc/penguins-eggs.d/yolk.yaml';
56
+ const yolk = yaml.load(fs.readFileSync(yolk_yaml, 'utf8'));
56
57
  process.chdir(this.yolkDir);
57
58
  Utils.warning(`Downloading packages and its dependencies`);
58
- for (const pkg of pkgs) {
59
+ for (const pkg of yolk.packages) {
59
60
  Utils.warning(`- ${pkg}`);
60
61
  cmd = `apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances ${pkg} | grep "^\\w" | sort -u`;
61
62
  let depends = pkg + '\n';
@@ -28,7 +28,6 @@ export default class Produce extends Command {
28
28
  theme: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
29
  unsecure: import("@oclif/core/interfaces").BooleanFlag<boolean>;
30
30
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
- udf: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
31
  yolk: import("@oclif/core/interfaces").BooleanFlag<boolean>;
33
32
  };
34
33
  run(): Promise<void>;
@@ -48,7 +48,6 @@ export default class Produce extends Command {
48
48
  theme: Flags.string({ description: 'theme for livecd, calamares branding and partitions' }),
49
49
  unsecure: Flags.boolean({ char: 'u', description: '/root contents are included on live' }),
50
50
  verbose: Flags.boolean({ char: 'v', description: 'verbose' }),
51
- udf: Flags.boolean({ char: 'U', description: 'udf, create iso UDF format using genisoimage' }),
52
51
  yolk: Flags.boolean({ char: 'y', description: 'force yolk renew' }),
53
52
  };
54
53
  async run() {
@@ -143,7 +142,6 @@ export default class Produce extends Command {
143
142
  const yolkRenew = flags.yolk;
144
143
  const { nointeractive } = flags;
145
144
  const { noicon } = flags;
146
- const { udf } = flags;
147
145
  // if clone or cryptedclone unsecure = true
148
146
  const unsecure = flags.unsecure || clone || cryptedclone;
149
147
  /**
@@ -190,7 +188,7 @@ export default class Produce extends Command {
190
188
  const ovary = new Ovary();
191
189
  Utils.warning('Produce an egg...');
192
190
  if (await ovary.fertilization(prefix, basename, theme, compression, !nointeractive)) {
193
- await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, myLinks, excludes, nointeractive, noicon, unsecure, udf, verbose);
191
+ await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, myLinks, excludes, nointeractive, noicon, unsecure, verbose);
194
192
  ovary.finished(scriptOnly);
195
193
  }
196
194
  }
Binary file
@@ -6,10 +6,10 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  </head>
8
8
  <body>
9
- <h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.15</h1>
9
+ <h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.18</h1>
10
10
  <h1>SYNOPSIS</h1>
11
11
  <p>Install Debian families (debian/devuan/ubuntu)</p>
12
- <pre><code>$ sudo dpkg -i penguins-eggs_10.0.15-bionic-1_amd64.deb
12
+ <pre><code>$ sudo dpkg -i penguins-eggs_10.0.18-bionic-1_amd64.deb
13
13
  </code></pre>
14
14
  <p>Install Arch families (Arch, manjaro Linux)</p>
15
15
  <p>Arch from AUR</p>
@@ -30,7 +30,7 @@ $ makepkg -si
30
30
  <h1>USAGE</h1>
31
31
  <pre><code>$ eggs (-v|--version|version)
32
32
 
33
- penguins-eggs/10.0.15
33
+ penguins-eggs/10.0.18
34
34
  $ eggs --help [COMMAND]
35
35
 
36
36
  USAGE
@@ -382,13 +382,12 @@ EXAMPLES
382
382
  <p>produce a live image from your system whithout your data</p>
383
383
  <pre><code>USAGE
384
384
  $ eggs produce [--addons &#x3C;value>...] [--basename &#x3C;value>] [-c] [-C] [--excludes &#x3C;value>...] [-h] [--links
385
- &#x3C;value>...] [-m] [-N] [-n] [-p] [-P &#x3C;value>] [--release] [-s] [-f] [--theme &#x3C;value>] [-u] [-v] [-U] [-y]
385
+ &#x3C;value>...] [-m] [-N] [-n] [-p] [-P &#x3C;value>] [--release] [-s] [-f] [--theme &#x3C;value>] [-u] [-v] [-y]
386
386
 
387
387
  FLAGS
388
388
  -C, --cryptedclone crypted clone
389
389
  -N, --noicon no icon eggs on desktop
390
390
  -P, --prefix=&#x3C;value> prefix
391
- -U, --udf udf, create iso UDF format using genisoimage
392
391
  -c, --clone clone
393
392
  -f, --standard standard compression: xz -b 1M
394
393
  -h, --help Show CLI help.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "penguins-eggs",
3
3
  "shortName": "eggs",
4
4
  "description": "A remaster system tool, compatible with Arch, Debian, Devuan, Ubuntu and others",
5
- "version": "10.0.15",
5
+ "version": "10.0.18",
6
6
  "author": "Piero Proietti",
7
7
  "bin": {
8
8
  "eggs": "./bin/run.js"
package/scripts/_eggs CHANGED
@@ -190,9 +190,9 @@ _eggs() {
190
190
  "syncfrom[restore users and user data from a LUKS volumes]" \
191
191
  "syncto[Save users and users' data ENCRYPTED]" \
192
192
  "update[update the Penguins' eggs tool]" \
193
- "version[]" \
194
- "help[Display help for eggs.]" \
195
193
  "autocomplete[Display autocomplete installation instructions.]" \
194
+ "help[Display help for eggs.]" \
195
+ "version[]" \
196
196
 
197
197
  ;;
198
198
  args)
@@ -323,6 +323,7 @@ _arguments -S \
323
323
  --theme"[theme for livecd, calamares branding and partitions]:file:_files" \
324
324
  "(-u --unsecure)"{-u,--unsecure}"[/root contents are included on live]" \
325
325
  "(-v --verbose)"{-v,--verbose}"[verbose]" \
326
+ "(-U --udf)"{-U,--udf}"[use UDF format on ISO with genisoimage breacking 4.7 G limit]" \
326
327
  "(-y --yolk)"{-y,--yolk}"[force yolk renew]" \
327
328
  --help"[Show help for command]" \
328
329
  "*: :_files" ;;
@@ -355,10 +356,9 @@ _arguments -S \
355
356
  "(-v --verbose)"{-v,--verbose}"[verbose]" \
356
357
  --help"[Show help for command]" \
357
358
  "*: :_files" ;;
358
- version)
359
+ autocomplete)
359
360
  _arguments -S \
360
- --json"[Format output as json.]" \
361
- --verbose"[Show additional information about the CLI.]" \
361
+ "(-r --refresh-cache)"{-r,--refresh-cache}"[Refresh cache (ignores displaying instructions)]" \
362
362
  --help"[Show help for command]" \
363
363
  "*: :_files" ;;
364
364
  help)
@@ -366,9 +366,10 @@ _arguments -S \
366
366
  "(-n --nested-commands)"{-n,--nested-commands}"[Include all nested commands in the output.]" \
367
367
  --help"[Show help for command]" \
368
368
  "*: :_files" ;;
369
- autocomplete)
369
+ version)
370
370
  _arguments -S \
371
- "(-r --refresh-cache)"{-r,--refresh-cache}"[Refresh cache (ignores displaying instructions)]" \
371
+ --json"[Format output as json.]" \
372
+ --verbose"[Show additional information about the CLI.]" \
372
373
  --help"[Show help for command]" \
373
374
  "*: :_files" ;;
374
375
  esac
package/scripts/eggs.bash CHANGED
@@ -23,7 +23,7 @@ install --btrfs --chroot --crypted --domain --halt --help --ip --nointeractive -
23
23
  krill --btrfs --chroot --crypted --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
24
24
  kill --help --isos --nointeractive --verbose
25
25
  mom --help
26
- produce --addons --basename --clone --cryptedclone --excludes --help --links --max --noicon --nointeractive --pendrive --prefix --release --script --standard --theme --unsecure --verbose --yolk
26
+ produce --addons --basename --clone --cryptedclone --excludes --help --links --max --noicon --nointeractive --pendrive --prefix --release --script --standard --theme --unsecure --verbose --udf --yolk
27
27
  status --help --verbose
28
28
  syncfrom --delete --file --help --rootdir --verbose
29
29
  syncto --excludes --file --help --verbose
@@ -37,9 +37,9 @@ wardrobe:get --help --verbose
37
37
  wardrobe:list --distro --help --verbose
38
38
  wardrobe:show --help --json --verbose --wardrobe
39
39
  wardrobe:wear --help --no_accessories --no_firmwares --verbose --wardrobe
40
- version --json --verbose
41
- help --nested-commands
42
40
  autocomplete --refresh-cache
41
+ help --nested-commands
42
+ version --json --verbose
43
43
  "
44
44
 
45
45
  function __trim_colon_commands()