penguins-eggs 10.0.57 → 10.1.0
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 +100 -1
- package/README.md +84 -44
- package/addons/eggs/theme/calamares/modules/{_users.yml → users.yml} +3 -3
- package/addons/eggs/theme/livecd/grub.main.full.cfg +1 -7
- package/addons/eggs/theme/livecd/grub.main.simple.cfg +1 -1
- package/assets/config.cfg +30 -0
- package/conf/derivatives.yaml +1 -3
- package/conf/derivatives_fedora.yaml +6 -0
- package/conf/distros/alpine/calamares/modules/users.yml +3 -3
- package/conf/distros/bionic/calamares/calamares-modules/grubcfg/grubcfg.yml +1 -1
- package/conf/distros/bionic/calamares/modules/users.yml +3 -3
- package/conf/distros/buster/calamares/calamares-modules/cleanup/cleanup.sh +8 -1
- package/conf/distros/buster/calamares/modules/partition.yml +159 -23
- package/conf/distros/buster/calamares/modules/removeuser.yml +1 -1
- package/conf/distros/buster/calamares/modules/users.yml +3 -3
- package/conf/distros/fedora/calamares/modules/users.yml +3 -3
- package/conf/distros/noble/calamares/modules/focal-jammy/users.yml +3 -3
- package/conf/distros/opensuse/calamares/modules/users.yml +3 -3
- package/conf/distros/rolling/calamares/modules/users.yml +3 -3
- package/conf/eggs.yaml +1 -1
- package/conf/exclude.list.d/master.list +1 -0
- package/conf/krill.yaml +8 -0
- package/conf/love.yaml +4 -4
- package/package.json +33 -29
- package/perrisbrewery/scripts/postinst +98 -0
- package/perrisbrewery/scripts/postrm +82 -0
- package/perrisbrewery/scripts/preinst +40 -0
- package/perrisbrewery/scripts/prerm +47 -0
- package/perrisbrewery/template/control.template +17 -0
- package/perrisbrewery/template/dependencies-bionic.yaml +33 -0
- package/perrisbrewery/template/dependencies.yaml +37 -0
- package/perrisbrewery/template/man.template.md +110 -0
- package/pods/README.md +14 -0
- package/pods/almalinux.sh +10 -0
- package/pods/archlinux.sh +10 -0
- package/pods/ci/README.md +5 -0
- package/pods/ci/kernel-overlay-install.sh +114 -0
- package/pods/ci/minimal/almalinux-container2host.sh +165 -0
- package/pods/ci/minimal/archlinux-container2host.sh +125 -0
- package/pods/ci/minimal/debian-container2host.sh +173 -0
- package/pods/ci/minimal/fedora-container2host.sh +170 -0
- package/pods/ci/minimal/manjaro-container2host.sh +123 -0
- package/pods/ci/minimal/opensuse-container2host.sh +143 -0
- package/pods/ci/penguins-eggs-execute.sh +22 -0
- package/pods/ci/penguins-eggs-install.sh +115 -0
- package/pods/ci/run +34 -0
- package/pods/ci/run-on-almalinux.sh +50 -0
- package/pods/ci/run-on-archlinux.sh +64 -0
- package/pods/ci/run-on-debian.sh +51 -0
- package/pods/ci/run-on-devuan.sh +48 -0
- package/pods/ci/run-on-fedora.sh +51 -0
- package/pods/ci/run-on-manjaro.sh +61 -0
- package/pods/ci/run-on-opensuse.sh +58 -0
- package/pods/ci/run-on-rockylinux.sh +51 -0
- package/pods/ci/run-on-ubuntu.sh +52 -0
- package/pods/debian.sh +23 -0
- package/pods/devuan.sh +26 -0
- package/pods/fedora.sh +12 -0
- package/pods/lmde.sh +22 -0
- package/pods/manjaro.sh +10 -0
- package/pods/opensuse.sh +12 -0
- package/pods/podman.command.sh +85 -0
- package/pods/rocky.sh +12 -0
- package/pods/run-build-packages-debs.sh +45 -0
- package/pods/run-create-debs.sh +23 -0
- package/pods/ubuntu.sh +24 -0
- package/scripts/_eggs +23 -6
- package/scripts/eggs.bash +8 -6
- package/dist/classes/bleach.d.ts +0 -32
- package/dist/classes/bleach.js +0 -135
- package/dist/classes/cfs.d.ts +0 -17
- package/dist/classes/cfs.js +0 -39
- package/dist/classes/cli-autologin.d.ts +0 -52
- package/dist/classes/cli-autologin.js +0 -247
- package/dist/classes/compressors.d.ts +0 -54
- package/dist/classes/compressors.js +0 -109
- package/dist/classes/daddy.d.ts +0 -26
- package/dist/classes/daddy.js +0 -167
- package/dist/classes/distro.d.ts +0 -32
- package/dist/classes/distro.js +0 -341
- package/dist/classes/diversions.d.ts +0 -52
- package/dist/classes/diversions.js +0 -126
- package/dist/classes/incubation/branding.d.ts +0 -17
- package/dist/classes/incubation/branding.js +0 -85
- package/dist/classes/incubation/fisherman-helper/displaymanager.d.ts +0 -11
- package/dist/classes/incubation/fisherman-helper/displaymanager.js +0 -40
- package/dist/classes/incubation/fisherman-helper/packages.d.ts +0 -20
- package/dist/classes/incubation/fisherman-helper/packages.js +0 -72
- package/dist/classes/incubation/fisherman-helper/settings.d.ts +0 -15
- package/dist/classes/incubation/fisherman-helper/settings.js +0 -83
- package/dist/classes/incubation/fisherman.d.ts +0 -70
- package/dist/classes/incubation/fisherman.js +0 -263
- package/dist/classes/incubation/incubator.d/alpine.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/alpine.js +0 -78
- package/dist/classes/incubation/incubator.d/bionic.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/bionic.js +0 -83
- package/dist/classes/incubation/incubator.d/buster.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/buster.js +0 -85
- package/dist/classes/incubation/incubator.d/jessie.d.ts +0 -31
- package/dist/classes/incubation/incubator.d/jessie.js +0 -44
- package/dist/classes/incubation/incubator.d/noble.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/noble.js +0 -85
- package/dist/classes/incubation/incubator.d/openmamba.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/openmamba.js +0 -81
- package/dist/classes/incubation/incubator.d/opensuse.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/opensuse.js +0 -81
- package/dist/classes/incubation/incubator.d/rolling.d.ts +0 -32
- package/dist/classes/incubation/incubator.d/rolling.js +0 -80
- package/dist/classes/incubation/incubator.d.ts +0 -44
- package/dist/classes/incubation/incubator.js +0 -382
- package/dist/classes/incubation/installer.d.ts +0 -13
- package/dist/classes/incubation/installer.js +0 -52
- package/dist/classes/keyboards.d.ts +0 -50
- package/dist/classes/keyboards.js +0 -287
- package/dist/classes/locales.d.ts +0 -21
- package/dist/classes/locales.js +0 -77
- package/dist/classes/network.d.ts +0 -37
- package/dist/classes/network.js +0 -98
- package/dist/classes/ovary.d.ts +0 -198
- package/dist/classes/ovary.js +0 -1850
- package/dist/classes/pacman.d/aldos.d.ts +0 -52
- package/dist/classes/pacman.d/aldos.js +0 -100
- package/dist/classes/pacman.d/alpine.d.ts +0 -56
- package/dist/classes/pacman.d/alpine.js +0 -162
- package/dist/classes/pacman.d/archlinux.d.ts +0 -62
- package/dist/classes/pacman.d/archlinux.js +0 -139
- package/dist/classes/pacman.d/debian.d.ts +0 -65
- package/dist/classes/pacman.d/debian.js +0 -143
- package/dist/classes/pacman.d/fedora.d.ts +0 -53
- package/dist/classes/pacman.d/fedora.js +0 -101
- package/dist/classes/pacman.d/openmamba.d.ts +0 -52
- package/dist/classes/pacman.d/openmamba.js +0 -100
- package/dist/classes/pacman.d/opensuse.d.ts +0 -53
- package/dist/classes/pacman.d/opensuse.js +0 -102
- package/dist/classes/pacman.d/voidlinux.d.ts +0 -52
- package/dist/classes/pacman.d/voidlinux.js +0 -90
- package/dist/classes/pacman.d.ts +0 -139
- package/dist/classes/pacman.js +0 -775
- package/dist/classes/pve-live.d.ts +0 -17
- package/dist/classes/pve-live.js +0 -52
- package/dist/classes/pxe.d.ts +0 -74
- package/dist/classes/pxe.js +0 -410
- package/dist/classes/settings.d.ts +0 -53
- package/dist/classes/settings.js +0 -185
- package/dist/classes/sources_list.d.ts +0 -28
- package/dist/classes/sources_list.js +0 -89
- package/dist/classes/systemctl.d.ts +0 -47
- package/dist/classes/systemctl.js +0 -86
- package/dist/classes/tailor.d.ts +0 -50
- package/dist/classes/tailor.js +0 -526
- package/dist/classes/tools.d.ts +0 -26
- package/dist/classes/tools.js +0 -50
- package/dist/classes/users.d.ts +0 -28
- package/dist/classes/users.js +0 -143
- package/dist/classes/utils.d.ts +0 -326
- package/dist/classes/utils.js +0 -1025
- package/dist/classes/xdg.d.ts +0 -45
- package/dist/classes/xdg.js +0 -337
- package/dist/classes/yolk.d.ts +0 -33
- package/dist/classes/yolk.js +0 -114
- package/dist/commands/adapt.d.ts +0 -17
- package/dist/commands/adapt.js +0 -33
- package/dist/commands/analyze.d.ts +0 -26
- package/dist/commands/analyze.js +0 -95
- package/dist/commands/calamares.d.ts +0 -29
- package/dist/commands/calamares.js +0 -112
- package/dist/commands/config.d.ts +0 -35
- package/dist/commands/config.js +0 -120
- package/dist/commands/cuckoo.d.ts +0 -16
- package/dist/commands/cuckoo.js +0 -62
- package/dist/commands/dad.d.ts +0 -20
- package/dist/commands/dad.js +0 -46
- package/dist/commands/export/iso.d.ts +0 -19
- package/dist/commands/export/iso.js +0 -55
- package/dist/commands/export/pkg.d.ts +0 -29
- package/dist/commands/export/pkg.js +0 -163
- package/dist/commands/export/tarballs.d.ts +0 -27
- package/dist/commands/export/tarballs.js +0 -84
- package/dist/commands/install.d.ts +0 -37
- package/dist/commands/install.js +0 -88
- package/dist/commands/kill.d.ts +0 -24
- package/dist/commands/kill.js +0 -50
- package/dist/commands/love.d.ts +0 -20
- package/dist/commands/love.js +0 -59
- package/dist/commands/mom.d.ts +0 -16
- package/dist/commands/mom.js +0 -30
- package/dist/commands/produce.d.ts +0 -34
- package/dist/commands/produce.js +0 -201
- package/dist/commands/status.d.ts +0 -23
- package/dist/commands/status.js +0 -31
- package/dist/commands/syncfrom.d.ts +0 -45
- package/dist/commands/syncfrom.js +0 -152
- package/dist/commands/syncto.d.ts +0 -40
- package/dist/commands/syncto.js +0 -175
- package/dist/commands/tools/clean.d.ts +0 -18
- package/dist/commands/tools/clean.js +0 -37
- package/dist/commands/tools/ppa.d.ts +0 -26
- package/dist/commands/tools/ppa.js +0 -138
- package/dist/commands/tools/skel.d.ts +0 -18
- package/dist/commands/tools/skel.js +0 -44
- package/dist/commands/tools/stat.d.ts +0 -31
- package/dist/commands/tools/stat.js +0 -70
- package/dist/commands/tools/yolk.d.ts +0 -24
- package/dist/commands/tools/yolk.js +0 -45
- package/dist/commands/update.d.ts +0 -51
- package/dist/commands/update.js +0 -219
- package/dist/commands/wardrobe/get.d.ts +0 -23
- package/dist/commands/wardrobe/get.js +0 -52
- package/dist/commands/wardrobe/list.d.ts +0 -24
- package/dist/commands/wardrobe/list.js +0 -125
- package/dist/commands/wardrobe/show.d.ts +0 -25
- package/dist/commands/wardrobe/show.js +0 -97
- package/dist/commands/wardrobe/wear.d.ts +0 -26
- package/dist/commands/wardrobe/wear.js +0 -84
- package/dist/components/finished.d.ts +0 -16
- package/dist/components/finished.js +0 -56
- package/dist/components/information.d.ts +0 -8
- package/dist/components/information.js +0 -156
- package/dist/components/install.d.ts +0 -15
- package/dist/components/install.js +0 -60
- package/dist/components/keyboard.d.ts +0 -16
- package/dist/components/keyboard.js +0 -54
- package/dist/components/location.d.ts +0 -16
- package/dist/components/location.js +0 -59
- package/dist/components/network.d.ts +0 -19
- package/dist/components/network.js +0 -65
- package/dist/components/partitions.d.ts +0 -16
- package/dist/components/partitions.js +0 -73
- package/dist/components/steps.d.ts +0 -13
- package/dist/components/steps.js +0 -148
- package/dist/components/summary.d.ts +0 -24
- package/dist/components/summary.js +0 -81
- package/dist/components/title.d.ts +0 -11
- package/dist/components/title.js +0 -35
- package/dist/components/users.d.ts +0 -24
- package/dist/components/users.js +0 -80
- package/dist/components/welcome.d.ts +0 -13
- package/dist/components/welcome.js +0 -63
- package/dist/index-old.d.ts +0 -8
- package/dist/index-old.js +0 -8
- package/dist/index.d.ts +0 -54
- package/dist/index.js +0 -147
- package/dist/interfaces/i-addons.d.ts +0 -12
- package/dist/interfaces/i-addons.js +0 -8
- package/dist/interfaces/i-analyze.d.ts +0 -17
- package/dist/interfaces/i-analyze.js +0 -17
- package/dist/interfaces/i-app.d.ts +0 -14
- package/dist/interfaces/i-app.js +0 -8
- package/dist/interfaces/i-branding.d.ts +0 -36
- package/dist/interfaces/i-branding.js +0 -8
- package/dist/interfaces/i-calamares-displaymanager.d.ts +0 -17
- package/dist/interfaces/i-calamares-displaymanager.js +0 -1
- package/dist/interfaces/i-calamares-finished.d.ts +0 -12
- package/dist/interfaces/i-calamares-finished.js +0 -1
- package/dist/interfaces/i-calamares-packages.d.ts +0 -28
- package/dist/interfaces/i-calamares-packages.js +0 -1
- package/dist/interfaces/i-calamares-partition.d.ts +0 -40
- package/dist/interfaces/i-calamares-partition.js +0 -1
- package/dist/interfaces/i-config-tools.d.ts +0 -15
- package/dist/interfaces/i-config-tools.js +0 -8
- package/dist/interfaces/i-devices.d.ts +0 -20
- package/dist/interfaces/i-devices.js +0 -8
- package/dist/interfaces/i-distro.d.ts +0 -23
- package/dist/interfaces/i-distro.js +0 -8
- package/dist/interfaces/i-drive-list.d.ts +0 -33
- package/dist/interfaces/i-drive-list.js +0 -8
- package/dist/interfaces/i-eggs-config.d.ts +0 -32
- package/dist/interfaces/i-eggs-config.js +0 -8
- package/dist/interfaces/i-excludes.d.ts +0 -14
- package/dist/interfaces/i-excludes.js +0 -8
- package/dist/interfaces/i-exec.d.ts +0 -11
- package/dist/interfaces/i-exec.js +0 -8
- package/dist/interfaces/i-initrd.d.ts +0 -13
- package/dist/interfaces/i-initrd.js +0 -8
- package/dist/interfaces/i-install.d.ts +0 -16
- package/dist/interfaces/i-install.js +0 -8
- package/dist/interfaces/i-installer.d.ts +0 -17
- package/dist/interfaces/i-installer.js +0 -8
- package/dist/interfaces/i-krill-config.d.ts +0 -33
- package/dist/interfaces/i-krill-config.js +0 -8
- package/dist/interfaces/i-krill.d.ts +0 -42
- package/dist/interfaces/i-krill.js +0 -8
- package/dist/interfaces/i-materia.d.ts +0 -36
- package/dist/interfaces/i-materia.js +0 -8
- package/dist/interfaces/i-net.d.ts +0 -16
- package/dist/interfaces/i-net.js +0 -8
- package/dist/interfaces/i-os-release.d.ts +0 -5
- package/dist/interfaces/i-os-release.js +0 -1
- package/dist/interfaces/i-packages.d.ts +0 -16
- package/dist/interfaces/i-packages.js +0 -8
- package/dist/interfaces/i-partitions.d.ts +0 -16
- package/dist/interfaces/i-partitions.js +0 -8
- package/dist/interfaces/i-pxe.d.ts +0 -45
- package/dist/interfaces/i-pxe.js +0 -1
- package/dist/interfaces/i-remix.d.ts +0 -21
- package/dist/interfaces/i-remix.js +0 -8
- package/dist/interfaces/i-settings.d.ts +0 -33
- package/dist/interfaces/i-settings.js +0 -8
- package/dist/interfaces/i-user.d.ts +0 -14
- package/dist/interfaces/i-user.js +0 -8
- package/dist/interfaces/i-workdir.d.ts +0 -14
- package/dist/interfaces/i-workdir.js +0 -8
- package/dist/interfaces/i-xkb-model.d.ts +0 -24
- package/dist/interfaces/i-xkb-model.js +0 -8
- package/dist/interfaces/index.d.ts +0 -25
- package/dist/interfaces/index.js +0 -8
- package/dist/krill/modules/add-user.d.ts +0 -20
- package/dist/krill/modules/add-user.js +0 -48
- package/dist/krill/modules/bootloader-config.d.ts +0 -14
- package/dist/krill/modules/bootloader-config.js +0 -165
- package/dist/krill/modules/bootloader.d.ts +0 -14
- package/dist/krill/modules/bootloader.js +0 -95
- package/dist/krill/modules/change-password.d.ts +0 -15
- package/dist/krill/modules/change-password.js +0 -18
- package/dist/krill/modules/del-live-user.d.ts +0 -14
- package/dist/krill/modules/del-live-user.js +0 -39
- package/dist/krill/modules/fstab.d.ts +0 -14
- package/dist/krill/modules/fstab.js +0 -128
- package/dist/krill/modules/grubcfg.d.ts +0 -17
- package/dist/krill/modules/grubcfg.js +0 -29
- package/dist/krill/modules/hostname.d.ts +0 -13
- package/dist/krill/modules/hostname.js +0 -50
- package/dist/krill/modules/initramfs-cfg.d.ts +0 -14
- package/dist/krill/modules/initramfs-cfg.js +0 -22
- package/dist/krill/modules/initramfs.d.ts +0 -13
- package/dist/krill/modules/initramfs.js +0 -54
- package/dist/krill/modules/locale-cfg.d.ts +0 -10
- package/dist/krill/modules/locale-cfg.js +0 -58
- package/dist/krill/modules/locale.d.ts +0 -13
- package/dist/krill/modules/locale.js +0 -91
- package/dist/krill/modules/m-keyboard.d.ts +0 -14
- package/dist/krill/modules/m-keyboard.js +0 -58
- package/dist/krill/modules/machine-id.d.ts +0 -15
- package/dist/krill/modules/machine-id.js +0 -33
- package/dist/krill/modules/mkfs.d.ts +0 -15
- package/dist/krill/modules/mkfs.js +0 -50
- package/dist/krill/modules/mount-fs.d.ts +0 -17
- package/dist/krill/modules/mount-fs.js +0 -62
- package/dist/krill/modules/mount-vfs.d.ts +0 -17
- package/dist/krill/modules/mount-vfs.js +0 -40
- package/dist/krill/modules/network-cfg.d.ts +0 -19
- package/dist/krill/modules/network-cfg.js +0 -64
- package/dist/krill/modules/packages.d.ts +0 -14
- package/dist/krill/modules/packages.js +0 -111
- package/dist/krill/modules/partition.d.ts +0 -20
- package/dist/krill/modules/partition.js +0 -345
- package/dist/krill/modules/remove-installer-link.d.ts +0 -13
- package/dist/krill/modules/remove-installer-link.js +0 -35
- package/dist/krill/modules/umount.d.ts +0 -14
- package/dist/krill/modules/umount.js +0 -28
- package/dist/krill/modules/unpackfs.d.ts +0 -13
- package/dist/krill/modules/unpackfs.js +0 -20
- package/dist/krill/prepare.d.ts +0 -78
- package/dist/krill/prepare.js +0 -626
- package/dist/krill/sequence.d.ts +0 -154
- package/dist/krill/sequence.js +0 -652
- package/dist/lib/get_address.d.ts +0 -8
- package/dist/lib/get_address.js +0 -23
- package/dist/lib/get_dns.d.ts +0 -8
- package/dist/lib/get_dns.js +0 -23
- package/dist/lib/get_domain.d.ts +0 -8
- package/dist/lib/get_domain.js +0 -23
- package/dist/lib/get_gateway.d.ts +0 -8
- package/dist/lib/get_gateway.js +0 -23
- package/dist/lib/get_hostname.d.ts +0 -8
- package/dist/lib/get_hostname.js +0 -23
- package/dist/lib/get_netmask.d.ts +0 -8
- package/dist/lib/get_netmask.js +0 -23
- package/dist/lib/get_password.d.ts +0 -8
- package/dist/lib/get_password.js +0 -36
- package/dist/lib/get_userfullname.d.ts +0 -8
- package/dist/lib/get_userfullname.js +0 -23
- package/dist/lib/get_username.d.ts +0 -8
- package/dist/lib/get_username.js +0 -23
- package/dist/lib/kill_me_softly.d.ts +0 -11
- package/dist/lib/kill_me_softly.js +0 -61
- package/dist/lib/select_address_type.d.ts +0 -8
- package/dist/lib/select_address_type.js +0 -24
- package/dist/lib/select_filesystem_type.d.ts +0 -8
- package/dist/lib/select_filesystem_type.js +0 -46
- package/dist/lib/select_installation_device.d.ts +0 -8
- package/dist/lib/select_installation_device.js +0 -34
- package/dist/lib/select_installation_mode.d.ts +0 -8
- package/dist/lib/select_installation_mode.js +0 -24
- package/dist/lib/select_interface.d.ts +0 -8
- package/dist/lib/select_interface.js +0 -24
- package/dist/lib/select_keyboard_layout.d.ts +0 -11
- package/dist/lib/select_keyboard_layout.js +0 -36
- package/dist/lib/select_keyboard_model.d.ts +0 -11
- package/dist/lib/select_keyboard_model.js +0 -34
- package/dist/lib/select_keyboard_option.d.ts +0 -11
- package/dist/lib/select_keyboard_option.js +0 -34
- package/dist/lib/select_keyboard_variant.d.ts +0 -11
- package/dist/lib/select_keyboard_variant.js +0 -35
- package/dist/lib/select_languages.d.ts +0 -8
- package/dist/lib/select_languages.js +0 -28
- package/dist/lib/select_regions.d.ts +0 -8
- package/dist/lib/select_regions.js +0 -24
- package/dist/lib/select_user_swap_choice.d.ts +0 -8
- package/dist/lib/select_user_swap_choice.js +0 -34
- package/dist/lib/select_zones.d.ts +0 -8
- package/dist/lib/select_zones.js +0 -518
- package/dist/lib/utils.d.ts +0 -34
- package/dist/lib/utils.js +0 -79
|
@@ -9,5 +9,12 @@ if [ -f "$CHROOT"/etc/issue ]; then
|
|
|
9
9
|
sed -i '/^eggs-start-message/,/^\eggs-end-message/{/^#/!{/^\$/!d;};}' "$CHROOT"/etc/issue
|
|
10
10
|
fi
|
|
11
11
|
|
|
12
|
+
# remove calamares link desktop
|
|
12
13
|
rm -f $CHROOT/usr/share/applications/install-system.desktop
|
|
13
|
-
|
|
14
|
+
|
|
15
|
+
# remove CLI autologin if exists
|
|
16
|
+
rm -f $CHROOT/etc/systemd/system/getty@.service.d/override.conf
|
|
17
|
+
|
|
18
|
+
# remove 10-installer if exists
|
|
19
|
+
rm -f $CHROOT/etc/sudoers.d/10-installer
|
|
20
|
+
|
|
@@ -1,14 +1,50 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
1
|
+
# SPDX-FileCopyrightText: no
|
|
2
|
+
# SPDX-License-Identifier: CC0-1.0
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
# Options for EFI system partition.
|
|
6
|
+
#
|
|
7
|
+
# - *mountPoint*
|
|
8
|
+
# This setting specifies the mount point of the EFI system partition. Some
|
|
9
|
+
# distributions (Fedora, Debian, Manjaro, etc.) use /boot/efi, others (KaOS,
|
|
10
|
+
# etc.) use just /boot.
|
|
11
|
+
#
|
|
12
|
+
# Defaults to "/boot/efi", may be empty (but weird effects ensue)
|
|
13
|
+
# - *recommendedSize*
|
|
14
|
+
# This optional setting specifies the size of the EFI system partition.
|
|
15
|
+
# If nothing is specified, the default size of 300MiB will be used.
|
|
16
|
+
# When writing quantities here, M is treated as MiB, and if you really
|
|
17
|
+
# want one-million (10^6) bytes, use MB.
|
|
18
|
+
# - *minimumSize*
|
|
19
|
+
# This optional setting specifies the absolute minimum size of the EFI
|
|
20
|
+
# system partition. If nothing is specified, the *recommendedSize*
|
|
21
|
+
# is used instead.
|
|
22
|
+
# - *label*
|
|
23
|
+
# This optional setting specifies the name of the EFI system partition (see
|
|
24
|
+
# PARTLABEL; gpt only; requires KPMCore >= 4.2.0).
|
|
25
|
+
# If nothing is specified, the partition name is left unset.
|
|
26
|
+
#
|
|
27
|
+
# Going below the *recommended* size is allowed, but the user will
|
|
28
|
+
# get a warning that it might not work. Going below the *minimum*
|
|
29
|
+
# size is not allowed and the user will be told it will not work.
|
|
30
|
+
#
|
|
31
|
+
# Both quantities must be at least 32MiB, this is enforced by the EFI
|
|
32
|
+
# spec. If minimum is not specified, it defaults to the recommended
|
|
33
|
+
# size. Distro's that allow more user latitude can set the minimum lower.
|
|
34
|
+
efi:
|
|
35
|
+
mountPoint: "/boot/efi"
|
|
36
|
+
recommendedSize: 300MiB
|
|
37
|
+
minimumSize: 32MiB
|
|
38
|
+
label: "EFI"
|
|
39
|
+
|
|
40
|
+
# Deprecated alias of efi.mountPoint
|
|
41
|
+
# efiSystemPartition: "/boot/efi"
|
|
42
|
+
|
|
43
|
+
# Deprecated alias of efi.recommendedSize
|
|
44
|
+
# efiSystemPartitionSize: 300MiB
|
|
45
|
+
|
|
46
|
+
# Deprecated alias of efi.label
|
|
47
|
+
# efiSystemPartitionName: EFI
|
|
12
48
|
|
|
13
49
|
# In autogenerated partitioning, allow the user to select a swap size?
|
|
14
50
|
# If there is exactly one choice, no UI is presented, and the user
|
|
@@ -51,6 +87,30 @@ userSwapChoices:
|
|
|
51
87
|
# ensureSuspendToDisk: true
|
|
52
88
|
# neverCreateSwap: false
|
|
53
89
|
|
|
90
|
+
# This setting specifies the LUKS generation (i.e LUKS1, LUKS2) used internally by
|
|
91
|
+
# cryptsetup when creating an encrypted partition.
|
|
92
|
+
#
|
|
93
|
+
# This option is set to luks1 by default, as grub doesn't support LUKS2 + Argon2id
|
|
94
|
+
# currently. On the other hand grub does support LUKS2 with PBKDF2 and could therefore be
|
|
95
|
+
# also set to luks2. Also there are some patches for grub and Argon2.
|
|
96
|
+
# See: https://aur.archlinux.org/packages/grub-improved-luks2-git
|
|
97
|
+
#
|
|
98
|
+
# Choices: luks1, luks2 (in addition, "luks" means "luks1")
|
|
99
|
+
#
|
|
100
|
+
# The default is luks1
|
|
101
|
+
#
|
|
102
|
+
luksGeneration: luks1
|
|
103
|
+
|
|
104
|
+
# This setting determines if encryption should be allowed when using zfs. This
|
|
105
|
+
# setting has no effect unless zfs support is provided.
|
|
106
|
+
#
|
|
107
|
+
# This setting is to handle the fact that some bootloaders(such as grub) do not
|
|
108
|
+
# support zfs encryption.
|
|
109
|
+
#
|
|
110
|
+
# The default is true
|
|
111
|
+
#
|
|
112
|
+
# allowZfsEncryption: true
|
|
113
|
+
|
|
54
114
|
# Correctly draw nested (e.g. logical) partitions as such.
|
|
55
115
|
drawNestedPartitions: false
|
|
56
116
|
|
|
@@ -67,6 +127,15 @@ alwaysShowPartitionLabels: true
|
|
|
67
127
|
# If nothing is specified, manual partitioning is enabled.
|
|
68
128
|
#allowManualPartitioning: true
|
|
69
129
|
|
|
130
|
+
# Show not encrypted boot partition warning.
|
|
131
|
+
#
|
|
132
|
+
# When set to false, this option does not show the
|
|
133
|
+
# "Boot partition not encrypted" warning when encrypting the
|
|
134
|
+
# root partition but not /boot partition.
|
|
135
|
+
#
|
|
136
|
+
# If nothing is specified, the warning is shown.
|
|
137
|
+
#showNotEncryptedBootMessage: true
|
|
138
|
+
|
|
70
139
|
# Initial selection on the Choice page
|
|
71
140
|
#
|
|
72
141
|
# There are four radio buttons (in principle: erase, replace, alongside, manual),
|
|
@@ -87,6 +156,13 @@ initialPartitioningChoice: none
|
|
|
87
156
|
# one of the items from the options.
|
|
88
157
|
initialSwapChoice: none
|
|
89
158
|
|
|
159
|
+
# armInstall
|
|
160
|
+
#
|
|
161
|
+
# Leaves 16MB empty at the start of a drive when partitioning
|
|
162
|
+
# where usually the u-boot loader goes
|
|
163
|
+
#
|
|
164
|
+
# armInstall: false
|
|
165
|
+
|
|
90
166
|
# Default partition table type, used when a "erase" disk is made.
|
|
91
167
|
#
|
|
92
168
|
# When erasing a disk, a new partition table is created on disk.
|
|
@@ -94,11 +170,12 @@ initialSwapChoice: none
|
|
|
94
170
|
# manual partitioning, this partition table exists already on disk
|
|
95
171
|
# and it is left unmodified.
|
|
96
172
|
#
|
|
97
|
-
#
|
|
173
|
+
# Possible values: gpt, msdos (or other names defined by KPMcore).
|
|
174
|
+
# Names are case-sensitive.
|
|
175
|
+
#
|
|
98
176
|
# If nothing is specified, Calamares defaults to "gpt" if system is
|
|
99
|
-
# efi or "msdos".
|
|
177
|
+
# efi or "msdos" otherwise.
|
|
100
178
|
#
|
|
101
|
-
# Names are case-sensitive and defined by KPMCore.
|
|
102
179
|
# defaultPartitionTableType: msdos
|
|
103
180
|
|
|
104
181
|
# Requirement for partition table type
|
|
@@ -106,7 +183,8 @@ initialSwapChoice: none
|
|
|
106
183
|
# Restrict the installation on disks that match the type of partition
|
|
107
184
|
# tables that are specified.
|
|
108
185
|
#
|
|
109
|
-
# Possible values: msdos, gpt
|
|
186
|
+
# Possible values: msdos, gpt (or other names defined by KPMcore).
|
|
187
|
+
# Names are case-sensitive.
|
|
110
188
|
#
|
|
111
189
|
# If nothing is specified, Calamares defaults to both "msdos" and "gpt".
|
|
112
190
|
#
|
|
@@ -117,8 +195,8 @@ initialSwapChoice: none
|
|
|
117
195
|
|
|
118
196
|
# Default filesystem type, used when a "new" partition is made.
|
|
119
197
|
#
|
|
120
|
-
# When replacing a partition, the
|
|
121
|
-
#
|
|
198
|
+
# When replacing a partition, the new filesystem type will be from the
|
|
199
|
+
# defaultFileSystemType value. In other cases, e.g. Erase and Alongside,
|
|
122
200
|
# as well as when using manual partitioning and creating a new
|
|
123
201
|
# partition, this filesystem type is pre-selected. Note that
|
|
124
202
|
# editing a partition in manual-creation mode will not automatically
|
|
@@ -143,7 +221,50 @@ defaultFileSystemType: "ext4"
|
|
|
143
221
|
#
|
|
144
222
|
# If not specified at all, uses *defaultFileSystemType* without a
|
|
145
223
|
# warning (this matches traditional no-choice-available behavior best).
|
|
146
|
-
availableFileSystemTypes: ["ext4"]
|
|
224
|
+
# availableFileSystemTypes: ["ext4","f2fs"]
|
|
225
|
+
|
|
226
|
+
# Per-directory filesystem restrictions.
|
|
227
|
+
#
|
|
228
|
+
# This optional setting specifies what filesystems the user can and cannot use
|
|
229
|
+
# for various directories and mountpoints when using manual partitioning.
|
|
230
|
+
#
|
|
231
|
+
# If nothing is specified, the only restriction enforced by default is that
|
|
232
|
+
# the EFI system partition must use the fat32 filesystem.
|
|
233
|
+
#
|
|
234
|
+
# Otherwise, the filesystem restrictions are defined as follow:
|
|
235
|
+
#
|
|
236
|
+
# directoryFilesystemRestrictions:
|
|
237
|
+
# - directory: "any"
|
|
238
|
+
# allowedFilesystemTypes: ["all"]
|
|
239
|
+
# - directory: "/"
|
|
240
|
+
# allowedFilesystemTypes: ["ext4","xfs","btrfs","jfs","f2fs"]
|
|
241
|
+
# - mountpoint: "efi"
|
|
242
|
+
# allowedFilesystemTypes: ["fat32"]
|
|
243
|
+
# onlyWhenMountpoint: true
|
|
244
|
+
#
|
|
245
|
+
# There can be any number of mountpoints listed, each entry having the
|
|
246
|
+
# following attributes:
|
|
247
|
+
# - mountpoint: mountpoint's full path
|
|
248
|
+
# or
|
|
249
|
+
# "any" to specify a global whitelist that applies to all
|
|
250
|
+
# mountpoints
|
|
251
|
+
# or
|
|
252
|
+
# "efi" to specify a whitelist specific to the EFI system
|
|
253
|
+
# partition, wherever that partition is located
|
|
254
|
+
# - allowedFilesystemTypes: the list of all filesystems valid for this
|
|
255
|
+
# mountpoint. If the list contains exactly one
|
|
256
|
+
# element, and that element is the special value
|
|
257
|
+
# "any", all filesystem types recognized by
|
|
258
|
+
# Calamares will be allowed.
|
|
259
|
+
# - onlyWhenMountpoint: Whether the restriction should apply only when the
|
|
260
|
+
# specified directory is a mountpoint. When set to
|
|
261
|
+
# true, Calamares will only enforce the listed
|
|
262
|
+
# restrictions when the user makes a separate partition
|
|
263
|
+
# for this directory and assigns the mountpoint
|
|
264
|
+
# accordingly. When set to false, Calamares will
|
|
265
|
+
# ensure this directory uses the specified filesystem
|
|
266
|
+
# even if the directory is part of a filesystem on a
|
|
267
|
+
# different mountpoint. Defaults to false.
|
|
147
268
|
|
|
148
269
|
# Show/hide LUKS related functionality in automated partitioning modes.
|
|
149
270
|
# Disable this if you choose not to deploy early unlocking support in GRUB2
|
|
@@ -164,6 +285,18 @@ availableFileSystemTypes: ["ext4"]
|
|
|
164
285
|
# If nothing is specified, LUKS is enabled in automated modes.
|
|
165
286
|
#enableLuksAutomatedPartitioning: true
|
|
166
287
|
|
|
288
|
+
# When enableLuksAutomatedPartitioning is true, this option will pre-check
|
|
289
|
+
# encryption checkbox. This option is only usefull to help people to not forget
|
|
290
|
+
# to cypher their disk when installing in enterprise (for exemple).
|
|
291
|
+
#preCheckEncryption: false
|
|
292
|
+
|
|
293
|
+
# LVM support
|
|
294
|
+
#
|
|
295
|
+
# There is only one sub-key available, *enable* (defaults to true)
|
|
296
|
+
# which can be used to show (default) or hide the LVM buttons in the partitioning module.
|
|
297
|
+
lvm:
|
|
298
|
+
enable: true
|
|
299
|
+
|
|
167
300
|
# Partition layout.
|
|
168
301
|
#
|
|
169
302
|
# This optional setting specifies a custom partition layout.
|
|
@@ -172,9 +305,9 @@ availableFileSystemTypes: ["ext4"]
|
|
|
172
305
|
# for root that uses 100% of the space and uses the filesystem defined by
|
|
173
306
|
# defaultFileSystemType.
|
|
174
307
|
#
|
|
175
|
-
# Note: the EFI system partition is
|
|
176
|
-
# needed; the swap partition is appended to the layout if enabled (
|
|
177
|
-
# suspend).
|
|
308
|
+
# Note: the EFI system partition is prepended automatically to the layout if
|
|
309
|
+
# needed; the swap partition is appended to the layout if enabled (selections
|
|
310
|
+
# "small" or "suspend" in *userSwapChoices*).
|
|
178
311
|
#
|
|
179
312
|
# Otherwise, the partition layout is defined as follow:
|
|
180
313
|
#
|
|
@@ -182,14 +315,16 @@ availableFileSystemTypes: ["ext4"]
|
|
|
182
315
|
# - name: "rootfs"
|
|
183
316
|
# type: "4f68bce3-e8cd-4db1-96e7-fbcaf984b709"
|
|
184
317
|
# filesystem: "ext4"
|
|
318
|
+
# noEncrypt: false
|
|
185
319
|
# mountPoint: "/"
|
|
186
320
|
# size: 20%
|
|
187
321
|
# minSize: 500M
|
|
188
322
|
# maxSize: 10G
|
|
189
323
|
# attributes: 0xffff000000000003
|
|
190
324
|
# - name: "home"
|
|
191
|
-
# type
|
|
325
|
+
# type: "933ac7e1-2eb4-4f13-b844-0e14e2aef915"
|
|
192
326
|
# filesystem: "ext4"
|
|
327
|
+
# noEncrypt: false
|
|
193
328
|
# mountPoint: "/home"
|
|
194
329
|
# size: 3G
|
|
195
330
|
# minSize: 1.5G
|
|
@@ -217,6 +352,7 @@ availableFileSystemTypes: ["ext4"]
|
|
|
217
352
|
# - if "unknown" (or an unknown FS name, like "elephant") then the
|
|
218
353
|
# default filesystem type, or the user's choice, will be applied instead
|
|
219
354
|
# of "unknown" (e.g. the user might pick ext4, or xfs).
|
|
355
|
+
# - noEncrypt: whether this partition is exempt from encryption if enabled (optional parameter; default is false)
|
|
220
356
|
# - mountPoint: partition mount point (optional parameter; not mounted if unset)
|
|
221
357
|
# - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB)
|
|
222
358
|
# or
|
|
@@ -239,4 +375,4 @@ availableFileSystemTypes: ["ext4"]
|
|
|
239
375
|
# BIG FAT WARNING: except for OEM-phase-0 use, you should be using
|
|
240
376
|
# the welcome module, **and** configure this value in
|
|
241
377
|
# `welcome.conf`, not here.
|
|
242
|
-
requiredStorage:
|
|
378
|
+
# requiredStorage: 3.5
|
package/conf/eggs.yaml
CHANGED
package/conf/krill.yaml
CHANGED
|
@@ -19,6 +19,14 @@ installationDevice: ''
|
|
|
19
19
|
installationMode: 'standard'
|
|
20
20
|
filesystemType: 'ext4'
|
|
21
21
|
userSwapChoice: 'small'
|
|
22
|
+
lvmOptions:
|
|
23
|
+
vgName: ''
|
|
24
|
+
lvRootName: ''
|
|
25
|
+
lvRootFSType: ''
|
|
26
|
+
lvRootSize: ''
|
|
27
|
+
lvDataName: ''
|
|
28
|
+
lvDataFSType: ''
|
|
29
|
+
lvDataMountPoint: ''
|
|
22
30
|
|
|
23
31
|
# users (Here you can put your default user, password, etc)
|
|
24
32
|
name: 'artisan'
|
package/conf/love.yaml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Penguins' eggs
|
|
2
2
|
# love.yaml
|
|
3
3
|
---
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
4
|
+
- eggs kill
|
|
5
|
+
- eggs dad --default
|
|
6
|
+
- eggs tools clean
|
|
7
|
+
- eggs produce --pendrive --addons adapt
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -2,62 +2,63 @@
|
|
|
2
2
|
"name": "penguins-eggs",
|
|
3
3
|
"shortName": "eggs",
|
|
4
4
|
"description": "A remaster system tool, compatible with Arch, Debian, Devuan, Ubuntu and others",
|
|
5
|
-
"version": "10.0
|
|
5
|
+
"version": "10.1.0",
|
|
6
6
|
"author": "Piero Proietti",
|
|
7
7
|
"bin": {
|
|
8
8
|
"eggs": "./bin/run.js"
|
|
9
9
|
},
|
|
10
10
|
"bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@oclif/core": "^4.
|
|
13
|
-
"@oclif/plugin-autocomplete": "^3.2.
|
|
14
|
-
"@oclif/plugin-help": "^6.2.
|
|
15
|
-
"@oclif/plugin-version": "^2.2.
|
|
16
|
-
"ansis": "^3.
|
|
17
|
-
"axios": "^1.
|
|
12
|
+
"@oclif/core": "^4.2.10",
|
|
13
|
+
"@oclif/plugin-autocomplete": "^3.2.26",
|
|
14
|
+
"@oclif/plugin-help": "^6.2.27",
|
|
15
|
+
"@oclif/plugin-version": "^2.2.27",
|
|
16
|
+
"ansis": "^3.17.0",
|
|
17
|
+
"axios": "^1.8.4",
|
|
18
18
|
"chalk": "^5.4.0",
|
|
19
|
-
"cli-cursor": "^
|
|
19
|
+
"cli-cursor": "^5.0.0",
|
|
20
20
|
"debug": "^4.4.0",
|
|
21
|
-
"ink": "^5.0
|
|
21
|
+
"ink": "^5.2.0",
|
|
22
22
|
"ink-progress-bar": "^3.0.0",
|
|
23
23
|
"ink-spinner": "^5.0.0",
|
|
24
|
-
"inquirer": "^9.3.
|
|
24
|
+
"inquirer": "^9.3.7",
|
|
25
25
|
"js-yaml": "^4.1.0",
|
|
26
26
|
"mustache": "^4.2.0",
|
|
27
27
|
"netmask": "^2.0.2",
|
|
28
28
|
"node-proxy-dhcpd": "0.1.2",
|
|
29
29
|
"node-static": "^0.7.11",
|
|
30
30
|
"react": "^18.3.1",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
31
|
+
"read": "^4.1.0",
|
|
32
|
+
"shelljs": "^0.9.2",
|
|
33
|
+
"systeminformation": "^5.25.11",
|
|
33
34
|
"tftp": "^0.1.2"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@oclif/prettier-config": "^0.2.1",
|
|
37
|
-
"@oclif/test": "^4.1.
|
|
38
|
-
"@types/chai": "^
|
|
38
|
+
"@oclif/test": "^4.1.12",
|
|
39
|
+
"@types/chai": "^5.0.1",
|
|
39
40
|
"@types/debug": "^4.1.12",
|
|
40
41
|
"@types/inquirer": "^9.0.7",
|
|
41
42
|
"@types/js-yaml": "^4.0.9",
|
|
42
43
|
"@types/mocha": "^10.0.8",
|
|
43
44
|
"@types/mustache": "^4.2.5",
|
|
44
45
|
"@types/netmask": "^2.0.5",
|
|
45
|
-
"@types/node": "^22.
|
|
46
|
+
"@types/node": "^22.14.1",
|
|
46
47
|
"@types/node-static": "^0.7.11",
|
|
47
|
-
"@types/react": "
|
|
48
|
+
"@types/react": "18.3.18",
|
|
49
|
+
"@types/read": "^0.0.32",
|
|
48
50
|
"@types/shelljs": "^0.8.15",
|
|
49
|
-
"chai": "^5.
|
|
50
|
-
"eslint": "^
|
|
51
|
-
"eslint-config-oclif": "^
|
|
52
|
-
"eslint-config-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"shx": "^0.3.4",
|
|
51
|
+
"chai": "^5.2.0",
|
|
52
|
+
"eslint": "^9.25.0",
|
|
53
|
+
"eslint-config-oclif": "^6.0.44",
|
|
54
|
+
"eslint-config-prettier": "^10.0.2",
|
|
55
|
+
"mocha": "^11.1.0",
|
|
56
|
+
"oclif": "^4.17.44",
|
|
57
|
+
"perrisbrewery": "^10.1.2",
|
|
58
|
+
"prettier": "^3.5.3",
|
|
59
|
+
"shx": "^0.4.0",
|
|
59
60
|
"ts-node": "10.9.2",
|
|
60
|
-
"typescript": "^5.
|
|
61
|
+
"typescript": "^5.7.3"
|
|
61
62
|
},
|
|
62
63
|
"engines": {
|
|
63
64
|
"node": ">=16.0.0"
|
|
@@ -72,9 +73,12 @@
|
|
|
72
73
|
"/dracut",
|
|
73
74
|
"/eui",
|
|
74
75
|
"/ipxe",
|
|
76
|
+
"/maker",
|
|
75
77
|
"/manpages",
|
|
76
78
|
"/mkinitcpio",
|
|
77
79
|
"/mkinitfs",
|
|
80
|
+
"/perrisbrewery",
|
|
81
|
+
"/pods",
|
|
78
82
|
"/scripts",
|
|
79
83
|
"/syslinux"
|
|
80
84
|
],
|
|
@@ -109,12 +113,12 @@
|
|
|
109
113
|
"_postpack": "shx rm -f oclif.manifest.json",
|
|
110
114
|
"_prepack": "oclif manifest && ocl -t linux-x64",
|
|
111
115
|
"build": "shx rm -rf dist && tsc -b",
|
|
112
|
-
"deb": "tsc -p . && oclif manifest && pb deb",
|
|
116
|
+
"deb": "shx rm -rf dist && tsc -p . && oclif manifest && pb deb --release $(cat ./release)",
|
|
113
117
|
"format": "prettier --write \"+(src|test)/**/*.+(ts|js|json)\"",
|
|
114
118
|
"lint": "eslint . --ext .ts",
|
|
115
119
|
"manifest": "oclif manifest",
|
|
116
120
|
"posttest": "pnpm run lint",
|
|
117
|
-
"tarballs": "shx rm -rf dist && tsc -p . && oclif manifest && oclif pack tarballs -t linux-x64 --no-xz -r .",
|
|
121
|
+
"tarballs": "shx rm -rf dist && tsc -p . && oclif manifest && oclif pack tarballs -t linux-x64 --no-xz -r . && pb tarballs --release $(cat ./release)",
|
|
118
122
|
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
119
123
|
"version": "oclif readme && git add README.md"
|
|
120
124
|
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# postinst script for penguins-eggs_9.7.8-1
|
|
3
|
+
#
|
|
4
|
+
# see: dh_installdeb(1)
|
|
5
|
+
|
|
6
|
+
set -e
|
|
7
|
+
|
|
8
|
+
# summary of how this script can be called:
|
|
9
|
+
# * <postinst> `configure' <most-recently-configured-version>
|
|
10
|
+
# * <old-postinst> `abort-upgrade' <new version>
|
|
11
|
+
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
|
12
|
+
# <new-version>
|
|
13
|
+
# * <postinst> `abort-remove'
|
|
14
|
+
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
|
15
|
+
# <failed-install-package> <version> `removing'
|
|
16
|
+
# <conflicting-package> <version>
|
|
17
|
+
# for details, see https://www.debian.org/doc/debian-policy/ or
|
|
18
|
+
# the debian-policy package
|
|
19
|
+
# echo ">>> $0 $1 $2 $3 $4<<<"
|
|
20
|
+
|
|
21
|
+
pkgname="penguins-eggs"
|
|
22
|
+
|
|
23
|
+
case "$1" in
|
|
24
|
+
configure)
|
|
25
|
+
# Adding bash-completion Debian/Devuan/Ubuntu /etc/bash_completion.d/
|
|
26
|
+
if [ -d "/etc/bash_completion.d/" ]; then
|
|
27
|
+
if [ -f "/usr/lib/$pkgname/scripts/eggs.bash" ]; then
|
|
28
|
+
cp /usr/lib/$pkgname/scripts/eggs.bash /etc/bash_completion.d/
|
|
29
|
+
fi
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
# Adding bash-completion elementary /usr/share/bash-completion/completions/
|
|
33
|
+
if [ -d "/usr/share/bash-completion/completions/" ]; then
|
|
34
|
+
if [ -f "/usr/lib/$pkgname/scripts/eggs.bash" ]; then
|
|
35
|
+
cp /usr/lib/$pkgname/scripts/eggs.bash /usr/share/bash-completion/completions/
|
|
36
|
+
fi
|
|
37
|
+
fi
|
|
38
|
+
|
|
39
|
+
# Adding zsh-completion for eggs
|
|
40
|
+
if [ -d "/usr/share/zsh/functions/Completion/Zsh/" ]; then
|
|
41
|
+
if [ -f "/usr/lib/$pkgname/scripts/_eggs" ]; then
|
|
42
|
+
cp /usr/lib/$pkgname/scripts/_eggs /usr/share/zsh/functions/Completion/Zsh/
|
|
43
|
+
fi
|
|
44
|
+
fi
|
|
45
|
+
|
|
46
|
+
# Install man page
|
|
47
|
+
if [ -f "/usr/lib/$pkgname/manpages/doc/man/eggs.1.gz" ]; then
|
|
48
|
+
install -Dm644 /usr/lib/$pkgname/manpages/doc/man/eggs.1.gz /usr/share/man/man1
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
# link to adapt
|
|
53
|
+
if [ -f "/usr/lib/$pkgname/addons/eggs/adapt/bin/adapt" ]; then
|
|
54
|
+
install /usr/lib/$pkgname/addons/eggs/adapt/bin/adapt /usr/bin
|
|
55
|
+
fi
|
|
56
|
+
|
|
57
|
+
# link to love
|
|
58
|
+
if [ -f "/usr/lib/$pkgname/scripts/love" ]; then
|
|
59
|
+
install /usr/lib/$pkgname/scripts/love /usr/bin
|
|
60
|
+
fi
|
|
61
|
+
|
|
62
|
+
# link to resy
|
|
63
|
+
if [ -f "/usr/lib/$pkgname/scripts/resy" ]; then
|
|
64
|
+
install /usr/lib/$pkgname/scripts/resy /usr/sbin
|
|
65
|
+
fi
|
|
66
|
+
|
|
67
|
+
# revitalize mom
|
|
68
|
+
if [ -f "/usr/lib/$pkgname/scripts/mom.sh" ]; then
|
|
69
|
+
chmod +x /usr/lib/$pkgname/scripts/mom.sh
|
|
70
|
+
fi
|
|
71
|
+
|
|
72
|
+
# revitalize eui
|
|
73
|
+
if [ -d "/usr/lib/$pkgname/eui" ]; then
|
|
74
|
+
chmod +x /usr/lib/$pkgname/eui/eui-create-image.sh
|
|
75
|
+
chmod +x /usr/lib/$pkgname/eui/eui-start.sh
|
|
76
|
+
chmod 0400 /usr/lib/$pkgname/eui/eui-users
|
|
77
|
+
fi
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
eggs config --nointeractive
|
|
81
|
+
echo "penguins-eggs was installed..."
|
|
82
|
+
;;
|
|
83
|
+
|
|
84
|
+
abort-upgrade|abort-remove|abort-deconfigure)
|
|
85
|
+
;;
|
|
86
|
+
|
|
87
|
+
*)
|
|
88
|
+
echo "postinst called with unknown argument \`$1'" >&2
|
|
89
|
+
exit 1
|
|
90
|
+
;;
|
|
91
|
+
esac
|
|
92
|
+
|
|
93
|
+
# dh_installdeb will replace this with shell code automatically
|
|
94
|
+
# generated by other debhelper scripts.
|
|
95
|
+
|
|
96
|
+
#DEBHELPER#
|
|
97
|
+
|
|
98
|
+
exit 0
|