penguins-eggs 10.1.1 → 25.7.10

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 (441) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/README.md +55 -60
  3. package/assets/calamares/install-system.sh +2 -1
  4. package/bootloaders/README.md +22 -0
  5. package/bootloaders/grub/x86_64-efi/acpi.mod +0 -0
  6. package/bootloaders/grub/x86_64-efi/adler32.mod +0 -0
  7. package/bootloaders/grub/x86_64-efi/affs.mod +0 -0
  8. package/bootloaders/grub/x86_64-efi/afs.mod +0 -0
  9. package/bootloaders/grub/x86_64-efi/afsplitter.mod +0 -0
  10. package/bootloaders/grub/x86_64-efi/ahci.mod +0 -0
  11. package/bootloaders/grub/x86_64-efi/all_video.mod +0 -0
  12. package/bootloaders/grub/x86_64-efi/aout.mod +0 -0
  13. package/bootloaders/grub/x86_64-efi/appleldr.mod +0 -0
  14. package/bootloaders/grub/x86_64-efi/archelp.mod +0 -0
  15. package/bootloaders/grub/x86_64-efi/at_keyboard.mod +0 -0
  16. package/bootloaders/grub/x86_64-efi/ata.mod +0 -0
  17. package/bootloaders/grub/x86_64-efi/backtrace.mod +0 -0
  18. package/bootloaders/grub/x86_64-efi/bfs.mod +0 -0
  19. package/bootloaders/grub/x86_64-efi/bitmap.mod +0 -0
  20. package/bootloaders/grub/x86_64-efi/bitmap_scale.mod +0 -0
  21. package/bootloaders/grub/x86_64-efi/blocklist.mod +0 -0
  22. package/bootloaders/grub/x86_64-efi/boot.mod +0 -0
  23. package/bootloaders/grub/x86_64-efi/bsd.mod +0 -0
  24. package/bootloaders/grub/x86_64-efi/bswap_test.mod +0 -0
  25. package/bootloaders/grub/x86_64-efi/btrfs.mod +0 -0
  26. package/bootloaders/grub/x86_64-efi/bufio.mod +0 -0
  27. package/bootloaders/grub/x86_64-efi/cat.mod +0 -0
  28. package/bootloaders/grub/x86_64-efi/cbfs.mod +0 -0
  29. package/bootloaders/grub/x86_64-efi/cbls.mod +0 -0
  30. package/bootloaders/grub/x86_64-efi/cbmemc.mod +0 -0
  31. package/bootloaders/grub/x86_64-efi/cbtable.mod +0 -0
  32. package/bootloaders/grub/x86_64-efi/cbtime.mod +0 -0
  33. package/bootloaders/grub/x86_64-efi/chain.mod +0 -0
  34. package/bootloaders/grub/x86_64-efi/cmdline_cat_test.mod +0 -0
  35. package/bootloaders/grub/x86_64-efi/cmp.mod +0 -0
  36. package/bootloaders/grub/x86_64-efi/cmp_test.mod +0 -0
  37. package/bootloaders/grub/x86_64-efi/command.lst +194 -0
  38. package/bootloaders/grub/x86_64-efi/config.h +69 -0
  39. package/bootloaders/grub/x86_64-efi/configfile.mod +0 -0
  40. package/bootloaders/grub/x86_64-efi/cpio.mod +0 -0
  41. package/bootloaders/grub/x86_64-efi/cpio_be.mod +0 -0
  42. package/bootloaders/grub/x86_64-efi/cpuid.mod +0 -0
  43. package/bootloaders/grub/x86_64-efi/crc64.mod +0 -0
  44. package/bootloaders/grub/x86_64-efi/crypto.lst +45 -0
  45. package/bootloaders/grub/x86_64-efi/crypto.mod +0 -0
  46. package/bootloaders/grub/x86_64-efi/cryptodisk.mod +0 -0
  47. package/bootloaders/grub/x86_64-efi/cs5536.mod +0 -0
  48. package/bootloaders/grub/x86_64-efi/ctz_test.mod +0 -0
  49. package/bootloaders/grub/x86_64-efi/date.mod +0 -0
  50. package/bootloaders/grub/x86_64-efi/datehook.mod +0 -0
  51. package/bootloaders/grub/x86_64-efi/datetime.mod +0 -0
  52. package/bootloaders/grub/x86_64-efi/disk.mod +0 -0
  53. package/bootloaders/grub/x86_64-efi/diskfilter.mod +0 -0
  54. package/bootloaders/grub/x86_64-efi/div.mod +0 -0
  55. package/bootloaders/grub/x86_64-efi/div_test.mod +0 -0
  56. package/bootloaders/grub/x86_64-efi/dm_nv.mod +0 -0
  57. package/bootloaders/grub/x86_64-efi/echo.mod +0 -0
  58. package/bootloaders/grub/x86_64-efi/efi_gop.mod +0 -0
  59. package/bootloaders/grub/x86_64-efi/efi_uga.mod +0 -0
  60. package/bootloaders/grub/x86_64-efi/efifwsetup.mod +0 -0
  61. package/bootloaders/grub/x86_64-efi/efinet.mod +0 -0
  62. package/bootloaders/grub/x86_64-efi/ehci.mod +0 -0
  63. package/bootloaders/grub/x86_64-efi/elf.mod +0 -0
  64. package/bootloaders/grub/x86_64-efi/eval.mod +0 -0
  65. package/bootloaders/grub/x86_64-efi/exfat.mod +0 -0
  66. package/bootloaders/grub/x86_64-efi/exfctest.mod +0 -0
  67. package/bootloaders/grub/x86_64-efi/ext2.mod +0 -0
  68. package/bootloaders/grub/x86_64-efi/extcmd.mod +0 -0
  69. package/bootloaders/grub/x86_64-efi/f2fs.mod +0 -0
  70. package/bootloaders/grub/x86_64-efi/fat.mod +0 -0
  71. package/bootloaders/grub/x86_64-efi/fdt.lst +0 -0
  72. package/bootloaders/grub/x86_64-efi/file.mod +0 -0
  73. package/bootloaders/grub/x86_64-efi/fixvideo.mod +0 -0
  74. package/bootloaders/grub/x86_64-efi/font.mod +0 -0
  75. package/bootloaders/grub/x86_64-efi/fs.lst +37 -0
  76. package/bootloaders/grub/x86_64-efi/fshelp.mod +0 -0
  77. package/bootloaders/grub/x86_64-efi/functional_test.mod +0 -0
  78. package/bootloaders/grub/x86_64-efi/gcry_arcfour.mod +0 -0
  79. package/bootloaders/grub/x86_64-efi/gcry_blowfish.mod +0 -0
  80. package/bootloaders/grub/x86_64-efi/gcry_camellia.mod +0 -0
  81. package/bootloaders/grub/x86_64-efi/gcry_cast5.mod +0 -0
  82. package/bootloaders/grub/x86_64-efi/gcry_crc.mod +0 -0
  83. package/bootloaders/grub/x86_64-efi/gcry_des.mod +0 -0
  84. package/bootloaders/grub/x86_64-efi/gcry_dsa.mod +0 -0
  85. package/bootloaders/grub/x86_64-efi/gcry_idea.mod +0 -0
  86. package/bootloaders/grub/x86_64-efi/gcry_md4.mod +0 -0
  87. package/bootloaders/grub/x86_64-efi/gcry_md5.mod +0 -0
  88. package/bootloaders/grub/x86_64-efi/gcry_rfc2268.mod +0 -0
  89. package/bootloaders/grub/x86_64-efi/gcry_rijndael.mod +0 -0
  90. package/bootloaders/grub/x86_64-efi/gcry_rmd160.mod +0 -0
  91. package/bootloaders/grub/x86_64-efi/gcry_rsa.mod +0 -0
  92. package/bootloaders/grub/x86_64-efi/gcry_seed.mod +0 -0
  93. package/bootloaders/grub/x86_64-efi/gcry_serpent.mod +0 -0
  94. package/bootloaders/grub/x86_64-efi/gcry_sha1.mod +0 -0
  95. package/bootloaders/grub/x86_64-efi/gcry_sha256.mod +0 -0
  96. package/bootloaders/grub/x86_64-efi/gcry_sha512.mod +0 -0
  97. package/bootloaders/grub/x86_64-efi/gcry_tiger.mod +0 -0
  98. package/bootloaders/grub/x86_64-efi/gcry_twofish.mod +0 -0
  99. package/bootloaders/grub/x86_64-efi/gcry_whirlpool.mod +0 -0
  100. package/bootloaders/grub/x86_64-efi/geli.mod +0 -0
  101. package/bootloaders/grub/x86_64-efi/gettext.mod +0 -0
  102. package/bootloaders/grub/x86_64-efi/gfxmenu.mod +0 -0
  103. package/bootloaders/grub/x86_64-efi/gfxterm.mod +0 -0
  104. package/bootloaders/grub/x86_64-efi/gfxterm_background.mod +0 -0
  105. package/bootloaders/grub/x86_64-efi/gfxterm_menu.mod +0 -0
  106. package/bootloaders/grub/x86_64-efi/gptsync.mod +0 -0
  107. package/bootloaders/grub/x86_64-efi/gzio.mod +0 -0
  108. package/bootloaders/grub/x86_64-efi/halt.mod +0 -0
  109. package/bootloaders/grub/x86_64-efi/hashsum.mod +0 -0
  110. package/bootloaders/grub/x86_64-efi/hdparm.mod +0 -0
  111. package/bootloaders/grub/x86_64-efi/hello.mod +0 -0
  112. package/bootloaders/grub/x86_64-efi/help.mod +0 -0
  113. package/bootloaders/grub/x86_64-efi/hexdump.mod +0 -0
  114. package/bootloaders/grub/x86_64-efi/hfs.mod +0 -0
  115. package/bootloaders/grub/x86_64-efi/hfsplus.mod +0 -0
  116. package/bootloaders/grub/x86_64-efi/hfspluscomp.mod +0 -0
  117. package/bootloaders/grub/x86_64-efi/http.mod +0 -0
  118. package/bootloaders/grub/x86_64-efi/iorw.mod +0 -0
  119. package/bootloaders/grub/x86_64-efi/iso9660.mod +0 -0
  120. package/bootloaders/grub/x86_64-efi/jfs.mod +0 -0
  121. package/bootloaders/grub/x86_64-efi/jpeg.mod +0 -0
  122. package/bootloaders/grub/x86_64-efi/json.mod +0 -0
  123. package/bootloaders/grub/x86_64-efi/kernel.img +0 -0
  124. package/bootloaders/grub/x86_64-efi/keylayouts.mod +0 -0
  125. package/bootloaders/grub/x86_64-efi/keystatus.mod +0 -0
  126. package/bootloaders/grub/x86_64-efi/ldm.mod +0 -0
  127. package/bootloaders/grub/x86_64-efi/legacy_password_test.mod +0 -0
  128. package/bootloaders/grub/x86_64-efi/legacycfg.mod +0 -0
  129. package/bootloaders/grub/x86_64-efi/linux.mod +0 -0
  130. package/bootloaders/grub/x86_64-efi/linux16.mod +0 -0
  131. package/bootloaders/grub/x86_64-efi/linuxefi.mod +0 -0
  132. package/bootloaders/grub/x86_64-efi/loadbios.mod +0 -0
  133. package/bootloaders/grub/x86_64-efi/loadenv.mod +0 -0
  134. package/bootloaders/grub/x86_64-efi/loopback.mod +0 -0
  135. package/bootloaders/grub/x86_64-efi/ls.mod +0 -0
  136. package/bootloaders/grub/x86_64-efi/lsacpi.mod +0 -0
  137. package/bootloaders/grub/x86_64-efi/lsefi.mod +0 -0
  138. package/bootloaders/grub/x86_64-efi/lsefimmap.mod +0 -0
  139. package/bootloaders/grub/x86_64-efi/lsefisystab.mod +0 -0
  140. package/bootloaders/grub/x86_64-efi/lsmmap.mod +0 -0
  141. package/bootloaders/grub/x86_64-efi/lspci.mod +0 -0
  142. package/bootloaders/grub/x86_64-efi/lssal.mod +0 -0
  143. package/bootloaders/grub/x86_64-efi/luks.mod +0 -0
  144. package/bootloaders/grub/x86_64-efi/luks2.mod +0 -0
  145. package/bootloaders/grub/x86_64-efi/lvm.mod +0 -0
  146. package/bootloaders/grub/x86_64-efi/lzopio.mod +0 -0
  147. package/bootloaders/grub/x86_64-efi/macbless.mod +0 -0
  148. package/bootloaders/grub/x86_64-efi/macho.mod +0 -0
  149. package/bootloaders/grub/x86_64-efi/mdraid09.mod +0 -0
  150. package/bootloaders/grub/x86_64-efi/mdraid09_be.mod +0 -0
  151. package/bootloaders/grub/x86_64-efi/mdraid1x.mod +0 -0
  152. package/bootloaders/grub/x86_64-efi/memdisk.mod +0 -0
  153. package/bootloaders/grub/x86_64-efi/memrw.mod +0 -0
  154. package/bootloaders/grub/x86_64-efi/minicmd.mod +0 -0
  155. package/bootloaders/grub/x86_64-efi/minix.mod +0 -0
  156. package/bootloaders/grub/x86_64-efi/minix2.mod +0 -0
  157. package/bootloaders/grub/x86_64-efi/minix2_be.mod +0 -0
  158. package/bootloaders/grub/x86_64-efi/minix3.mod +0 -0
  159. package/bootloaders/grub/x86_64-efi/minix3_be.mod +0 -0
  160. package/bootloaders/grub/x86_64-efi/minix_be.mod +0 -0
  161. package/bootloaders/grub/x86_64-efi/mmap.mod +0 -0
  162. package/bootloaders/grub/x86_64-efi/moddep.lst +267 -0
  163. package/bootloaders/grub/x86_64-efi/modinfo.sh +40 -0
  164. package/bootloaders/grub/x86_64-efi/monolithic/gcdx64.efi +0 -0
  165. package/bootloaders/grub/x86_64-efi/monolithic/grubnetx64-installer.efi +0 -0
  166. package/bootloaders/grub/x86_64-efi/monolithic/grubnetx64.efi +0 -0
  167. package/bootloaders/grub/x86_64-efi/monolithic/grubx64.efi +0 -0
  168. package/bootloaders/grub/x86_64-efi/morse.mod +0 -0
  169. package/bootloaders/grub/x86_64-efi/mpi.mod +0 -0
  170. package/bootloaders/grub/x86_64-efi/msdospart.mod +0 -0
  171. package/bootloaders/grub/x86_64-efi/mul_test.mod +0 -0
  172. package/bootloaders/grub/x86_64-efi/multiboot.mod +0 -0
  173. package/bootloaders/grub/x86_64-efi/multiboot2.mod +0 -0
  174. package/bootloaders/grub/x86_64-efi/nativedisk.mod +0 -0
  175. package/bootloaders/grub/x86_64-efi/net.mod +0 -0
  176. package/bootloaders/grub/x86_64-efi/newc.mod +0 -0
  177. package/bootloaders/grub/x86_64-efi/nilfs2.mod +0 -0
  178. package/bootloaders/grub/x86_64-efi/normal.mod +0 -0
  179. package/bootloaders/grub/x86_64-efi/ntfs.mod +0 -0
  180. package/bootloaders/grub/x86_64-efi/ntfscomp.mod +0 -0
  181. package/bootloaders/grub/x86_64-efi/odc.mod +0 -0
  182. package/bootloaders/grub/x86_64-efi/offsetio.mod +0 -0
  183. package/bootloaders/grub/x86_64-efi/ohci.mod +0 -0
  184. package/bootloaders/grub/x86_64-efi/part_acorn.mod +0 -0
  185. package/bootloaders/grub/x86_64-efi/part_amiga.mod +0 -0
  186. package/bootloaders/grub/x86_64-efi/part_apple.mod +0 -0
  187. package/bootloaders/grub/x86_64-efi/part_bsd.mod +0 -0
  188. package/bootloaders/grub/x86_64-efi/part_dfly.mod +0 -0
  189. package/bootloaders/grub/x86_64-efi/part_dvh.mod +0 -0
  190. package/bootloaders/grub/x86_64-efi/part_gpt.mod +0 -0
  191. package/bootloaders/grub/x86_64-efi/part_msdos.mod +0 -0
  192. package/bootloaders/grub/x86_64-efi/part_plan.mod +0 -0
  193. package/bootloaders/grub/x86_64-efi/part_sun.mod +0 -0
  194. package/bootloaders/grub/x86_64-efi/part_sunpc.mod +0 -0
  195. package/bootloaders/grub/x86_64-efi/partmap.lst +11 -0
  196. package/bootloaders/grub/x86_64-efi/parttool.lst +1 -0
  197. package/bootloaders/grub/x86_64-efi/parttool.mod +0 -0
  198. package/bootloaders/grub/x86_64-efi/password.mod +0 -0
  199. package/bootloaders/grub/x86_64-efi/password_pbkdf2.mod +0 -0
  200. package/bootloaders/grub/x86_64-efi/pata.mod +0 -0
  201. package/bootloaders/grub/x86_64-efi/pbkdf2.mod +0 -0
  202. package/bootloaders/grub/x86_64-efi/pbkdf2_test.mod +0 -0
  203. package/bootloaders/grub/x86_64-efi/pcidump.mod +0 -0
  204. package/bootloaders/grub/x86_64-efi/pgp.mod +0 -0
  205. package/bootloaders/grub/x86_64-efi/play.mod +0 -0
  206. package/bootloaders/grub/x86_64-efi/png.mod +0 -0
  207. package/bootloaders/grub/x86_64-efi/priority_queue.mod +0 -0
  208. package/bootloaders/grub/x86_64-efi/probe.mod +0 -0
  209. package/bootloaders/grub/x86_64-efi/procfs.mod +0 -0
  210. package/bootloaders/grub/x86_64-efi/progress.mod +0 -0
  211. package/bootloaders/grub/x86_64-efi/raid5rec.mod +0 -0
  212. package/bootloaders/grub/x86_64-efi/raid6rec.mod +0 -0
  213. package/bootloaders/grub/x86_64-efi/random.mod +0 -0
  214. package/bootloaders/grub/x86_64-efi/rdmsr.mod +0 -0
  215. package/bootloaders/grub/x86_64-efi/read.mod +0 -0
  216. package/bootloaders/grub/x86_64-efi/reboot.mod +0 -0
  217. package/bootloaders/grub/x86_64-efi/regexp.mod +0 -0
  218. package/bootloaders/grub/x86_64-efi/reiserfs.mod +0 -0
  219. package/bootloaders/grub/x86_64-efi/relocator.mod +0 -0
  220. package/bootloaders/grub/x86_64-efi/romfs.mod +0 -0
  221. package/bootloaders/grub/x86_64-efi/scsi.mod +0 -0
  222. package/bootloaders/grub/x86_64-efi/search.mod +0 -0
  223. package/bootloaders/grub/x86_64-efi/search_fs_file.mod +0 -0
  224. package/bootloaders/grub/x86_64-efi/search_fs_uuid.mod +0 -0
  225. package/bootloaders/grub/x86_64-efi/search_label.mod +0 -0
  226. package/bootloaders/grub/x86_64-efi/serial.mod +0 -0
  227. package/bootloaders/grub/x86_64-efi/setjmp.mod +0 -0
  228. package/bootloaders/grub/x86_64-efi/setjmp_test.mod +0 -0
  229. package/bootloaders/grub/x86_64-efi/setpci.mod +0 -0
  230. package/bootloaders/grub/x86_64-efi/sfs.mod +0 -0
  231. package/bootloaders/grub/x86_64-efi/shift_test.mod +0 -0
  232. package/bootloaders/grub/x86_64-efi/signature_test.mod +0 -0
  233. package/bootloaders/grub/x86_64-efi/sleep.mod +0 -0
  234. package/bootloaders/grub/x86_64-efi/sleep_test.mod +0 -0
  235. package/bootloaders/grub/x86_64-efi/smbios.mod +0 -0
  236. package/bootloaders/grub/x86_64-efi/spkmodem.mod +0 -0
  237. package/bootloaders/grub/x86_64-efi/squash4.mod +0 -0
  238. package/bootloaders/grub/x86_64-efi/strtoull_test.mod +0 -0
  239. package/bootloaders/grub/x86_64-efi/syslinuxcfg.mod +0 -0
  240. package/bootloaders/grub/x86_64-efi/tar.mod +0 -0
  241. package/bootloaders/grub/x86_64-efi/terminal.lst +9 -0
  242. package/bootloaders/grub/x86_64-efi/terminal.mod +0 -0
  243. package/bootloaders/grub/x86_64-efi/terminfo.mod +0 -0
  244. package/bootloaders/grub/x86_64-efi/test.mod +0 -0
  245. package/bootloaders/grub/x86_64-efi/test_blockarg.mod +0 -0
  246. package/bootloaders/grub/x86_64-efi/testload.mod +0 -0
  247. package/bootloaders/grub/x86_64-efi/testspeed.mod +0 -0
  248. package/bootloaders/grub/x86_64-efi/tftp.mod +0 -0
  249. package/bootloaders/grub/x86_64-efi/tga.mod +0 -0
  250. package/bootloaders/grub/x86_64-efi/time.mod +0 -0
  251. package/bootloaders/grub/x86_64-efi/tpm.mod +0 -0
  252. package/bootloaders/grub/x86_64-efi/tr.mod +0 -0
  253. package/bootloaders/grub/x86_64-efi/trig.mod +0 -0
  254. package/bootloaders/grub/x86_64-efi/true.mod +0 -0
  255. package/bootloaders/grub/x86_64-efi/udf.mod +0 -0
  256. package/bootloaders/grub/x86_64-efi/ufs1.mod +0 -0
  257. package/bootloaders/grub/x86_64-efi/ufs1_be.mod +0 -0
  258. package/bootloaders/grub/x86_64-efi/ufs2.mod +0 -0
  259. package/bootloaders/grub/x86_64-efi/uhci.mod +0 -0
  260. package/bootloaders/grub/x86_64-efi/usb.mod +0 -0
  261. package/bootloaders/grub/x86_64-efi/usb_keyboard.mod +0 -0
  262. package/bootloaders/grub/x86_64-efi/usbms.mod +0 -0
  263. package/bootloaders/grub/x86_64-efi/usbserial_common.mod +0 -0
  264. package/bootloaders/grub/x86_64-efi/usbserial_ftdi.mod +0 -0
  265. package/bootloaders/grub/x86_64-efi/usbserial_pl2303.mod +0 -0
  266. package/bootloaders/grub/x86_64-efi/usbserial_usbdebug.mod +0 -0
  267. package/bootloaders/grub/x86_64-efi/usbtest.mod +0 -0
  268. package/bootloaders/grub/x86_64-efi/video.lst +4 -0
  269. package/bootloaders/grub/x86_64-efi/video.mod +0 -0
  270. package/bootloaders/grub/x86_64-efi/video_bochs.mod +0 -0
  271. package/bootloaders/grub/x86_64-efi/video_cirrus.mod +0 -0
  272. package/bootloaders/grub/x86_64-efi/video_colors.mod +0 -0
  273. package/bootloaders/grub/x86_64-efi/video_fb.mod +0 -0
  274. package/bootloaders/grub/x86_64-efi/videoinfo.mod +0 -0
  275. package/bootloaders/grub/x86_64-efi/videotest.mod +0 -0
  276. package/bootloaders/grub/x86_64-efi/videotest_checksum.mod +0 -0
  277. package/bootloaders/grub/x86_64-efi/wrmsr.mod +0 -0
  278. package/bootloaders/grub/x86_64-efi/xfs.mod +0 -0
  279. package/bootloaders/grub/x86_64-efi/xnu.mod +0 -0
  280. package/bootloaders/grub/x86_64-efi/xnu_uuid.mod +0 -0
  281. package/bootloaders/grub/x86_64-efi/xnu_uuid_test.mod +0 -0
  282. package/bootloaders/grub/x86_64-efi/xzio.mod +0 -0
  283. package/bootloaders/grub/x86_64-efi/zfs.mod +0 -0
  284. package/bootloaders/grub/x86_64-efi/zfscrypt.mod +0 -0
  285. package/bootloaders/grub/x86_64-efi/zfsinfo.mod +0 -0
  286. package/bootloaders/grub/x86_64-efi/zstd.mod +0 -0
  287. package/bootloaders/grubnetx64.efi.signed +0 -0
  288. package/bootloaders/grubx64.efi +0 -0
  289. package/bootloaders/grubx64.efi.signed +0 -0
  290. package/bootloaders/ipxe.pxe +0 -0
  291. package/bootloaders/shimx64.efi +0 -0
  292. package/bootloaders/shimx64.efi.signed +0 -0
  293. package/bootloaders/undionly.kpxe +0 -0
  294. package/conf/derivatives.yaml +5 -1
  295. package/conf/distros/alpine/calamares/modules/packages.yml +1 -1
  296. package/conf/distros/alpine/calamares/settings.yml +16 -29
  297. package/conf/distros/buster/calamares/modules/fstab.yml +1 -1
  298. package/conf/distros/buster/calamares/modules/mount.yml +4 -12
  299. package/conf/distros/fedora/calamares/modules/bootloader.yml +46 -17
  300. package/conf/distros/fedora/calamares/modules/fstab.yml +36 -11
  301. package/conf/distros/fedora/calamares/modules/mount.yml +101 -39
  302. package/conf/distros/fedora/calamares/modules/partition.yml +173 -23
  303. package/conf/distros/fedora/calamares/modules/users.yml +7 -9
  304. package/conf/distros/openmamba/calamares/settings.yml +0 -2
  305. package/conf/distros/opensuse/calamares/modules/bootloader.yml +46 -17
  306. package/conf/distros/opensuse/calamares/modules/displaymanager.yml +9 -5
  307. package/conf/distros/opensuse/calamares/modules/finished.yml +1 -1
  308. package/conf/distros/opensuse/calamares/modules/fstab.yml +36 -11
  309. package/conf/distros/opensuse/calamares/modules/grubcfg.yml +51 -0
  310. package/conf/distros/opensuse/calamares/modules/mount.yml +104 -39
  311. package/conf/distros/opensuse/calamares/modules/packages.yml +3 -3
  312. package/conf/distros/opensuse/calamares/modules/partition.yml +30 -237
  313. package/conf/distros/opensuse/calamares/modules/removeuser.yml +1 -14
  314. package/conf/distros/opensuse/calamares/modules/unpackfs.yml +0 -1
  315. package/conf/distros/opensuse/calamares/modules/users.yml +296 -16
  316. package/conf/distros/opensuse/calamares/modules/welcome.yml +91 -16
  317. package/conf/distros/opensuse/calamares/settings.yml +34 -120
  318. package/conf/distros/opensuse/calamares/zstd2lzo.sh +2 -0
  319. package/conf/distros/rolling/calamares/modules/shellprocess_sync.yml +5 -0
  320. package/conf/distros/rolling/calamares/settings.yml +4 -5
  321. package/dist/classes/bleach.d.ts +5 -0
  322. package/dist/classes/bleach.js +13 -0
  323. package/dist/classes/cli-autologin.js +14 -9
  324. package/dist/classes/daddy.js +9 -1
  325. package/dist/classes/distro.js +0 -9
  326. package/dist/classes/incubation/incubator.d/fedora.d.ts +32 -0
  327. package/dist/classes/incubation/incubator.d/fedora.js +79 -0
  328. package/dist/classes/incubation/incubator.d/opensuse.js +4 -6
  329. package/dist/classes/incubation/incubator.d/rolling.js +1 -3
  330. package/dist/classes/incubation/incubator.js +6 -11
  331. package/dist/classes/ovary.d/fertilization.js +1 -0
  332. package/dist/classes/ovary.d/initrd.js +39 -10
  333. package/dist/classes/ovary.d/make-dot-disk.js +21 -11
  334. package/dist/classes/ovary.d/make-efi.d.ts +5 -1
  335. package/dist/classes/ovary.d/make-efi.js +60 -118
  336. package/dist/classes/ovary.d/merged.d.ts +1 -1
  337. package/dist/classes/ovary.d/merged.js +3 -2
  338. package/dist/classes/ovary.d/produce.js +7 -6
  339. package/dist/classes/ovary.d/syslinux.js +2 -1
  340. package/dist/classes/ovary.d/user-create-live.js +15 -11
  341. package/dist/classes/ovary.d.ts +2 -1
  342. package/dist/classes/ovary.js +2 -1
  343. package/dist/classes/pacman.d/alpine.js +12 -7
  344. package/dist/classes/pacman.d/opensuse.js +4 -3
  345. package/dist/classes/pacman.js +3 -12
  346. package/dist/classes/pxe.d.ts +21 -18
  347. package/dist/classes/pxe.js +194 -257
  348. package/dist/classes/tailor.js +69 -33
  349. package/dist/classes/utils.d/filesystem.js +2 -0
  350. package/dist/classes/utils.d/kernel.js +12 -2
  351. package/dist/classes/utils.d/snapshot.js +1 -1
  352. package/dist/classes/utils.d/system.js +2 -2
  353. package/dist/commands/cuckoo.js +4 -6
  354. package/dist/commands/export/pkg.js +28 -12
  355. package/dist/commands/wardrobe/wear.js +1 -1
  356. package/dist/dhcpd-proxy/classes/packet.d.ts +36 -0
  357. package/dist/dhcpd-proxy/classes/packet.js +124 -0
  358. package/dist/dhcpd-proxy/index.d.ts +4 -0
  359. package/dist/dhcpd-proxy/index.js +4 -0
  360. package/dist/dhcpd-proxy/interfaces/i-pxe.d.ts +45 -0
  361. package/dist/dhcpd-proxy/interfaces/i-pxe.js +1 -0
  362. package/dist/dhcpd-proxy/lib/packet/converters.d.ts +11 -0
  363. package/dist/dhcpd-proxy/lib/packet/converters.js +395 -0
  364. package/dist/dhcpd-proxy/lib/packet/message-types.d.ts +10 -0
  365. package/dist/dhcpd-proxy/lib/packet/message-types.js +12 -0
  366. package/dist/dhcpd-proxy/lib/packet/options.d.ts +8 -0
  367. package/dist/dhcpd-proxy/lib/packet/options.js +264 -0
  368. package/dist/dhcpd-proxy/lib/sprintf.d.ts +6 -0
  369. package/dist/dhcpd-proxy/lib/sprintf.js +130 -0
  370. package/dist/dhcpd-proxy/lib/utils.d.ts +126 -0
  371. package/dist/dhcpd-proxy/lib/utils.js +255 -0
  372. package/dist/dhcpd-proxy/simple-proxy.d.ts +11 -0
  373. package/dist/dhcpd-proxy/simple-proxy.js +118 -0
  374. package/dist/interfaces/i-pxe.d.ts +16 -16
  375. package/dist/krill/classes/sequence.d/add_user.d.ts +3 -3
  376. package/dist/krill/classes/sequence.d/add_user.js +34 -29
  377. package/dist/krill/classes/sequence.d/bootloader_config.js +3 -26
  378. package/dist/krill/classes/sequence.d/fstab.js +10 -22
  379. package/dist/krill/classes/sequence.d/grubcfg.js +5 -3
  380. package/dist/krill/classes/sequence.d/mkfs.d.ts +1 -1
  381. package/dist/krill/classes/sequence.d/mkfs.js +10 -11
  382. package/dist/krill/classes/sequence.d/partition.d/bios_standard.d.ts +3 -4
  383. package/dist/krill/classes/sequence.d/partition.d/bios_standard.js +31 -16
  384. package/dist/krill/classes/sequence.d/partition.d/uefi_standard.js +0 -1
  385. package/dist/krill/lib/select_filesystem_type.js +2 -1
  386. package/dist/lib/utils.d.ts +2 -25
  387. package/dist/lib/utils.js +4 -27
  388. package/dist/penguins-eggs_25.7.10-1-linux-x64.tar.gz +0 -0
  389. package/dracut/README.md +14 -0
  390. package/dracut/dracut.conf +3 -3
  391. package/dracut/dracut.conf.d/10-persistent_policy.conf +1 -0
  392. package/dracut/dracut.conf.d/{01-live.conf → 50-live.conf} +3 -2
  393. package/mkinitcpio/arch/live.conf +3 -2
  394. package/mkinitcpio/manjaro/live.conf +1 -1
  395. package/mkinitfs/README.md +10 -49
  396. package/mkinitfs/live.conf +2 -0
  397. package/package.json +30 -28
  398. package/pods/ci/minimal/opensuse-container2host.sh +1 -1
  399. package/scripts/99clean +42 -0
  400. package/conf/distros/aldos/calamares/modules/bootloader.yml +0 -85
  401. package/conf/distros/aldos/calamares/modules/displaymanager.yml +0 -22
  402. package/conf/distros/aldos/calamares/modules/finished.yml +0 -5
  403. package/conf/distros/aldos/calamares/modules/fstab.yml +0 -12
  404. package/conf/distros/aldos/calamares/modules/locale.yml +0 -97
  405. package/conf/distros/aldos/calamares/modules/luksopenswaphookcfg.yml +0 -5
  406. package/conf/distros/aldos/calamares/modules/machineid.yml +0 -17
  407. package/conf/distros/aldos/calamares/modules/mount.yml +0 -56
  408. package/conf/distros/aldos/calamares/modules/packages.yml +0 -6
  409. package/conf/distros/aldos/calamares/modules/partition.yml +0 -242
  410. package/conf/distros/aldos/calamares/modules/removeuser.yml +0 -15
  411. package/conf/distros/aldos/calamares/modules/unpackfs.yml +0 -6
  412. package/conf/distros/aldos/calamares/modules/users.yml +0 -19
  413. package/conf/distros/aldos/calamares/modules/welcome.yml +0 -19
  414. package/conf/distros/aldos/calamares/settings.yml +0 -124
  415. package/conf/distros/fedora/calamares/modules/bootloader.conf +0 -85
  416. package/conf/distros/opensuse/calamares/modules/bootloader.conf +0 -86
  417. package/conf/distros/opensuse/calamares/modules/locale.yml +0 -98
  418. package/conf/distros/opensuse/calamares/modules/luksopenswaphookcfg.yml +0 -5
  419. package/conf/distros/opensuse/calamares/modules/machineid.yml +0 -17
  420. package/conf/distros/rolling/calamares/modules/shellprocess_removelink.yml +0 -8
  421. package/dist/index_old.d.ts +0 -8
  422. package/dist/index_old.js +0 -8
  423. package/dist/penguins-eggs_10.1.1-0_amd64.deb +0 -0
  424. package/dist/penguins-eggs_10.1.1-0_amd64.deb.sha256 +0 -1
  425. package/dracut/sidecar.sh +0 -19
  426. package/ipxe/ipxe.efi +0 -0
  427. package/mkinitfs/initramfs-init.in +0 -1051
  428. package/mkinitfs/sidecar.sh +0 -52
  429. /package/{syslinux → bootloaders/syslinux}/README.md +0 -0
  430. /package/{syslinux → bootloaders/syslinux}/chain.c32 +0 -0
  431. /package/{syslinux → bootloaders/syslinux}/isohdpfx.bin +0 -0
  432. /package/{syslinux → bootloaders/syslinux}/isolinux.bin +0 -0
  433. /package/{syslinux → bootloaders/syslinux}/ldlinux.c32 +0 -0
  434. /package/{syslinux → bootloaders/syslinux}/libcom32.c32 +0 -0
  435. /package/{syslinux → bootloaders/syslinux}/libutil.c32 +0 -0
  436. /package/{syslinux → bootloaders/syslinux}/lpxelinux.0 +0 -0
  437. /package/{syslinux → bootloaders/syslinux}/memdisk +0 -0
  438. /package/{syslinux → bootloaders/syslinux}/pxelinux.0 +0 -0
  439. /package/{syslinux → bootloaders/syslinux}/vesamenu.c32 +0 -0
  440. /package/dist/classes/ovary.d/{xorriso-commend.d.ts → xorriso-command.d.ts} +0 -0
  441. /package/dist/classes/ovary.d/{xorriso-commend.js → xorriso-command.js} +0 -0
