penguins-eggs 25.7.7 → 25.7.22
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/.oclif.manifest.json +1 -1
- package/README.md +62 -48
- package/README.pdf +5870 -18
- package/bootloaders/README.md +22 -0
- package/bootloaders/grubx64.efi +0 -0
- package/bootloaders/grubx64.efi.signed +0 -0
- package/bootloaders/shimx64.efi +0 -0
- package/bootloaders/shimx64.efi.signed +0 -0
- package/conf/distros/alpine/calamares/calamares-modules/machineid-openrc/machineid-openrc.sh +4 -0
- package/conf/distros/alpine/calamares/calamares-modules/machineid-openrc/module.yml +8 -0
- package/conf/distros/alpine/calamares/modules/removeuser.yml +1 -1
- package/conf/distros/alpine/calamares/modules/services-openrc.yml +56 -0
- package/conf/distros/alpine/calamares/modules/users.yml +3 -2
- package/conf/distros/alpine/calamares/settings.yml +9 -11
- package/conf/distros/buster/calamares/settings.yml +0 -4
- package/conf/distros/fedora/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +37 -0
- package/conf/distros/fedora/calamares/calamares-modules/bootloaderspecification/module.yml +8 -0
- package/conf/distros/fedora/calamares/modules/dracut.yml +14 -0
- package/conf/distros/fedora/calamares/modules/removeuser.yml +1 -1
- package/conf/distros/fedora/calamares/settings.yml +1 -0
- package/conf/distros/jessie/krill/settings.yml +1 -1
- package/conf/distros/opensuse/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +37 -0
- package/conf/distros/opensuse/calamares/calamares-modules/bootloaderspecification/module.yml +8 -0
- package/conf/distros/opensuse/calamares/modules/dracut.yml +14 -0
- package/conf/distros/opensuse/calamares/settings.yml +2 -1
- package/conf/distros/stretch/krill/settings.yml +1 -1
- package/dist/classes/bleach.d.ts +1 -1
- package/dist/classes/bleach.js +1 -1
- package/dist/classes/cli-autologin.d.ts +1 -1
- package/dist/classes/cli-autologin.js +1 -1
- package/dist/classes/compressors.d.ts +1 -1
- package/dist/classes/compressors.js +1 -1
- package/dist/classes/daddy.d.ts +1 -1
- package/dist/classes/daddy.js +1 -1
- package/dist/classes/distro.d.ts +3 -27
- package/dist/classes/distro.js +322 -352
- package/dist/classes/diversions.d.ts +1 -1
- package/dist/classes/diversions.js +1 -1
- package/dist/classes/incubation/branding.d.ts +1 -1
- package/dist/classes/incubation/branding.js +1 -1
- package/dist/classes/incubation/fisherman-helper/displaymanager.d.ts +1 -1
- package/dist/classes/incubation/fisherman-helper/displaymanager.js +1 -1
- package/dist/classes/incubation/fisherman-helper/packages.d.ts +1 -1
- package/dist/classes/incubation/fisherman-helper/packages.js +1 -1
- package/dist/classes/incubation/fisherman-helper/settings.d.ts +1 -1
- package/dist/classes/incubation/fisherman-helper/settings.js +1 -1
- package/dist/classes/incubation/fisherman.d.ts +4 -0
- package/dist/classes/incubation/fisherman.js +9 -1
- package/dist/classes/incubation/incubator.d/alpine.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/alpine.js +3 -3
- package/dist/classes/incubation/incubator.d/bionic.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/bionic.js +1 -1
- package/dist/classes/incubation/incubator.d/buster.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/buster.js +2 -2
- package/dist/classes/incubation/incubator.d/fedora.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/fedora.js +6 -5
- package/dist/classes/incubation/incubator.d/jessie.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/jessie.js +1 -1
- package/dist/classes/incubation/incubator.d/noble.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/noble.js +1 -1
- package/dist/classes/incubation/incubator.d/openmamba.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/openmamba.js +2 -2
- package/dist/classes/incubation/incubator.d/opensuse.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/opensuse.js +3 -4
- package/dist/classes/incubation/incubator.d/rolling.d.ts +1 -1
- package/dist/classes/incubation/incubator.d/rolling.js +2 -2
- package/dist/classes/incubation/incubator.d.ts +1 -1
- package/dist/classes/incubation/incubator.js +110 -101
- package/dist/classes/incubation/installer.d.ts +1 -1
- package/dist/classes/incubation/installer.js +1 -1
- package/dist/classes/keyboards.d.ts +1 -1
- package/dist/classes/keyboards.js +1 -1
- package/dist/classes/locales.d.ts +1 -1
- package/dist/classes/locales.js +1 -1
- package/dist/classes/network.d.ts +1 -1
- package/dist/classes/network.js +1 -1
- package/dist/classes/ovary.d/bind-live-fs.d.ts +1 -1
- package/dist/classes/ovary.d/bind-live-fs.js +13 -5
- package/dist/classes/ovary.d/bind-vfs.d.ts +1 -1
- package/dist/classes/ovary.d/bind-vfs.js +1 -1
- package/dist/classes/ovary.d/create-xdg-autostart.d.ts +1 -1
- package/dist/classes/ovary.d/create-xdg-autostart.js +1 -1
- package/dist/classes/ovary.d/edit-live-fs.d.ts +1 -1
- package/dist/classes/ovary.d/edit-live-fs.js +1 -1
- package/dist/classes/ovary.d/fertilization.d.ts +1 -1
- package/dist/classes/ovary.d/fertilization.js +2 -1
- package/dist/classes/ovary.d/finished.d.ts +1 -1
- package/dist/classes/ovary.d/finished.js +6 -3
- package/dist/classes/ovary.d/initrd.d.ts +1 -1
- package/dist/classes/ovary.d/initrd.js +4 -4
- package/dist/classes/ovary.d/kernel-copy.d.ts +1 -1
- package/dist/classes/ovary.d/kernel-copy.js +1 -1
- package/dist/classes/ovary.d/live-create-structure.d.ts +1 -1
- package/dist/classes/ovary.d/live-create-structure.js +1 -1
- package/dist/classes/ovary.d/make-dot-disk.d.ts +1 -1
- package/dist/classes/ovary.d/make-dot-disk.js +1 -1
- package/dist/classes/ovary.d/make-efi.d.ts +6 -2
- package/dist/classes/ovary.d/make-efi.js +53 -113
- package/dist/classes/ovary.d/make-iso.d.ts +1 -1
- package/dist/classes/ovary.d/make-iso.js +1 -1
- package/dist/classes/ovary.d/make-squashfs.d.ts +1 -1
- package/dist/classes/ovary.d/make-squashfs.js +1 -1
- package/dist/classes/ovary.d/merged.d.ts +1 -1
- package/dist/classes/ovary.d/merged.js +6 -6
- package/dist/classes/ovary.d/produce.d.ts +1 -1
- package/dist/classes/ovary.d/produce.js +18 -1
- package/dist/classes/ovary.d/rexec.d.ts +1 -1
- package/dist/classes/ovary.d/rexec.js +1 -1
- package/dist/classes/ovary.d/syslinux.d.ts +1 -1
- package/dist/classes/ovary.d/syslinux.js +3 -2
- package/dist/classes/ovary.d/user-create-live.d.ts +1 -1
- package/dist/classes/ovary.d/user-create-live.js +3 -3
- package/dist/classes/ovary.d/users-remove.d.ts +1 -1
- package/dist/classes/ovary.d/users-remove.js +1 -1
- package/dist/classes/ovary.d/xorriso-command.d.ts +1 -1
- package/dist/classes/ovary.d/xorriso-command.js +1 -1
- package/dist/classes/ovary.d.ts +2 -1
- package/dist/classes/ovary.js +2 -1
- package/dist/classes/pacman.d/aldos.d.ts +1 -1
- package/dist/classes/pacman.d/aldos.js +1 -1
- package/dist/classes/pacman.d/alpine.d.ts +1 -1
- package/dist/classes/pacman.d/alpine.js +1 -1
- package/dist/classes/pacman.d/archlinux.d.ts +1 -1
- package/dist/classes/pacman.d/archlinux.js +1 -1
- package/dist/classes/pacman.d/debian.d.ts +1 -1
- package/dist/classes/pacman.d/debian.js +1 -1
- package/dist/classes/pacman.d/fedora.d.ts +1 -1
- package/dist/classes/pacman.d/fedora.js +1 -1
- package/dist/classes/pacman.d/openmamba.d.ts +1 -1
- package/dist/classes/pacman.d/openmamba.js +1 -1
- package/dist/classes/pacman.d/opensuse.d.ts +1 -1
- package/dist/classes/pacman.d/opensuse.js +1 -1
- package/dist/classes/pacman.d/voidlinux.d.ts +1 -1
- package/dist/classes/pacman.d/voidlinux.js +1 -1
- package/dist/classes/pacman.d.ts +1 -1
- package/dist/classes/pacman.js +1 -1
- package/dist/classes/pve-live.d.ts +1 -1
- package/dist/classes/pve-live.js +1 -1
- package/dist/classes/pxe.d.ts +1 -1
- package/dist/classes/pxe.js +19 -15
- package/dist/classes/settings.d.ts +1 -1
- package/dist/classes/settings.js +1 -1
- package/dist/classes/sources_list.d.ts +1 -1
- package/dist/classes/sources_list.js +1 -1
- package/dist/classes/tailor.d.ts +1 -1
- package/dist/classes/tailor.js +1 -1
- package/dist/classes/tools.d.ts +1 -1
- package/dist/classes/tools.js +1 -1
- package/dist/classes/users.d.ts +1 -1
- package/dist/classes/users.js +1 -1
- package/dist/classes/utils.d/kernel.d.ts +16 -12
- package/dist/classes/utils.d/kernel.js +98 -18
- package/dist/classes/utils.d.ts +309 -78
- package/dist/classes/utils.js +913 -89
- package/dist/classes/xdg.d.ts +1 -1
- package/dist/classes/xdg.js +1 -1
- package/dist/classes/yolk.d.ts +1 -1
- package/dist/classes/yolk.js +1 -1
- package/dist/commands/adapt.d.ts +1 -1
- package/dist/commands/adapt.js +1 -1
- package/dist/commands/analyze.d.ts +1 -1
- package/dist/commands/analyze.js +1 -1
- package/dist/commands/calamares.d.ts +1 -1
- package/dist/commands/calamares.js +1 -1
- package/dist/commands/config.d.ts +1 -1
- package/dist/commands/config.js +1 -1
- package/dist/commands/cuckoo.d.ts +1 -1
- package/dist/commands/cuckoo.js +1 -1
- package/dist/commands/dad.d.ts +1 -1
- package/dist/commands/dad.js +1 -1
- package/dist/commands/export/iso.d.ts +1 -1
- package/dist/commands/export/iso.js +1 -1
- package/dist/commands/export/pkg.d.ts +1 -1
- package/dist/commands/export/pkg.js +1 -1
- package/dist/commands/export/tarballs.d.ts +1 -1
- package/dist/commands/export/tarballs.js +2 -2
- package/dist/commands/install.d.ts +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/kill.d.ts +1 -1
- package/dist/commands/kill.js +1 -1
- package/dist/commands/love.d.ts +1 -1
- package/dist/commands/love.js +1 -1
- package/dist/commands/mom.d.ts +1 -1
- package/dist/commands/mom.js +1 -1
- package/dist/commands/pods.d.ts +1 -1
- package/dist/commands/pods.js +1 -1
- package/dist/commands/produce.d.ts +1 -1
- package/dist/commands/produce.js +1 -1
- package/dist/commands/status.d.ts +1 -1
- package/dist/commands/status.js +1 -1
- package/dist/commands/syncfrom.d.ts +1 -1
- package/dist/commands/syncfrom.js +1 -1
- package/dist/commands/syncto.d.ts +1 -1
- package/dist/commands/syncto.js +1 -1
- package/dist/commands/tools/clean.d.ts +1 -1
- package/dist/commands/tools/clean.js +1 -1
- package/dist/commands/tools/ppa.d.ts +1 -1
- package/dist/commands/tools/ppa.js +1 -1
- package/dist/commands/tools/skel.d.ts +1 -1
- package/dist/commands/tools/skel.js +1 -1
- package/dist/commands/tools/stat.d.ts +1 -1
- package/dist/commands/tools/stat.js +1 -1
- package/dist/commands/tools/yolk.d.ts +1 -1
- package/dist/commands/tools/yolk.js +1 -1
- package/dist/commands/update.d.ts +1 -1
- package/dist/commands/update.js +1 -1
- package/dist/commands/wardrobe/get.d.ts +1 -1
- package/dist/commands/wardrobe/get.js +1 -1
- package/dist/commands/wardrobe/list.d.ts +1 -1
- package/dist/commands/wardrobe/list.js +1 -1
- package/dist/commands/wardrobe/show.d.ts +1 -1
- package/dist/commands/wardrobe/show.js +1 -1
- package/dist/commands/wardrobe/wear.d.ts +1 -1
- package/dist/commands/wardrobe/wear.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/interfaces/i-addons.d.ts +1 -1
- package/dist/interfaces/i-addons.js +1 -1
- package/dist/interfaces/i-analyze.d.ts +1 -1
- package/dist/interfaces/i-analyze.js +1 -1
- package/dist/interfaces/i-app.d.ts +1 -1
- package/dist/interfaces/i-app.js +1 -1
- package/dist/interfaces/i-branding.d.ts +1 -1
- package/dist/interfaces/i-branding.js +1 -1
- package/dist/interfaces/i-calamares-displaymanager.d.ts +1 -1
- package/dist/interfaces/i-calamares-finished.d.ts +1 -1
- package/dist/interfaces/i-calamares-packages.d.ts +1 -1
- package/dist/interfaces/i-calamares-partition.d.ts +1 -1
- package/dist/interfaces/i-config-tools.d.ts +1 -1
- package/dist/interfaces/i-config-tools.js +1 -1
- package/dist/interfaces/i-devices.d.ts +1 -1
- package/dist/interfaces/i-devices.js +1 -1
- package/dist/interfaces/i-distro.d.ts +1 -1
- package/dist/interfaces/i-distro.js +1 -1
- package/dist/interfaces/i-drive-list.d.ts +1 -1
- package/dist/interfaces/i-drive-list.js +1 -1
- package/dist/interfaces/i-eggs-config.d.ts +1 -1
- package/dist/interfaces/i-eggs-config.js +1 -1
- package/dist/interfaces/i-excludes.d.ts +1 -1
- package/dist/interfaces/i-excludes.js +1 -1
- package/dist/interfaces/i-exec.d.ts +1 -1
- package/dist/interfaces/i-exec.js +1 -1
- package/dist/interfaces/i-initrd.d.ts +1 -1
- package/dist/interfaces/i-initrd.js +1 -1
- package/dist/interfaces/i-install.d.ts +1 -1
- package/dist/interfaces/i-install.js +1 -1
- package/dist/interfaces/i-installer.d.ts +1 -1
- package/dist/interfaces/i-installer.js +1 -1
- package/dist/interfaces/i-luks-passphrase.d.ts +1 -1
- package/dist/interfaces/i-luks-passphrase.js +1 -1
- package/dist/interfaces/i-materia.d.ts +1 -1
- package/dist/interfaces/i-materia.js +1 -1
- package/dist/interfaces/i-net.d.ts +1 -1
- package/dist/interfaces/i-net.js +1 -1
- package/dist/interfaces/i-packages.d.ts +1 -1
- package/dist/interfaces/i-packages.js +1 -1
- package/dist/interfaces/i-partitions.d.ts +1 -1
- package/dist/interfaces/i-partitions.js +1 -1
- package/dist/interfaces/i-remix.d.ts +1 -1
- package/dist/interfaces/i-remix.js +1 -1
- package/dist/interfaces/i-settings.d.ts +1 -1
- package/dist/interfaces/i-settings.js +1 -1
- package/dist/interfaces/i-user.d.ts +1 -1
- package/dist/interfaces/i-user.js +1 -1
- package/dist/interfaces/i-workdir.d.ts +1 -1
- package/dist/interfaces/i-workdir.js +1 -1
- package/dist/interfaces/i-xkb-model.d.ts +1 -1
- package/dist/interfaces/i-xkb-model.js +1 -1
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.js +1 -1
- package/dist/krill/classes/cfs.d.ts +1 -1
- package/dist/krill/classes/cfs.js +1 -1
- package/dist/krill/classes/krill_enums.d.ts +1 -1
- package/dist/krill/classes/krill_enums.js +1 -1
- package/dist/krill/classes/prepare.d/keyboard.d.ts +1 -1
- package/dist/krill/classes/prepare.d/keyboard.js +1 -1
- package/dist/krill/classes/prepare.d/location.d.ts +1 -1
- package/dist/krill/classes/prepare.d/location.js +1 -1
- package/dist/krill/classes/prepare.d/network.d.ts +1 -1
- package/dist/krill/classes/prepare.d/network.js +1 -1
- package/dist/krill/classes/prepare.d/partitions.d.ts +1 -1
- package/dist/krill/classes/prepare.d/partitions.js +1 -1
- package/dist/krill/classes/prepare.d/summary.d.ts +1 -1
- package/dist/krill/classes/prepare.d/summary.js +1 -1
- package/dist/krill/classes/prepare.d/users.js +1 -1
- package/dist/krill/classes/prepare.d/welcome.js +1 -1
- package/dist/krill/classes/prepare.d.ts +1 -1
- package/dist/krill/classes/prepare.js +1 -1
- package/dist/krill/classes/sequence.d/add_user.d.ts +1 -1
- package/dist/krill/classes/sequence.d/add_user.js +2 -2
- package/dist/krill/classes/sequence.d/bootloader.d.ts +1 -1
- package/dist/krill/classes/sequence.d/bootloader.js +1 -1
- package/dist/krill/classes/sequence.d/bootloader_config.d.ts +1 -1
- package/dist/krill/classes/sequence.d/bootloader_config.js +1 -1
- package/dist/krill/classes/sequence.d/change_password.d.ts +1 -1
- package/dist/krill/classes/sequence.d/change_password.js +2 -2
- package/dist/krill/classes/sequence.d/del_live_user.d.ts +1 -1
- package/dist/krill/classes/sequence.d/del_live_user.js +1 -1
- package/dist/krill/classes/sequence.d/fstab.d.ts +1 -1
- package/dist/krill/classes/sequence.d/fstab.js +1 -1
- package/dist/krill/classes/sequence.d/grubcfg.d.ts +1 -1
- package/dist/krill/classes/sequence.d/grubcfg.js +1 -1
- package/dist/krill/classes/sequence.d/hostname.d.ts +1 -1
- package/dist/krill/classes/sequence.d/hostname.js +1 -1
- package/dist/krill/classes/sequence.d/initramfs.d.ts +1 -1
- package/dist/krill/classes/sequence.d/initramfs.js +1 -1
- package/dist/krill/classes/sequence.d/initramfs_cfg.d.ts +1 -1
- package/dist/krill/classes/sequence.d/initramfs_cfg.js +1 -1
- package/dist/krill/classes/sequence.d/locale.d.ts +1 -1
- package/dist/krill/classes/sequence.d/locale.js +1 -1
- package/dist/krill/classes/sequence.d/locale_cfg.d.ts +1 -1
- package/dist/krill/classes/sequence.d/locale_cfg.js +1 -1
- package/dist/krill/classes/sequence.d/m_keyboard.d.ts +1 -1
- package/dist/krill/classes/sequence.d/m_keyboard.js +1 -1
- package/dist/krill/classes/sequence.d/mkfs.d.ts +1 -1
- package/dist/krill/classes/sequence.d/mkfs.js +1 -1
- package/dist/krill/classes/sequence.d/mount_fs.d.ts +1 -1
- package/dist/krill/classes/sequence.d/mount_fs.js +1 -1
- package/dist/krill/classes/sequence.d/mount_vfs.d.ts +1 -1
- package/dist/krill/classes/sequence.d/mount_vfs.js +1 -1
- package/dist/krill/classes/sequence.d/network_cfg.d.ts +1 -1
- package/dist/krill/classes/sequence.d/network_cfg.js +1 -1
- package/dist/krill/classes/sequence.d/packages.d.ts +1 -1
- package/dist/krill/classes/sequence.d/packages.js +1 -1
- package/dist/krill/classes/sequence.d/partition.d/bios_luks.d.ts +1 -1
- package/dist/krill/classes/sequence.d/partition.d/bios_luks.js +1 -1
- package/dist/krill/classes/sequence.d/partition.d/bios_standard.d.ts +1 -1
- package/dist/krill/classes/sequence.d/partition.d/bios_standard.js +1 -1
- package/dist/krill/classes/sequence.d/partition.d/uefi_luks.d.ts +1 -1
- package/dist/krill/classes/sequence.d/partition.d/uefi_luks.js +1 -1
- package/dist/krill/classes/sequence.d/partition.d/uefi_standard.d.ts +1 -1
- package/dist/krill/classes/sequence.d/partition.d/uefi_standard.js +1 -1
- package/dist/krill/classes/sequence.d/partition.d.ts +1 -1
- package/dist/krill/classes/sequence.d/partition.js +1 -1
- package/dist/krill/classes/sequence.d/remove_installer_link.d.ts +1 -1
- package/dist/krill/classes/sequence.d/remove_installer_link.js +1 -1
- package/dist/krill/classes/sequence.d/umount.d.ts +1 -1
- package/dist/krill/classes/sequence.d/umount.js +1 -1
- package/dist/krill/classes/sequence.d/unpackfs.d.ts +1 -1
- package/dist/krill/classes/sequence.d/unpackfs.js +1 -1
- package/dist/krill/classes/sequence.d.ts +1 -1
- package/dist/krill/classes/sequence.js +1 -1
- package/dist/krill/components/finished.d.ts +1 -1
- package/dist/krill/components/finished.js +1 -1
- package/dist/krill/components/information.d.ts +1 -1
- package/dist/krill/components/information.js +1 -1
- package/dist/krill/components/install.d.ts +1 -1
- package/dist/krill/components/install.js +1 -1
- package/dist/krill/components/keyboard.d.ts +1 -1
- package/dist/krill/components/keyboard.js +1 -1
- package/dist/krill/components/location.d.ts +1 -1
- package/dist/krill/components/location.js +1 -1
- package/dist/krill/components/network.d.ts +1 -1
- package/dist/krill/components/network.js +1 -1
- package/dist/krill/components/partitions.d.ts +1 -1
- package/dist/krill/components/partitions.js +1 -1
- package/dist/krill/components/steps.d.ts +1 -1
- package/dist/krill/components/steps.js +1 -1
- package/dist/krill/components/summary.d.ts +1 -1
- package/dist/krill/components/summary.js +1 -1
- package/dist/krill/components/title.d.ts +1 -1
- package/dist/krill/components/title.js +1 -1
- package/dist/krill/components/users.d.ts +1 -1
- package/dist/krill/components/users.js +1 -1
- package/dist/krill/components/welcome.d.ts +1 -1
- package/dist/krill/components/welcome.js +1 -1
- package/dist/krill/interfaces/i_krill.d.ts +1 -1
- package/dist/krill/interfaces/i_krill.js +1 -1
- package/dist/krill/interfaces/i_krill_config.d.ts +1 -1
- package/dist/krill/interfaces/i_krill_config.js +1 -1
- package/dist/krill/lib/get_address.d.ts +1 -1
- package/dist/krill/lib/get_address.js +1 -1
- package/dist/krill/lib/get_dns.d.ts +1 -1
- package/dist/krill/lib/get_dns.js +1 -1
- package/dist/krill/lib/get_domain.d.ts +1 -1
- package/dist/krill/lib/get_domain.js +1 -1
- package/dist/krill/lib/get_gateway.d.ts +1 -1
- package/dist/krill/lib/get_gateway.js +1 -1
- package/dist/krill/lib/get_hostname.d.ts +1 -1
- package/dist/krill/lib/get_hostname.js +1 -1
- package/dist/krill/lib/get_luks_passphrase.d.ts +1 -1
- package/dist/krill/lib/get_luks_passphrase.js +1 -1
- package/dist/krill/lib/get_netmask.d.ts +1 -1
- package/dist/krill/lib/get_netmask.js +1 -1
- package/dist/krill/lib/get_password.d.ts +1 -1
- package/dist/krill/lib/get_password.js +1 -1
- package/dist/krill/lib/get_userfullname.d.ts +1 -1
- package/dist/krill/lib/get_userfullname.js +1 -1
- package/dist/krill/lib/get_username.d.ts +1 -1
- package/dist/krill/lib/get_username.js +1 -1
- package/dist/krill/lib/select_address_type.d.ts +1 -1
- package/dist/krill/lib/select_address_type.js +1 -1
- package/dist/krill/lib/select_filesystem_type.d.ts +1 -1
- package/dist/krill/lib/select_filesystem_type.js +1 -1
- package/dist/krill/lib/select_installation_device.d.ts +1 -1
- package/dist/krill/lib/select_installation_device.js +1 -1
- package/dist/krill/lib/select_installation_mode.d.ts +1 -1
- package/dist/krill/lib/select_installation_mode.js +1 -1
- package/dist/krill/lib/select_interface.d.ts +1 -1
- package/dist/krill/lib/select_interface.js +1 -1
- package/dist/krill/lib/select_keyboard_layout.d.ts +1 -1
- package/dist/krill/lib/select_keyboard_layout.js +1 -1
- package/dist/krill/lib/select_keyboard_model.d.ts +1 -1
- package/dist/krill/lib/select_keyboard_model.js +1 -1
- package/dist/krill/lib/select_keyboard_option.d.ts +1 -1
- package/dist/krill/lib/select_keyboard_option.js +1 -1
- package/dist/krill/lib/select_keyboard_variant.d.ts +1 -1
- package/dist/krill/lib/select_keyboard_variant.js +1 -1
- package/dist/krill/lib/select_languages.d.ts +1 -1
- package/dist/krill/lib/select_languages.js +1 -1
- package/dist/krill/lib/select_regions.d.ts +1 -1
- package/dist/krill/lib/select_regions.js +1 -1
- package/dist/krill/lib/select_replaced_partition.d.ts +1 -1
- package/dist/krill/lib/select_replaced_partition.js +1 -1
- package/dist/krill/lib/select_user_swap_choice.d.ts +1 -1
- package/dist/krill/lib/select_user_swap_choice.js +1 -1
- package/dist/krill/lib/select_zones.d.ts +1 -1
- package/dist/krill/lib/select_zones.js +1 -1
- package/dist/lib/kill_me_softly.d.ts +1 -1
- package/dist/lib/kill_me_softly.js +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.js +1 -1
- package/package.json +10 -11
- package/conf/distros/alpine/calamares/modules/machineid.yml +0 -17
- package/dist/classes/utils.d/architecture.d.ts +0 -41
- package/dist/classes/utils.d/architecture.js +0 -87
- package/dist/classes/utils.d/console-output.d.ts +0 -26
- package/dist/classes/utils.d/console-output.js +0 -46
- package/dist/classes/utils.d/filesystem.d.ts +0 -53
- package/dist/classes/utils.d/filesystem.js +0 -154
- package/dist/classes/utils.d/formatters.d.ts +0 -32
- package/dist/classes/utils.d/formatters.js +0 -64
- package/dist/classes/utils.d/network.d.ts +0 -43
- package/dist/classes/utils.d/network.js +0 -133
- package/dist/classes/utils.d/package-info.d.ts +0 -55
- package/dist/classes/utils.d/package-info.js +0 -137
- package/dist/classes/utils.d/snapshot.d.ts +0 -44
- package/dist/classes/utils.d/snapshot.js +0 -102
- package/dist/classes/utils.d/system.d.ts +0 -63
- package/dist/classes/utils.d/system.js +0 -200
- package/dist/classes/utils.d/user-interaction.d.ts +0 -39
- package/dist/classes/utils.d/user-interaction.js +0 -104
- package/dist/penguins-eggs_25.7.7-1_amd64.deb +0 -0
- package/dist/penguins-eggs_25.7.7-1_amd64.deb.sha256 +0 -1
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/acpi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/adler32.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/affs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/afs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/afsplitter.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ahci.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/all_video.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/aout.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/appleldr.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/archelp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/at_keyboard.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ata.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/backtrace.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/bfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/bitmap.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/bitmap_scale.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/blocklist.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/boot.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/bsd.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/bswap_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/btrfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/bufio.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cat.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cbfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cbls.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cbmemc.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cbtable.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cbtime.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/chain.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cmdline_cat_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cmp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cmp_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/command.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/config.h +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/configfile.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cpio.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cpio_be.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cpuid.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/crc64.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/crypto.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/crypto.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cryptodisk.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/cs5536.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ctz_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/date.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/datehook.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/datetime.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/disk.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/diskfilter.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/div.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/div_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/dm_nv.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/echo.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/efi_gop.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/efi_uga.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/efifwsetup.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/efinet.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ehci.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/elf.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/eval.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/exfat.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/exfctest.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ext2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/extcmd.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/f2fs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/fat.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/fdt.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/file.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/fixvideo.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/font.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/fs.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/fshelp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/functional_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_arcfour.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_blowfish.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_camellia.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_cast5.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_crc.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_des.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_dsa.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_idea.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_md4.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_md5.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_rfc2268.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_rijndael.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_rmd160.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_rsa.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_seed.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_serpent.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_sha1.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_sha256.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_sha512.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_tiger.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_twofish.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gcry_whirlpool.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/geli.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gettext.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gfxmenu.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gfxterm.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gfxterm_background.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gfxterm_menu.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gptsync.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/gzio.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/halt.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hashsum.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hdparm.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hello.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/help.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hexdump.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hfsplus.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/hfspluscomp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/http.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/iorw.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/iso9660.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/jfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/jpeg.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/json.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/kernel.img +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/keylayouts.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/keystatus.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ldm.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/legacy_password_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/legacycfg.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/linux.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/linux16.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/linuxefi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/loadbios.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/loadenv.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/loopback.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ls.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lsacpi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lsefi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lsefimmap.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lsefisystab.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lsmmap.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lspci.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lssal.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/luks.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/luks2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lvm.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/lzopio.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/macbless.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/macho.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/mdraid09.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/mdraid09_be.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/mdraid1x.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/memdisk.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/memrw.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minicmd.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minix.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minix2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minix2_be.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minix3.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minix3_be.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/minix_be.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/mmap.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/moddep.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/modinfo.sh +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/monolithic/gcdx64.efi +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/monolithic/grubnetx64-installer.efi +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/monolithic/grubnetx64.efi +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/monolithic/grubx64.efi +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/morse.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/mpi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/msdospart.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/mul_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/multiboot.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/multiboot2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/nativedisk.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/net.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/newc.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/nilfs2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/normal.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ntfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ntfscomp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/odc.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/offsetio.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ohci.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_acorn.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_amiga.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_apple.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_bsd.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_dfly.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_dvh.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_gpt.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_msdos.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_plan.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_sun.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/part_sunpc.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/partmap.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/parttool.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/parttool.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/password.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/password_pbkdf2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/pata.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/pbkdf2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/pbkdf2_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/pcidump.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/pgp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/play.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/png.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/priority_queue.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/probe.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/procfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/progress.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/raid5rec.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/raid6rec.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/random.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/rdmsr.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/read.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/reboot.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/regexp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/reiserfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/relocator.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/romfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/scsi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/search.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/search_fs_file.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/search_fs_uuid.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/search_label.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/serial.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/setjmp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/setjmp_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/setpci.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/sfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/shift_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/signature_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/sleep.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/sleep_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/smbios.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/spkmodem.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/squash4.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/strtoull_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/syslinuxcfg.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/tar.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/terminal.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/terminal.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/terminfo.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/test_blockarg.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/testload.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/testspeed.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/tftp.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/tga.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/time.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/tpm.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/tr.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/trig.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/true.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/udf.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ufs1.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ufs1_be.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/ufs2.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/uhci.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usb.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usb_keyboard.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usbms.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usbserial_common.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usbserial_ftdi.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usbserial_pl2303.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usbserial_usbdebug.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/usbtest.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/video.lst +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/video.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/video_bochs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/video_cirrus.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/video_colors.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/video_fb.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/videoinfo.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/videotest.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/videotest_checksum.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/wrmsr.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/xfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/xnu.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/xnu_uuid.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/xnu_uuid_test.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/xzio.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/zfs.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/zfscrypt.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/zfsinfo.mod +0 -0
- /package/{ipxe/grub → bootloaders/grub/x86_64-efi}/zstd.mod +0 -0
- /package/{ipxe → bootloaders}/grubnetx64.efi.signed +0 -0
- /package/{ipxe → bootloaders}/ipxe.pxe +0 -0
- /package/{syslinux → bootloaders/syslinux}/README.md +0 -0
- /package/{syslinux → bootloaders/syslinux}/chain.c32 +0 -0
- /package/{syslinux → bootloaders/syslinux}/isohdpfx.bin +0 -0
- /package/{syslinux → bootloaders/syslinux}/isolinux.bin +0 -0
- /package/{syslinux → bootloaders/syslinux}/ldlinux.c32 +0 -0
- /package/{syslinux → bootloaders/syslinux}/libcom32.c32 +0 -0
- /package/{syslinux → bootloaders/syslinux}/libutil.c32 +0 -0
- /package/{syslinux → bootloaders/syslinux}/lpxelinux.0 +0 -0
- /package/{syslinux → bootloaders/syslinux}/memdisk +0 -0
- /package/{syslinux → bootloaders/syslinux}/pxelinux.0 +0 -0
- /package/{syslinux → bootloaders/syslinux}/vesamenu.c32 +0 -0
- /package/{ipxe → bootloaders}/undionly.kpxe +0 -0
package/dist/classes/distro.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* penguins-eggs
|
|
2
|
+
* penguins-eggs
|
|
3
3
|
* class: distro.ts
|
|
4
4
|
* author: Piero Proietti
|
|
5
5
|
* email: piero.proietti@gmail.com
|
|
@@ -14,256 +14,7 @@ import Diversions from './diversions.js';
|
|
|
14
14
|
// _dirname
|
|
15
15
|
const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
const FAMILY_CONFIGS = {
|
|
20
|
-
debian: {
|
|
21
|
-
familyId: 'debian',
|
|
22
|
-
distroLike: 'Debian',
|
|
23
|
-
codenameId: '',
|
|
24
|
-
codenameLikeId: '',
|
|
25
|
-
liveMediumPath: '/run/live/medium/',
|
|
26
|
-
isCalamaresAvailable: true
|
|
27
|
-
},
|
|
28
|
-
archlinux: {
|
|
29
|
-
familyId: 'archlinux',
|
|
30
|
-
distroLike: 'Arch',
|
|
31
|
-
codenameId: 'rolling',
|
|
32
|
-
codenameLikeId: 'rolling',
|
|
33
|
-
liveMediumPath: '/run/archiso/bootmnt/',
|
|
34
|
-
squashfs: 'arch/x86_64/airootfs.sfs'
|
|
35
|
-
},
|
|
36
|
-
fedora: {
|
|
37
|
-
familyId: 'fedora',
|
|
38
|
-
distroLike: 'Fedora',
|
|
39
|
-
codenameId: 'rolling',
|
|
40
|
-
codenameLikeId: 'fedora',
|
|
41
|
-
liveMediumPath: '/run/initramfs/live/'
|
|
42
|
-
},
|
|
43
|
-
alpine: {
|
|
44
|
-
familyId: 'alpine',
|
|
45
|
-
distroLike: 'Alpine',
|
|
46
|
-
codenameId: 'rolling',
|
|
47
|
-
codenameLikeId: 'alpine',
|
|
48
|
-
liveMediumPath: '/mnt/'
|
|
49
|
-
},
|
|
50
|
-
opensuse: {
|
|
51
|
-
familyId: 'opensuse',
|
|
52
|
-
distroLike: 'Opensuse',
|
|
53
|
-
codenameId: 'rolling',
|
|
54
|
-
codenameLikeId: 'opensuse',
|
|
55
|
-
liveMediumPath: '/run/initramfs/live/',
|
|
56
|
-
usrLibPath: '/usr/lib64/'
|
|
57
|
-
},
|
|
58
|
-
openmamba: {
|
|
59
|
-
familyId: 'openmamba',
|
|
60
|
-
distroLike: 'openmamba',
|
|
61
|
-
codenameId: 'rolling',
|
|
62
|
-
codenameLikeId: 'openmamba',
|
|
63
|
-
liveMediumPath: '/run/initramfs/live/'
|
|
64
|
-
},
|
|
65
|
-
voidlinux: {
|
|
66
|
-
familyId: 'voidlinux',
|
|
67
|
-
distroLike: 'Voidlinux',
|
|
68
|
-
codenameId: 'rolling',
|
|
69
|
-
codenameLikeId: 'voidlinux',
|
|
70
|
-
liveMediumPath: '/run/initramfs/live/'
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Special codename configurations
|
|
75
|
-
*/
|
|
76
|
-
const CODENAME_CONFIGS = {
|
|
77
|
-
// Debian versions
|
|
78
|
-
jessie: { distroLike: 'Debian', codenameLikeId: 'jessie', liveMediumPath: '/lib/live/mount/medium/', isCalamaresAvailable: false },
|
|
79
|
-
stretch: { distroLike: 'Debian', codenameLikeId: 'stretch', liveMediumPath: '/lib/live/mount/medium/', isCalamaresAvailable: false },
|
|
80
|
-
buster: { distroLike: 'Debian', codenameLikeId: 'buster' },
|
|
81
|
-
bullseye: { distroLike: 'Debian', codenameLikeId: 'bullseye' },
|
|
82
|
-
bookworm: { distroLike: 'Debian', codenameLikeId: 'bookworm' },
|
|
83
|
-
trixie: { distroLike: 'Debian', codenameLikeId: 'trixie' },
|
|
84
|
-
// Devuan versions
|
|
85
|
-
beowulf: { distroLike: 'Devuan', codenameLikeId: 'beowulf' },
|
|
86
|
-
chimaera: { distroLike: 'Devuan', codenameLikeId: 'chimaera' },
|
|
87
|
-
daedalus: { distroLike: 'Devuan', codenameLikeId: 'daedalus' },
|
|
88
|
-
excalibur: { distroLike: 'Devuan', codenameLikeId: 'excalibur' },
|
|
89
|
-
// Ubuntu versions
|
|
90
|
-
bionic: { distroLike: 'Ubuntu', codenameLikeId: 'bionic', liveMediumPath: '/lib/live/mount/medium/' },
|
|
91
|
-
focal: { distroLike: 'Ubuntu', codenameLikeId: 'focal' },
|
|
92
|
-
jammy: { distroLike: 'Ubuntu', codenameLikeId: 'jammy' },
|
|
93
|
-
noble: { distroLike: 'Ubuntu', codenameLikeId: 'noble' },
|
|
94
|
-
devel: { distroLike: 'Ubuntu', codenameLikeId: 'devel' }
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Distribution family detector
|
|
98
|
-
*/
|
|
99
|
-
class DistroDetector {
|
|
100
|
-
static detectByDistroId(distroId) {
|
|
101
|
-
const fedoraDistros = ['Almalinux', 'Fedora', 'Nobara', 'Rocky'];
|
|
102
|
-
if (distroId === 'Alpine')
|
|
103
|
-
return 'alpine';
|
|
104
|
-
if (fedoraDistros.includes(distroId))
|
|
105
|
-
return 'fedora';
|
|
106
|
-
if (distroId === 'Openmamba')
|
|
107
|
-
return 'openmamba';
|
|
108
|
-
if (distroId.includes('Opensuse'))
|
|
109
|
-
return 'opensuse';
|
|
110
|
-
if (distroId === 'Voidlinux')
|
|
111
|
-
return 'voidlinux';
|
|
112
|
-
return null;
|
|
113
|
-
}
|
|
114
|
-
static detectByCodename(codenameId) {
|
|
115
|
-
if (codenameId === 'rolling' || codenameId === 'n/a')
|
|
116
|
-
return 'archlinux';
|
|
117
|
-
if (CODENAME_CONFIGS[codenameId])
|
|
118
|
-
return 'debian'; // All debian-family codenames
|
|
119
|
-
return null;
|
|
120
|
-
}
|
|
121
|
-
static detectFromDerivatives(distroId, codenameId) {
|
|
122
|
-
// Check debian/arch derivatives
|
|
123
|
-
const derivativesPath = this.getDerivativesPath('derivatives.yaml');
|
|
124
|
-
if (fs.existsSync(derivativesPath)) {
|
|
125
|
-
const result = this.searchInDerivatives(derivativesPath, codenameId);
|
|
126
|
-
if (result)
|
|
127
|
-
return result;
|
|
128
|
-
}
|
|
129
|
-
// Check fedora derivatives
|
|
130
|
-
const fedoraDerivativesPath = this.getDerivativesPath('derivatives_fedora.yaml');
|
|
131
|
-
if (fs.existsSync(fedoraDerivativesPath)) {
|
|
132
|
-
const result = this.searchInFedoraDerivatives(fedoraDerivativesPath, distroId);
|
|
133
|
-
if (result)
|
|
134
|
-
return result;
|
|
135
|
-
}
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
static getDerivativesPath(filename) {
|
|
139
|
-
const userPath = `/etc/penguins-eggs.d/${filename}`;
|
|
140
|
-
const defaultPath = path.resolve(__dirname, `../../conf/${filename}`);
|
|
141
|
-
return fs.existsSync(userPath) ? userPath : defaultPath;
|
|
142
|
-
}
|
|
143
|
-
static searchInDerivatives(filePath, codenameId) {
|
|
144
|
-
try {
|
|
145
|
-
const content = fs.readFileSync(filePath, 'utf8');
|
|
146
|
-
const distros = yaml.load(content);
|
|
147
|
-
for (const distro of distros) {
|
|
148
|
-
if (distro.ids?.includes(codenameId)) {
|
|
149
|
-
return {
|
|
150
|
-
familyId: distro.family,
|
|
151
|
-
config: {
|
|
152
|
-
distroLike: distro.distroLike,
|
|
153
|
-
codenameLikeId: distro.id,
|
|
154
|
-
familyId: distro.family
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
catch (error) {
|
|
161
|
-
console.warn(`Warning: Could not read derivatives file ${filePath}:`, error);
|
|
162
|
-
}
|
|
163
|
-
return null;
|
|
164
|
-
}
|
|
165
|
-
static searchInFedoraDerivatives(filePath, distroId) {
|
|
166
|
-
try {
|
|
167
|
-
const content = fs.readFileSync(filePath, 'utf8');
|
|
168
|
-
const distros = yaml.load(content);
|
|
169
|
-
if (distros.includes(distroId)) {
|
|
170
|
-
return {
|
|
171
|
-
familyId: 'fedora',
|
|
172
|
-
config: {
|
|
173
|
-
familyId: 'fedora',
|
|
174
|
-
distroLike: 'Fedora',
|
|
175
|
-
codenameId: 'rolling',
|
|
176
|
-
codenameLikeId: 'fedora',
|
|
177
|
-
liveMediumPath: '/run/initramfs/live/'
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
catch (error) {
|
|
183
|
-
console.warn(`Warning: Could not read fedora derivatives file ${filePath}:`, error);
|
|
184
|
-
}
|
|
185
|
-
return null;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* OS Release parser
|
|
190
|
-
*/
|
|
191
|
-
class OsReleaseParser {
|
|
192
|
-
static parseUrls() {
|
|
193
|
-
const defaultUrls = {
|
|
194
|
-
homeUrl: 'https://penguins-eggs.net',
|
|
195
|
-
supportUrl: 'https://penguins-eggs.net',
|
|
196
|
-
bugReportUrl: 'https://github.com/pieroproietti/penguins-eggs/issues'
|
|
197
|
-
};
|
|
198
|
-
const osReleasePath = '/etc/os-release';
|
|
199
|
-
if (!fs.existsSync(osReleasePath)) {
|
|
200
|
-
return defaultUrls;
|
|
201
|
-
}
|
|
202
|
-
try {
|
|
203
|
-
const data = fs.readFileSync(osReleasePath, 'utf8');
|
|
204
|
-
const lines = data.split('\n');
|
|
205
|
-
const result = { ...defaultUrls };
|
|
206
|
-
for (const line of lines) {
|
|
207
|
-
if (line.startsWith('HOME_URL=')) {
|
|
208
|
-
result.homeUrl = line.slice('HOME_URL='.length).replaceAll('"', '');
|
|
209
|
-
}
|
|
210
|
-
else if (line.startsWith('SUPPORT_URL=')) {
|
|
211
|
-
result.supportUrl = line.slice('SUPPORT_URL='.length).replaceAll('"', '');
|
|
212
|
-
}
|
|
213
|
-
else if (line.startsWith('BUG_REPORT_URL=')) {
|
|
214
|
-
result.bugReportUrl = line.slice('BUG_REPORT_URL='.length).replaceAll('"', '');
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
return result;
|
|
218
|
-
}
|
|
219
|
-
catch (error) {
|
|
220
|
-
console.warn('Warning: Could not parse /etc/os-release:', error);
|
|
221
|
-
return defaultUrls;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* Distribution configurator
|
|
227
|
-
*/
|
|
228
|
-
class DistroConfigurator {
|
|
229
|
-
static applySpecialConfigurations(config) {
|
|
230
|
-
// Apply family-specific configurations
|
|
231
|
-
this.applyFamilySpecificConfig(config);
|
|
232
|
-
// Apply distro-specific configurations
|
|
233
|
-
this.applyDistroSpecificConfig(config);
|
|
234
|
-
}
|
|
235
|
-
static applyFamilySpecificConfig(config) {
|
|
236
|
-
// Debian family: dynamic usrLibPath
|
|
237
|
-
if (config.familyId === 'debian') {
|
|
238
|
-
config.usrLibPath = '/usr/lib/' + Utils.usrLibPath();
|
|
239
|
-
}
|
|
240
|
-
// OpenSUSE: specific usrLibPath
|
|
241
|
-
if (config.familyId === 'opensuse') {
|
|
242
|
-
config.usrLibPath = '/usr/lib64/';
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
static applyDistroSpecificConfig(config) {
|
|
246
|
-
// Manjaro-based distributions
|
|
247
|
-
if (Diversions.isManjaroBased(config.distroId)) {
|
|
248
|
-
config.liveMediumPath = '/run/miso/bootmnt/';
|
|
249
|
-
config.squashfs = 'manjaro/x86_64/livefs.sfs';
|
|
250
|
-
config.codenameId = shell.exec('lsb_release -cs', { silent: true }).stdout.toString().trim();
|
|
251
|
-
}
|
|
252
|
-
// BigLinux variants
|
|
253
|
-
if (config.distroId.includes('Biglinux')) {
|
|
254
|
-
config.distroId = 'Biglinux';
|
|
255
|
-
}
|
|
256
|
-
if (config.distroId.includes('Bigcommunity')) {
|
|
257
|
-
config.distroId = 'Bigcommunity';
|
|
258
|
-
}
|
|
259
|
-
// Debian sid → trixie
|
|
260
|
-
if (config.distroId === 'Debian' && config.codenameId === 'sid') {
|
|
261
|
-
config.codenameId = 'trixie';
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Main Distro class - Refactored
|
|
17
|
+
* Classe
|
|
267
18
|
*/
|
|
268
19
|
class Distro {
|
|
269
20
|
bugReportUrl;
|
|
@@ -281,124 +32,343 @@ class Distro {
|
|
|
281
32
|
syslinuxPath;
|
|
282
33
|
usrLibPath;
|
|
283
34
|
/**
|
|
284
|
-
*
|
|
35
|
+
* Costruttore
|
|
285
36
|
*/
|
|
286
37
|
constructor() {
|
|
287
|
-
//
|
|
288
|
-
this.
|
|
289
|
-
|
|
38
|
+
// Tutti i default sono per Debian
|
|
39
|
+
this.bugReportUrl = 'https://github.com-pieroproietti/penguins-eggs/issue';
|
|
40
|
+
this.codenameId = '';
|
|
41
|
+
this.codenameLikeId = '';
|
|
42
|
+
this.distroId = '';
|
|
43
|
+
this.distroLike = '';
|
|
44
|
+
this.familyId = 'debian';
|
|
45
|
+
this.homeUrl = 'https://penguins-eggs.net';
|
|
46
|
+
this.isCalamaresAvailable = true;
|
|
47
|
+
this.liveMediumPath = '/run/live/medium/';
|
|
48
|
+
this.releaseId = '';
|
|
49
|
+
this.squashfs = 'live/filesystem.squashfs';
|
|
50
|
+
this.supportUrl = 'https://penguins-eggs.net';
|
|
51
|
+
this.syslinuxPath = path.resolve(__dirname, `../../syslinux`);
|
|
52
|
+
this.usrLibPath = '/usr/lib';
|
|
53
|
+
/**
|
|
54
|
+
* getOsRelease
|
|
55
|
+
*/
|
|
290
56
|
const osInfo = Utils.getOsRelease();
|
|
291
57
|
this.distroId = osInfo.ID;
|
|
292
58
|
this.codenameId = osInfo.VERSION_CODENAME;
|
|
293
59
|
this.releaseId = osInfo.VERSION_ID;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
60
|
+
if (this.distroId === 'Debian' && this.codenameId === 'sid') {
|
|
61
|
+
this.codenameId = 'trixie';
|
|
62
|
+
}
|
|
63
|
+
if (this.distroId.includes('Biglinux')) {
|
|
64
|
+
this.distroId = "Biglinux";
|
|
65
|
+
}
|
|
66
|
+
if (this.distroId.includes('Bigcommunity')) {
|
|
67
|
+
this.distroId = "Bigcommunity";
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Alpine, Fedora, openmamba, opensuse, VoidLinux solo distroId.
|
|
71
|
+
*
|
|
72
|
+
* Debian, Devuan, Ubuntu e derivate ricadono in
|
|
73
|
+
* default e si analizza il codebaseId
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
if (this.distroId === 'Aldus') {
|
|
77
|
+
this.familyId = 'aldus';
|
|
78
|
+
this.distroLike = this.distroId;
|
|
79
|
+
this.codenameId = 'rolling'; // viene rimosso dal nome
|
|
80
|
+
this.codenameLikeId = this.familyId; // per krill
|
|
81
|
+
this.liveMediumPath = '/run/initramfs/live/';
|
|
82
|
+
/**
|
|
83
|
+
* Alpine compatible
|
|
84
|
+
*/
|
|
85
|
+
}
|
|
86
|
+
else if (this.distroId === 'Alpine') {
|
|
87
|
+
this.familyId = 'alpine';
|
|
88
|
+
this.distroLike = this.distroId;
|
|
89
|
+
this.codenameId = 'rolling'; // viene rimosso dal nome
|
|
90
|
+
this.codenameLikeId = this.familyId; // per krill
|
|
91
|
+
this.liveMediumPath = '/mnt/'; // Qua è deciso da noi
|
|
92
|
+
/**
|
|
93
|
+
* Fedora/RHEL compatible
|
|
94
|
+
*/
|
|
95
|
+
//} else if (this.distroId === 'Fedora') {
|
|
96
|
+
}
|
|
97
|
+
else if (this.distroId === 'Almalinux' ||
|
|
98
|
+
this.distroId === 'Fedora' ||
|
|
99
|
+
this.distroId === 'Nobara' ||
|
|
100
|
+
this.distroId === 'Rocky') {
|
|
101
|
+
/**
|
|
102
|
+
* Almalinux temp notes:
|
|
103
|
+
* install nodejs 18
|
|
104
|
+
* curl -fsSL https://rpm.nodesource.com/setup_18.x -o nodesource_setup.sh
|
|
105
|
+
* sudo bash nodesource_setup.sh
|
|
106
|
+
*
|
|
107
|
+
* install shasum
|
|
108
|
+
* sudo dnf install -y perl-Digest-SHA
|
|
109
|
+
*/
|
|
110
|
+
this.familyId = 'fedora';
|
|
111
|
+
this.distroLike = 'Fedora';
|
|
112
|
+
this.codenameId = 'rolling'; // viene rimosso dal nome
|
|
113
|
+
this.codenameLikeId = this.familyId; // per krill
|
|
114
|
+
this.liveMediumPath = '/run/initramfs/live/';
|
|
115
|
+
/**
|
|
116
|
+
* openmamba
|
|
117
|
+
*/
|
|
118
|
+
}
|
|
119
|
+
else if (this.distroId === 'Openmamba') {
|
|
120
|
+
this.familyId = 'openmamba';
|
|
121
|
+
this.distroLike = 'openmamba';
|
|
122
|
+
this.codenameId = 'rolling'; // viene rimosso dal nome
|
|
123
|
+
this.codenameLikeId = this.familyId; // per krill
|
|
124
|
+
this.liveMediumPath = '/run/initramfs/live/';
|
|
125
|
+
/**
|
|
126
|
+
* opensuse compatible
|
|
127
|
+
*/
|
|
128
|
+
}
|
|
129
|
+
else if (this.distroId.includes('Opensuse')) {
|
|
130
|
+
this.familyId = 'opensuse';
|
|
131
|
+
this.distroLike = 'Opensuse'; // this.distroId
|
|
132
|
+
this.codenameId = 'rolling'; // sistemare non
|
|
133
|
+
this.codenameLikeId = this.familyId; // per krill
|
|
134
|
+
this.liveMediumPath = '/run/initramfs/live/'; // check
|
|
135
|
+
/**
|
|
136
|
+
* voidlinux compatible
|
|
137
|
+
*/
|
|
138
|
+
}
|
|
139
|
+
else if (this.distroId === 'Voidlinux') {
|
|
140
|
+
this.familyId = 'voidlinux';
|
|
141
|
+
this.distroLike = this.distroId;
|
|
142
|
+
this.codenameId = 'rolling';
|
|
143
|
+
this.codenameLikeId = this.familyId; // per krill
|
|
144
|
+
this.liveMediumPath = '/run/initramfs/live/'; // we must discover
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
/**
|
|
148
|
+
* We must analize codenameId
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* Arch
|
|
152
|
+
*/
|
|
153
|
+
if (this.codenameId === 'rolling' || this.codenameId === 'n/a') {
|
|
154
|
+
this.familyId = 'archlinux';
|
|
155
|
+
this.distroLike = 'Arch';
|
|
156
|
+
this.codenameId = 'rolling';
|
|
157
|
+
this.codenameLikeId = 'rolling';
|
|
158
|
+
this.liveMediumPath = '/run/archiso/bootmnt/';
|
|
159
|
+
this.squashfs = `arch/x86_64/airootfs.sfs`;
|
|
160
|
+
/**
|
|
161
|
+
* Debian jessie
|
|
162
|
+
*/
|
|
163
|
+
}
|
|
164
|
+
else if (this.codenameId === 'jessie') {
|
|
165
|
+
this.distroLike = 'Debian';
|
|
166
|
+
this.codenameLikeId = 'jessie';
|
|
167
|
+
this.liveMediumPath = '/lib/live/mount/medium/';
|
|
168
|
+
this.isCalamaresAvailable = false;
|
|
169
|
+
/**
|
|
170
|
+
* Debian stretch
|
|
171
|
+
*/
|
|
172
|
+
}
|
|
173
|
+
else if (this.codenameId === 'stretch') {
|
|
174
|
+
this.distroLike = 'Debian';
|
|
175
|
+
this.codenameLikeId = 'stretch';
|
|
176
|
+
this.liveMediumPath = '/lib/live/mount/medium/';
|
|
177
|
+
this.isCalamaresAvailable = false;
|
|
178
|
+
/**
|
|
179
|
+
* Debian buster
|
|
180
|
+
*/
|
|
181
|
+
}
|
|
182
|
+
else if (this.codenameId === 'buster') {
|
|
183
|
+
this.distroLike = 'Debian';
|
|
184
|
+
this.codenameLikeId = 'buster';
|
|
185
|
+
/**
|
|
186
|
+
* Debian bullseye
|
|
187
|
+
*/
|
|
188
|
+
}
|
|
189
|
+
else if (this.codenameId === 'bullseye') {
|
|
190
|
+
this.distroLike = 'Debian';
|
|
191
|
+
this.codenameLikeId = 'bullseye';
|
|
192
|
+
/**
|
|
193
|
+
* Debian bookworm
|
|
194
|
+
*/
|
|
195
|
+
}
|
|
196
|
+
else if (this.codenameId === 'bookworm') {
|
|
197
|
+
this.distroLike = 'Debian';
|
|
198
|
+
this.codenameLikeId = 'bookworm';
|
|
199
|
+
/**
|
|
200
|
+
* Debian trixie
|
|
201
|
+
*/
|
|
202
|
+
}
|
|
203
|
+
else if (this.codenameId === 'trixie') {
|
|
204
|
+
this.distroLike = 'Debian';
|
|
205
|
+
this.codenameLikeId = 'trixie';
|
|
206
|
+
/**
|
|
207
|
+
* Devuan beowulf
|
|
208
|
+
*/
|
|
209
|
+
}
|
|
210
|
+
else if (this.codenameId === 'beowulf') {
|
|
211
|
+
this.distroLike = 'Devuan';
|
|
212
|
+
this.codenameLikeId = 'beowulf';
|
|
213
|
+
/**
|
|
214
|
+
* Devuan chimaera
|
|
215
|
+
*/
|
|
216
|
+
}
|
|
217
|
+
else if (this.codenameId === 'chimaera') {
|
|
218
|
+
this.distroLike = 'Devuan';
|
|
219
|
+
this.codenameLikeId = 'chimaera';
|
|
220
|
+
/**
|
|
221
|
+
* Devuan daedalus
|
|
222
|
+
*/
|
|
223
|
+
}
|
|
224
|
+
else if (this.codenameId === 'daedalus') {
|
|
225
|
+
this.distroLike = 'Devuan';
|
|
226
|
+
this.codenameLikeId = 'daedalus';
|
|
227
|
+
/**
|
|
228
|
+
* Devuan excalibur
|
|
229
|
+
*/
|
|
230
|
+
}
|
|
231
|
+
else if (this.codenameId === 'excalibur') {
|
|
232
|
+
this.distroLike = 'Devuan';
|
|
233
|
+
this.codenameLikeId = 'excalibur';
|
|
234
|
+
/**
|
|
235
|
+
* Ubuntu bionic
|
|
236
|
+
*/
|
|
237
|
+
}
|
|
238
|
+
else if (this.codenameId === 'bionic') {
|
|
239
|
+
this.distroLike = 'Ubuntu';
|
|
240
|
+
this.codenameLikeId = 'bionic';
|
|
241
|
+
this.liveMediumPath = '/lib/live/mount/medium/';
|
|
242
|
+
/**
|
|
243
|
+
* Ubuntu focal
|
|
244
|
+
*/
|
|
245
|
+
}
|
|
246
|
+
else if (this.codenameId === 'focal') {
|
|
247
|
+
this.distroLike = 'Ubuntu';
|
|
248
|
+
this.codenameLikeId = 'focal';
|
|
249
|
+
/**
|
|
250
|
+
* Ubuntu jammy
|
|
251
|
+
*/
|
|
252
|
+
}
|
|
253
|
+
else if (this.codenameId === 'jammy') {
|
|
254
|
+
this.distroLike = 'Ubuntu';
|
|
255
|
+
this.codenameLikeId = 'jammy';
|
|
256
|
+
/**
|
|
257
|
+
* Ubuntu noble
|
|
258
|
+
*/
|
|
259
|
+
}
|
|
260
|
+
else if (this.codenameId === 'noble') {
|
|
261
|
+
this.distroLike = 'Ubuntu';
|
|
262
|
+
this.codenameLikeId = 'noble';
|
|
263
|
+
/**
|
|
264
|
+
* Ubuntu devel
|
|
265
|
+
*/
|
|
320
266
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
this.
|
|
267
|
+
else if (this.codenameId === 'devel') {
|
|
268
|
+
this.distroLike = 'Ubuntu';
|
|
269
|
+
this.codenameLikeId = 'devel';
|
|
324
270
|
}
|
|
325
271
|
else {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
272
|
+
/**
|
|
273
|
+
* derivatives
|
|
274
|
+
*/
|
|
275
|
+
let found = false;
|
|
276
|
+
/**
|
|
277
|
+
* derivatives: families archlinux, debian
|
|
278
|
+
*/
|
|
279
|
+
let file = path.resolve(__dirname, '../../conf/derivatives.yaml');
|
|
280
|
+
if (fs.existsSync('/etc/penguins-eggs.d/derivatives.yaml')) {
|
|
281
|
+
file = '/etc/penguins-eggs.d/derivatives.yaml';
|
|
330
282
|
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
283
|
+
const content = fs.readFileSync(file, 'utf8');
|
|
284
|
+
const distros = yaml.load(content);
|
|
285
|
+
for (const distro of distros) {
|
|
286
|
+
if (distro.ids !== undefined) {
|
|
287
|
+
for (let n = 0; n < distro.ids.length; n++) {
|
|
288
|
+
if (this.codenameId === distro.ids[n]) {
|
|
289
|
+
found = true;
|
|
290
|
+
this.distroLike = distro.distroLike;
|
|
291
|
+
this.codenameLikeId = distro.id;
|
|
292
|
+
this.familyId = distro.family;
|
|
293
|
+
found = true;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* derivatives: family fedora
|
|
300
|
+
*/
|
|
301
|
+
if (!found) {
|
|
302
|
+
let file = path.resolve(__dirname, '../../conf/derivatives_fedora.yaml');
|
|
303
|
+
if (fs.existsSync('/etc/penguins-eggs.d/derivatives_fedora.yaml')) {
|
|
304
|
+
file = '/etc/penguins-eggs.d/derivatives_fedora.yaml';
|
|
305
|
+
}
|
|
306
|
+
const content = fs.readFileSync(file, 'utf8');
|
|
307
|
+
const elem = yaml.load(content);
|
|
308
|
+
if (elem.includes(this.distroId)) {
|
|
309
|
+
this.familyId = 'fedora';
|
|
310
|
+
this.distroLike = 'Fedora';
|
|
311
|
+
this.codenameId = 'rolling';
|
|
312
|
+
this.codenameLikeId = this.familyId;
|
|
313
|
+
this.liveMediumPath = '/run/initramfs/live/';
|
|
314
|
+
found = true;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
if (!found) {
|
|
318
|
+
console.log(`This distro ${this.distroId}/${this.codenameId} is not yet recognized!`);
|
|
319
|
+
console.log('');
|
|
320
|
+
console.log('You can edit /usr/lib/penguins-eggs/conf/derivatives.yaml to add it -');
|
|
321
|
+
console.log('after that - run: sudo eggs dad -d to re-configure eggs.');
|
|
322
|
+
console.log('If you can create your new iso, you can contribute to the project');
|
|
323
|
+
console.log('by suggesting your modification.');
|
|
324
|
+
process.exit(0);
|
|
334
325
|
}
|
|
335
326
|
}
|
|
336
|
-
// Step 5: Apply codename-specific configurations
|
|
337
|
-
this.applyCodenameConfig();
|
|
338
|
-
// Step 6: Apply special configurations
|
|
339
|
-
DistroConfigurator.applySpecialConfigurations(this);
|
|
340
327
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
328
|
+
/**
|
|
329
|
+
* Ultimi ritocchi
|
|
330
|
+
*/
|
|
331
|
+
/**
|
|
332
|
+
* Debian: /usr/lib/x86_64-linux-gnu
|
|
333
|
+
* /usr/lib/aarch64-linux-gnu
|
|
334
|
+
*/
|
|
335
|
+
if (this.familyId === "debian") {
|
|
336
|
+
this.usrLibPath = '/usr/lib/' + Utils.usrLibPath();
|
|
344
337
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
* Apply family-based configuration
|
|
348
|
-
*/
|
|
349
|
-
applyFamilyConfig(familyId) {
|
|
350
|
-
const config = FAMILY_CONFIGS[familyId];
|
|
351
|
-
this.familyId = config.familyId;
|
|
352
|
-
this.distroLike = config.distroLike;
|
|
353
|
-
if (config.codenameId)
|
|
354
|
-
this.codenameId = config.codenameId;
|
|
355
|
-
if (config.codenameLikeId)
|
|
356
|
-
this.codenameLikeId = config.codenameLikeId;
|
|
357
|
-
if (config.liveMediumPath)
|
|
358
|
-
this.liveMediumPath = config.liveMediumPath;
|
|
359
|
-
if (config.squashfs)
|
|
360
|
-
this.squashfs = config.squashfs;
|
|
361
|
-
if (config.usrLibPath)
|
|
362
|
-
this.usrLibPath = config.usrLibPath;
|
|
363
|
-
if (config.isCalamaresAvailable !== undefined)
|
|
364
|
-
this.isCalamaresAvailable = config.isCalamaresAvailable;
|
|
365
|
-
}
|
|
366
|
-
/**
|
|
367
|
-
* Apply custom configuration from derivatives
|
|
368
|
-
*/
|
|
369
|
-
applyCustomConfig(familyId, config) {
|
|
370
|
-
this.familyId = familyId;
|
|
371
|
-
// Apply base family config first
|
|
372
|
-
if (FAMILY_CONFIGS[familyId]) {
|
|
373
|
-
this.applyFamilyConfig(familyId);
|
|
338
|
+
else if (this.familyId === "opensuse") {
|
|
339
|
+
this.usrLibPath = '/usr/lib64/';
|
|
374
340
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
341
|
+
/**
|
|
342
|
+
* Manjarolinux e derivate
|
|
343
|
+
*/
|
|
344
|
+
if (Diversions.isManjaroBased(this.distroId)) {
|
|
345
|
+
this.liveMediumPath = '/run/miso/bootmnt/';
|
|
346
|
+
this.squashfs = 'manjaro/x86_64/livefs.sfs';
|
|
347
|
+
this.codenameId = shell.exec(`lsb_release -cs`, { silent: true }).stdout.toString().trim();
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* lettura os_release per i pulsanti
|
|
351
|
+
*/
|
|
352
|
+
const os_release = '/etc/os-release';
|
|
353
|
+
if (fs.existsSync(os_release)) {
|
|
354
|
+
let lines = [];
|
|
355
|
+
if (fs.existsSync(os_release)) {
|
|
356
|
+
const data = fs.readFileSync(os_release, 'utf8');
|
|
357
|
+
lines = data.split('\n');
|
|
358
|
+
}
|
|
359
|
+
// per ogni riga
|
|
360
|
+
for (const line of lines) {
|
|
361
|
+
if (line.startsWith('HOME_URL=')) {
|
|
362
|
+
this.homeUrl = line.slice('HOME_URL='.length).replaceAll('"', '');
|
|
363
|
+
}
|
|
364
|
+
else if (line.startsWith('SUPPORT_URL=')) {
|
|
365
|
+
this.supportUrl = line.slice('SUPPORT_URL='.length).replaceAll('"', '');
|
|
366
|
+
}
|
|
367
|
+
else if (line.startsWith('BUG_REPORT_URL=')) {
|
|
368
|
+
this.bugReportUrl = line.slice('BUG_REPORT_URL='.length).replaceAll('"', '');
|
|
369
|
+
}
|
|
388
370
|
}
|
|
389
371
|
}
|
|
390
372
|
}
|
|
391
|
-
/**
|
|
392
|
-
* Handle unknown distribution
|
|
393
|
-
*/
|
|
394
|
-
handleUnknownDistro() {
|
|
395
|
-
console.log(`This distro ${this.distroId}/${this.codenameId} is not yet recognized!`);
|
|
396
|
-
console.log('');
|
|
397
|
-
console.log('You can edit /usr/lib/penguins-eggs/conf/derivatives.yaml to add it -');
|
|
398
|
-
console.log('after that - run: sudo eggs dad -d to re-configure eggs.');
|
|
399
|
-
console.log('If you can create your new iso, you can contribute to the project');
|
|
400
|
-
console.log('by suggesting your modification.');
|
|
401
|
-
process.exit(0);
|
|
402
|
-
}
|
|
403
373
|
}
|
|
404
374
|
export default Distro;
|