penguins-eggs 25.11.12 → 25.11.21
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 +149 -140
- package/README.md +726 -1
- package/README.pdf +1343 -2331
- package/addons/eggs/adapt/applications/eggs-adapt.desktop +0 -0
- package/addons/eggs/pve/applications/eggs-pve.desktop +0 -0
- package/addons/eggs/rsupport/applications/eggs-rsupport.desktop +0 -0
- package/addons/eggs/theme/applications/install-system.desktop +0 -0
- package/assets/calamares/install-system.sh +0 -0
- package/assets/penguins-eggs.desktop +0 -0
- package/assets/penguins-krill.desktop +0 -0
- package/assets/penguins-links-add.desktop +0 -0
- package/assets/penguins-live-installer.desktop +0 -0
- package/bin/dev.js +0 -0
- package/conf/distros/alpine/calamares/calamares-modules/machineid-openrc/machineid-openrc.sh +0 -0
- package/conf/distros/buster/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
- package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
- package/conf/distros/fedora/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +0 -0
- package/conf/distros/focal/calamares/calamares-modules/.keepit +0 -0
- package/conf/distros/focal/calamares/calamares-modules/cleanup/cleanup.sh +20 -0
- package/conf/distros/focal/calamares/calamares-modules/cleanup/module.yml +9 -0
- package/conf/distros/focal/calamares/calamares-modules/sources-yolk/module.yml +8 -0
- package/conf/distros/focal/calamares/calamares-modules/sources-yolk/sources-yolk.sh +50 -0
- package/conf/distros/focal/calamares/calamares-modules/sources-yolk-undo/module.yml +8 -0
- package/conf/distros/focal/calamares/libexec/.keepit +0 -0
- package/conf/distros/focal/calamares/libexec/README.md +5 -0
- package/conf/distros/focal/calamares/libexec/calamares-aptsources.sh +15 -0
- package/conf/distros/focal/calamares/libexec/calamares-l10n-helper.sh +38 -0
- package/conf/distros/focal/calamares/libexec/calamares-logs-helper.sh +34 -0
- package/conf/distros/focal/calamares/libexec/calamares-nomodeset.sh +19 -0
- package/conf/distros/focal/calamares/modules/after_bootloader_context.yml +26 -0
- package/conf/distros/focal/calamares/modules/before_bootloader_context.yml +12 -0
- package/conf/distros/focal/calamares/modules/bootloader.yml +86 -0
- package/conf/distros/focal/calamares/modules/bootloader.yml.old +35 -0
- package/conf/distros/focal/calamares/modules/displaymanager.yml +12 -0
- package/conf/distros/focal/calamares/modules/finished.yml +6 -0
- package/conf/distros/focal/calamares/modules/fstab.yml +63 -0
- package/conf/distros/focal/calamares/modules/grubcfg.yml +51 -0
- package/conf/distros/focal/calamares/modules/keyboard.yml +29 -0
- package/conf/distros/focal/calamares/modules/locale.yml +7 -0
- package/conf/distros/focal/calamares/modules/machineid.yml +10 -0
- package/conf/distros/focal/calamares/modules/mount.yml +20 -0
- package/conf/distros/focal/calamares/modules/netinstall.yml +5 -0
- package/conf/distros/focal/calamares/modules/packages.mustache +5 -0
- package/conf/distros/focal/calamares/modules/partition.yml +21 -0
- package/conf/distros/focal/calamares/modules/removeuser.mustache +3 -0
- package/conf/distros/focal/calamares/modules/shellprocess@aptsources.yml +11 -0
- package/conf/distros/focal/calamares/modules/shellprocess@boot_deploy.yml +9 -0
- package/conf/distros/focal/calamares/modules/shellprocess@boot_reconfigure.yml +15 -0
- package/conf/distros/focal/calamares/modules/shellprocess@install_translations.yml +8 -0
- package/conf/distros/focal/calamares/modules/shellprocess@logs.yml +8 -0
- package/conf/distros/focal/calamares/modules/shellprocess@mkinitramfs.yml +6 -0
- package/conf/distros/focal/calamares/modules/shellprocess@nomodeset.yml +12 -0
- package/conf/distros/focal/calamares/modules/umount.yml +4 -0
- package/conf/distros/focal/calamares/modules/unpackfs.mustache +6 -0
- package/conf/distros/focal/calamares/modules/users.yml +27 -0
- package/conf/distros/focal/calamares/modules/welcome.yml +24 -0
- package/conf/distros/focal/calamares/settings.yml +97 -0
- package/conf/distros/noble/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
- package/conf/distros/noble/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
- package/conf/distros/noble/calamares/libexec/calamares-aptsources.sh +0 -0
- package/conf/distros/noble/calamares/libexec/calamares-l10n-helper.sh +0 -0
- package/conf/distros/noble/calamares/libexec/calamares-logs-helper.sh +0 -0
- package/conf/distros/noble/calamares/libexec/calamares-nomodeset.sh +0 -0
- package/conf/distros/opensuse/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +0 -0
- package/conf/distros/opensuse/calamares/settings.yml +0 -0
- package/conf/distros/opensuse/calamares/zstd2lzo.sh +0 -0
- package/conf/distros/trixie/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
- package/conf/distros/trixie/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
- package/conf/distros/trixie/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
- package/conf/init/unattended.sh +0 -0
- package/dist/appimage/first-run-check.d.ts +8 -0
- package/dist/appimage/first-run-check.js +13 -0
- package/dist/appimage/prerequisites.d.ts +34 -0
- package/dist/appimage/prerequisites.js +350 -0
- package/dist/bin/dev.cmd +3 -0
- package/dist/bin/dev.js +6 -0
- package/dist/bin/run.cmd +3 -0
- package/dist/bin/run.js +5 -0
- package/dist/classes/cli-autologin.js +4 -4
- package/dist/classes/diversions.d.ts +5 -0
- package/dist/classes/diversions.js +23 -7
- package/dist/classes/pacman.js +10 -11
- package/dist/classes/utils.d.ts +4 -0
- package/dist/classes/utils.js +19 -3
- package/dist/commands/calamares.js +1 -1
- package/dist/commands/config.js +2 -2
- package/dist/commands/{analyze.d.ts → export/appimage.d.ts} +10 -9
- package/dist/commands/export/appimage.js +76 -0
- package/dist/commands/export/iso.js +1 -1
- package/dist/commands/export/pkg.d.ts +1 -1
- package/dist/commands/export/pkg.js +2 -2
- package/dist/commands/{install.d.ts → krill.d.ts} +3 -4
- package/dist/commands/{install.js → krill.js} +5 -6
- package/dist/commands/produce.js +1 -1
- package/dist/commands/setup.d.ts +21 -0
- package/dist/commands/setup.js +90 -0
- package/dist/commands/tools/repo.d.ts +0 -5
- package/dist/commands/tools/repo.js +205 -127
- package/dist/commands/update.d.ts +1 -1
- package/dist/commands/update.js +68 -59
- package/dist/krill/components/information.js +2 -2
- package/dist/krill/components/title.js +13 -13
- package/dist/lib/utils.d.ts +16 -0
- package/dist/lib/utils.js +24 -32
- package/dracut/create-symlink +0 -0
- package/dracut/export +0 -0
- package/dracut/export-dracut-analysis +0 -0
- package/dracut/export-dracut-log +0 -0
- package/dracut/mkisofs +0 -0
- package/dracut/modules.d/00debug-shell/debug-hook.sh +0 -0
- package/dracut/modules.d/00debug-shell/module-setup.sh +0 -0
- package/dracut/modules.d/90block/block-cmdline.sh +0 -0
- package/dracut/modules.d/90block/module-setup.sh +0 -0
- package/dracut/modules.d/95iso-scan/iso-scan-fallback.sh +0 -0
- package/dracut/modules.d/95iso-scan/iso-scan.sh +0 -0
- package/dracut/modules.d/95iso-scan/module-setup.sh +0 -0
- package/dracut/modules.d/95luks-loop/luks-loop.sh +0 -0
- package/dracut/modules.d/95luks-loop/module-setup.sh +0 -0
- package/dracut/renew-initramfs +0 -0
- package/dracut/sbin2bin +0 -0
- package/dracut/update-dracut-conf-d +0 -0
- package/dracut/update-dracut-modules +0 -0
- package/eui/eui-autostart-cinnamon.desktop +0 -0
- package/eui/eui-autostart-xfce.desktop +0 -0
- package/eui/eui-create-image.sh +0 -0
- package/eui/eui-start.sh +0 -0
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +582 -9
- package/package.json +125 -130
- package/perrisbrewery/scripts/postinst +0 -0
- package/perrisbrewery/scripts/postrm +0 -0
- package/perrisbrewery/scripts/preinst +0 -0
- package/perrisbrewery/scripts/prerm +0 -0
- package/perrisbrewery/template/dependencies.yaml +0 -5
- package/perrisbrewery/template/man.template.md +7 -0
- package/scripts/99clean +0 -0
- package/scripts/_eggs +28 -47
- package/scripts/adapt.sh +0 -0
- package/scripts/appimage-build.sh +152 -0
- package/scripts/appimage-install.sh +43 -0
- package/scripts/bros/waydroid-helper.sh +0 -0
- package/scripts/eggs.bash +3 -4
- package/scripts/lsb_release +0 -0
- package/scripts/mom.sh +0 -0
- package/scripts/pve-live.service +0 -0
- package/scripts/pve-live.sh +0 -0
- package/scripts/resy +0 -0
- package/dist/commands/analyze.js +0 -95
- package/dist/commands/pods.d.ts +0 -22
- package/dist/commands/pods.js +0 -92
- package/scripts/boot-encrypted-root.sh +0 -220
- package/scripts/mount-encrypted-home.sh +0 -324
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
efiSystemPartition: "/boot/efi"
|
|
2
|
+
enableLuksAutomatedPartitioning: true
|
|
3
|
+
luksGeneration: luks2
|
|
4
|
+
userSwapChoices:
|
|
5
|
+
- none
|
|
6
|
+
- file
|
|
7
|
+
initialSwapChoice: file
|
|
8
|
+
drawNestedPartitions: true
|
|
9
|
+
defaultFileSystemType: "ext4"
|
|
10
|
+
availableFileSystemTypes: ["ext4","btrfs","xfs"]
|
|
11
|
+
partitionLayout:
|
|
12
|
+
- name: "ubuntu_boot"
|
|
13
|
+
filesystem: ext4
|
|
14
|
+
noEncrypt: true
|
|
15
|
+
onlyPresentWithEncryption: true
|
|
16
|
+
mountPoint: "/boot"
|
|
17
|
+
size: 4G
|
|
18
|
+
- name: "ubuntu_root"
|
|
19
|
+
filesystem: unknown
|
|
20
|
+
mountPoint: "/"
|
|
21
|
+
size: 100%
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
2
|
+
# SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
|
|
3
|
+
#
|
|
4
|
+
# This is run inside the chroot!
|
|
5
|
+
# Carries nomodeset into the installed system iff the live system is running
|
|
6
|
+
# with it.
|
|
7
|
+
---
|
|
8
|
+
dontChroot: false
|
|
9
|
+
timeout: 60
|
|
10
|
+
script:
|
|
11
|
+
- "/usr/libexec/calamares/calamares-aptsources.sh"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
|
|
2
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
3
|
+
#
|
|
4
|
+
---
|
|
5
|
+
message: "Preparing the boot environment..."
|
|
6
|
+
dontChroot: true
|
|
7
|
+
timeout: 300
|
|
8
|
+
script:
|
|
9
|
+
- cp --preserve=timestamps __LIVE_MEDIUM_PATH__live/vmlinuz-`uname -r` ${ROOT}/boot/vmlinuz-`uname -r`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
|
|
2
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
3
|
+
#
|
|
4
|
+
# Follow up to boot_deploy. This is inside chroot!
|
|
5
|
+
# Make sure everything is configured properly by reconfiguring the package.
|
|
6
|
+
---
|
|
7
|
+
message: "Final reconfiguration of the kernel and bootloader..."
|
|
8
|
+
dontChroot: false
|
|
9
|
+
timeout: 300
|
|
10
|
+
script:
|
|
11
|
+
- chmod 644 /boot/vmlinuz-`uname -r`
|
|
12
|
+
- chown 0:0 /boot/vmlinuz-`uname -r`
|
|
13
|
+
# Reconfigure to ensure hooks are run as necessary. But disable initrd
|
|
14
|
+
# updating, it happens in initramfs module controlled by cala.
|
|
15
|
+
- INITRD=No dpkg-reconfigure -fnoninteractive linux-image-`uname -r`
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
|
|
2
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
3
|
+
---
|
|
4
|
+
message: "installation of translation packages..."
|
|
5
|
+
dontChroot: false
|
|
6
|
+
timeout: 1800
|
|
7
|
+
script:
|
|
8
|
+
- "/usr/libexec/calamares/calamares-l10n-helper.sh"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
|
|
2
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
3
|
+
---
|
|
4
|
+
message: "Logs.."
|
|
5
|
+
dontChroot: true
|
|
6
|
+
timeout: 30
|
|
7
|
+
script:
|
|
8
|
+
- "/usr/libexec/calamares/calamares-logs-helper.sh ${ROOT}"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
2
|
+
# SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
|
|
3
|
+
#
|
|
4
|
+
# This is run inside the chroot!
|
|
5
|
+
# Carries nomodeset into the installed system iff the live system is running
|
|
6
|
+
# with it.
|
|
7
|
+
---
|
|
8
|
+
message: "nomodeset"
|
|
9
|
+
dontChroot: false
|
|
10
|
+
timeout: 60
|
|
11
|
+
script:
|
|
12
|
+
- "/usr/libexec/calamares/calamares-nomodeset.sh"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
2
|
+
# SPDX-FileCopyrightText: 2018-2020 Harald Sitter <sitter@kde.org>
|
|
3
|
+
# SPDX-FileCopyrightText: 2015-2016 Rohan Garg <rohan@kde.org>
|
|
4
|
+
---
|
|
5
|
+
doAutologin: true
|
|
6
|
+
setRootPassword: false
|
|
7
|
+
sudoersGroup: sudo
|
|
8
|
+
defaultGroups:
|
|
9
|
+
- name: adm
|
|
10
|
+
must_exist: true
|
|
11
|
+
- name: cdrom
|
|
12
|
+
must_exist: true
|
|
13
|
+
- name: dip
|
|
14
|
+
must_exist: true
|
|
15
|
+
#- name: lpadmin
|
|
16
|
+
# must_exist: true
|
|
17
|
+
- name: plugdev
|
|
18
|
+
must_exist: true
|
|
19
|
+
- name: sambashare
|
|
20
|
+
system: true
|
|
21
|
+
- name: sudo
|
|
22
|
+
must_exist: true
|
|
23
|
+
# Explicitly set the shell instead of defering to calamares. We have a platform
|
|
24
|
+
# expectation derived from ubuntu here.
|
|
25
|
+
userShell: /bin/bash
|
|
26
|
+
passwordRequirements:
|
|
27
|
+
nonempty: true
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
2
|
+
# SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
|
|
3
|
+
# SPDX-FileCopyrightText: 2017 Jonathan Riddell <jr@jriddell.org>
|
|
4
|
+
# SPDX-FileCopyrightText: 2015-2016 Rohan Garg <rohan@kde.org>
|
|
5
|
+
---
|
|
6
|
+
showSupportUrl: true
|
|
7
|
+
showKnownIssuesUrl: true
|
|
8
|
+
showReleaseNotesUrl: true
|
|
9
|
+
|
|
10
|
+
requirements:
|
|
11
|
+
# HTTP GET this URL to determine if internet access available
|
|
12
|
+
internetCheckUrl: http://networkcheck.kde.org
|
|
13
|
+
requiredStorage: 8.0
|
|
14
|
+
requiredRam: 1.0
|
|
15
|
+
check:
|
|
16
|
+
- storage
|
|
17
|
+
- ram
|
|
18
|
+
- power
|
|
19
|
+
- internet
|
|
20
|
+
- root
|
|
21
|
+
required:
|
|
22
|
+
- root
|
|
23
|
+
- storage
|
|
24
|
+
- ram
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
2
|
+
# SPDX-FileCopyrightText: 2018-2021 Harald Sitter <sitter@kde.org>
|
|
3
|
+
# SPDX-FileCopyrightText: 2017 Jonathan Riddell <jr@jriddell.org>
|
|
4
|
+
# SPDX-FileCopyrightText: 2016 Rohan Garg <rohan@kde.org>
|
|
5
|
+
---
|
|
6
|
+
modules-search: [ local, /usr/share/calamares/modules ]
|
|
7
|
+
|
|
8
|
+
instances:
|
|
9
|
+
- id: mkinitramfs
|
|
10
|
+
module: shellprocess
|
|
11
|
+
config: shellprocess@mkinitramfs.conf
|
|
12
|
+
|
|
13
|
+
- id: install_translations
|
|
14
|
+
module: shellprocess
|
|
15
|
+
config: shellprocess@install_translations.conf
|
|
16
|
+
|
|
17
|
+
- id: before_bootloader
|
|
18
|
+
module: contextualprocess
|
|
19
|
+
config: before_bootloader_context.conf
|
|
20
|
+
|
|
21
|
+
- id: after_bootloader
|
|
22
|
+
module: contextualprocess
|
|
23
|
+
config: after_bootloader_context.conf
|
|
24
|
+
|
|
25
|
+
- id: logs
|
|
26
|
+
module: shellprocess
|
|
27
|
+
config: shellprocess@logs.conf
|
|
28
|
+
|
|
29
|
+
- id: boot_deploy
|
|
30
|
+
module: shellprocess
|
|
31
|
+
config: shellprocess@boot_deploy.conf
|
|
32
|
+
|
|
33
|
+
- id: boot_reconfigure
|
|
34
|
+
module: shellprocess
|
|
35
|
+
config: shellprocess@boot_reconfigure.conf
|
|
36
|
+
# NB: nomodeset is not forwared for OEM mode. An OEM shouldn't use this
|
|
37
|
+
# kind of hack for OEM installations!
|
|
38
|
+
|
|
39
|
+
- id: nomodeset
|
|
40
|
+
module: shellprocess
|
|
41
|
+
config: shellprocess@nomodeset.conf
|
|
42
|
+
|
|
43
|
+
- id: aptsources
|
|
44
|
+
module: shellprocess
|
|
45
|
+
config: shellprocess@aptsources.conf
|
|
46
|
+
|
|
47
|
+
sequence:
|
|
48
|
+
|
|
49
|
+
- show:
|
|
50
|
+
- welcome
|
|
51
|
+
- locale
|
|
52
|
+
- keyboard
|
|
53
|
+
- partition
|
|
54
|
+
- users # OPTIONAL
|
|
55
|
+
|
|
56
|
+
- exec:
|
|
57
|
+
- partition
|
|
58
|
+
- mount
|
|
59
|
+
- unpackfs
|
|
60
|
+
- machineid
|
|
61
|
+
- fstab
|
|
62
|
+
- locale
|
|
63
|
+
- keyboard
|
|
64
|
+
- localecfg
|
|
65
|
+
- luksbootkeyfile
|
|
66
|
+
- users # OPTIONAL
|
|
67
|
+
- displaymanager
|
|
68
|
+
- networkcfg
|
|
69
|
+
- hwclock
|
|
70
|
+
- shellprocess@boot_deploy
|
|
71
|
+
- initramfscfg
|
|
72
|
+
- grubcfg
|
|
73
|
+
- contextualprocess@before_bootloader
|
|
74
|
+
- bootloader
|
|
75
|
+
- contextualprocess@after_bootloader
|
|
76
|
+
- shellprocess@mkinitramfs
|
|
77
|
+
# initramfs
|
|
78
|
+
- shellprocess@boot_reconfigure
|
|
79
|
+
- shellprocess@nomodeset
|
|
80
|
+
- shellprocess@aptsources
|
|
81
|
+
- shellprocess@install_translations
|
|
82
|
+
- packages
|
|
83
|
+
- cleanup
|
|
84
|
+
- shellprocess@logs
|
|
85
|
+
- umount
|
|
86
|
+
|
|
87
|
+
- show:
|
|
88
|
+
- finished
|
|
89
|
+
|
|
90
|
+
branding: default
|
|
91
|
+
prompt-install: false
|
|
92
|
+
dont-chroot: false
|
|
93
|
+
oem-setup: false
|
|
94
|
+
disable-cancel: false
|
|
95
|
+
disable-cancel-during-exec: false
|
|
96
|
+
hide-back-and-next-during-exec: false
|
|
97
|
+
quit-at-end: false
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/conf/init/unattended.sh
CHANGED
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ./src/appimage/first-run-check.ts
|
|
3
|
+
* penguins-eggs v.25.11.x / ecmascript 2020
|
|
4
|
+
* author: Piero Proietti
|
|
5
|
+
* email: piero.proietti@gmail.com
|
|
6
|
+
* license: MIT
|
|
7
|
+
*/
|
|
8
|
+
import { Prerequisites } from './prerequisites.js';
|
|
9
|
+
const prerequisites = new Prerequisites();
|
|
10
|
+
if (!prerequisites.check()) {
|
|
11
|
+
console.log('WARNING: You need to setup penguins-eggs for full functionality.');
|
|
12
|
+
console.log('Run: sudo eggs setup');
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*/
|
|
4
|
+
export declare class Prerequisites {
|
|
5
|
+
private distro;
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* install
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
install(force?: boolean): Promise<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
check(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param packages
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
private getInstallCommand;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param pkg
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
private isPackageInstalled;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @returns
|
|
32
|
+
*/
|
|
33
|
+
private getPackagesForDistro;
|
|
34
|
+
}
|