penguins-eggs 9.1.34 → 9.1.35

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.
package/README.md CHANGED
@@ -132,7 +132,7 @@ $ npm install -g penguins-eggs
132
132
  $ eggs COMMAND
133
133
  running command...
134
134
  $ eggs (--version|-v)
135
- penguins-eggs/9.1.34 linux-x64 node-v16.15.1
135
+ penguins-eggs/9.1.35 linux-x64 node-v16.15.1
136
136
  $ eggs --help [COMMAND]
137
137
  USAGE
138
138
  $ eggs COMMAND
@@ -189,7 +189,7 @@ DESCRIPTION
189
189
  adapt monitor resolution for VM only
190
190
  ```
191
191
 
192
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/adapt.ts)_
192
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/adapt.ts)_
193
193
 
194
194
  ## `eggs analyze`
195
195
 
@@ -210,7 +210,7 @@ EXAMPLES
210
210
  $ sudo eggs analyze
211
211
  ```
212
212
 
213
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/analyze.ts)_
213
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/analyze.ts)_
214
214
 
215
215
  ## `eggs autocomplete [SHELL]`
216
216
 
@@ -268,7 +268,7 @@ EXAMPLES
268
268
  install calamares and create it's configuration's files
269
269
  ```
270
270
 
271
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/calamares.ts)_
271
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/calamares.ts)_
272
272
 
273
273
  ## `eggs config`
274
274
 
@@ -292,7 +292,7 @@ EXAMPLES
292
292
  Configure and install prerequisites deb packages to run it
293
293
  ```
294
294
 
295
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/config.ts)_
295
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/config.ts)_
296
296
 
297
297
  ## `eggs dad`
298
298
 
@@ -312,7 +312,7 @@ DESCRIPTION
312
312
  ask help from daddy - configuration helper
313
313
  ```
314
314
 
315
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/dad.ts)_
315
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/dad.ts)_
316
316
 
317
317
  ## `eggs export deb`
318
318
 
@@ -403,7 +403,7 @@ DESCRIPTION
403
403
  informations about eggs configuration
404
404
  ```
405
405
 
406
- _See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/info.ts)_
406
+ _See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/info.ts)_
407
407
 
408
408
  ## `eggs install`
409
409
 
@@ -451,7 +451,7 @@ EXAMPLES
451
451
  kill the eggs/free the nest
452
452
  ```
453
453
 
454
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/kill.ts)_
454
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/kill.ts)_
455
455
 
456
456
  ## `eggs krill`
457
457
 
@@ -479,7 +479,7 @@ EXAMPLES
479
479
  Install the system using GUI or CLI installer
480
480
  ```
481
481
 
482
- _See code: [src/commands/krill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/krill.ts)_
482
+ _See code: [src/commands/krill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/krill.ts)_
483
483
 
484
484
  ## `eggs mom`
485
485
 
@@ -496,7 +496,7 @@ DESCRIPTION
496
496
  ask for mommy - gui helper
497
497
  ```
498
498
 
499
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/mom.ts)_
499
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/mom.ts)_
500
500
 
501
501
  ## `eggs produce`
502
502
 
@@ -557,7 +557,7 @@ EXAMPLES
557
557
  in /home/eggs/ovarium and you can customize all you need
558
558
  ```
559
559
 
560
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/produce.ts)_
560
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/produce.ts)_
561
561
 
562
562
  ## `eggs remove`
563
563
 
@@ -587,7 +587,7 @@ EXAMPLES
587
587
  remove eggs, eggs configurations, packages dependencies
588
588
  ```
589
589
 
590
- _See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/remove.ts)_
590
+ _See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/remove.ts)_
591
591
 
592
592
  ## `eggs syncfrom`
593
593
 
@@ -611,7 +611,7 @@ EXAMPLES
611
611
  $ sudo eggs restore
612
612
  ```
613
613
 
614
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/syncfrom.ts)_
614
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/syncfrom.ts)_
615
615
 
616
616
  ## `eggs syncto`
617
617
 
@@ -634,7 +634,7 @@ EXAMPLES
634
634
  $ sudo eggs syncto
635
635
  ```
636
636
 
637
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/syncto.ts)_
637
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/syncto.ts)_
638
638
 
639
639
  ## `eggs tools clean`
640
640
 
@@ -729,7 +729,7 @@ EXAMPLES
729
729
  update/upgrade the penguin's eggs tool
730
730
  ```
