penguins-eggs 10.0.60 → 10.1.1

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 (138) hide show
  1. package/.oclif.manifest.json +62 -1
  2. package/README.md +145 -75
  3. package/addons/eggs/theme/calamares/modules/{_users.yml → users.yml} +3 -3
  4. package/addons/eggs/theme/livecd/grub.main.full.cfg +1 -1
  5. package/addons/eggs/theme/livecd/grub.main.simple.cfg +1 -1
  6. package/conf/derivatives.yaml +4 -3
  7. package/conf/derivatives_fedora.yaml +6 -0
  8. package/conf/distros/alpine/calamares/modules/users.yml +3 -3
  9. package/conf/distros/bionic/calamares/calamares-modules/grubcfg/grubcfg.yml +1 -1
  10. package/conf/distros/bionic/calamares/modules/users.yml +3 -3
  11. package/conf/distros/buster/calamares/modules/users.yml +4 -3
  12. package/conf/distros/fedora/calamares/modules/users.yml +3 -3
  13. package/conf/distros/noble/calamares/modules/focal-jammy/users.yml +3 -3
  14. package/conf/distros/noble/calamares/modules/users.yml +1 -0
  15. package/conf/distros/opensuse/calamares/modules/users.yml +3 -3
  16. package/conf/distros/rolling/calamares/modules/users.yml +3 -3
  17. package/conf/eggs.yaml +1 -1
  18. package/conf/love.yaml +4 -4
  19. package/dist/classes/compressors.js +1 -1
  20. package/dist/classes/distro.d.ts +27 -3
  21. package/dist/classes/distro.js +361 -289
  22. package/dist/classes/ovary.d/bind-live-fs.js +22 -30
  23. package/dist/classes/ovary.d/edit-live-fs.d.ts +1 -0
  24. package/dist/classes/ovary.d/edit-live-fs.js +9 -13
  25. package/dist/classes/ovary.d/fertilization.js +6 -1
  26. package/dist/classes/ovary.d/initrd.js +11 -15
  27. package/dist/classes/ovary.d/kernel-copy.js +2 -16
  28. package/dist/classes/ovary.d/make-efi.js +8 -5
  29. package/dist/classes/ovary.d/make-squashfs.d.ts +1 -1
  30. package/dist/classes/ovary.d/make-squashfs.js +17 -24
  31. package/dist/classes/ovary.d/merged.d.ts +9 -13
  32. package/dist/classes/ovary.d/merged.js +38 -48
  33. package/dist/classes/ovary.d/produce.d.ts +1 -1
  34. package/dist/classes/ovary.d/produce.js +38 -32
  35. package/dist/classes/ovary.d/syslinux.js +4 -4
  36. package/dist/classes/ovary.d/user-create-live.js +12 -5
  37. package/dist/classes/ovary.d.ts +8 -3
  38. package/dist/classes/ovary.js +8 -3
  39. package/dist/classes/pacman.d/archlinux.js +1 -5
  40. package/dist/classes/pacman.js +2 -1
  41. package/dist/classes/systemctl.d.ts +1 -1
  42. package/dist/classes/systemctl.js +1 -1
  43. package/dist/classes/tailor.js +2 -1
  44. package/dist/classes/utils.d/architecture.d.ts +41 -0
  45. package/dist/classes/utils.d/architecture.js +87 -0
  46. package/dist/classes/utils.d/console-output.d.ts +26 -0
  47. package/dist/classes/utils.d/console-output.js +46 -0
  48. package/dist/classes/utils.d/filesystem.d.ts +53 -0
  49. package/dist/classes/utils.d/filesystem.js +152 -0
  50. package/dist/classes/utils.d/formatters.d.ts +32 -0
  51. package/dist/classes/utils.d/formatters.js +64 -0
  52. package/dist/classes/utils.d/kernel.d.ts +83 -0
  53. package/dist/classes/utils.d/kernel.js +288 -0
  54. package/dist/classes/utils.d/network.d.ts +43 -0
  55. package/dist/classes/utils.d/network.js +133 -0
  56. package/dist/classes/utils.d/package-info.d.ts +55 -0
  57. package/dist/classes/utils.d/package-info.js +137 -0
  58. package/dist/classes/utils.d/snapshot.d.ts +44 -0
  59. package/dist/classes/utils.d/snapshot.js +102 -0
  60. package/dist/classes/utils.d/system.d.ts +63 -0
  61. package/dist/classes/utils.d/system.js +200 -0
  62. package/dist/classes/utils.d/user-interaction.d.ts +39 -0
  63. package/dist/classes/utils.d/user-interaction.js +104 -0
  64. package/dist/classes/utils.d.ts +90 -322
  65. package/dist/classes/utils.js +105 -1013
  66. package/dist/commands/dad.d.ts +1 -0
  67. package/dist/commands/dad.js +1 -0
  68. package/dist/commands/export/pkg.js +6 -6
  69. package/dist/commands/export/tarballs.js +11 -16
  70. package/dist/commands/kill.js +1 -1
  71. package/dist/commands/love.d.ts +1 -0
  72. package/dist/commands/love.js +21 -7
  73. package/dist/commands/pods.d.ts +22 -0
  74. package/dist/commands/pods.js +92 -0
  75. package/dist/commands/produce.d.ts +1 -0
  76. package/dist/commands/produce.js +21 -1
  77. package/dist/commands/update.js +2 -2
  78. package/dist/index.d.ts +6 -52
  79. package/dist/index.js +6 -145
  80. package/dist/krill/classes/krill_enums.d.ts +14 -1
  81. package/dist/krill/classes/krill_enums.js +16 -1
  82. package/dist/krill/classes/prepare.d/partitions.js +3 -3
  83. package/dist/krill/classes/prepare.d.ts +46 -21
  84. package/dist/krill/classes/prepare.js +187 -187
  85. package/dist/krill/classes/sequence.d/add_user.js +21 -3
  86. package/dist/krill/classes/sequence.d/partition.js +2 -2
  87. package/dist/krill/classes/sequence.d.ts +18 -21
  88. package/dist/krill/classes/sequence.js +156 -423
  89. package/dist/krill/components/information.js +13 -7
  90. package/dist/{krill/lib → lib}/kill_me_softly.js +2 -2
  91. package/dist/penguins-eggs_10.1.1-0_amd64.deb +0 -0
  92. package/dist/penguins-eggs_10.1.1-0_amd64.deb.sha256 +1 -0
  93. package/package.json +32 -27
  94. package/perrisbrewery/scripts/postinst +98 -0
  95. package/perrisbrewery/scripts/postrm +82 -0
  96. package/perrisbrewery/scripts/preinst +40 -0
  97. package/perrisbrewery/scripts/prerm +47 -0
  98. package/perrisbrewery/template/control.template +17 -0
  99. package/perrisbrewery/template/dependencies-bionic.yaml +33 -0
  100. package/perrisbrewery/template/dependencies.yaml +37 -0
  101. package/perrisbrewery/template/man.template.md +110 -0
  102. package/pods/README.md +14 -0
  103. package/pods/almalinux.sh +10 -0
  104. package/pods/archlinux.sh +10 -0
  105. package/pods/ci/README.md +5 -0
  106. package/pods/ci/kernel-overlay-install.sh +114 -0
  107. package/pods/ci/minimal/almalinux-container2host.sh +165 -0
  108. package/pods/ci/minimal/archlinux-container2host.sh +125 -0
  109. package/pods/ci/minimal/debian-container2host.sh +173 -0
  110. package/pods/ci/minimal/fedora-container2host.sh +170 -0
  111. package/pods/ci/minimal/manjaro-container2host.sh +123 -0
  112. package/pods/ci/minimal/opensuse-container2host.sh +143 -0
  113. package/pods/ci/penguins-eggs-execute.sh +22 -0
  114. package/pods/ci/penguins-eggs-install.sh +115 -0
  115. package/pods/ci/run +34 -0
  116. package/pods/ci/run-on-almalinux.sh +50 -0
  117. package/pods/ci/run-on-archlinux.sh +64 -0
  118. package/pods/ci/run-on-debian.sh +51 -0
  119. package/pods/ci/run-on-devuan.sh +48 -0
  120. package/pods/ci/run-on-fedora.sh +51 -0
  121. package/pods/ci/run-on-manjaro.sh +61 -0
  122. package/pods/ci/run-on-opensuse.sh +58 -0
  123. package/pods/ci/run-on-rockylinux.sh +51 -0
  124. package/pods/ci/run-on-ubuntu.sh +52 -0
  125. package/pods/debian.sh +23 -0
  126. package/pods/devuan.sh +26 -0
  127. package/pods/fedora.sh +12 -0
  128. package/pods/lmde.sh +22 -0
  129. package/pods/manjaro.sh +10 -0
  130. package/pods/opensuse.sh +12 -0
  131. package/pods/podman.command.sh +85 -0
  132. package/pods/rocky.sh +12 -0
  133. package/pods/run-build-packages-debs.sh +45 -0
  134. package/pods/run-create-debs.sh +23 -0
  135. package/pods/ubuntu.sh +24 -0
  136. package/scripts/_eggs +14 -5
  137. package/scripts/eggs.bash +5 -4
  138. /package/dist/{krill/lib → lib}/kill_me_softly.d.ts +0 -0
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -x
4
+ export CMD_PATH=$(cd `dirname $0`; pwd)
5
+ export PROJECT_NAME="${CMD_PATH##*/}"
6
+ cd $CMD_PATH
7
+
8
+ # define YOLK if host=Debian
9
+ if [ -f /etc/os-release ]; then
10
+ . /etc/os-release
11
+ if [[ "$ID" == "debian" ]]; then
12
+ DEST="/var/local/yolk"
13
+ if [ ! -d $DEST ]; then
14
+ sudo mkdir -p $DEST
15
+ fi
16
+ YOLK="-v $DEST:$DEST"
17
+ fi
18
+ fi
19
+
20
+ FAMILY_ID="debian"
21
+ IMAGE="debian:12"
22
+ source podman.command.sh debian
23
+
package/pods/ubuntu.sh ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -x
4
+
5
+ export CMD_PATH=$(cd `dirname $0`; pwd)
6
+ export PROJECT_NAME="${CMD_PATH##*/}"
7
+ cd $CMD_PATH
8
+
9
+ # define YOLK if host=ubuntu
10
+ if [ -f /etc/os-release ]; then
11
+ . /etc/os-release
12
+ if [[ "$ID" == "ubuntu" ]]; then
13
+ DEST="/var/local/yolk"
14
+ if [ ! -d $DEST ]; then
15
+ sudo mkdir -p $DEST
16
+ fi
17
+ YOLK="-v $DEST:$DEST"
18
+ fi
19
+ fi
20
+
21
+ FAMILY_ID="debian"
22
+ IMAGE="ubuntu:24.04"
23
+ source podman.command.sh ubuntu
24
+
package/scripts/_eggs CHANGED
@@ -195,13 +195,14 @@ _eggs() {
195
195
  "kill[kill the eggs/free the nest]" \
196
196
  "love[the simplest way to get an egg!]" \
197
197
  "mom[ask help from mommy - TUI helper]" \
198
+ "pods[eggs pods: build ISOs from containers]" \
198
199
  "produce[produce a live image from your system whithout your data]" \
199
200
  "status[informations about eggs status]" \
200
201
  "syncfrom[restore users and user data from a LUKS volumes]" \
201
202
  "syncto[Save users and users' data ENCRYPTED]" \
202
203
  "update[update the Penguins' eggs tool]" \
203
- "help[Display help for eggs.]" \
204
204
  "autocomplete[Display autocomplete installation instructions.]" \
205
+ "help[Display help for eggs.]" \
205
206
  "version[]" \
206
207
 
207
208
  ;;
@@ -258,6 +259,7 @@ _arguments -S \
258
259
  "(-c --clean)"{-c,--clean}"[remove old configuration before to create]" \
259
260
  "(-d --default)"{-d,--default}"[reset to default values]" \
260
261
  "(-f --file)"{-f,--file}"[use a file configuration custom]:file:_files" \
262
+ "(-n --nointeractive)"{-n,--nointeractive}"[no user interaction]" \
261
263
  "(-h --help)"{-h,--help}"[Show CLI help.]" \
262
264
  "(-v --verbose)"{-v,--verbose}"[]" \
263
265
  --help"[Show help for command]" \
@@ -314,6 +316,7 @@ love)
314
316
  _arguments -S \
