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
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ./src/classes/utils.d/network.ts
|
|
3
|
-
* penguins-eggs v.10.0.0 / ecmascript 2020
|
|
4
|
-
* Network configuration utilities - IP, DNS, gateway detection
|
|
5
|
-
* author: Piero Proietti
|
|
6
|
-
* email: piero.proietti@gmail.com
|
|
7
|
-
* license: MIT
|
|
8
|
-
*/
|
|
9
|
-
import dns from 'dns';
|
|
10
|
-
import os from 'os';
|
|
11
|
-
import shx from 'shelljs';
|
|
12
|
-
import { Netmask } from 'netmask';
|
|
13
|
-
export default class Network {
|
|
14
|
-
/**
|
|
15
|
-
* return the name of network device
|
|
16
|
-
*/
|
|
17
|
-
static async iface() {
|
|
18
|
-
// return shx.exec(`ifconfig | awk 'FNR==1 { print $1 }' | tr --d :`, { silent: true }).stdout.trim()
|
|
19
|
-
const interfaces = Object.keys(os.networkInterfaces());
|
|
20
|
-
let netDeviceName = '';
|
|
21
|
-
for (const k in interfaces) {
|
|
22
|
-
if (interfaces[k] != 'lo') {
|
|
23
|
-
netDeviceName = interfaces[k];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return netDeviceName;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* address
|
|
30
|
-
*/
|
|
31
|
-
static address() {
|
|
32
|
-
const interfaces = os.networkInterfaces();
|
|
33
|
-
let address = '';
|
|
34
|
-
if (interfaces !== undefined) {
|
|
35
|
-
for (const devName in interfaces) {
|
|
36
|
-
const iface = interfaces[devName];
|
|
37
|
-
if (iface !== undefined) {
|
|
38
|
-
for (const alias of iface) {
|
|
39
|
-
if (alias.family === 'IPv4' &&
|
|
40
|
-
alias.address !== '127.0.0.1' &&
|
|
41
|
-
!alias.internal) {
|
|
42
|
-
// take just the first!
|
|
43
|
-
if (address === '') {
|
|
44
|
-
address = alias.address;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return address;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* netmask
|
|
55
|
-
*/
|
|
56
|
-
static netmask() {
|
|
57
|
-
const interfaces = os.networkInterfaces();
|
|
58
|
-
let netmask = '';
|
|
59
|
-
if (interfaces !== undefined) {
|
|
60
|
-
for (const devName in interfaces) {
|
|
61
|
-
const iface = interfaces[devName];
|
|
62
|
-
if (iface !== undefined) {
|
|
63
|
-
for (const alias of iface) {
|
|
64
|
-
if (alias.family === 'IPv4' &&
|
|
65
|
-
alias.address !== '127.0.0.1' &&
|
|
66
|
-
!alias.internal) {
|
|
67
|
-
// take just the first!
|
|
68
|
-
if (netmask === '') {
|
|
69
|
-
netmask = alias.netmask;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return netmask;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* cidr
|
|
80
|
-
*/
|
|
81
|
-
static cidr() {
|
|
82
|
-
const interfaces = os.networkInterfaces();
|
|
83
|
-
let cidr = '';
|
|
84
|
-
if (interfaces !== undefined) {
|
|
85
|
-
for (const devName in interfaces) {
|
|
86
|
-
const iface = interfaces[devName];
|
|
87
|
-
if (iface !== undefined) {
|
|
88
|
-
for (const alias of iface) {
|
|
89
|
-
if (alias.family === 'IPv4' &&
|
|
90
|
-
alias.address !== '127.0.0.1' &&
|
|
91
|
-
!alias.internal) {
|
|
92
|
-
// take just the first!
|
|
93
|
-
if (cidr === '') {
|
|
94
|
-
if (alias.cidr !== null) {
|
|
95
|
-
cidr = alias.cidr;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
return cidr;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* broadcast
|
|
108
|
-
*/
|
|
109
|
-
static broadcast() {
|
|
110
|
-
let n = new Netmask(Network.cidr());
|
|
111
|
-
return n.broadcast;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* dns
|
|
115
|
-
*/
|
|
116
|
-
static getDns() {
|
|
117
|
-
return dns.getServers();
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* getDomain
|
|
121
|
-
*/
|
|
122
|
-
static getDomain() {
|
|
123
|
-
return shx.exec('domainname', { silent: true }).stdout.trim();
|
|
124
|
-
// return shx.exec(`route -n | grep 'UG[ \t]' | awk '{print $2}'`, { silent: true }).stdout.trim()
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* @returns gateway
|
|
128
|
-
*/
|
|
129
|
-
static gateway() {
|
|
130
|
-
return shx.exec(`ip r | grep 'default' | awk '{print $3}'`, { silent: true }).stdout.trim();
|
|
131
|
-
//return shx.exec(`route -n | grep 'UG[ \t]' | awk '{print $2}'`, { silent: true }).stdout.trim()
|
|
132
|
-
}
|
|
133
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ./src/classes/utils.d/package-info.ts
|
|
3
|
-
* penguins-eggs v.10.0.0 / ecmascript 2020
|
|
4
|
-
* Package information and installation mode detection utilities
|
|
5
|
-
* author: Piero Proietti
|
|
6
|
-
* email: piero.proietti@gmail.com
|
|
7
|
-
* license: MIT
|
|
8
|
-
*/
|
|
9
|
-
export default class PackageInfo {
|
|
10
|
-
/**
|
|
11
|
-
* return the name of the package: penguins-eggs
|
|
12
|
-
* @returns penguins-eggs
|
|
13
|
-
*/
|
|
14
|
-
static getPackageName(): string;
|
|
15
|
-
/**
|
|
16
|
-
* return the short name of the package: eggs
|
|
17
|
-
* @returns eggs
|
|
18
|
-
*/
|
|
19
|
-
static getFriendName(): string;
|
|
20
|
-
/**
|
|
21
|
-
* return the version of the package
|
|
22
|
-
* @returns version example 8.0.0
|
|
23
|
-
*/
|
|
24
|
-
static getPackageVersion(): string;
|
|
25
|
-
/**
|
|
26
|
-
* Get author name
|
|
27
|
-
*/
|
|
28
|
-
static getAuthorName(): string;
|
|
29
|
-
/**
|
|
30
|
-
* Controlla se è un pacchetto deb
|
|
31
|
-
* /usr/lib/penguins-eggs/bin/node
|
|
32
|
-
*/
|
|
33
|
-
static isPackage(): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Controlla se è un pacchetto sorgente
|
|
36
|
-
*/
|
|
37
|
-
static isSources(): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Controlla se è un pacchetto npm
|
|
40
|
-
*/
|
|
41
|
-
static isNpmPackage(): boolean;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
static rootPenguin(): string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @returns wardrobe
|
|
49
|
-
*/
|
|
50
|
-
static wardrobe(): Promise<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Return the primary user's name
|
|
53
|
-
*/
|
|
54
|
-
static getPrimaryUser(): Promise<string>;
|
|
55
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ./src/classes/utils.d/package-info.ts
|
|
3
|
-
* penguins-eggs v.10.0.0 / ecmascript 2020
|
|
4
|
-
* Package information and installation mode detection utilities
|
|
5
|
-
* author: Piero Proietti
|
|
6
|
-
* email: piero.proietti@gmail.com
|
|
7
|
-
* license: MIT
|
|
8
|
-
*/
|
|
9
|
-
import path from 'path';
|
|
10
|
-
import os from 'os';
|
|
11
|
-
import System from './system.js';
|
|
12
|
-
// pjson
|
|
13
|
-
import { createRequire } from 'module';
|
|
14
|
-
const require = createRequire(import.meta.url);
|
|
15
|
-
const pjson = require('../../../package.json');
|
|
16
|
-
// __dirname
|
|
17
|
-
const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
18
|
-
export default class PackageInfo {
|
|
19
|
-
/**
|
|
20
|
-
* return the name of the package: penguins-eggs
|
|
21
|
-
* @returns penguins-eggs
|
|
22
|
-
*/
|
|
23
|
-
static getPackageName() {
|
|
24
|
-
return pjson.shortName;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* return the short name of the package: eggs
|
|
28
|
-
* @returns eggs
|
|
29
|
-
*/
|
|
30
|
-
static getFriendName() {
|
|
31
|
-
return pjson.shortName;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* return the version of the package
|
|
35
|
-
* @returns version example 8.0.0
|
|
36
|
-
*/
|
|
37
|
-
static getPackageVersion() {
|
|
38
|
-
return pjson.version;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Get author name
|
|
42
|
-
*/
|
|
43
|
-
static getAuthorName() {
|
|
44
|
-
return 'Piero Proietti piero.proietti@gmail.com';
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Controlla se è un pacchetto deb
|
|
48
|
-
* /usr/lib/penguins-eggs/bin/node
|
|
49
|
-
*/
|
|
50
|
-
static isPackage() {
|
|
51
|
-
let ret = false;
|
|
52
|
-
//if (process.execPath !== '/usr/bin/node') {
|
|
53
|
-
if (process.execPath === '/usr/lib/penguins-eggs/bin/node') {
|
|
54
|
-
ret = true;
|
|
55
|
-
}
|
|
56
|
-
return ret;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Controlla se è un pacchetto sorgente
|
|
60
|
-
*/
|
|
61
|
-
static isSources() {
|
|
62
|
-
let ret = false;
|
|
63
|
-
if (__dirname.substring(0, 6) === '/home/') {
|
|
64
|
-
ret = true;
|
|
65
|
-
}
|
|
66
|
-
return ret;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Controlla se è un pacchetto npm
|
|
70
|
-
*/
|
|
71
|
-
static isNpmPackage() {
|
|
72
|
-
return !(this.isPackage() || this.isSources());
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
static rootPenguin() {
|
|
78
|
-
return path.resolve(__dirname, '../../../');
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @returns wardrobe
|
|
83
|
-
*/
|
|
84
|
-
static async wardrobe() {
|
|
85
|
-
let wardrobe = `${os.homedir()}/.wardrobe`;
|
|
86
|
-
if (System.isRoot()) {
|
|
87
|
-
wardrobe = `/home/${await PackageInfo.getPrimaryUser()}/.wardrobe`;
|
|
88
|
-
}
|
|
89
|
-
return wardrobe;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Return the primary user's name
|
|
93
|
-
*/
|
|
94
|
-
static async getPrimaryUser() {
|
|
95
|
-
const { execSync } = require('child_process');
|
|
96
|
-
let primaryUser = '';
|
|
97
|
-
try {
|
|
98
|
-
// Attempt to get the user from logname
|
|
99
|
-
primaryUser = execSync('/usr/bin/logname 2>/dev/null', { encoding: 'utf-8' }).trim();
|
|
100
|
-
}
|
|
101
|
-
catch (error) {
|
|
102
|
-
// console.log("logname failed, so we continue with other methods")
|
|
103
|
-
}
|
|
104
|
-
if (primaryUser === 'root') {
|
|
105
|
-
primaryUser = '';
|
|
106
|
-
}
|
|
107
|
-
if (primaryUser === '') {
|
|
108
|
-
try {
|
|
109
|
-
// Check if doas is installed and get the DOAS_USER
|
|
110
|
-
execSync('command -v doas', { stdio: 'ignore' });
|
|
111
|
-
primaryUser = execSync('echo $DOAS_USER', { encoding: 'utf-8' }).trim();
|
|
112
|
-
}
|
|
113
|
-
catch (error) {
|
|
114
|
-
// console.log("doas is not installed or DOAS_USER is not set, continue with the next method")
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
if (primaryUser === '') {
|
|
118
|
-
try {
|
|
119
|
-
// Check for the SUDO_USER
|
|
120
|
-
primaryUser = execSync('echo $SUDO_USER', { encoding: 'utf-8' }).trim();
|
|
121
|
-
}
|
|
122
|
-
catch (error) {
|
|
123
|
-
// console.log("SUDO_USER is not set, continue with the next method")
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
if (primaryUser === '') {
|
|
127
|
-
// console.log("Fallback to the USER environment variable")
|
|
128
|
-
primaryUser = process.env.USER || '';
|
|
129
|
-
}
|
|
130
|
-
if (primaryUser === '') {
|
|
131
|
-
primaryUser = 'dummy';
|
|
132
|
-
// console.error('Cannot determine the primary user.');
|
|
133
|
-
// process.exit(1);
|
|
134
|
-
}
|
|
135
|
-
return primaryUser;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ./src/classes/utils.d/snapshot.ts
|
|
3
|
-
* penguins-eggs v.10.0.0 / ecmascript 2020
|
|
4
|
-
* Snapshot management utilities - ISO, prefixes, volid
|
|
5
|
-
* author: Piero Proietti
|
|
6
|
-
* email: piero.proietti@gmail.com
|
|
7
|
-
* license: MIT
|
|
8
|
-
*/
|
|
9
|
-
export default class Snapshot {
|
|
10
|
-
/**
|
|
11
|
-
* Restituisce il prefisso della iso
|
|
12
|
-
* @param distroId
|
|
13
|
-
* @param codenameId
|
|
14
|
-
*/
|
|
15
|
-
static snapshotPrefix(distroId: string, codenameId: string): string;
|
|
16
|
-
/**
|
|
17
|
-
* Count the eggs present in the nest
|
|
18
|
-
* @returns {number} Numero degli snapshot presenti
|
|
19
|
-
*/
|
|
20
|
-
static getSnapshotCount(snapshot_dir?: string): number;
|
|
21
|
-
/**
|
|
22
|
-
* Get the syze of the snapshot
|
|
23
|
-
* @returns {string} grandezza dello snapshot in Byte
|
|
24
|
-
*/
|
|
25
|
-
static getSnapshotSize(snapshot_dir?: string): number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @param prefix
|
|
29
|
-
* @param backup
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
static getPrefix(prefix: string, backup?: boolean): string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @param volid
|
|
36
|
-
*/
|
|
37
|
-
static getVolid(volid?: string): string;
|
|
38
|
-
/**
|
|
39
|
-
* Return postfix
|
|
40
|
-
* @param basename
|
|
41
|
-
* @returns eggName
|
|
42
|
-
*/
|
|
43
|
-
static getPostfix(): string;
|
|
44
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ./src/classes/utils.d/snapshot.ts
|
|
3
|
-
* penguins-eggs v.10.0.0 / ecmascript 2020
|
|
4
|
-
* Snapshot management utilities - ISO, prefixes, volid
|
|
5
|
-
* author: Piero Proietti
|
|
6
|
-
* email: piero.proietti@gmail.com
|
|
7
|
-
* license: MIT
|
|
8
|
-
*/
|
|
9
|
-
import fs from 'fs';
|
|
10
|
-
import shx from 'shelljs';
|
|
11
|
-
import Filesystem from './filesystem.js';
|
|
12
|
-
import Formatters from './formatters.js';
|
|
13
|
-
export default class Snapshot {
|
|
14
|
-
/**
|
|
15
|
-
* Restituisce il prefisso della iso
|
|
16
|
-
* @param distroId
|
|
17
|
-
* @param codenameId
|
|
18
|
-
*/
|
|
19
|
-
static snapshotPrefix(distroId, codenameId) {
|
|
20
|
-
let result = `egg-of_${distroId.toLowerCase()}-`;
|
|
21
|
-
if (codenameId === 'rolling' || codenameId === '') {
|
|
22
|
-
const releaseId = Filesystem.getOsRelease().VERSION_ID.trim();
|
|
23
|
-
if (releaseId !== '') {
|
|
24
|
-
result += `${releaseId}-`;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
result += `${codenameId.toLowerCase()}-`;
|
|
29
|
-
}
|
|
30
|
-
// result = result.replace(`/`, '-')
|
|
31
|
-
return result;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Count the eggs present in the nest
|
|
35
|
-
* @returns {number} Numero degli snapshot presenti
|
|
36
|
-
*/
|
|
37
|
-
static getSnapshotCount(snapshot_dir = '/') {
|
|
38
|
-
if (fs.existsSync(snapshot_dir)) {
|
|
39
|
-
const files = fs.readdirSync(snapshot_dir);
|
|
40
|
-
let nIsos = 0;
|
|
41
|
-
for (const f of files) {
|
|
42
|
-
if (f.endsWith('.iso')) {
|
|
43
|
-
nIsos++;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return nIsos;
|
|
47
|
-
}
|
|
48
|
-
return 0;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Get the syze of the snapshot
|
|
52
|
-
* @returns {string} grandezza dello snapshot in Byte
|
|
53
|
-
*/
|
|
54
|
-
static getSnapshotSize(snapshot_dir = '/') {
|
|
55
|
-
let fileSizeInBytes = 0;
|
|
56
|
-
const size = shx.exec(`/usr/bin/find ${snapshot_dir} -maxdepth 1 -type f -name '*.iso' -exec du -sc {} + | tail -1 | awk '{print $1}'`, { silent: true }).stdout.trim();
|
|
57
|
-
if (size === '') {
|
|
58
|
-
fileSizeInBytes = 0;
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
fileSizeInBytes = Number(size);
|
|
62
|
-
}
|
|
63
|
-
return fileSizeInBytes;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @param prefix
|
|
68
|
-
* @param backup
|
|
69
|
-
* @returns
|
|
70
|
-
*/
|
|
71
|
-
static getPrefix(prefix, backup = false) {
|
|
72
|
-
if (backup) {
|
|
73
|
-
if (prefix.substring(0, 7) === 'egg-of_') {
|
|
74
|
-
prefix = 'egg-bk_' + prefix.substring(7);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
prefix = 'egg-bk_' + prefix;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
return prefix;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @param volid
|
|
85
|
-
*/
|
|
86
|
-
static getVolid(volid = 'unknown') {
|
|
87
|
-
// // 28 + 4 .iso = 32 lunghezza max di volid
|
|
88
|
-
if (volid.length >= 32) {
|
|
89
|
-
volid = volid.substring(0, 32);
|
|
90
|
-
}
|
|
91
|
-
return volid;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Return postfix
|
|
95
|
-
* @param basename
|
|
96
|
-
* @returns eggName
|
|
97
|
-
*/
|
|
98
|
-
static getPostfix() {
|
|
99
|
-
let postfix = '_' + Formatters.formatDate(new Date()) + '.iso';
|
|
100
|
-
return postfix;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ./src/classes/utils.d/system.ts
|
|
3
|
-
* penguins-eggs v.10.0.0 / ecmascript 2020
|
|
4
|
-
* System detection utilities - init systems, containers, live/installed detection
|
|
5
|
-
* author: Piero Proietti
|
|
6
|
-
* email: piero.proietti@gmail.com
|
|
7
|
-
* license: MIT
|
|
8
|
-
*/
|
|
9
|
-
export default class System {
|
|
10
|
-
/**
|
|
11
|
-
* Detect if running inside a container (Docker or LXC)
|
|
12
|
-
*/
|
|
13
|
-
static isContainer(): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Check if the system uses Systemd
|
|
16
|
-
*/
|
|
17
|
-
static isSystemd(): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Check if the system uses SysVinit
|
|
20
|
-
*/
|
|
21
|
-
static isSysvinit(): boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Check if the system uses OpenRC
|
|
24
|
-
*/
|
|
25
|
-
static isOpenRc(): boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Return true if live system
|
|
28
|
-
* @returns {boolean} isLive
|
|
29
|
-
*/
|
|
30
|
-
static isLive(): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Ritorna vero se path è un mountpoint
|
|
33
|
-
* @param path
|
|
34
|
-
*/
|
|
35
|
-
static isMountpoint(path?: string): boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @param device
|
|
39
|
-
* @returns
|
|
40
|
-
*/
|
|
41
|
-
static isBlockDevice(device?: string): boolean;
|
|
42
|
-
/**
|
|
43
|
-
* return true if eggs run as root
|
|
44
|
-
* @returns isRoot
|
|
45
|
-
*/
|
|
46
|
-
static isRoot(command?: string): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Occore vedere un modo per creare machine-id dove non esiste
|
|
49
|
-
*/
|
|
50
|
-
static machineId(): string;
|
|
51
|
-
/**
|
|
52
|
-
* Return the Debian version
|
|
53
|
-
* @returns {number} Versione di Debian
|
|
54
|
-
*/
|
|
55
|
-
static getDebianVersion(): number;
|
|
56
|
-
/**
|
|
57
|
-
* Extimate the linuxfs dimension
|
|
58
|
-
* probably is better to rename it as
|
|
59
|
-
* getLiveSpaceRootNeed
|
|
60
|
-
* @returns {number} Byte
|
|
61
|
-
*/
|
|
62
|
-
static getLiveRootSpace(type?: string): number;
|
|
63
|
-
}
|