731
731
 
732
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.34/src/commands/update.ts)_
732
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.35/src/commands/update.ts)_
733
733
 
734
734
  ## `eggs version`
735
735
 
@@ -4,8 +4,8 @@ Version=1.0
4
4
  Name=Install System
5
5
  GenericName=System Installer
6
6
  Keywords=calamares;system;installer;
7
- Exec=pkexec calamares
8
- # Exec=pkexec /usr/bin/calamares
7
+ Exec=sh -c "pkexec /usr/bin/calamares"
8
+ # Exec=pkexec calamares
9
9
  TryExec=calamares
10
10
  Comment=Calamares — System Installer
11
11
  Icon=install-debian
package/conf/exclude.list CHANGED
@@ -1,107 +1,92 @@
1
- # rsync excludes file for penguins-eggs
2
- # version 7.5.53
1
+ # rsync excludes file for refractasnapshot and refractasnapshot-gui
2
+ # version 9.3.4
3
3
 
4
- # Do NOT edit this entry block unless you know what you are doing
4
+ # Exclude some system files. These are required, and you probably
5
+ # shouldn't change them.
5
6
 
6
- # root
7
- cdrom/*
8
- dev/*
9
- #live/*
10
- lost+found
11
- media/*
12
- mnt/*
13
- proc/*
14
- run/*
15
- sys/*
16
- tmp/*
17
- swapfile
7
+ - /dev/*
8
+ - /cdrom/*
9
+ - /media/*
10
+ - /swapfile
11
+ - /mnt/*
12
+ - /sys/*
13
+ - /proc/*
14
+ - /tmp/*
15
+ - /live
16
+ - /persistence.conf
18
17
 
19
18
  # boot
20
- boot/efi/
21
- # Toglie tutto ad eccezione di themes ed i fonts
22
- boot/grub/!(themes|fonts)
23
-
24
- ## Questi vengono esclusi anche da ovary
25
- ## "/boot/efi/EFI", "/etc/fstab", "/etc/mtab", "/etc/udev/rules.d/70-persistent-cd.rules", "/etc/udev/rules.d/70-persistent-net.rules"]
19
+ - /boot/grub/grub.cfg
20
+ - /boot/grub/menu.lst
21
+ - /boot/grub/device.map
22
+ - /boot/*.bak
23
+ - /boot/*.old-dkms
24
+ - /etc/udev/rules.d/70-persistent-cd.rules
25
+ - /etc/udev/rules.d/70-persistent-net.rules
26
26
 
27
27
  # etc
28
- etc/adjtime
29
- etc/bcm-ckd
30
- etc/blkid.tab.old
31
- etc/defaultdomain
32
- etc/crypttab
33
- etc/fstab
34
- etc/fstab.backup
35
- etc/ioctl.save
36
- # https://github.com/pieroproietti/penguins-eggs/issues/125
37
- # added follow line to exclude
38
- etc/initramfs-tools/conf.d/resume
39
- etc/live/protect
40
- etc/machine-id
41
- etc/mailname
42
- etc/mtab
43
- etc/NetworkManager/system-connections/*
44
- etc/pve/*
45
- etc/udev/rules.d/70-persistent-cd.rules
46
- etc/udev/rules.d/70-persistent-net.rules
47
- #etc/resolv.conf
48
-
49
- # /root
50
- root/.bash_history
51
- root/.dbus
52
- root/.gconf
53
- root/.gnome2
54
- root/keyfile
55
-
56
- # var
57
- # var/cache
58
- var/cache/apt/archives/*.deb
59
- var/cache/apt-xapian-index/index.*
60
- var/cache/apt-show-versions/*
61
- var/cache/apt/*.bin
62
- var/cache/apt/apt-file/*
63
- var/cache/debconf/*-old
64
- var/cache/lightdm
65
- var/cache/samba/browse.dat
28
+ - /etc/apt/sources.list~
29
+ - /etc/mtab
30
+ - /etc/blkid.tab
31
+ - /etc/blkid.tab.old
32
+ - /etc/crypttab
33
+ - /etc/fstab
34
+ - /etc/fstab.d/*
35
+ - /etc/initramfs-tools/conf.d/resume # see remove-cryptroot and nocrypt.sh
36
+ - /etc/initramfs-tools/conf.d/cryptroot # see remove-cryptroot and nocrypt.sh
37
+ - /etc/machine-id
38
+ - /etc/popularity-contest.conf
39
+ - /etc/ssh/ssh_host_*_key*
40
+ - /etc/ssh/ssh_host_key*
66
41
 
67
- # var/lib
68
- var/lib/apt/lists/*
69
- var/lib/connman/*
70
- var/lib/dbus/machine-id
71
- var/lib/dhcp/*
72
- var/lib/dpkg/*-old
73
- var/lib/lightdm/.cache
74
- var/lib/lightdm/.Xauthority
75
- var/lib/NetworkManager/*
76
- var/lib/nfs/rpc_pipefs/*
77
- var/lib/sudo/*
78
- var/lib/udisks/*
79
- var/lib/urandom/*
42
+ # Added for newer version of live-config/live-boot in wheezy
43
+ # These are only relevant here if you create a snapshot while
44
+ # you're running a live-CD or live-usb.
45
+ - /lib/live/overlay
46
+ - /lib/live/image
47
+ - /lib/live/rootfs
48
+ - /lib/live/mount
49
+ - /run/*
80
50
 
81
- # var/log:
82
- # remove all with exception of:
83
- # apache2, clamav, pveprozy, samba, mysql, cga-update-manager
84
- var/log/!(apache2|clamav|pveproxy|samba|mysql|cga-update-manager)
51
+ # eggs remove all under home
52
+ - /home/*
85
53
 
86
- # the follow lines remove all inside ther respective dirs:
87
- var/log/apache2/*
88
- var/log/clamav/*
89
- var/log/pveproxy/*
90
- var/log/samba/*
91
- var/log/mysql/*
92
-
93
- # We don't want remove nothing in /var/log/cga-update-manager
94
- #var/log/cga-update-manager
95
-
96
-
97
- var/mail/*
98
- var/spool/mail/*
99
- var/tmp/*
100
- var/cache/brightness-settings-cache/*
54
+ # /root
55
+ - /root/.aptitude
56
+ - /root/.bash_history
57
+ - /root/.disk-manager.conf
58
+ - /root/.fstab.log
59
+ - /root/.lesshst
60
+ - /root/*/.log
61
+ - /root/.local/share/*
62
+ - /root/.nano_history
63
+ - /root/.synaptic
64
+ - /root/.VirtualBox
65
+ - /root/.ICEauthority
66
+ - /root/.Xauthority
67
+ - /root/.ssh
101
68
 
102
- # deepin
103
- data/*
104
- recovery/*
69
+ # Added for symlink /lib
70
+ - /usr/lib/live/overlay
71
+ - /usr/lib/live/image
72
+ - /usr/lib/live/rootfs
73
+ - /usr/lib/live/mount
105
74
 
106
- # archlinux
107
- var/cache/pacman/pkg/*
75
+ # var
76
+ - /var/cache/apt/archives/*.deb
77
+ - /var/cache/apt/pkgcache.bin
78
+ - /var/cache/apt/srcpkgcache.bin
79
+ - /var/cache/apt/apt-file/*
80
+ - /var/cache/debconf/*~old
81
+ - /var/lib/apt/lists/*
82
+ - /var/lib/apt/*~
83
+ - /var/lib/apt/cdroms.list
84
+ - /var/lib/aptitude/*.old
85
+ - /var/lib/dhcp/*
86
+ - /var/lib/dpkg/*~old
87
+ - /var/spool/mail/*
88
+ - /var/mail/*
89
+ - /var/backups/*.gz
90
+ - /var/lib/dbus/machine-id
91
+ - /var/lib/live/config/*
92
+ - /usr/share/icons/*/icon-theme.cache
@@ -203,6 +203,12 @@ class Distro {
203
203
  this.codenameLikeId = 'bookworm';
204
204
  break;
205
205
  }