315
317
  "(-h --help)"{-h,--help}"[Show CLI help.]" \
316
318
  "(-v --verbose)"{-v,--verbose}"[]" \
319
+ "(-n --nointeractive)"{-n,--nointeractive}"[no user interaction]" \
317
320
  --help"[Show help for command]" \
318
321
  "*: :_files" ;;
319
322
  mom)
@@ -321,6 +324,11 @@ _arguments -S \
321
324
  "(-h --help)"{-h,--help}"[Show CLI help.]" \
322
325
  --help"[Show help for command]" \
323
326
  "*: :_files" ;;
327
+ pods)
328
+ _arguments -S \
329
+ "(-h --help)"{-h,--help}"[Show CLI help.]" \
330
+ --help"[Show help for command]" \
331
+ "*: :_files" ;;
324
332
  produce)
325
333
  _arguments -S \
326
334
  "*"--addons"[addons to be used: adapt, pve, rsupport]:file:_files" \
@@ -329,6 +337,7 @@ _arguments -S \
329
337
  "(-C --cryptedclone)"{-C,--cryptedclone}"[crypted clone]" \
330
338
  "*"--excludes"[use: static, homes, home]:file:_files" \
331
339
  "(-h --help)"{-h,--help}"[Show CLI help.]" \
340
+ "(-k --kernel)"{-k,--kernel}"[kernel version]:file:_files" \
332
341
  "*"--links"[desktop links]:file:_files" \
