penguins-eggs 10.0.7 → 10.0.8

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.
@@ -1450,5 +1450,5 @@
1450
1450
  ]
1451
1451
  }
1452
1452
  },
1453
- "version": "10.0.7"
1453
+ "version": "10.0.8"
1454
1454
  }
package/README.md CHANGED
@@ -466,7 +466,7 @@ EXAMPLES
466
466
  $ eggs adapt
467
467
  ```
468
468
 
469
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/adapt.ts)_
469
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/adapt.ts)_
470
470
 
471
471
  ## `eggs analyze`
472
472
 
@@ -487,7 +487,7 @@ EXAMPLES
487
487
  sudo eggs analyze
488
488
  ```
489
489
 
490
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/analyze.ts)_
490
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/analyze.ts)_
491
491
 
492
492
  ## `eggs autocomplete [SHELL]`
493
493
 
@@ -551,7 +551,7 @@ EXAMPLES
551
551
  sudo eggs calamares --remove
552
552
  ```
553
553
 
554
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/calamares.ts)_
554
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/calamares.ts)_
555
555
 
556
556
  ## `eggs config`
557
557
 
@@ -578,7 +578,7 @@ EXAMPLES
578
578
  sudo eggs config --clean --nointeractive
579
579
  ```
580
580
 
581
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/config.ts)_
581
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/config.ts)_
582
582
 
583
583
  ## `eggs cuckoo`
584
584
 
@@ -598,7 +598,7 @@ EXAMPLES
598
598
  sudo eggs cuckoo
599
599
  ```
600
600
 
601
- _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/cuckoo.ts)_
601
+ _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/cuckoo.ts)_
602
602
 
603
603
  ## `eggs dad`
604
604
 
@@ -625,7 +625,7 @@ EXAMPLES
625
625
  sudo dad --default
626
626
  ```
627
627
 
628
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/dad.ts)_
628
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/dad.ts)_
629
629
 
630
630
  ## `eggs export deb`
631
631
 
@@ -652,7 +652,7 @@ EXAMPLES
652
652
  $ eggs export deb --all
653
653
  ```
654
654
 
655
- _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/export/deb.ts)_
655
+ _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/export/deb.ts)_
656
656
 
657
657
  ## `eggs export iso`
658
658
 
@@ -677,7 +677,7 @@ EXAMPLES
677
677
  $ eggs export iso --clean
678
678
  ```
679
679
 
680
- _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/export/iso.ts)_
680
+ _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/export/iso.ts)_
681
681
 
682
682
  ## `eggs help [COMMAND]`
683
683
 
@@ -738,7 +738,7 @@ EXAMPLES
738
738
  sudo eggs install --chroot
739
739
  ```
740
740
 
741
- _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/install.ts)_
741
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/install.ts)_
742
742
 
743
743
  ## `eggs kill`
744
744
 
@@ -761,7 +761,7 @@ EXAMPLES
761
761
  sudo eggs kill
762
762
  ```
763
763
 
764
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/kill.ts)_
764
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/kill.ts)_
765
765
 
766
766
  ## `eggs krill`
767
767
 
@@ -820,7 +820,7 @@ EXAMPLES
820
820
  $ eggs mom
821
821
  ```
822
822
 
823
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/mom.ts)_
823
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/mom.ts)_
824
824
 
825
825
  ## `eggs produce`
826
826
 
@@ -871,7 +871,7 @@ EXAMPLES
871
871
  sudo eggs produce --basename=colibri --theme theme --addons adapt
872
872
  ```
873
873
 
874
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/produce.ts)_
874
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/produce.ts)_
875
875
 
876
876
  ## `eggs status`
877
877
 
@@ -892,7 +892,7 @@ EXAMPLES
892
892
  $ eggs status
893
893
  ```
894
894
 
895
- _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/status.ts)_
895
+ _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/status.ts)_
896
896
 
897
897
  ## `eggs syncfrom`
898
898
 
@@ -918,7 +918,7 @@ EXAMPLES
918
918
  sudo eggs syncfrom --file /path/to/luks-volume
919
919
  ```
920
920
 
921
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/syncfrom.ts)_
921
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/syncfrom.ts)_
922
922
 
923
923
  ## `eggs syncto`
924
924
 
@@ -945,7 +945,7 @@ EXAMPLES
945
945
  sudo eggs syncto --excludes