206
+ case `hera`: {
207
+ // Elementary
208
+ this.distroLike = 'Ubuntu';
209
+ this.codenameLikeId = 'bionic';
210
+ break;
211
+ }
206
212
  case `jolnir`: {
207
213
  // Elementary
208
214
  this.distroLike = 'Ubuntu';
@@ -615,7 +615,13 @@ class Ovary {
615
615
  /**
616
616
  * exclude all the accurence of cryptdisks in rc0.d, etc
617
617
  */
618
- let fexcludes = ["/boot/efi/EFI", "/etc/fstab", "/etc/mtab", "/etc/udev/rules.d/70-persistent-cd.rules", "/etc/udev/rules.d/70-persistent-net.rules"];
618
+ let fexcludes = [
619
+ "/boot/efi/EFI",
620
+ "/etc/fstab",
621
+ "/etc/mtab",
622
+ "/etc/udev/rules.d/70-persistent-cd.rules",
623
+ "/etc/udev/rules.d/70-persistent-net.rules"
624
+ ];
619
625
  for (let i in fexcludes) {
620
626
  this.addRemoveExclusion(true, fexcludes[i]);
621
627
  }
@@ -642,6 +648,7 @@ class Ovary {
642
648
  fs_1.default.unlinkSync(`${this.settings.work_dir.pathIso}/live/filesystem.squashfs`);
643
649
  }
644
650
  const compression = `-comp ${this.settings.config.compression}`;
651
+ // let cmd = `mksquashfs ${this.settings.work_dir.merged} ${this.settings.work_dir.pathIso}live/filesystem.squashfs ${compression} -wildcards -ef ${this.settings.config.snapshot_excludes} ${this.settings.session_excludes}`
645
652
  let cmd = `mksquashfs ${this.settings.work_dir.merged} ${this.settings.work_dir.pathIso}live/filesystem.squashfs ${compression} -wildcards -ef ${this.settings.config.snapshot_excludes} ${this.settings.session_excludes}`;
646
653
  cmd = cmd.replace(/\s\s+/g, ' ');
647
654
  utils_2.default.writeX(`${this.settings.work_dir.path}mksquashfs`, cmd);
@@ -1081,7 +1088,7 @@ class Ovary {
1081
1088
  */
1082
1089
  addRemoveExclusion(add, exclusion) {
1083
1090
  if (exclusion.startsWith('/')) {
1084
- exclusion = exclusion.slice(1); // remove / initial Non compatible with
1091
+ exclusion = exclusion.slice(1); // remove / initial Non compatible with rsync
1085
1092
  }
1086
1093
  if (add) {
1087
1094
  this.settings.session_excludes += this.settings.session_excludes === '' ? `-e '${exclusion}' ` : ` '${exclusion}' `;
@@ -89,8 +89,6 @@ async function information(verbose = false) {
89
89
  react_1.default.createElement(ink_1.Text, { color: "cyan" },
90
90
  settings.distro.distroLike,
91
91
  " ",
92
- settings.distro.releaseLike,
93
- " ",
94
92
  settings.distro.codenameLikeId))))));
95
93
  // render(<Distro />)
96
94
  const dependencies = await pacman_1.default.prerequisitesCheck();
@@ -16,7 +16,7 @@ async function setKeyboard() {
16
16
  * /etc/vconsole.conf is update in installed syste,
17
17
  */
18
18
  // systemd as default
19
- let cmd = `chroot ${this.installTarget} localectl set-keymap ${this.keyboardLayout} ${this.toNull}`;
19
+ let cmd = `chroot ${this.installTarget} localectl set-keymap ${this.keyboardLayout}`;
20
20
  if (!utils_1.default.isSystemd()) {
21
21
  cmd = `chroot ${this.installTarget} setupcon ${this.toNull}`;
22
22
  }
@@ -41,10 +41,10 @@ async function setKeyboard() {
41
41
  content += 'XKBOPTIONS=""\n';
42
42
  content += '\n';
43
43
  content += 'BACKSPACE="guess"\n';
44
- utils_1.default.write(this.installTarget + '/etc/default/keyboard', content);
44
+ // Utils.write(this.installTarget + '/etc/default/keyboard', content)
45
45
  content = 'KEYMAP=' + +this.keyboardModel + '"\n';
46
46
  content += 'FONT=\n';
47
47
  content += 'FONT_MAP=\n';
48
- utils_1.default.write(this.installTarget + '/etc/vconsole.conf', content);
48
+ // Utils.write(this.installTarget + '/etc/vconsole.conf', content)
49
49
  }
50
50
  exports.default = setKeyboard;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.1.34",
4
+ "version": "9.1.35",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"