333
342
  "(-m --max)"{-m,--max}"[max compression: xz -Xbcj ...]" \
334
343
  "(-N --noicon)"{-N,--noicon}"[no icon eggs on desktop]" \
@@ -373,14 +382,14 @@ _arguments -S \
373
382
  "(-v --verbose)"{-v,--verbose}"[verbose]" \
374
383
  --help"[Show help for command]" \
375
384
  "*: :_files" ;;
376
- help)
385
+ autocomplete)
377
386
  _arguments -S \
378
- "(-n --nested-commands)"{-n,--nested-commands}"[Include all nested commands in the output.]" \
387
+ "(-r --refresh-cache)"{-r,--refresh-cache}"[Refresh cache (ignores displaying instructions)]" \
379
388
  --help"[Show help for command]" \
380
389
  "*: :_files" ;;
381
- autocomplete)
390
+ help)
382
391
  _arguments -S \
383
- "(-r --refresh-cache)"{-r,--refresh-cache}"[Refresh cache (ignores displaying instructions)]" \
392
+ "(-n --nested-commands)"{-n,--nested-commands}"[Include all nested commands in the output.]" \
384
393
  --help"[Show help for command]" \
385
394
  "*: :_files" ;;
386
395
  version)
package/scripts/eggs.bash CHANGED
@@ -16,16 +16,17 @@ analyze --help --verbose
16
16
  calamares --help --install --nointeractive --policies --release --remove --theme --verbose