946
946
  ```
947
947
 
948
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/syncto.ts)_
948
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/syncto.ts)_
949
949
 
950
950
  ## `eggs tools clean`
951
951
 
@@ -967,7 +967,7 @@ EXAMPLES
967
967
  sudo eggs tools clean
968
968
  ```
969
969
 
970
- _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/tools/clean.ts)_
970
+ _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/tools/clean.ts)_
971
971
 
972
972
  ## `eggs tools ppa`
973
973
 
@@ -993,7 +993,7 @@ EXAMPLES
993
993
  sudo eggs tools ppa --remove
994
994
  ```
995
995
 
996
- _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/tools/ppa.ts)_
996
+ _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/tools/ppa.ts)_
997
997
 
998
998
  ## `eggs tools skel`
999
999
 
@@ -1017,7 +1017,7 @@ EXAMPLES
1017
1017
  sudo eggs tools skel --user user-to-be-copied
1018
1018
  ```
1019
1019
 
1020
- _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/tools/skel.ts)_
1020
+ _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/tools/skel.ts)_
1021
1021
 
1022
1022
  ## `eggs tools stat`
1023
1023
 
@@ -1043,7 +1043,7 @@ EXAMPLES
1043
1043
  $ eggs tools stat --year
1044
1044
  ```
1045
1045
 
1046
- _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/tools/stat.ts)_
1046
+ _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/tools/stat.ts)_
1047
1047
 
1048
1048
  ## `eggs tools yolk`
1049
1049
 
@@ -1064,7 +1064,7 @@ EXAMPLES
1064
1064
  sudo eggs tools yolk
1065
1065
  ```
1066
1066
 
1067
- _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/tools/yolk.ts)_
1067
+ _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/tools/yolk.ts)_
1068
1068
 
1069
1069
  ## `eggs update`
1070
1070
 
@@ -1085,7 +1085,7 @@ EXAMPLES
1085
1085
  $ eggs update
1086
1086
  ```
1087
1087
 
1088
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/update.ts)_
1088
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/update.ts)_
1089
1089
 
1090
1090
  ## `eggs version`
1091
1091
 
@@ -1131,7 +1131,7 @@ EXAMPLES
1131
1131
  $ eggs wardrobe get your-wardrobe
1132
1132
  ```
1133
1133
 
1134
- _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/wardrobe/get.ts)_
1134
+ _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/wardrobe/get.ts)_
1135
1135
 
1136
1136
  ## `eggs wardrobe list [REPO]`
1137
1137
 
@@ -1160,7 +1160,7 @@ EXAMPLES
1160
1160
  $ eggs wardrobe list --distro arch
1161
1161
  ```
1162
1162
 
1163
- _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/wardrobe/list.ts)_
1163
+ _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/wardrobe/list.ts)_
1164
1164
 
1165
1165
  ## `eggs wardrobe show [REPO]`
1166
1166
 
@@ -1190,7 +1190,7 @@ EXAMPLES
1190
1190
  $ eggs wardrobe show accessories/
1191
1191
  ```
1192
1192
 
1193
- _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/wardrobe/show.ts)_
1193
+ _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/wardrobe/show.ts)_
1194
1194
 
1195
1195
  ## `eggs wardrobe wear [REPO]`
1196
1196
 
@@ -1221,7 +1221,7 @@ EXAMPLES
1221
1221
  sudo eggs wardrobe wear wagtail/waydroid