@@ -0,0 +1,264 @@
1
+ /**
2
+ * options.ts
3
+ *
4
+ * used in dhcpd
5
+ *
6
+ */
7
+ export default [
8
+ "pad", // riempie lo zero
9
+ /* 1 */ "Subnet mask",
10
+ /* 2 */ "Time offset",
11
+ /* 3 */ "Routers",
12
+ /* 4 */ "Time server",
13
+ /* 5 */ "Name server",
14
+ /* 6 */ "DNS server",
15
+ /* 7 */ "Log server",
16
+ /* 8 */ "Cookie server",
17
+ /* 9 */ "LPR server",
18
+ /* 10 */ "Impress server",
19
+ /* 11 */ "Resource location server",
20
+ /* 12 */ "Host name",
21
+ /* 13 */ "Boot file size",
22
+ /* 14 */ "Merit dump file",
23
+ /* 15 */ "Domainname",
24
+ /* 16 */ "Swap server",
25
+ /* 17 */ "Root path",
26
+ /* 18 */ "Extensions path",
27
+ /* 19 */ "IP forwarding",
28
+ /* 20 */ "Non-local source routing",
29
+ /* 21 */ "Policy filter",
30
+ /* 22 */ "Maximum datagram reassembly size",
31
+ /* 23 */ "Default IP TTL",
32
+ /* 24 */ "Path MTU aging timeout",
33
+ /* 25 */ "Path MTU plateau table",
34
+ /* 26 */ "Interface MTU",
35
+ /* 27 */ "All subnets local",
36
+ /* 28 */ "Broadcast address",
37
+ /* 29 */ "Perform mask discovery",
38
+ /* 30 */ "Mask supplier",
39
+ /* 31 */ "Perform router discovery",
40
+ /* 32 */ "Router solicitation",
41
+ /* 33 */ "Static route",
42
+ /* 34 */ "Trailer encapsulation",
43
+ /* 35 */ "ARP cache timeout",
44
+ /* 36 */ "Ethernet encapsulation",
45
+ /* 37 */ "TCP default TTL",
46
+ /* 38 */ "TCP keepalive interval",
47
+ /* 39 */ "TCP keepalive garbage",
48
+ /* 40 */ "NIS domain",
49
+ /* 41 */ "NIS servers",
50
+ /* 42 */ "NTP servers",
51
+ /* 43 */ "Vendor specific info",
52
+ /* 44 */ "NetBIOS name server",
53
+ /* 45 */ "NetBIOS datagram distribution server",
54
+ /* 46 */ "NetBIOS node type",
55
+ /* 47 */ "NetBIOS scope",
56
+ /* 48 */ "X Window System font server",
57
+ /* 49 */ "X Window System display server",
58
+ /* 50 */ "Request IP address",
59
+ /* 51 */ "IP address leasetime",
60
+ /* 52 */ "Option overload",
61
+ /* 53 */ "DHCP message type",
62
+ /* 54 */ "Server identifier",
63
+ /* 55 */ "Parameter Request List",
64
+ /* 56 */ "Message",
65
+ /* 57 */ "Maximum DHCP message size",
66
+ /* 58 */ "T1",
67
+ /* 59 */ "T2",
68
+ /* 60 */ "Vendor class identifier",
69
+ /* 61 */ "Client-identifier",
70
+ /* 62 */ "Netware/IP domain name",
71
+ /* 63 */ "Netware/IP domain information",
72
+ /* 64 */ "NIS+ domain",
73
+ /* 65 */ "NIS+ servers",
74
+ /* 66 */ "TFTP server name",
75
+ /* 67 */ "Bootfile name",
76
+ /* 68 */ "Mobile IP home agent",
77
+ /* 69 */ "SMTP server",
78
+ /* 70 */ "POP3 server",
79
+ /* 71 */ "NNTP server",
80
+ /* 72 */ "WWW server",
81
+ /* 73 */ "Finger server",
82
+ /* 74 */ "IRC server",
83
+ /* 75 */ "StreetTalk server",
84
+ /* 76 */ "StreetTalk directory assistance server",
85
+ /* 77 */ "User-class Identification",
86
+ /* 78 */ "SLP-directory-agent",
87
+ /* 79 */ "SLP-service-scope",
88
+ /* 80 */ "Naming Authority",
89
+ /* 81 */ "Client FQDN",
90
+ /* 82 */ "Relay Agent Information",
91
+ /* 83 */ "Agent Remote ID",
92
+ /* 84 */ "Agent Subnet Mask",
93
+ /* 85 */ "NDS server",
94
+ /* 86 */ "NDS tree name",
95
+ /* 87 */ "NDS context",
96
+ /* 88 */ "IEEE 1003.1 POSIX",
97
+ /* 89 */ "FQDN",
98
+ /* 90 */ "Authentication",
99
+ /* 91 */ "Vines TCP/IP",
100
+ /* 92 */ "Server Selection",
101
+ /* 93 */ "Client System",
102
+ /* 94 */ "Client NDI",
103
+ /* 95 */ "LDAP",
104
+ /* 96 */ "IPv6 Transitions",
105
+ /* 97 */ "UUID/GUID",
106
+ /* 98 */ "UPA servers",
107
+ /* 99 */ "???",
108
+ /*100 */ "Printer Name",
109
+ /*101 */ "MDHCP",
110
+ /*102 */ "???",
111
+ /*103 */ "???",
112
+ /*104 */ "???",
113
+ /*105 */ "???",
114
+ /*106 */ "???",
115
+ /*107 */ "???",
116
+ /*108 */ "Swap Path",
117
+ /*109 */ "???",
118
+ /*110 */ "IPX Compatability",
119
+ /*111 */ "???",
120
+ /*112 */ "Netinfo Address",
121
+ /*113 */ "Netinfo Tag",
122
+ /*114 */ "URL",
123
+ /*115 */ "DHCP Failover",
124
+ /*116 */ "DHCP Autoconfiguration",
125
+ /*117 */ "Name Service Search",
126
+ /*118 */ "Subnet selection",
127
+ /*119 */ "Domain Search",
128
+ /*120 */ "SIP Servers DHCP Option",
129
+ /*121 */ "Classless Static Route",
130
+ /*122 */ "???",
131
+ /*123 */ "???",
132
+ /*124 */ "???",
133
+ /*125 */ "???",
134
+ /*126 */ "Extension",
135
+ /*127 */ "Extension",
136
+ /*128 */ "???",
137
+ /*129 */ "???",
138
+ /*130 */ "???",
139
+ /*131 */ "???",
140
+ /*132 */ "???",
141
+ /*133 */ "???",
142
+ /*134 */ "???",
143
+ /*135 */ "???",
144
+ /*136 */ "???",
145
+ /*137 */ "???",
146
+ /*138 */ "???",
147
+ /*139 */ "???",
148
+ /*140 */ "???",
149
+ /*141 */ "???",
150
+ /*142 */ "???",
151
+ /*143 */ "???",
152
+ /*144 */ "HP - TFTP file",
153
+ /*145 */ "???",
154
+ /*146 */ "???",
155
+ /*147 */ "???",
156
+ /*148 */ "???",
157
+ /*149 */ "???",
158
+ /*150 */ "???",
159
+ /*151 */ "???",
160
+ /*152 */ "???",
161
+ /*153 */ "???",
162
+ /*154 */ "???",
163
+ /*155 */ "???",
164
+ /*156 */ "???",
165
+ /*157 */ "???",
166
+ /*158 */ "???",
167
+ /*159 */ "???",
168
+ /*160 */ "???",
169
+ /*161 */ "???",
170
+ /*162 */ "???",
171
+ /*163 */ "???",
172
+ /*164 */ "???",
173
+ /*165 */ "???",
174
+ /*166 */ "???",
175
+ /*167 */ "???",
176
+ /*168 */ "???",
177
+ /*169 */ "???",
178
+ /*170 */ "???",
179
+ /*171 */ "???",
180
+ /*172 */ "???",
181
+ /*173 */ "???",
182
+ /*174 */ "???",
183
+ /*175 */ "???",
184
+ /*176 */ "???",
185
+ /*177 */ "???",
186
+ /*178 */ "???",
187
+ /*179 */ "???",
188
+ /*180 */ "???",
189
+ /*181 */ "???",
190
+ /*182 */ "???",
191
+ /*183 */ "???",
192
+ /*184 */ "???",
193
+ /*185 */ "???",
194
+ /*186 */ "???",
195
+ /*187 */ "???",
196
+ /*188 */ "???",
197
+ /*189 */ "???",
198
+ /*190 */ "???",
199
+ /*191 */ "???",
200
+ /*192 */ "???",
201
+ /*193 */ "???",
202
+ /*194 */ "???",
203
+ /*195 */ "???",
204
+ /*196 */ "???",
205
+ /*197 */ "???",
206
+ /*198 */ "???",
207
+ /*199 */ "???",
208
+ /*200 */ "???",
209
+ /*201 */ "???",
210
+ /*202 */ "???",
211
+ /*203 */ "???",
212
+ /*204 */ "???",
213
+ /*205 */ "???",
214
+ /*206 */ "???",
215
+ /*207 */ "???",
216
+ /*208 */ "???",
217
+ /*209 */ "???",
218
+ /*210 */ "Authenticate",
219
+ /*211 */ "???",
220
+ /*212 */ "???",
221
+ /*213 */ "???",
222
+ /*214 */ "???",
223
+ /*215 */ "???",
224
+ /*216 */ "???",
225
+ /*217 */ "???",
226
+ /*218 */ "???",
227
+ /*219 */ "???",
228
+ /*220 */ "???",
229
+ /*221 */ "???",
230
+ /*222 */ "???",
231
+ /*223 */ "???",
232
+ /*224 */ "???",
233
+ /*225 */ "???",
234
+ /*226 */ "???",
235
+ /*227 */ "???",
236
+ /*228 */ "???",
237
+ /*229 */ "???",
238
+ /*230 */ "???",
239
+ /*231 */ "???",
240
+ /*232 */ "???",
241
+ /*233 */ "???",
242
+ /*234 */ "???",
243
+ /*235 */ "???",
244
+ /*236 */ "???",
245
+ /*237 */ "???",
246
+ /*238 */ "???",
247
+ /*239 */ "???",
248
+ /*240 */ "???",
249
+ /*241 */ "???",
250
+ /*242 */ "???",
251
+ /*243 */ "???",
252
+ /*244 */ "???",
253
+ /*245 */ "???",
254
+ /*246 */ "???",
255
+ /*247 */ "???",
256
+ /*248 */ "???",
257
+ /*249 */ "MSFT - Classless route",
258
+ /*250 */ "???",
259
+ /*251 */ "???",
260
+ /*252 */ "MSFT - WinSock Proxy Auto Detect",
261
+ /*253 */ "???",
262
+ /*254 */ "???",
263
+ /*255 */ "End",
264
+ ];
@@ -0,0 +1,6 @@
1
+ /**
2
+ * sprintf.ts
3
+ *
4
+ * Converted to a pure, strictly-typed TypeScript module.
5
+ */
6
+ export default function sprintf(format: string, ...args: any[]): string;
@@ -0,0 +1,130 @@
1
+ /**
2
+ * sprintf.ts
3
+ *
4
+ * Converted to a pure, strictly-typed TypeScript module.
5
+ */
6
+ export default function sprintf(format, ...args) {
7
+ let i = 0;
8
+ const regex = /%%|%(\d+\$)?([-+'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g;
9
+ const pad = (str, len, chr, leftJustify) => {
10
+ const padding = str.length >= len ? "" : Array(1 + len - str.length).join(chr || ' ');
11
+ return leftJustify ? str + padding : padding + str;
12
+ };
13
+ const justify = (value, prefix, leftJustify, minWidth, zeroPad, customPadChar) => {
14
+ const diff = minWidth - value.length;
15
+ if (diff > 0) {
16
+ if (leftJustify || !zeroPad) {
17
+ value = pad(value, minWidth, customPadChar || ' ', leftJustify);
18
+ }
19
+ else {
20
+ value =
21
+ value.slice(0, prefix.length) +
22
+ pad("", diff, "0", true) +
23
+ value.slice(prefix.length);
24
+ }
25
+ }
26
+ return value;
27
+ };
28
+ const formatBaseX = (value, base, prefix, leftJustify, minWidth, precision, zeroPad) => {
29
+ const number = value >>> 0;
30
+ let p = (prefix && number && { 2: "0b", 8: "0", 16: "0x" }[base]) || "";
31
+ let val = p + pad(number.toString(base), precision || 0, "0", false);
32
+ return justify(val, p, leftJustify, minWidth, zeroPad);
33
+ };
34
+ const formatString = (value, leftJustify, minWidth, precision, zeroPad, customPadChar) => {
35
+ if (precision !== null && precision !== undefined) {
36
+ value = value.slice(0, precision);
37
+ }
38
+ return justify(value, "", leftJustify, minWidth, zeroPad, customPadChar);
39
+ };
40
+ const doFormat = (substring, valueIndex, flags, minWidthStr, _, // Explicitly type the unused parameter
41
+ precisionStr, type) => {
42
+ if (substring === "%%") {
43
+ return "%";
44
+ }
45
+ let leftJustify = false;
46
+ let positivePrefix = "";
47
+ let zeroPad = false;
48
+ let prefixBaseX = false;
49
+ let customPadChar = " ";
50
+ for (let j = 0; flags && j < flags.length; j++) {
51
+ switch (flags.charAt(j)) {
52
+ case " ":
53
+ positivePrefix = " ";
54
+ break;
55
+ case "+":
56
+ positivePrefix = "+";
57
+ break;
58
+ case "-":
59
+ leftJustify = true;
60
+ break;
61
+ case "'":
62
+ customPadChar = flags.charAt(j + 1);
63
+ break;
64
+ case "0":
65
+ zeroPad = true;
66
+ break;
67
+ case "#":
68
+ prefixBaseX = true;
69
+ break;
70
+ }
71
+ }
72
+ let minWidth = minWidthStr ? +minWidthStr : 0;
73
+ if (minWidthStr === "*") {
74
+ minWidth = +args[i++];
75
+ }
76
+ else if (minWidthStr?.charAt(0) === "*") {
77
+ minWidth = +args[parseInt(minWidthStr.slice(1, -1)) - 1];
78
+ }
79
+ if (minWidth < 0) {
80
+ minWidth = -minWidth;
81
+ leftJustify = true;
82
+ }
83
+ if (!isFinite(minWidth)) {
84
+ throw new Error("sprintf: (minimum-)width must be finite");
85
+ }
86
+ let precision = precisionStr ? +precisionStr : undefined;
87
+ if (precisionStr === "*") {
88
+ precision = +args[i++];
89
+ }
90
+ else if (precisionStr?.charAt(0) === "*") {
91
+ precision = +args[parseInt(precisionStr.slice(1, -1)) - 1];
92
+ }
93
+ if (precision === undefined) {
94
+ precision = "fFeE".indexOf(type) > -1 ? 6 : type === "d" ? 0 : undefined;
95
+ }
96
+ let value = valueIndex ? args[parseInt(valueIndex.slice(0, -1)) - 1] : args[i++];
97
+ switch (type) {
98
+ case "s": return formatString(String(value), leftJustify, minWidth, precision, zeroPad, customPadChar);
99
+ case "c": return formatString(String.fromCharCode(+value), leftJustify, minWidth, precision, zeroPad);
100
+ case "b": return formatBaseX(value, 2, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
101
+ case "o": return formatBaseX(value, 8, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
102
+ case "x": return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
103
+ case "X": return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad).toUpperCase();
104
+ case "u": return formatBaseX(value, 10, prefixBaseX, leftJustify, minWidth, precision, zeroPad);
105
+ case "i":
106
+ case "d": {
107
+ const number = +value | 0;
108
+ const prefix = number < 0 ? "-" : positivePrefix;
109
+ const val = prefix + pad(String(Math.abs(number)), precision || 0, "0", false);
110
+ return justify(val, prefix, leftJustify, minWidth, zeroPad);
111
+ }
112
+ case "e":
113
+ case "E":
114
+ case "f":
115
+ case "F":
116
+ case "g":
117
+ case "G": {
118
+ const number = +value;
119
+ const prefix = number < 0 ? "-" : positivePrefix;
120
+ const method = ["toExponential", "toFixed", "toPrecision"]["efg".indexOf(type.toLowerCase())];
121
+ const textTransform = ["toString", "toUpperCase"]["eEfFgG".indexOf(type) % 2];
122
+ const val = prefix + Math.abs(number)[method](precision);
123
+ return justify(val, prefix, leftJustify, minWidth, zeroPad)[textTransform]();
124
+ }
125
+ default:
126
+ return substring;
127
+ }
128
+ };
129
+ return format.replace(regex, doFormat);
130
+ }
@@ -0,0 +1,126 @@
1
+ /**
2
+ * util.ts
3
+ *
4
+ * used in dhcpd
5
+ *
6
+ */
7
+ /**
8
+ *
9
+ * @param _buffer
10
+ * @param byteArray
11
+ * @param offset
12
+ * @returns
13
+ */
14
+ export declare const writeBytes: (_buffer: any, byteArray: any, offset: number) => undefined;
15
+ /**
16
+ *
17
+ * @param _buffer
18
+ * @param integer
19
+ * @param offset
20
+ * @returns
21
+ */
22
+ export declare function writeInt32(_buffer: any, integer: number, offset: number): number;
23
+ /**
24
+ *
25
+ * @param _buffer
26
+ * @param integer
27
+ * @param offset
28
+ * @returns
29
+ */
30
+ export declare function writeInt16(_buffer: any, integer: number, offset: number): number;
31
+ /**
32
+ *
33
+ * @param _buffer
34
+ * @param integer
35
+ * @param offset
36
+ * @returns
37
+ */
38
+ export declare function writeInt8(_buffer: any, integer: number, offset: number): number;
39
+ /**
40
+ *
41
+ * @param _buffer
42
+ * @param length
43
+ * @param copy
44
+ * @param offset
45
+ * @returns
46
+ */
47
+ export declare function readBytes(_buffer: any, length: number, copy: any, offset: number): any;
48
+ /**
49
+ *
50
+ * @param _buffer
51
+ * @param offset
52
+ * @returns
53
+ */
54
+ export declare function readInt32(_buffer: any, offset: number): number;
55
+ /**
56
+ *
57
+ * @param _buffer
58
+ * @param offset
59
+ * @returns
60
+ */
61
+ export declare function readInt16(_buffer: any, offset: number): number;
62
+ /**
63
+ *
64
+ * @param _buffer
65
+ * @param offset
66
+ * @returns
67
+ */
68
+ export declare function readInt8(_buffer: any, offset: number): any;
69
+ /**
70
+ *
71
+ * @param buf
72
+ * @returns
73
+ */
74
+ export declare function readString(buf: any): string;
75
+ /**
76
+ *
77
+ * @param buf
78
+ * @returns
79
+ */
80
+ export declare function readHex(buf: any): string;
81
+ /**
82
+ *
83
+ * @param buf
84
+ * @returns
85
+ */
86
+ export declare function readHexAddress(buf: any): string;
87
+ /**
88
+ *
89
+ * @param buffer
90
+ * @param offset
91
+ * @returns
92
+ */
93
+ export declare function readIp(buffer: any, offset: number): string | undefined;
94
+ /**
95
+ *
96
+ * @param buffer
97
+ * @returns
98
+ */
99
+ export declare function readMacAddress(buffer: any): string;
100
+ /**
101
+ *
102
+ * @param buf
103
+ * @param num
104
+ * @param offsetHours
105
+ * @param offset
106
+ * @returns
107
+ */
108
+ export declare function writeTimeOffset(buf: any, num: any, offsetHours: any, offset: number): number;
109
+ /**
110
+ *
111
+ * @param buf
112
+ * @param num
113
+ * @param ip
114
+ * @param offset
115
+ * @returns
116
+ */
117
+ export declare function writeIp(buf: any, num: string, ip: any, offset: number): number;
118
+ /**
119
+ *
120
+ * @param buf
121
+ * @param num
122
+ * @param hostname
123
+ * @param offset
124
+ * @returns
125
+ */
126
+ export declare function writeString(buf: any, num: string, hostname: string, offset: number): number;