penguins-eggs 10.0.60 → 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 +93 -1
- package/README.md +79 -40
- package/addons/eggs/theme/calamares/modules/{_users.yml → users.yml} +3 -3
- package/addons/eggs/theme/livecd/grub.main.full.cfg +1 -1
- package/addons/eggs/theme/livecd/grub.main.simple.cfg +1 -1
- 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/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/love.yaml +4 -4
- package/package.json +22 -19
- 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 +21 -6
- package/scripts/eggs.bash +6 -4
- package/dist/classes/bleach.d.ts +0 -32
- package/dist/classes/bleach.js +0 -135
- 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/bind-live-fs.d.ts +0 -18
- package/dist/classes/ovary.d/bind-live-fs.js +0 -185
- package/dist/classes/ovary.d/bind-vfs.d.ts +0 -17
- package/dist/classes/ovary.d/bind-vfs.js +0 -37
- package/dist/classes/ovary.d/create-xdg-autostart.d.ts +0 -13
- package/dist/classes/ovary.d/create-xdg-autostart.js +0 -194
- package/dist/classes/ovary.d/edit-live-fs.d.ts +0 -19
- package/dist/classes/ovary.d/edit-live-fs.js +0 -249
- package/dist/classes/ovary.d/fertilization.d.ts +0 -12
- package/dist/classes/ovary.d/fertilization.js +0 -46
- package/dist/classes/ovary.d/finished.d.ts +0 -13
- package/dist/classes/ovary.d/finished.js +0 -41
- package/dist/classes/ovary.d/initrd.d.ts +0 -21
- package/dist/classes/ovary.d/initrd.js +0 -72
- package/dist/classes/ovary.d/kernel-copy.d.ts +0 -12
- package/dist/classes/ovary.d/kernel-copy.js +0 -36
- package/dist/classes/ovary.d/live-create-structure.d.ts +0 -12
- package/dist/classes/ovary.d/live-create-structure.js +0 -90
- package/dist/classes/ovary.d/make-dot-disk.d.ts +0 -12
- package/dist/classes/ovary.d/make-dot-disk.js +0 -40
- package/dist/classes/ovary.d/make-efi.d.ts +0 -12
- package/dist/classes/ovary.d/make-efi.js +0 -268
- package/dist/classes/ovary.d/make-iso.d.ts +0 -13
- package/dist/classes/ovary.d/make-iso.js +0 -45
- package/dist/classes/ovary.d/make-squashfs.d.ts +0 -18
- package/dist/classes/ovary.d/make-squashfs.js +0 -117
- package/dist/classes/ovary.d/merged.d.ts +0 -31
- package/dist/classes/ovary.d/merged.js +0 -87
- package/dist/classes/ovary.d/produce.d.ts +0 -23
- package/dist/classes/ovary.d/produce.js +0 -287
- package/dist/classes/ovary.d/rexec.d.ts +0 -13
- package/dist/classes/ovary.d/rexec.js +0 -34
- package/dist/classes/ovary.d/syslinux.d.ts +0 -12
- package/dist/classes/ovary.d/syslinux.js +0 -79
- package/dist/classes/ovary.d/user-create-live.d.ts +0 -14
- package/dist/classes/ovary.d/user-create-live.js +0 -86
- package/dist/classes/ovary.d/users-remove.d.ts +0 -9
- package/dist/classes/ovary.d/users-remove.js +0 -38
- package/dist/classes/ovary.d/xorriso-commend.d.ts +0 -14
- package/dist/classes/ovary.d/xorriso-commend.js +0 -119
- package/dist/classes/ovary.d.ts +0 -77
- package/dist/classes/ovary.js +0 -81
- 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 -140
- 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 -52
- 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 -327
- package/dist/classes/utils.js +0 -1019
- 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 -38
- package/dist/commands/install.js +0 -91
- 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/index.d.ts +0 -54
- package/dist/index.js +0 -147
- package/dist/index_old.d.ts +0 -8
- package/dist/index_old.js +0 -8
- 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-luks-passphrase.d.ts +0 -11
- package/dist/interfaces/i-luks-passphrase.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 -26
- package/dist/interfaces/index.js +0 -8
- package/dist/krill/classes/cfs.d.ts +0 -17
- package/dist/krill/classes/cfs.js +0 -39
- package/dist/krill/classes/krill_enums.d.ts +0 -24
- package/dist/krill/classes/krill_enums.js +0 -26
- package/dist/krill/classes/prepare.d/confirm.d.ts +0 -5
- package/dist/krill/classes/prepare.d/confirm.js +0 -30
- package/dist/krill/classes/prepare.d/keyboard.d.ts +0 -14
- package/dist/krill/classes/prepare.d/keyboard.js +0 -62
- package/dist/krill/classes/prepare.d/location.d.ts +0 -17
- package/dist/krill/classes/prepare.d/location.js +0 -59
- package/dist/krill/classes/prepare.d/network.d.ts +0 -14
- package/dist/krill/classes/prepare.d/network.js +0 -68
- package/dist/krill/classes/prepare.d/partitions.d.ts +0 -14
- package/dist/krill/classes/prepare.d/partitions.js +0 -86
- package/dist/krill/classes/prepare.d/summary.d.ts +0 -15
- package/dist/krill/classes/prepare.d/summary.js +0 -69
- package/dist/krill/classes/prepare.d/users.d.ts +0 -6
- package/dist/krill/classes/prepare.d/users.js +0 -63
- package/dist/krill/classes/prepare.d/welcome.d.ts +0 -6
- package/dist/krill/classes/prepare.d/welcome.js +0 -30
- package/dist/krill/classes/prepare.d.ts +0 -64
- package/dist/krill/classes/prepare.js +0 -314
- package/dist/krill/classes/sequence.d/add_user.d.ts +0 -20
- package/dist/krill/classes/sequence.d/add_user.js +0 -48
- package/dist/krill/classes/sequence.d/bootloader.d.ts +0 -14
- package/dist/krill/classes/sequence.d/bootloader.js +0 -95
- package/dist/krill/classes/sequence.d/bootloader_config.d.ts +0 -14
- package/dist/krill/classes/sequence.d/bootloader_config.js +0 -165
- package/dist/krill/classes/sequence.d/change_password.d.ts +0 -15
- package/dist/krill/classes/sequence.d/change_password.js +0 -18
- package/dist/krill/classes/sequence.d/del_live_user.d.ts +0 -14
- package/dist/krill/classes/sequence.d/del_live_user.js +0 -39
- package/dist/krill/classes/sequence.d/fstab.d.ts +0 -14
- package/dist/krill/classes/sequence.d/fstab.js +0 -189
- package/dist/krill/classes/sequence.d/grubcfg.d.ts +0 -17
- package/dist/krill/classes/sequence.d/grubcfg.js +0 -33
- package/dist/krill/classes/sequence.d/hostname.d.ts +0 -13
- package/dist/krill/classes/sequence.d/hostname.js +0 -50
- package/dist/krill/classes/sequence.d/initramfs.d.ts +0 -13
- package/dist/krill/classes/sequence.d/initramfs.js +0 -54
- package/dist/krill/classes/sequence.d/initramfs_cfg.d.ts +0 -14
- package/dist/krill/classes/sequence.d/initramfs_cfg.js +0 -35
- package/dist/krill/classes/sequence.d/locale.d.ts +0 -13
- package/dist/krill/classes/sequence.d/locale.js +0 -91
- package/dist/krill/classes/sequence.d/locale_cfg.d.ts +0 -10
- package/dist/krill/classes/sequence.d/locale_cfg.js +0 -58
- package/dist/krill/classes/sequence.d/m_keyboard.d.ts +0 -14
- package/dist/krill/classes/sequence.d/m_keyboard.js +0 -58
- package/dist/krill/classes/sequence.d/machine_id.d.ts +0 -15
- package/dist/krill/classes/sequence.d/machine_id.js +0 -33
- package/dist/krill/classes/sequence.d/mkfs.d.ts +0 -15
- package/dist/krill/classes/sequence.d/mkfs.js +0 -72
- package/dist/krill/classes/sequence.d/mount_fs.d.ts +0 -17
- package/dist/krill/classes/sequence.d/mount_fs.js +0 -68
- package/dist/krill/classes/sequence.d/mount_vfs.d.ts +0 -17
- package/dist/krill/classes/sequence.d/mount_vfs.js +0 -40
- package/dist/krill/classes/sequence.d/network_cfg.d.ts +0 -19
- package/dist/krill/classes/sequence.d/network_cfg.js +0 -73
- package/dist/krill/classes/sequence.d/packages.d.ts +0 -14
- package/dist/krill/classes/sequence.d/packages.js +0 -111
- package/dist/krill/classes/sequence.d/partition.d/bios_luks.d.ts +0 -17
- package/dist/krill/classes/sequence.d/partition.d/bios_luks.js +0 -73
- package/dist/krill/classes/sequence.d/partition.d/bios_standard.d.ts +0 -17
- package/dist/krill/classes/sequence.d/partition.d/bios_standard.js +0 -36
- package/dist/krill/classes/sequence.d/partition.d/uefi_luks.d.ts +0 -17
- package/dist/krill/classes/sequence.d/partition.d/uefi_luks.js +0 -78
- package/dist/krill/classes/sequence.d/partition.d/uefi_standard.d.ts +0 -10
- package/dist/krill/classes/sequence.d/partition.d/uefi_standard.js +0 -32
- package/dist/krill/classes/sequence.d/partition.d.ts +0 -14
- package/dist/krill/classes/sequence.d/partition.js +0 -84
- package/dist/krill/classes/sequence.d/remove_installer_link.d.ts +0 -13
- package/dist/krill/classes/sequence.d/remove_installer_link.js +0 -35
- package/dist/krill/classes/sequence.d/umount.d.ts +0 -14
- package/dist/krill/classes/sequence.d/umount.js +0 -28
- package/dist/krill/classes/sequence.d/unpackfs.d.ts +0 -13
- package/dist/krill/classes/sequence.d/unpackfs.js +0 -20
- package/dist/krill/classes/sequence.d.ts +0 -136
- package/dist/krill/classes/sequence.js +0 -663
- package/dist/krill/components/finished.d.ts +0 -16
- package/dist/krill/components/finished.js +0 -56
- package/dist/krill/components/information.d.ts +0 -8
- package/dist/krill/components/information.js +0 -156
- package/dist/krill/components/install.d.ts +0 -15
- package/dist/krill/components/install.js +0 -60
- package/dist/krill/components/keyboard.d.ts +0 -16
- package/dist/krill/components/keyboard.js +0 -54
- package/dist/krill/components/location.d.ts +0 -16
- package/dist/krill/components/location.js +0 -59
- package/dist/krill/components/network.d.ts +0 -19
- package/dist/krill/components/network.js +0 -65
- package/dist/krill/components/partitions.d.ts +0 -18
- package/dist/krill/components/partitions.js +0 -89
- package/dist/krill/components/steps.d.ts +0 -13
- package/dist/krill/components/steps.js +0 -148
- package/dist/krill/components/summary.d.ts +0 -25
- package/dist/krill/components/summary.js +0 -77
- package/dist/krill/components/title.d.ts +0 -11
- package/dist/krill/components/title.js +0 -35
- package/dist/krill/components/users.d.ts +0 -24
- package/dist/krill/components/users.js +0 -80
- package/dist/krill/components/welcome.d.ts +0 -13
- package/dist/krill/components/welcome.js +0 -63
- package/dist/krill/interfaces/i_krill.d.ts +0 -44
- package/dist/krill/interfaces/i_krill.js +0 -8
- package/dist/krill/interfaces/i_krill_config.d.ts +0 -35
- package/dist/krill/interfaces/i_krill_config.js +0 -8
- package/dist/krill/lib/get_address.d.ts +0 -8
- package/dist/krill/lib/get_address.js +0 -23
- package/dist/krill/lib/get_dns.d.ts +0 -8
- package/dist/krill/lib/get_dns.js +0 -23
- package/dist/krill/lib/get_domain.d.ts +0 -8
- package/dist/krill/lib/get_domain.js +0 -23
- package/dist/krill/lib/get_gateway.d.ts +0 -8
- package/dist/krill/lib/get_gateway.js +0 -23
- package/dist/krill/lib/get_hostname.d.ts +0 -8
- package/dist/krill/lib/get_hostname.js +0 -23
- package/dist/krill/lib/get_luks_passphrase.d.ts +0 -8
- package/dist/krill/lib/get_luks_passphrase.js +0 -40
- package/dist/krill/lib/get_netmask.d.ts +0 -8
- package/dist/krill/lib/get_netmask.js +0 -23
- package/dist/krill/lib/get_password.d.ts +0 -8
- package/dist/krill/lib/get_password.js +0 -36
- package/dist/krill/lib/get_userfullname.d.ts +0 -8
- package/dist/krill/lib/get_userfullname.js +0 -23
- package/dist/krill/lib/get_username.d.ts +0 -8
- package/dist/krill/lib/get_username.js +0 -23
- package/dist/krill/lib/kill_me_softly.d.ts +0 -11
- package/dist/krill/lib/kill_me_softly.js +0 -61
- package/dist/krill/lib/select_address_type.d.ts +0 -8
- package/dist/krill/lib/select_address_type.js +0 -24
- package/dist/krill/lib/select_filesystem_type.d.ts +0 -8
- package/dist/krill/lib/select_filesystem_type.js +0 -39
- package/dist/krill/lib/select_installation_device.d.ts +0 -8
- package/dist/krill/lib/select_installation_device.js +0 -40
- package/dist/krill/lib/select_installation_mode.d.ts +0 -9
- package/dist/krill/lib/select_installation_mode.js +0 -25
- package/dist/krill/lib/select_interface.d.ts +0 -8
- package/dist/krill/lib/select_interface.js +0 -24
- package/dist/krill/lib/select_keyboard_layout.d.ts +0 -11
- package/dist/krill/lib/select_keyboard_layout.js +0 -36
- package/dist/krill/lib/select_keyboard_model.d.ts +0 -11
- package/dist/krill/lib/select_keyboard_model.js +0 -34
- package/dist/krill/lib/select_keyboard_option.d.ts +0 -11
- package/dist/krill/lib/select_keyboard_option.js +0 -34
- package/dist/krill/lib/select_keyboard_variant.d.ts +0 -11
- package/dist/krill/lib/select_keyboard_variant.js +0 -35
- package/dist/krill/lib/select_languages.d.ts +0 -8
- package/dist/krill/lib/select_languages.js +0 -28
- package/dist/krill/lib/select_regions.d.ts +0 -8
- package/dist/krill/lib/select_regions.js +0 -24
- package/dist/krill/lib/select_replaced_partition.d.ts +0 -8
- package/dist/krill/lib/select_replaced_partition.js +0 -31
- package/dist/krill/lib/select_user_swap_choice.d.ts +0 -9
- package/dist/krill/lib/select_user_swap_choice.js +0 -35
- package/dist/krill/lib/select_zones.d.ts +0 -8
- package/dist/krill/lib/select_zones.js +0 -518
- package/dist/lib/utils.d.ts +0 -42
- package/dist/lib/utils.js +0 -87
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
set -x
|
|
4
|
+
export CMD_PATH=$(cd `dirname $0`; pwd)
|
|
5
|
+
export PROJECT_NAME="${CMD_PATH##*/}"
|
|
6
|
+
export NEEDRESTART_MODE=a
|
|
7
|
+
export DEBIAN_FRONTEND=noninteractive
|
|
8
|
+
|
|
9
|
+
cd $CMD_PATH
|
|
10
|
+
|
|
11
|
+
if [[ -f /etc/os-release ]]; then
|
|
12
|
+
. /etc/os-release
|
|
13
|
+
if [[ "$ID" == "almalinux" ]]; then
|
|
14
|
+
echo "install the package of capsh"
|
|
15
|
+
mkdir /boot
|
|
16
|
+
dnf -y install kernel
|
|
17
|
+
kernel_version=$(rpm -q kernel --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" | tail -n 1)
|
|
18
|
+
cp /usr/lib/modules/$kernel_version/vmlinuz /boot/vmlinuz-$kernel_version
|
|
19
|
+
dracut --force --kver $kernel_version
|
|
20
|
+
|
|
21
|
+
elif [[ "$ID" == "arch" ]]; then
|
|
22
|
+
echo "install the package of capsh"
|
|
23
|
+
pacman -S --needed --noconfirm linux linux-headers
|
|
24
|
+
pacman -S --needed --noconfirm libcap
|
|
25
|
+
pacman -S --needed --noconfirmkmod
|
|
26
|
+
|
|
27
|
+
elif [[ "$ID" == "debian" ]]; then
|
|
28
|
+
echo "install the package of capsh"
|
|
29
|
+
apt update -y
|
|
30
|
+
apt install linux-image-amd64 -y
|
|
31
|
+
apt install -y kmod
|
|
32
|
+
apt install -y libcap2-bin
|
|
33
|
+
|
|
34
|
+
elif [[ "$ID" == "devuan" ]]; then
|
|
35
|
+
echo "install the package of capsh"
|
|
36
|
+
apt update -y
|
|
37
|
+
apt install linux-image-amd64 -y
|
|
38
|
+
apt install -y kmod
|
|
39
|
+
apt install -y libcap2-bin
|
|
40
|
+
|
|
41
|
+
elif [[ "$ID" == "fedora" ]]; then
|
|
42
|
+
echo "install the package of capsh"
|
|
43
|
+
mkdir /boot
|
|
44
|
+
dnf -y install kernel
|
|
45
|
+
kernel_version=$(rpm -q kernel --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" | tail -n 1)
|
|
46
|
+
cp /usr/lib/modules/$kernel_version/vmlinuz /boot/vmlinuz-$kernel_version
|
|
47
|
+
dracut --force --kver $kernel_version
|
|
48
|
+
|
|
49
|
+
elif [[ "$ID" == "manjaro" ]]; then
|
|
50
|
+
echo "install the package of capsh"
|
|
51
|
+
pacman -S --needed --noconfirm linux linux-headers
|
|
52
|
+
pacman -S --needed --noconfirm libcap
|
|
53
|
+
pacman -S --needed --noconfirmkmod
|
|
54
|
+
|
|
55
|
+
elif [[ "$ID" == "opensuse" ]]; then
|
|
56
|
+
mkdir /boot
|
|
57
|
+
zypper install --force kernel-default kernel-default-devel
|
|
58
|
+
kernel_version=$(rpm -q kernel --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" | tail -n 1)
|
|
59
|
+
cp /usr/lib/modules/$kernel_version/vmlinuz /boot/vmlinuz-$kernel_version
|
|
60
|
+
#dracut --force --kver $kernel_version
|
|
61
|
+
|
|
62
|
+
elif [[ "$ID" == "opensuse-tumbleweed" ]]; then
|
|
63
|
+
echo "install the package of capsh"
|
|
64
|
+
zypper install -y kernel
|
|
65
|
+
zypper install -y libcap-progs
|
|
66
|
+
|
|
67
|
+
elif [[ "$ID" == "rocky" ]]; then
|
|
68
|
+
echo "install the package of capsh"
|
|
69
|
+
mkdir /boot
|
|
70
|
+
dnf -y install kernel
|
|
71
|
+
kernel_version=$(rpm -q kernel --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" | tail -n 1)
|
|
72
|
+
cp /usr/lib/modules/$kernel_version/vmlinuz /boot/vmlinuz-$kernel_version
|
|
73
|
+
dracut --force --kver $kernel_version
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
elif [[ "$ID" == "ubuntu" ]]; then
|
|
77
|
+
echo "install the package of capsh"
|
|
78
|
+
apt install linux-image-generic -y
|
|
79
|
+
apt install -y kmod
|
|
80
|
+
apt install -y libcap2-bin
|
|
81
|
+
|
|
82
|
+
else
|
|
83
|
+
# DEFAULT Debian
|
|
84
|
+
echo "install the package of capsh"
|
|
85
|
+
apt update -y
|
|
86
|
+
apt install linux-image-amd64 -y
|
|
87
|
+
apt install -y kmod
|
|
88
|
+
apt install -y libcap2-bin
|
|
89
|
+
fi
|
|
90
|
+
fi
|
|
91
|
+
|
|
92
|
+
grep overlay /proc/filesystems
|
|
93
|
+
modprobe overlay
|
|
94
|
+
|
|
95
|
+
capsh --print
|
|
96
|
+
|
|
97
|
+
mkdir -p $CMD_PATH/lower $CMD_PATH/upper $CMD_PATH/work $CMD_PATH/merged
|
|
98
|
+
|
|
99
|
+
# Add test files
|
|
100
|
+
echo "Lower File" > $CMD_PATH/lower/test.txt
|
|
101
|
+
echo "Upper File" > $CMD_PATH/upper/test.txt
|
|
102
|
+
|
|
103
|
+
mount -t overlay overlay -o lowerdir=$CMD_PATH/lower,upperdir=$CMD_PATH/upper,workdir=$CMD_PATH/work $CMD_PATH/merged
|
|
104
|
+
|
|
105
|
+
ls $CMD_PATH/merged
|
|
106
|
+
cat $CMD_PATH/merged/test.txt
|
|
107
|
+
|
|
108
|
+
umount $CMD_PATH/merged
|
|
109
|
+
|
|
110
|
+
rm -rf $CMD_PATH/lower
|
|
111
|
+
rm -rf $CMD_PATH/upper
|
|
112
|
+
rm -rf $CMD_PATH/work
|
|
113
|
+
rm -rf $CMD_PATH/merged
|
|
114
|
+
date
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# This script build an almalinux system from container
|
|
4
|
+
|
|
5
|
+
set -x
|
|
6
|
+
|
|
7
|
+
# check if we are root
|
|
8
|
+
if [ "$(id -u)" -ne 0 ]; then
|
|
9
|
+
echo "This script must be run as root"
|
|
10
|
+
exit 1
|
|
11
|
+
fi
|
|
12
|
+
|
|
13
|
+
# check if we are on rocky or almalinux
|
|
14
|
+
if [ ! -f /etc/almalinux-release ]; then
|
|
15
|
+
if [ ! -f /etc/rocky-release ]; then
|
|
16
|
+
echo "This script is intended for almalinux or rocky!"
|
|
17
|
+
exit 1
|
|
18
|
+
fi
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
# update
|
|
22
|
+
dnf -y update
|
|
23
|
+
|
|
24
|
+
# add epel-release
|
|
25
|
+
dnf -y install epel-release
|
|
26
|
+
|
|
27
|
+
# enable crb
|
|
28
|
+
dnf config-manager --set-enabled crb
|
|
29
|
+
|
|
30
|
+
# update
|
|
31
|
+
dnf -y update
|
|
32
|
+
|
|
33
|
+
# enable crb
|
|
34
|
+
dnf config-manager --set-enabled crb
|
|
35
|
+
|
|
36
|
+
# echo "base: system e init"
|
|
37
|
+
# echo "package manager"
|
|
38
|
+
# echo "login e console"
|
|
39
|
+
# echo "networking"
|
|
40
|
+
# echo "filesystem and disk support"
|
|
41
|
+
# echo "drivers and hw support"
|
|
42
|
+
# echo "tools"
|
|
43
|
+
# echo "optional tools debug/live ISO"
|
|
44
|
+
# echo "systemd configure/enable"
|
|
45
|
+
# echo "generate /etc/default/grub"
|
|
46
|
+
# echo "eggs requirements"
|
|
47
|
+
|
|
48
|
+
echo "base: system e init"
|
|
49
|
+
dnf -y --nobest install \
|
|
50
|
+
systemd \
|
|
51
|
+
dracut \
|
|
52
|
+
kernel \
|
|
53
|
+
grub2 \
|
|
54
|
+
passwd \
|
|
55
|
+
sudo
|
|
56
|
+
|
|
57
|
+
echo "package manager"
|
|
58
|
+
dnf -y --nobest install \
|
|
59
|
+
dnf \
|
|
60
|
+
dnf-plugins-core
|
|
61
|
+
|
|
62
|
+
echo "login e console"
|
|
63
|
+
dnf -y --nobest install \
|
|
64
|
+
util-linux \
|
|
65
|
+
e2fsprogs \
|
|
66
|
+
shadow-utils \
|
|
67
|
+
hostname \
|
|
68
|
+
iproute \
|
|
69
|
+
iputils \
|
|
70
|
+
procps-ng
|
|
71
|
+
|
|
72
|
+
echo "networking"
|
|
73
|
+
dnf -y --nobest install \
|
|
74
|
+
NetworkManager \
|
|
75
|
+
dhclient \
|
|
76
|
+
nss-altfiles \
|
|
77
|
+
openssh-server
|
|
78
|
+
|
|
79
|
+
echo "filesystem and disk support"
|
|
80
|
+
dnf -y --nobest install \
|
|
81
|
+
btrfs-progs \
|
|
82
|
+
xfsprogs \
|
|
83
|
+
dosfstools \
|
|
84
|
+
ntfs-3g \
|
|
85
|
+
lvm2 \
|
|
86
|
+
mdadm \
|
|
87
|
+
cryptsetup
|
|
88
|
+
|
|
89
|
+
echo "drivers and hw support"
|
|
90
|
+
dnf -y --nobest install \
|
|
91
|
+
linux-firmware \
|
|
92
|
+
efibootmgr \
|
|
93
|
+
grub2-efi \
|
|
94
|
+
shim
|
|
95
|
+
|
|
96
|
+
echo "tools"
|
|
97
|
+
dnf -y --nobest install \
|
|
98
|
+
bash-completion \
|
|
99
|
+
vim \
|
|
100
|
+
nano \
|
|
101
|
+
less \
|
|
102
|
+
rsyslog \
|
|
103
|
+
coreutils \
|
|
104
|
+
findutils \
|
|
105
|
+
grep \
|
|
106
|
+
sed \
|
|
107
|
+
awk \
|
|
108
|
+
tar \
|
|
109
|
+
gzip \
|
|
110
|
+
xz
|
|
111
|
+
|
|
112
|
+
echo "optional tools debug/live ISO"
|
|
113
|
+
dnf -y --nobest install \
|
|
114
|
+
strace \
|
|
115
|
+
lsof \
|
|
116
|
+
htop \
|
|
117
|
+
mc \
|
|
118
|
+
curl \
|
|
119
|
+
wget \
|
|
120
|
+
bind-utils
|
|
121
|
+
|
|
122
|
+
echo "systemd configure/enable"
|
|
123
|
+
systemctl set-default multi-user.target
|
|
124
|
+
systemctl enable getty@tty1.service
|
|
125
|
+
systemctl enable systemd-networkd.service
|
|
126
|
+
systemctl enable NetworkManager.service
|
|
127
|
+
systemctl enable NetworkManager-dispatcher.service
|
|
128
|
+
|
|
129
|
+
echo "generate /etc/default/grub"
|
|
130
|
+
|
|
131
|
+
echo "disable selinux"
|
|
132
|
+
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
|
|
133
|
+
|
|
134
|
+
echo "eggs requirements"
|
|
135
|
+
dnf -y --nobest --allowerasing install \
|
|
136
|
+
bash-completion \
|
|
137
|
+
cryptsetup \
|
|
138
|
+
curl \
|
|
139
|
+
device-mapper \
|
|
140
|
+
dosfstools \
|
|
141
|
+
dracut \
|
|
142
|
+
dracut-live \
|
|
143
|
+
efibootmgr \
|
|
144
|
+
fuse \
|
|
145
|
+
git \
|
|
146
|
+
grub2-efi-x64 \
|
|
147
|
+
grub2-efi-modules \
|
|
148
|
+
grub2-efi-x64-modules \
|
|
149
|
+
grub2-tools-extra \
|
|
150
|
+
jq \
|
|
151
|
+
lvm2 \
|
|
152
|
+
nvme-cli \
|
|
153
|
+
parted \
|
|
154
|
+
rsync \
|
|
155
|
+
shim \
|
|
156
|
+
squashfs-tools \
|
|
157
|
+
sshfs \
|
|
158
|
+
tar \
|
|
159
|
+
wget \
|
|
160
|
+
xdg-user-dirs \
|
|
161
|
+
xorriso \
|
|
162
|
+
zstd
|
|
163
|
+
|
|
164
|
+
# mkdir /usr/share/icons
|
|
165
|
+
mkdir -p /usr/share/icons
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# This script build an arch system from container
|
|
4
|
+
|
|
5
|
+
set -x
|
|
6
|
+
|
|
7
|
+
# check if we are root
|
|
8
|
+
if [ "$EUID" -ne 0 ]
|
|
9
|
+
then echo "Please run as root"
|
|
10
|
+
exit
|
|
11
|
+
fi
|
|
12
|
+
|
|
13
|
+
# check if we are on arch
|
|
14
|
+
if [ -f /etc/os-release ]; then
|
|
15
|
+
source /etc/os-release
|
|
16
|
+
if [[ "$ID" != "arch" ]]; then
|
|
17
|
+
echo "This script is only for Arch"
|
|
18
|
+
exit
|
|
19
|
+
fi
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
# echo "base: system e init"
|
|
23
|
+
# echo "package manager"
|
|
24
|
+
# echo "login e console"
|
|
25
|
+
# echo "networking"
|
|
26
|
+
# echo "filesystem and disk support"
|
|
27
|
+
# echo "drivers and hw support"
|
|
28
|
+
# echo "tools"
|
|
29
|
+
# echo "optional tools debug/live ISO"
|
|
30
|
+
# echo "systemd configure/enable"
|
|
31
|
+
# echo "generate /etc/default/grub"
|
|
32
|
+
# echo "eggs requirements"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
echo "base: system e init"
|
|
36
|
+
pacman -Syu --needed --noconfirm \
|
|
37
|
+
base-devel \
|
|
38
|
+
bash-completion \
|
|
39
|
+
linux-firmware \
|
|
40
|
+
linux-firmware-whence
|
|
41
|
+
|
|
42
|
+
echo "package manager"
|
|
43
|
+
pacman -Syu --needed --noconfirm \
|
|
44
|
+
fakeroot \
|
|
45
|
+
pkgconf
|
|
46
|
+
|
|
47
|
+
echo "login e console"
|
|
48
|
+
pacman -Syu --needed --noconfirm \
|
|
49
|
+
sudo \
|
|
50
|
+
dialog \
|
|
51
|
+
nano
|
|
52
|
+
|
|
53
|
+
echo "networking"
|
|
54
|
+
pacman -Syu --needed --noconfirm \
|
|
55
|
+
networkmanager \
|
|
56
|
+
inetutils \
|
|
57
|
+
openssh
|
|
58
|
+
|
|
59
|
+
echo "filesystem and disk support"
|
|
60
|
+
pacman -Syu --needed --noconfirm \
|
|
61
|
+
zram-generator \
|
|
62
|
+
syslinux
|
|
63
|
+
|
|
64
|
+
echo "drivers and hw support"
|
|
65
|
+
pacman -Syu --needed --noconfirm \
|
|
66
|
+
linux-firmware \
|
|
67
|
+
linux-firmware-whence
|
|
68
|
+
|
|
69
|
+
echo "tools"
|
|
70
|
+
pacman -Syu --needed --noconfirm \
|
|
71
|
+
which \
|
|
72
|
+
patch \
|
|
73
|
+
make \
|
|
74
|
+
gcc \
|
|
75
|
+
gc \
|
|
76
|
+
man-db \
|
|
77
|
+
texinfo
|
|
78
|
+
|
|
79
|
+
echo "optional tools debug/live ISO"
|
|
80
|
+
pacman -Syu --needed --noconfirm \
|
|
81
|
+
debugedit \
|
|
82
|
+
groff \
|
|
83
|
+
guile \
|
|
84
|
+
m4
|
|
85
|
+
|
|
86
|
+
echo "systemd configure/enable"
|
|
87
|
+
systemctl set-default multi-user.target
|
|
88
|
+
systemctl enable getty@tty1.service
|
|
89
|
+
systemctl enable systemd-networkd.service
|
|
90
|
+
systemctl enable NetworkManager.service
|
|
91
|
+
systemctl enable NetworkManager-dispatcher.service
|
|
92
|
+
|
|
93
|
+
echo "eggs requirements"
|
|
94
|
+
pacman -Syu --noconfirm --needed \
|
|
95
|
+
arch-install-scripts \
|
|
96
|
+
cryptsetup \
|
|
97
|
+
dosfstools \
|
|
98
|
+
efibootmgr \
|
|
99
|
+
erofs-utils \
|
|
100
|
+
findutils \
|
|
101
|
+
git \
|
|
102
|
+
grub \
|
|
103
|
+
jq \
|
|
104
|
+
libarchive \
|
|
105
|
+
libisoburn \
|
|
106
|
+
lvm2 \
|
|
107
|
+
mkinitcpio-archiso \
|
|
108
|
+
mkinitcpio-nfs-utils \
|
|
109
|
+
mtools \
|
|
110
|
+
nbd \
|
|
111
|
+
nodejs \
|
|
112
|
+
pacman-contrib \
|
|
113
|
+
parted \
|
|
114
|
+
procps-ng \
|
|
115
|
+
pv \
|
|
116
|
+
python \
|
|
117
|
+
rsync \
|
|
118
|
+
squashfs-tools \
|
|
119
|
+
sshfs \
|
|
120
|
+
wget \
|
|
121
|
+
xorriso \
|
|
122
|
+
xdg-utils
|
|
123
|
+
|
|
124
|
+
# mkdir /usr/share/icons
|
|
125
|
+
mkdir -p /usr/share/icons
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# This script build a debian system from container
|
|
4
|
+
|
|
5
|
+
set -x
|
|
6
|
+
|
|
7
|
+
export CMD_PATH=$(cd `dirname $0`; pwd)
|
|
8
|
+
export PROJECT_NAME="${CMD_PATH##*/}"
|
|
9
|
+
echo $PROJECT_NAME
|
|
10
|
+
export NEEDRESTART_MODE=a
|
|
11
|
+
export DEBIAN_FRONTEND=noninteractive
|
|
12
|
+
|
|
13
|
+
# check if we are on Debian/Devuan/Ubuntu
|
|
14
|
+
if [ -f /etc/os-release ]; then
|
|
15
|
+
source /etc/os-release
|
|
16
|
+
if [[ "$ID" != "debian" && "$ID_LIKE" != *"debian"* ]]; then
|
|
17
|
+
echo "This script is only for Debian/Devuan/Ubuntu based systems"
|
|
18
|
+
exit
|
|
19
|
+
fi
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
# echo "base: system e init"
|
|
23
|
+
# echo "package manager"
|
|
24
|
+
# echo "login e console"
|
|
25
|
+
# echo "networking"
|
|
26
|
+
# echo "filesystem and disk support"
|
|
27
|
+
# echo "drivers and hw support"
|
|
28
|
+
# echo "tools"
|
|
29
|
+
# echo "optional tools debug/live ISO"
|
|
30
|
+
# echo "systemd configure/enable"
|
|
31
|
+
# echo "generate /etc/default/grub"
|
|
32
|
+
# echo "eggs requirements"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
echo "base: system e init"
|
|
37
|
+
apt install -y \
|
|
38
|
+
init \
|
|
39
|
+
cron \
|
|
40
|
+
cron-daemon-common \
|
|
41
|
+
locales \
|
|
42
|
+
linux-image-amd64 \
|
|
43
|
+
logrotate \
|
|
44
|
+
procps \
|
|
45
|
+
tzdata \
|
|
46
|
+
util-linux-locales \
|
|
47
|
+
ucf
|
|
48
|
+
|
|
49
|
+
echo "package manager"
|
|
50
|
+
apt install -y \
|
|
51
|
+
apt-utils \
|
|
52
|
+
apt-listchanges \
|
|
53
|
+
python3-apt \
|
|
54
|
+
python-apt-common \
|
|
55
|
+
python3-debconf \
|
|
56
|
+
tasksel \
|
|
57
|
+
tasksel-data
|
|
58
|
+
|
|
59
|
+
echo "login e console"
|
|
60
|
+
apt install -y \
|
|
61
|
+
sudo \
|
|
62
|
+
bash-completion \
|
|
63
|
+
dialog \
|
|
64
|
+
whiptail \
|
|
65
|
+
nano \
|
|
66
|
+
less \
|
|
67
|
+
vim \
|
|
68
|
+
vim-tiny \
|
|
69
|
+
ncurses-term \
|
|
70
|
+
man \
|
|
71
|
+
man-db \
|
|
72
|
+
manpages
|
|
73
|
+
|
|
74
|
+
echo "networking"
|
|
75
|
+
apt install -y \
|
|
76
|
+
isc-dhcp-client \
|
|
77
|
+
isc-dhcp-common \
|
|
78
|
+
dnsutils \
|
|
79
|
+
inetutils-telnet \
|
|
80
|
+
ifupdown \
|
|
81
|
+
iproute2 \
|
|
82
|
+
iputils-ping \
|
|
83
|
+
net-tools \
|
|
84
|
+
netcat-traditional \
|
|
85
|
+
nftables \
|
|
86
|
+
traceroute \
|
|
87
|
+
wget \
|
|
88
|
+
python3-requests \
|
|
89
|
+
python3-certifi \
|
|
90
|
+
python3-chardet \
|
|
91
|
+
python3-charset-normalizer \
|
|
92
|
+
python3-idna \
|
|
93
|
+
python3-urllib3 \
|
|
94
|
+
python3-pycurl \
|
|
95
|
+
python3-httplib2 \
|
|
96
|
+
python3-pyparsing \
|
|
97
|
+
python3-pysimplesoap \
|
|
98
|
+
python3-six
|
|
99
|
+
|
|
100
|
+
echo "filesystem and disk support"
|
|
101
|
+
apt install -y \
|
|
102
|
+
fdisk \
|
|
103
|
+
eject \
|
|
104
|
+
usbutils \
|
|
105
|
+
lsof \
|
|
106
|
+
lsb-release
|
|
107
|
+
|
|
108
|
+
echo "drivers and hw support"
|
|
109
|
+
apt install -y \
|
|
110
|
+
discover \
|
|
111
|
+
discover-data \
|
|
112
|
+
libdiscover2 \
|
|
113
|
+
laptop-detect \
|
|
114
|
+
pciutils \
|
|
115
|
+
pci.ids \
|
|
116
|
+
iucode-tool \
|
|
117
|
+
libpci3 \
|
|
118
|
+
qemu-guest-agent
|
|
119
|
+
|
|
120
|
+
echo "tools"
|
|
121
|
+
apt install -y \
|
|
122
|
+
file \
|
|
123
|
+
libmagic1 \
|
|
124
|
+
libmagic-mgc \
|
|
125
|
+
git \
|
|
126
|
+
debian-faq \
|
|
127
|
+
doc-debian \
|
|
128
|
+
installation-report \
|
|
129
|
+
iso-codes \
|
|
130
|
+
python3-debian \
|
|
131
|
+
python3-debianbts \
|
|
132
|
+
reportbug \
|
|
133
|
+
sensible-utils
|
|
134
|
+
|
|
135
|
+
echo "optional tools debug/live ISO"
|
|
136
|
+
apt install -y \
|
|
137
|
+
emacsen-common \
|
|
138
|
+
ispell \
|
|
139
|
+
iamerican \
|
|
140
|
+
ibritish \
|
|
141
|
+
wamerican \
|
|
142
|
+
ienglish-common \
|
|
143
|
+
dictionaries-common
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
echo "eggs requirements"
|
|
148
|
+
LIVE_CONFIG_INIT_SYSTEM="live-config-systemd"
|
|
149
|
+
if [[ "$ID" == "devuan" ]]; then
|
|
150
|
+
LIVE_CONFIG_INIT_SYSTEM="live-config-sysvinit"
|
|
151
|
+
fi
|
|
152
|
+
|
|
153
|
+
apt-get install -y \
|
|
154
|
+
coreutils \
|
|
155
|
+
cryptsetup \
|
|
156
|
+
curl \
|
|
157
|
+
dosfstools \
|
|
158
|
+
dpkg-dev \
|
|
159
|
+
git \
|
|
160
|
+
grub-efi-amd64-bin \
|
|
161
|
+
jq \
|
|
162
|
+
live-boot \
|
|
163
|
+
live-boot-doc \
|
|
164
|
+
live-boot-initramfs-tools \
|
|
165
|
+
$LIVE_CONFIG_INIT_SYSTEM \
|
|
166
|
+
live-tools \
|
|
167
|
+
lvm2 \
|
|
168
|
+
parted \
|
|
169
|
+
rsync \
|
|
170
|
+
squashfs-tools \
|
|
171
|
+
sshfs \
|
|
172
|
+
wget \
|
|
173
|
+
xorriso
|