1222
1222
  ```
1223
1223
 
1224
- _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.7/src/commands/wardrobe/wear.ts)_
1224
+ _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.8/src/commands/wardrobe/wear.ts)_
1225
1225
  <!-- commandsstop -->
1226
1226
 
1227
1227
  # penGUI
@@ -5,8 +5,10 @@
5
5
  * email: piero.proietti@gmail.com
6
6
  * license: MIT
7
7
  */
8
+ /// <reference types="node" resolution-mode="require"/>
9
+ import { Dirent } from 'node:fs';
8
10
  export default class n8 {
9
- static dirent2string(dir: any): string;
11
+ static dirent2string(dir: Dirent): string;
10
12
  /**
11
13
  *
12
14
  * @param dirPath
@@ -8,6 +8,8 @@
8
8
  import fs from 'node:fs';
9
9
  export default class n8 {
10
10
  static dirent2string(dir) {
11
+ return dir.name;
12
+ // Removed not needed more node8 is past
11
13
  let dirname = '';
12
14
  dirname = process.versions.node.split('.')[0] === '8' ? JSON.stringify(dir).replace('"', '').replace('"', '') : dir.name;
13
15
  return dirname;
@@ -17,24 +19,18 @@ export default class n8 {
17
19
  * @param dirPath
18
20
  */
19
21
  static isDirectory(name) {
20
- // console.log (`isDirectory: ${name}`)
21
22
  const path = '/' + name;
22
23
  const isDirectory = fs.existsSync(path) && fs.lstatSync(path).isDirectory();
23
- // console.log(`path: ${path} isDirectory: ${isDirectory}`)
24
24
  return isDirectory;
25
25
  }
26
26
  static isFile(name) {
27
- // console.log (`isFile: ${name}`)
28
27
  const path = '/' + name;
29
28
  const isFile = fs.existsSync(path) && fs.lstatSync(path).isFile();
30
- // console.log(`path: ${path} isFile: ${isFile}`)
31
29
  return isFile;
32
30
  }
33
31
  static isSymbolicLink(name) {
34
- // console.log (`isSymbolicLink: ${name}`)
35
32
  const path = '/' + name;
36
33
  const isSymbolicLink = fs.existsSync(path) && fs.lstatSync(path).isSymbolicLink();
37
- // console.log(`path: ${path} isSymbolicLink: ${isSymbolicLink}`)
38
34
  return isSymbolicLink;
39
35
  }
40
36
  }
@@ -26,6 +26,7 @@ export default class Ovary {
26
26
  snapshot_basename: string;
27
27
  snapshot_prefix: string;
28
28
  theme: string;
29
+ volid: string;
29
30
  toNull: string;
30
31
  verbose: boolean;
31
32
  /**
@@ -50,12 +51,6 @@ export default class Ovary {
50
51
  * @param verbose
51
52
  */
52
53
  cleanUsersAccounts(): Promise<void>;
53
- /**
54
- * copyBoot
55
- *
56
- * necessario: prima era merged
57
- */
58
- copyBoot(): Promise<void>;
59
54
  /**
60
55
  * list degli utenti: grep -E 1[0-9]{3} /etc/passwd | sed s/:/\ / | awk '{print $1}'
61
56
  * create la home per user_opt
@@ -50,6 +50,7 @@ export default class Ovary {
50
50
  snapshot_basename = '';
51
51
  snapshot_prefix = '';
52
52
  theme = '';
53
+ volid = '';
53
54
  toNull = '';
54
55
  verbose = false;
55
56
  /**
@@ -89,7 +90,7 @@ export default class Ovary {
89
90
  * fs.readdirSync('/', { withFileTypes: true })
90
91
  * viene ignorato da Node8, ma da problemi da Node10 in poi
91
92
  */
92
- const dirs = fs.readdirSync('/'); // we must remove boot and
93
+ const dirs = fs.readdirSync('/');
93
94
  const startLine = '#############################################################';
94
95
  const titleLine = '# -----------------------------------------------------------';
95
96
  const endLine = '# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n';
@@ -101,6 +102,10 @@ export default class Ovary {
101
102
  for (const dir of dirs) {
102
103
  cmds.push(startLine);
103
104
  if (N8.isDirectory(dir)) {
105
+ if (dir === 'boot') {
106
+ cmds.push(`# /boot is copied actually`);
107
+ cmds.push(await rexec(`cp -r /boot ${this.settings.config.snapshot_mnt}filesystem.squashfs`, this.verbose));
108
+ }
104
109
  if (dir !== 'boot' && dir !== 'lost+found') {
105
110
  cmd = `# /${dir} is a directory`;
106
111
  if (this.mergedAndOverlay(dir)) {
@@ -197,17 +202,6 @@ export default class Ovary {
197
202
  cmds.push(await rexec(`chroot ${this.settings.work_dir.merged} userdel ${users[i]}`, this.verbose));
198
203
  }
199
204
  }
200
- /**
201
- * copyBoot
202
- *
203
- * necessario: prima era merged
204
- */
205
- async copyBoot() {
206
- if (this.verbose) {
207
- console.log('Ovary: copyBoot');
208
- }
209
- await rexec(`cp -r /boot ${this.settings.config.snapshot_mnt}filesystem.squashfs`, this.verbose);
210
- }
211
205
  /**
212
206
  * list degli utenti: grep -E 1[0-9]{3} /etc/passwd | sed s/:/\ / | awk '{print $1}'
213
207
  * create la home per user_opt
@@ -639,6 +633,8 @@ export default class Ovary {
639
633
  async fertilization(snapshot_prefix = '', snapshot_basename = '', theme = '', compression = '', nointeratctive = false) {
640
634
  this.settings = new Settings();
641
635
  if (await this.settings.load()) {
636
+ await this.settings.loadRemix(this.theme);
637
+ this.volid = Utils.getVolid(this.settings.remix.name);
642
638
  this.familyId = this.settings.distro.familyId;
643
639
  this.nest = this.settings.config.snapshot_mnt;
644
640
  if (snapshot_prefix !== '') {
@@ -817,8 +813,7 @@ export default class Ovary {
817
813
  const { distroId } = this.settings.distro;
818
814
  let kp = `boot=live components locales=${process.env.LANG}`;
819
815
  if (this.familyId === 'archlinux') {
820
- const volid = Utils.getVolid(this.settings.remix.name);
821
- kp += isMiso(distroId) ? ` misobasedir=manjaro misolabel=${volid}` : ` archisobasedir=arch archisolabel=${volid}`;
816
+ kp += isMiso(distroId) ? ` misobasedir=manjaro misolabel=${this.volid}` : ` archisobasedir=arch archisolabel=${this.volid}`;
822
817
  }
823
818
  kp += ` cow_spacesize=4G`;
824
819
  return kp;
@@ -1100,6 +1095,10 @@ export default class Ovary {
1100
1095
  console.log('Ovary: makeIso');
1101
1096
  }
1102
1097
  Utils.writeX(`${this.settings.work_dir.ovarium}mkisofs`, cmd);
1098
+ // Create link to iso ALLWAYES
1099
+ const src = this.settings.config.snapshot_mnt + this.settings.isoFilename;
1100
+ const dest = this.settings.config.snapshot_dir + this.settings.isoFilename;
1101
+ await exec(`ln -s ${src} ${dest}`);
1103
1102
  if (!scriptOnly) {
1104
1103
  const test = (await exec(cmd, Utils.setEcho(true))).code;
1105
1104
  if (test !== 0) {
@@ -1297,7 +1296,6 @@ export default class Ovary {
1297
1296
  if (!fs.existsSync(this.settings.config.snapshot_dir)) {
1298
1297
  shx.mkdir('-p', this.settings.config.snapshot_dir);
1299
1298
  }
1300
- await this.settings.loadRemix(this.snapshot_basename, this.theme);
1301
1299
  if (Utils.isLive()) {
1302
1300
  console.log(chalk.red('>>> eggs: This is a live system! An egg cannot be produced from an egg!'));
1303
1301
  }
@@ -1422,7 +1420,6 @@ export default class Ovary {
1422
1420
  await this.makeEfi(this.theme);
1423
1421
  }
1424
1422
  await this.bindLiveFs();
1425
- await this.copyBoot();
1426
1423
  if (!this.clone) {
1427
1424
  /**
1428
1425
  * ANCHE per cryptedclone
@@ -1459,8 +1456,7 @@ export default class Ovary {
1459
1456
  await exec(`mv ${luksFile} ${this.nest}iso/live`, this.echo);
1460
1457
  }
1461
1458
  const mkIsofsCmd = this.xorrisoCommand(clone, cryptedclone).replaceAll(/\s\s+/g, ' ');
1462
- const info = Utils.getVolid(this.settings.remix.name);
1463
- this.makeDotDisk(info, mksquashfsCmd, mkIsofsCmd);
1459
+ this.makeDotDisk(this.volid, mksquashfsCmd, mkIsofsCmd);
1464
1460
  /**
1465
1461
  * AntiX/MX LINUX
1466
1462
  */
@@ -1644,7 +1640,6 @@ export default class Ovary {
1644
1640
  if (this.verbose) {
1645
1641
  console.log('Ovary: xorrisoCommand');
1646
1642
  }
1647
- const volid = Utils.getVolid(this.settings.remix.name);
1648
1643
  const prefix = this.settings.config.snapshot_prefix;
1649
1644
  let typology = '';
1650
1645
  // typology is applied only with standard egg-of
@@ -1660,7 +1655,7 @@ export default class Ovary {
1660
1655
  }
1661
1656
  }
1662
1657
  const postfix = Utils.getPostfix();
1663
- this.settings.isoFilename = prefix + volid + '_' + Utils.uefiArch() + typology + postfix;
1658
+ this.settings.isoFilename = prefix + this.volid + '_' + Utils.uefiArch() + typology + postfix;
1664
1659
  //
1665
1660
  const output = this.settings.config.snapshot_mnt + this.settings.isoFilename;
1666
1661
  let command = '';
@@ -1688,28 +1683,7 @@ export default class Ovary {
1688
1683
  uefi_isohybridGptBasdat = '-isohybrid-gpt-basdat';
1689
1684
  uefi_noEmulBoot = '-no-emul-boot';
1690
1685
  }
1691
- // geniisoimage from Hosein
1692
- if (Pacman.packageIsInstalled('genisoimage')) {
1693
- command = `genisoimage \
1694
- -iso-level 3 \
1695
- -allow-limited-size \
1696
- -joliet-long \
1697
- -r \
1698
- -V "-V3.0" \
1699
- -cache-inodes \
1700
- -J \
1701
- -l \
1702
- -b isolinux/isolinux.bin \
1703
- -c isolinux/boot.cat \
1704
- -no-emul-boot \
1705
- -boot-load-size 4 \
1706
- -boot-info-table \
1707
- -eltorito-alt-boot \
1708
- -e boot/grub/efiboot.img \
1709
- -o ${output} ${this.settings.iso_work}`;
1710
- return command;
1711
- }
1712
- // xorriso from Piero
1686
+ // xorriso
1713
1687
  command = `xorriso -as mkisofs \
1714
1688
  -J \
1715
1689
  -joliet-long \
@@ -1717,7 +1691,7 @@ export default class Ovary {
1717
1691
  -iso-level 3 \
1718
1692
  ${isoHybridMbr} \
1719
1693
  -partition_offset 16 \
1720
- -V ${volid} \
1694
+ -V ${this.volid} \
1721
1695
  -b isolinux/isolinux.bin \
1722
1696
  -c isolinux/boot.cat \
1723
1697
  -no-emul-boot \
@@ -44,7 +44,7 @@ export default class Settings {
44
44
  * @param basename
45
45
  * @param theme
46
46
  */
47
- loadRemix(basename?: string, theme?: string): Promise<void>;
47
+ loadRemix(theme?: string): Promise<void>;
48
48
  /**
49
49
  *
50
50
  * @param config
@@ -164,7 +164,7 @@ export default class Settings {
164
164
  * @param basename
165
165
  * @param theme
166
166
  */
167
- async loadRemix(basename = '', theme = '') {
167
+ async loadRemix(theme = '') {
168
168
  this.remix.versionNumber = Utils.getPackageVersion();
169
169
  this.remix.kernel = Utils.kernelVersion();
170
170
  this.remix.branding = theme === '' ? 'eggs' : (this.remix.branding = theme.slice(Math.max(0, theme.lastIndexOf('/') + 1)));
@@ -92,7 +92,7 @@ export default class Calamares extends Command {
92
92
  */
93
93
  if (await this.settings.load()) {
94
94
  Utils.warning(`Configuring ${installer}`);
95
- await this.settings.loadRemix(this.settings.config.snapshot_basename, theme);
95
+ await this.settings.loadRemix(theme);
96
96
  const isClone = false;
97
97
  this.incubator = new Incubator(this.settings.remix, this.settings.distro, this.settings.config.user_opt, theme, isClone, verbose);
98
98
  await this.incubator.config(release);
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.7</h1>
9
+ <h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.8</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.7-bionic-1_amd64.deb
12
+ <pre><code>$ sudo dpkg -i penguins-eggs_10.0.8-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.7
33
+ penguins-eggs/10.0.8
34
34
  $ eggs --help [COMMAND]
35
35
 
36
36
  USAGE
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.7",
5
+ "version": "10.0.8",
6
6
  "author": "Piero Proietti",
7
7
  "bin": {
8
8
  "eggs": "./bin/run.js"