17
17
  config --clean --help --nointeractive --verbose
18
18
  cuckoo --help
19
- dad --clean --default --file --help --verbose
19
+ dad --clean --default --file --nointeractive --help --verbose
20
20
  export:iso --checksum --clean --help --verbose
21
21
  export:pkg --all --clean --help --verbose
22
22
  export:tarballs --clean --help --verbose
23
23
  install --btrfs --chroot --crypted --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --testing --unattended --verbose
24
24
  krill --btrfs --chroot --crypted --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --testing --unattended --verbose
25
25
  kill --help --isos --nointeractive --verbose
26
- love --help --verbose
26
+ love --help --verbose --nointeractive
27
27
  mom --help
28
- produce --addons --basename --clone --cryptedclone --excludes --help --links --max --noicon --nointeractive --pendrive --prefix --release --script --standard --theme --unsecure --verbose --yolk
28
+ pods --help
29
+ produce --addons --basename --clone --cryptedclone --excludes --help --kernel --links --max --noicon --nointeractive --pendrive --prefix --release --script --standard --theme --unsecure --verbose --yolk
29
30
  status --help --verbose
30
31
  syncfrom --delete --file --help --rootdir --verbose
31
32
  syncto --excludes --file --help --verbose
@@ -39,8 +40,8 @@ wardrobe:get --help --verbose
39
40
  wardrobe:list --distro --help --verbose
40
41
  wardrobe:show --help --json --verbose --wardrobe
41
42
  wardrobe:wear --help --no_accessories --no_firmwares --verbose --wardrobe
42
- help --nested-commands
43
43
  autocomplete --refresh-cache
44
+ help --nested-commands
44
45
  version --json --verbose
45
46
  "
46
47
 
File without changes