penguins-eggs 25.7.30 → 25.8.6

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.
@@ -28,7 +28,7 @@
28
28
  ids:
29
29
  - kali-rolling # kali
30
30
  - faye # LMDE 6
31
- - Sparky # SparkyLinux 7
31
+ - orion-belt # SparkyLinux 7
32
32
  - ara # Parrot ara
33
33
 
34
34
  # trixie
@@ -118,6 +118,7 @@
118
118
  - xia # Linuxmint 22.1
119
119
  - zara # Linuxmint 22.2
120
120
  - nexalinux # Nexa LInux
121
+ - crimson # Deepin 25 crimson
121
122
 
122
123
  - id:
123
124
  #
@@ -132,9 +133,5 @@
132
133
  # BluestarLinux
133
134
  - bluestarlinux
134
135
 
135
- # Garuda
136
- - spizaetus
137
-
138
136
  # Manjaro
139
- - yonada
140
- # Zetar
137
+ - zetar
@@ -9,6 +9,7 @@ import path from 'path';
9
9
  import Distro from '../distro.js';
10
10
  import Diversions from '../diversions.js';
11
11
  import Utils from '../utils.js';
12
+ import { execSync } from 'node:child_process';
12
13
  /**
13
14
  * Kernel utilities for managing vmlinuz and initramfs paths
14
15
  */
@@ -45,11 +46,15 @@ export default class Kernel {
45
46
  const distro = new Distro();
46
47
  let initramfs = '';
47
48
  if (kernel === '') {
48
- // Auto-detection
49
- const kernelModulesPath = this.getKernelModulesPath();
50
- const kernels = this.getAvailableKernels(kernelModulesPath);
51
- const latestKernel = kernels[kernels.length - 1];
52
- kernel = latestKernel;
49
+ if (!Utils.isContainer()) {
50
+ kernel = execSync('uname -r').toString().trim();
51
+ }
52
+ else {
53
+ const kernelModulesPath = this.getKernelModulesPath();
54
+ const kernels = this.getAvailableKernels(kernelModulesPath);
55
+ const latestKernel = kernels[kernels.length - 1];
56
+ kernel = latestKernel;
57
+ }
53
58
  }
54
59
  if (distro.familyId === "archlinux") {
55
60
  initramfs = this.getArchInitramfs(kernel, distro);
@@ -58,12 +63,12 @@ export default class Kernel {
58
63
  initramfs = '/boot/initramfs-lts';
59
64
  }
60
65
  else {
61
- // Debian/Ubuntu/derivatives
66
+ // Gestione generica per le altre distro (Debian, Fedora, SUSE, ecc.)
62
67
  const possiblePaths = [
63
- `/boot/initrd.img-${kernel}`,
64
- `/boot/initramfs-${kernel}.img`,
65
- `/boot/initramfs-${kernel}`,
66
- `/boot/initrd-${kernel}` // opensuse
68
+ `/boot/initrd.img-${kernel}`, // Debian, Ubuntu e derivate
69
+ `/boot/initramfs-${kernel}.img`, // Fedora, RHEL, CentOS e derivate
70
+ `/boot/initrd-${kernel}`, // openSUSE
71
+ `/boot/initramfs-${kernel}` // fallback generico
67
72
  ];
68
73
  for (const path of possiblePaths) {
69
74
  if (fs.existsSync(path)) {
@@ -35,8 +35,8 @@ export default class Love extends Command {
35
35
  let nointeractive = false;
36
36
  let flagNointeractive = '';
37
37
  if (flags.nointeractive) {
38
- nointeractive = true;
39
38
  flagNointeractive = '--nointeractive';
39
+ nointeractive = true;
40
40
  }
41
41
  const echo = Utils.setEcho(verbose);
42
42
  Utils.titles(this.id + ' ' + this.argv);
@@ -0,0 +1 @@
1
+ d6be195e25201a33b16cdf000255b20497fc5aca8222a0df9754703504db7c00 penguins-eggs_25.8.6-bionic-1_amd64.deb
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": "25.7.30",
5
+ "version": "25.8.6",
6
6
  "author": "Piero Proietti",
7
7
  "bin": {
8
8
  "eggs": "./bin/run.js"
@@ -16,14 +16,14 @@
16
16
  "@types/express": "^5.0.3",
17
17
  "ansis": "^4.1.0",
18
18
  "axios": "^1.11.0",
19
- "chalk": "^5.4.0",
19
+ "chalk": "^5.5.0",
20
20
  "cli-cursor": "^5.0.0",
21
21
  "debug": "^4.4.1",
22
22
  "express": "^5.1.0",
23
23
  "ink": "^5",
24
24
  "ink-progress-bar": "^3.0.0",
25
25
  "ink-spinner": "^5.0.0",
26
- "inquirer": "^12.8.2",
26
+ "inquirer": "^12.9.0",
27
27
  "js-yaml": "^4.1.0",
28
28
  "mustache": "^4.2.0",
29
29
  "netmask": "^2.0.2",
@@ -52,17 +52,17 @@
52
52
  "@types/ws": "^8.18.1",
53
53
  "chai": "^5.2.1",
54
54
  "eslint": "^9.32.0",
55
- "eslint-config-oclif": "^6.0.89",
55
+ "eslint-config-oclif": "^6.0.90",
56
56
  "eslint-config-prettier": "^10.1.8",
57
57
  "glob": "^11.0.3",
58
58
  "mocha": "^11.7.0",
59
- "oclif": "^4.22.5",
59
+ "oclif": "^4.22.6",
60
60
  "perrisbrewery": "^10",
61
61
  "prettier": "^3.6.2",
62
62
  "shx": "^0.4.0",
63
63
  "ts-node": "10.9.2",
64
64
  "ts-prune": "^0.10.3",
65
- "typescript": "^5.7.3"
65
+ "typescript": "^5.9.2"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- 5c928fadb433f3ea10d6da1da92c267372644f2c55eec8a02d0801dacd668c66 penguins-eggs_25.7.30-bionic-1_amd64.deb