penguins-eggs 25.8.6 → 25.9.2
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 +8 -1
- package/README.md +37 -33
- package/README.pdf +2720 -2021
- package/addons/eggs/theme/calamares/modules/users.yml +3 -3
- package/addons/eggs/theme/livecd/{grub.main.simple.cfg → grub.main.cfg} +2 -22
- package/assets/calamares/install-system.sh +2 -2
- package/conf/derivatives.yaml +7 -0
- package/conf/distros/buster/calamares/modules/bootloader.yml +45 -16
- package/conf/distros/buster/calamares/modules/mount.yml +103 -28
- package/dist/classes/distro.js +14 -6
- package/dist/classes/diversions.d.ts +1 -0
- package/dist/classes/diversions.js +7 -0
- package/dist/classes/incubation/incubator.d.ts +4 -0
- package/dist/classes/incubation/incubator.js +14 -0
- package/dist/classes/ovary.d/bind-live-fs.js +2 -2
- package/dist/classes/ovary.d/initrd.js +4 -4
- package/dist/classes/ovary.d/kernel-copy.js +1 -1
- package/dist/classes/ovary.d/live-create-structure.js +1 -1
- package/dist/classes/ovary.d/make-dot-disk.js +16 -4
- package/dist/classes/ovary.d/make-efi.d.ts +0 -2
- package/dist/classes/ovary.d/make-efi.js +132 -71
- package/dist/classes/ovary.d/make-iso.js +1 -1
- package/dist/classes/ovary.d/make-squashfs.js +1 -1
- package/dist/classes/ovary.d/produce.js +7 -3
- package/dist/classes/ovary.d/syslinux.js +12 -10
- package/dist/classes/ovary.d/xorriso-command.js +51 -47
- package/dist/classes/pacman.js +7 -0
- package/dist/classes/pxe.d.ts +1 -2
- package/dist/classes/pxe.js +36 -30
- package/dist/classes/utils.d/kernel.d.ts +6 -56
- package/dist/classes/utils.d/kernel.js +51 -281
- package/dist/classes/utils.js +16 -8
- package/dist/commands/cuckoo.d.ts +1 -0
- package/dist/commands/cuckoo.js +3 -2
- package/dist/commands/export/pkg.js +1 -1
- package/dist/krill/classes/sequence.d/add_user.js +6 -0
- package/dist/krill/classes/sequence.d/bootloader.js +9 -1
- package/dist/krill/classes/sequence.js +1 -1
- package/dist/lib/utils.js +1 -0
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +46 -18
- package/package.json +9 -10
- package/perrisbrewery/template/dependencies-bionic.yaml +25 -4
- package/perrisbrewery/template/dependencies.yaml +21 -4
- package/scripts/_eggs +7 -6
- package/scripts/eggs.bash +2 -2
- package/addons/eggs/theme/livecd/grub.main.full.cfg +0 -43
- package/bootloaders/README.md +0 -22
- package/bootloaders/grub/x86_64-efi/acpi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/adler32.mod +0 -0
- package/bootloaders/grub/x86_64-efi/affs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/afs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/afsplitter.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ahci.mod +0 -0
- package/bootloaders/grub/x86_64-efi/all_video.mod +0 -0
- package/bootloaders/grub/x86_64-efi/aout.mod +0 -0
- package/bootloaders/grub/x86_64-efi/appleldr.mod +0 -0
- package/bootloaders/grub/x86_64-efi/archelp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/at_keyboard.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ata.mod +0 -0
- package/bootloaders/grub/x86_64-efi/backtrace.mod +0 -0
- package/bootloaders/grub/x86_64-efi/bfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/bitmap.mod +0 -0
- package/bootloaders/grub/x86_64-efi/bitmap_scale.mod +0 -0
- package/bootloaders/grub/x86_64-efi/blocklist.mod +0 -0
- package/bootloaders/grub/x86_64-efi/boot.mod +0 -0
- package/bootloaders/grub/x86_64-efi/bsd.mod +0 -0
- package/bootloaders/grub/x86_64-efi/bswap_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/btrfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/bufio.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cat.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cbfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cbls.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cbmemc.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cbtable.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cbtime.mod +0 -0
- package/bootloaders/grub/x86_64-efi/chain.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cmdline_cat_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cmp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cmp_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/command.lst +0 -194
- package/bootloaders/grub/x86_64-efi/config.h +0 -69
- package/bootloaders/grub/x86_64-efi/configfile.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cpio.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cpio_be.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cpuid.mod +0 -0
- package/bootloaders/grub/x86_64-efi/crc64.mod +0 -0
- package/bootloaders/grub/x86_64-efi/crypto.lst +0 -45
- package/bootloaders/grub/x86_64-efi/crypto.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cryptodisk.mod +0 -0
- package/bootloaders/grub/x86_64-efi/cs5536.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ctz_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/date.mod +0 -0
- package/bootloaders/grub/x86_64-efi/datehook.mod +0 -0
- package/bootloaders/grub/x86_64-efi/datetime.mod +0 -0
- package/bootloaders/grub/x86_64-efi/disk.mod +0 -0
- package/bootloaders/grub/x86_64-efi/diskfilter.mod +0 -0
- package/bootloaders/grub/x86_64-efi/div.mod +0 -0
- package/bootloaders/grub/x86_64-efi/div_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/dm_nv.mod +0 -0
- package/bootloaders/grub/x86_64-efi/echo.mod +0 -0
- package/bootloaders/grub/x86_64-efi/efi_gop.mod +0 -0
- package/bootloaders/grub/x86_64-efi/efi_uga.mod +0 -0
- package/bootloaders/grub/x86_64-efi/efifwsetup.mod +0 -0
- package/bootloaders/grub/x86_64-efi/efinet.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ehci.mod +0 -0
- package/bootloaders/grub/x86_64-efi/elf.mod +0 -0
- package/bootloaders/grub/x86_64-efi/eval.mod +0 -0
- package/bootloaders/grub/x86_64-efi/exfat.mod +0 -0
- package/bootloaders/grub/x86_64-efi/exfctest.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ext2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/extcmd.mod +0 -0
- package/bootloaders/grub/x86_64-efi/f2fs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/fat.mod +0 -0
- package/bootloaders/grub/x86_64-efi/fdt.lst +0 -0
- package/bootloaders/grub/x86_64-efi/file.mod +0 -0
- package/bootloaders/grub/x86_64-efi/fixvideo.mod +0 -0
- package/bootloaders/grub/x86_64-efi/font.mod +0 -0
- package/bootloaders/grub/x86_64-efi/fs.lst +0 -37
- package/bootloaders/grub/x86_64-efi/fshelp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/functional_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_arcfour.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_blowfish.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_camellia.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_cast5.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_crc.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_des.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_dsa.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_idea.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_md4.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_md5.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_rfc2268.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_rijndael.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_rmd160.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_rsa.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_seed.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_serpent.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_sha1.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_sha256.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_sha512.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_tiger.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_twofish.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gcry_whirlpool.mod +0 -0
- package/bootloaders/grub/x86_64-efi/geli.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gettext.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gfxmenu.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gfxterm.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gfxterm_background.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gfxterm_menu.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gptsync.mod +0 -0
- package/bootloaders/grub/x86_64-efi/gzio.mod +0 -0
- package/bootloaders/grub/x86_64-efi/halt.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hashsum.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hdparm.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hello.mod +0 -0
- package/bootloaders/grub/x86_64-efi/help.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hexdump.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hfsplus.mod +0 -0
- package/bootloaders/grub/x86_64-efi/hfspluscomp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/http.mod +0 -0
- package/bootloaders/grub/x86_64-efi/iorw.mod +0 -0
- package/bootloaders/grub/x86_64-efi/iso9660.mod +0 -0
- package/bootloaders/grub/x86_64-efi/jfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/jpeg.mod +0 -0
- package/bootloaders/grub/x86_64-efi/json.mod +0 -0
- package/bootloaders/grub/x86_64-efi/kernel.img +0 -0
- package/bootloaders/grub/x86_64-efi/keylayouts.mod +0 -0
- package/bootloaders/grub/x86_64-efi/keystatus.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ldm.mod +0 -0
- package/bootloaders/grub/x86_64-efi/legacy_password_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/legacycfg.mod +0 -0
- package/bootloaders/grub/x86_64-efi/linux.mod +0 -0
- package/bootloaders/grub/x86_64-efi/linux16.mod +0 -0
- package/bootloaders/grub/x86_64-efi/linuxefi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/loadbios.mod +0 -0
- package/bootloaders/grub/x86_64-efi/loadenv.mod +0 -0
- package/bootloaders/grub/x86_64-efi/loopback.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ls.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lsacpi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lsefi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lsefimmap.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lsefisystab.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lsmmap.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lspci.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lssal.mod +0 -0
- package/bootloaders/grub/x86_64-efi/luks.mod +0 -0
- package/bootloaders/grub/x86_64-efi/luks2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lvm.mod +0 -0
- package/bootloaders/grub/x86_64-efi/lzopio.mod +0 -0
- package/bootloaders/grub/x86_64-efi/macbless.mod +0 -0
- package/bootloaders/grub/x86_64-efi/macho.mod +0 -0
- package/bootloaders/grub/x86_64-efi/mdraid09.mod +0 -0
- package/bootloaders/grub/x86_64-efi/mdraid09_be.mod +0 -0
- package/bootloaders/grub/x86_64-efi/mdraid1x.mod +0 -0
- package/bootloaders/grub/x86_64-efi/memdisk.mod +0 -0
- package/bootloaders/grub/x86_64-efi/memrw.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minicmd.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minix.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minix2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minix2_be.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minix3.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minix3_be.mod +0 -0
- package/bootloaders/grub/x86_64-efi/minix_be.mod +0 -0
- package/bootloaders/grub/x86_64-efi/mmap.mod +0 -0
- package/bootloaders/grub/x86_64-efi/moddep.lst +0 -267
- package/bootloaders/grub/x86_64-efi/modinfo.sh +0 -40
- package/bootloaders/grub/x86_64-efi/monolithic/gcdx64.efi +0 -0
- package/bootloaders/grub/x86_64-efi/monolithic/grubnetx64-installer.efi +0 -0
- package/bootloaders/grub/x86_64-efi/monolithic/grubnetx64.efi +0 -0
- package/bootloaders/grub/x86_64-efi/monolithic/grubx64.efi +0 -0
- package/bootloaders/grub/x86_64-efi/morse.mod +0 -0
- package/bootloaders/grub/x86_64-efi/mpi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/msdospart.mod +0 -0
- package/bootloaders/grub/x86_64-efi/mul_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/multiboot.mod +0 -0
- package/bootloaders/grub/x86_64-efi/multiboot2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/nativedisk.mod +0 -0
- package/bootloaders/grub/x86_64-efi/net.mod +0 -0
- package/bootloaders/grub/x86_64-efi/newc.mod +0 -0
- package/bootloaders/grub/x86_64-efi/nilfs2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/normal.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ntfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ntfscomp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/odc.mod +0 -0
- package/bootloaders/grub/x86_64-efi/offsetio.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ohci.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_acorn.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_amiga.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_apple.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_bsd.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_dfly.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_dvh.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_gpt.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_msdos.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_plan.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_sun.mod +0 -0
- package/bootloaders/grub/x86_64-efi/part_sunpc.mod +0 -0
- package/bootloaders/grub/x86_64-efi/partmap.lst +0 -11
- package/bootloaders/grub/x86_64-efi/parttool.lst +0 -1
- package/bootloaders/grub/x86_64-efi/parttool.mod +0 -0
- package/bootloaders/grub/x86_64-efi/password.mod +0 -0
- package/bootloaders/grub/x86_64-efi/password_pbkdf2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/pata.mod +0 -0
- package/bootloaders/grub/x86_64-efi/pbkdf2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/pbkdf2_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/pcidump.mod +0 -0
- package/bootloaders/grub/x86_64-efi/pgp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/play.mod +0 -0
- package/bootloaders/grub/x86_64-efi/png.mod +0 -0
- package/bootloaders/grub/x86_64-efi/priority_queue.mod +0 -0
- package/bootloaders/grub/x86_64-efi/probe.mod +0 -0
- package/bootloaders/grub/x86_64-efi/procfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/progress.mod +0 -0
- package/bootloaders/grub/x86_64-efi/raid5rec.mod +0 -0
- package/bootloaders/grub/x86_64-efi/raid6rec.mod +0 -0
- package/bootloaders/grub/x86_64-efi/random.mod +0 -0
- package/bootloaders/grub/x86_64-efi/rdmsr.mod +0 -0
- package/bootloaders/grub/x86_64-efi/read.mod +0 -0
- package/bootloaders/grub/x86_64-efi/reboot.mod +0 -0
- package/bootloaders/grub/x86_64-efi/regexp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/reiserfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/relocator.mod +0 -0
- package/bootloaders/grub/x86_64-efi/romfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/scsi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/search.mod +0 -0
- package/bootloaders/grub/x86_64-efi/search_fs_file.mod +0 -0
- package/bootloaders/grub/x86_64-efi/search_fs_uuid.mod +0 -0
- package/bootloaders/grub/x86_64-efi/search_label.mod +0 -0
- package/bootloaders/grub/x86_64-efi/serial.mod +0 -0
- package/bootloaders/grub/x86_64-efi/setjmp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/setjmp_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/setpci.mod +0 -0
- package/bootloaders/grub/x86_64-efi/sfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/shift_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/signature_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/sleep.mod +0 -0
- package/bootloaders/grub/x86_64-efi/sleep_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/smbios.mod +0 -0
- package/bootloaders/grub/x86_64-efi/spkmodem.mod +0 -0
- package/bootloaders/grub/x86_64-efi/squash4.mod +0 -0
- package/bootloaders/grub/x86_64-efi/strtoull_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/syslinuxcfg.mod +0 -0
- package/bootloaders/grub/x86_64-efi/tar.mod +0 -0
- package/bootloaders/grub/x86_64-efi/terminal.lst +0 -9
- package/bootloaders/grub/x86_64-efi/terminal.mod +0 -0
- package/bootloaders/grub/x86_64-efi/terminfo.mod +0 -0
- package/bootloaders/grub/x86_64-efi/test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/test_blockarg.mod +0 -0
- package/bootloaders/grub/x86_64-efi/testload.mod +0 -0
- package/bootloaders/grub/x86_64-efi/testspeed.mod +0 -0
- package/bootloaders/grub/x86_64-efi/tftp.mod +0 -0
- package/bootloaders/grub/x86_64-efi/tga.mod +0 -0
- package/bootloaders/grub/x86_64-efi/time.mod +0 -0
- package/bootloaders/grub/x86_64-efi/tpm.mod +0 -0
- package/bootloaders/grub/x86_64-efi/tr.mod +0 -0
- package/bootloaders/grub/x86_64-efi/trig.mod +0 -0
- package/bootloaders/grub/x86_64-efi/true.mod +0 -0
- package/bootloaders/grub/x86_64-efi/udf.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ufs1.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ufs1_be.mod +0 -0
- package/bootloaders/grub/x86_64-efi/ufs2.mod +0 -0
- package/bootloaders/grub/x86_64-efi/uhci.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usb.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usb_keyboard.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usbms.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usbserial_common.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usbserial_ftdi.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usbserial_pl2303.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usbserial_usbdebug.mod +0 -0
- package/bootloaders/grub/x86_64-efi/usbtest.mod +0 -0
- package/bootloaders/grub/x86_64-efi/video.lst +0 -4
- package/bootloaders/grub/x86_64-efi/video.mod +0 -0
- package/bootloaders/grub/x86_64-efi/video_bochs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/video_cirrus.mod +0 -0
- package/bootloaders/grub/x86_64-efi/video_colors.mod +0 -0
- package/bootloaders/grub/x86_64-efi/video_fb.mod +0 -0
- package/bootloaders/grub/x86_64-efi/videoinfo.mod +0 -0
- package/bootloaders/grub/x86_64-efi/videotest.mod +0 -0
- package/bootloaders/grub/x86_64-efi/videotest_checksum.mod +0 -0
- package/bootloaders/grub/x86_64-efi/wrmsr.mod +0 -0
- package/bootloaders/grub/x86_64-efi/xfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/xnu.mod +0 -0
- package/bootloaders/grub/x86_64-efi/xnu_uuid.mod +0 -0
- package/bootloaders/grub/x86_64-efi/xnu_uuid_test.mod +0 -0
- package/bootloaders/grub/x86_64-efi/xzio.mod +0 -0
- package/bootloaders/grub/x86_64-efi/zfs.mod +0 -0
- package/bootloaders/grub/x86_64-efi/zfscrypt.mod +0 -0
- package/bootloaders/grub/x86_64-efi/zfsinfo.mod +0 -0
- package/bootloaders/grub/x86_64-efi/zstd.mod +0 -0
- package/bootloaders/grubnetx64.efi.signed +0 -0
- package/bootloaders/grubx64.efi +0 -0
- package/bootloaders/grubx64.efi.signed +0 -0
- package/bootloaders/ipxe.pxe +0 -0
- package/bootloaders/shimx64.efi +0 -0
- package/bootloaders/shimx64.efi.signed +0 -0
- package/bootloaders/syslinux/README.md +0 -3
- package/bootloaders/syslinux/chain.c32 +0 -0
- package/bootloaders/syslinux/isohdpfx.bin +0 -0
- package/bootloaders/syslinux/isolinux.bin +0 -0
- package/bootloaders/syslinux/ldlinux.c32 +0 -0
- package/bootloaders/syslinux/libcom32.c32 +0 -0
- package/bootloaders/syslinux/libutil.c32 +0 -0
- package/bootloaders/syslinux/lpxelinux.0 +0 -0
- package/bootloaders/syslinux/memdisk +0 -0
- package/bootloaders/syslinux/pxelinux.0 +0 -0
- package/bootloaders/syslinux/vesamenu.c32 +0 -0
- package/bootloaders/undionly.kpxe +0 -0
- package/dist/penguins-eggs_25.8.6-bionic-1_amd64.deb +0 -0
- package/dist/penguins-eggs_25.8.6-bionic-1_amd64.deb.sha256 +0 -1
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
#
|
|
2
|
-
# eggs: grub.main.cfg
|
|
3
|
-
#
|
|
4
|
-
if loadfont $prefix/font.pf2 ; then
|
|
5
|
-
set gfxmode=1024x768x32
|
|
6
|
-
insmod efi_gop
|
|
7
|
-
insmod efi_uga
|
|
8
|
-
insmod video_bochs
|
|
9
|
-
insmod video_cirrus
|
|
10
|
-
insmod gfxterm
|
|
11
|
-
insmod gfxterm_background
|
|
12
|
-
insmod jpeg
|
|
13
|
-
insmod png
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
1
|
set theme=/boot/grub/theme.cfg
|
|
17
2
|
|
|
18
3
|
menuentry "{{{fullname}}} Live/Installation" {
|
|
@@ -35,15 +20,10 @@ menuentry "{{{fullname}}} Text Mode" {
|
|
|
35
20
|
linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
|
|
36
21
|
initrd {{{initrdImg}}}
|
|
37
22
|
}
|
|
38
|
-
|
|
23
|
+
|
|
39
24
|
if [ "$grub_platform" = "efi" ]; then
|
|
40
25
|
menuentry "Boot from local disk" {
|
|
41
26
|
exit 1
|
|
42
27
|
}
|
|
43
|
-
#menuentry 'UEFI Firmware Settings' {
|
|
44
|
-
# fwsetup
|
|
45
|
-
#}
|
|
46
|
-
#menuentry 'Memory test' {
|
|
47
|
-
# linux /boot/memtest.efi
|
|
48
|
-
#}
|
|
49
28
|
fi
|
|
29
|
+
|
|
@@ -19,8 +19,8 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|
|
19
19
|
|
|
20
20
|
# Access control to run calamares as root for xwayland
|
|
21
21
|
xhost +si:localuser:root
|
|
22
|
-
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY calamares
|
|
23
|
-
|
|
22
|
+
#pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY calamares
|
|
23
|
+
pkexec calamares
|
|
24
24
|
xhost -si:localuser:root
|
|
25
25
|
|
|
26
26
|
# Restore stale fstab, for what it's worth
|
package/conf/derivatives.yaml
CHANGED
|
@@ -1,25 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SPDX-FileCopyrightText: no
|
|
2
|
+
# SPDX-License-Identifier: CC0-1.0
|
|
3
|
+
#
|
|
2
4
|
# Bootloader configuration. The bootloader is installed to allow
|
|
3
5
|
# the system to start (and pick one of the installed operating
|
|
4
6
|
# systems to run).
|
|
7
|
+
#
|
|
8
|
+
# Take note that Debian-derivatives that use unmodified GRUB EFI packages
|
|
9
|
+
# should specifically set *efiBootloaderId* to "debian" because that is
|
|
10
|
+
# hard-coded in `grubx64.efi`.
|
|
5
11
|
---
|
|
12
|
+
# A variable from global storage which overrides the value of efiBootLoader
|
|
13
|
+
#efiBootLoaderVar: "packagechooser_bootloader"
|
|
14
|
+
|
|
6
15
|
# Define which bootloader you want to use for EFI installations
|
|
7
|
-
# Possible options are 'grub', 'sb-shim' and 'systemd-boot'.
|
|
16
|
+
# Possible options are 'grub', 'sb-shim', 'refind` and 'systemd-boot'.
|
|
8
17
|
efiBootLoader: "grub"
|
|
9
18
|
|
|
10
|
-
# systemd-boot configuration files settings
|
|
11
|
-
# and amount of time before default selection boots
|
|
12
|
-
kernel: "/vmlinuz-linux"
|
|
13
|
-
img: "/initramfs-linux.img"
|
|
14
|
-
fallback: "/initramfs-linux-fallback.img"
|
|
15
|
-
timeout: "10"
|
|
19
|
+
# systemd-boot configuration files settings
|
|
16
20
|
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#
|
|
21
|
+
# kernelSearchPath is the path relative to the root of the install to search for kernels
|
|
22
|
+
# A kernel is identified by finding files which match regular expression, kernelPattern
|
|
23
|
+
kernelSearchPath: "/usr/lib/modules"
|
|
24
|
+
kernelPattern: "^vmlinuz.*"
|
|
25
|
+
|
|
26
|
+
# loaderEntries is an array of options to add to loader.conf for systemd-boot
|
|
27
|
+
# please note that the "default" option is added programmatically
|
|
28
|
+
loaderEntries:
|
|
29
|
+
- "timeout 5"
|
|
30
|
+
- "console-mode keep"
|
|
31
|
+
|
|
32
|
+
# systemd-boot and refind support custom kernel params
|
|
33
|
+
kernelParams: [ "quiet" ]
|
|
34
|
+
|
|
35
|
+
# A list of kernel names that refind should accept as kernels
|
|
36
|
+
#refindKernelList: [ "linux","linux-lts","linux-zen","linux-hardened" ]
|
|
23
37
|
|
|
24
38
|
# GRUB 2 binary names and boot directory
|
|
25
39
|
# Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
|
|
@@ -44,8 +58,21 @@ efiBootMgr: "efibootmgr"
|
|
|
44
58
|
# setting the option here, keep in mind that the name is sanitized
|
|
45
59
|
# (problematic characters, see above, are replaced).
|
|
46
60
|
#
|
|
61
|
+
# There are some special words possible at the end of *efiBootloaderId*:
|
|
62
|
+
# ${SERIAL} can be used to obtain a uniquely-numbered suffix
|
|
63
|
+
# that is added to the Id (yielding, e.g., `dirname1` or `dirname72`)
|
|
64
|
+
# ${RANDOM} can be used to obtain a unique 4-digit hex suffix
|
|
65
|
+
# ${PHRASE} can be used to obtain a unique 1-to-3-word suffix
|
|
66
|
+
# from a dictionary of space-themed words
|
|
67
|
+
# These words must be at the **end** of the *efiBootloaderId* value.
|
|
68
|
+
# There must also be at most one of them. If there is none, no suffix-
|
|
69
|
+
# processing is done and the *efiBootloaderId* is used unchanged.
|
|
70
|
+
#
|
|
71
|
+
# NOTE: Debian derivatives that use the unmodified Debian GRUB EFI
|
|
72
|
+
# packages may need to set this to "debian" because that is
|
|
73
|
+
# hard-coded in `grubx64.efi`.
|
|
74
|
+
#
|
|
47
75
|
# efiBootloaderId: "dirname"
|
|
48
|
-
efiBootloaderId: "Debian"
|
|
49
76
|
|
|
50
77
|
# Optionally install a copy of the GRUB EFI bootloader as the EFI
|
|
51
78
|
# fallback loader (either bootia32.efi or bootx64.efi depending on
|
|
@@ -53,5 +80,7 @@ efiBootloaderId: "Debian"
|
|
|
53
80
|
# seems to be the only one). If you set this to false, take care
|
|
54
81
|
# to add another module to optionally install the fallback on those
|
|
55
82
|
# boards that need it.
|
|
56
|
-
# NOTE: eggs unti calamres 3.2 was installEFIFallback: false
|
|
57
83
|
installEFIFallback: true
|
|
84
|
+
|
|
85
|
+
# Optionally install both BIOS and UEFI GRUB bootloaders.
|
|
86
|
+
installHybridGRUB: false
|
|
@@ -1,48 +1,123 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SPDX-FileCopyrightText: no
|
|
2
|
+
# SPDX-License-Identifier: CC0-1.0
|
|
3
|
+
#
|
|
2
4
|
# Mount filesystems in the target (generally, before treating the
|
|
3
5
|
# target as a usable chroot / "live" system). Filesystems are
|
|
4
6
|
# automatically mounted from the partitioning module. Filesystems
|
|
5
7
|
# listed here are **extra**. The filesystems listed in *extraMounts*
|
|
6
|
-
# are mounted in all target systems.
|
|
7
|
-
# *extraMountsEfi* are mounted in the target system **only** if
|
|
8
|
-
# the host machine uses UEFI.
|
|
8
|
+
# are mounted in all target systems.
|
|
9
9
|
---
|
|
10
10
|
# Extra filesystems to mount. The key's value is a list of entries; each
|
|
11
|
-
# entry has
|
|
11
|
+
# entry has five keys:
|
|
12
12
|
# - device The device node to mount
|
|
13
|
-
# - fs
|
|
13
|
+
# - fs (optional) The filesystem type to use
|
|
14
14
|
# - mountPoint Where to mount the filesystem
|
|
15
|
-
# - options (optional)
|
|
15
|
+
# - options (optional) An array of options to pass to mount
|
|
16
|
+
# - efi (optional) A boolean that when true is only mounted for UEFI installs
|
|
17
|
+
#
|
|
18
|
+
# The device is not mounted if the mountPoint is unset or if the fs is
|
|
19
|
+
# set to unformatted.
|
|
16
20
|
#
|
|
17
21
|
extraMounts:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
mountPoint: /sys/firmware/efi/efivars
|
|
22
|
+
- device: proc
|
|
23
|
+
fs: proc
|
|
24
|
+
mountPoint: /proc
|
|
25
|
+
- device: sys
|
|
26
|
+
fs: sysfs
|
|
27
|
+
mountPoint: /sys
|
|
28
|
+
- device: /dev
|
|
29
|
+
mountPoint: /dev
|
|
30
|
+
options: {{{options}}}
|
|
31
|
+
- device: tmpfs
|
|
32
|
+
fs: tmpfs
|
|
33
|
+
mountPoint: /run
|
|
34
|
+
- device: /run/udev
|
|
35
|
+
mountPoint: /run/udev
|
|
36
|
+
options: {{{options}}}
|
|
37
|
+
- device: efivarfs
|
|
38
|
+
fs: efivarfs
|
|
39
|
+
mountPoint: /sys/firmware/efi/efivars
|
|
40
|
+
efi: true
|
|
38
41
|
|
|
39
|
-
#
|
|
42
|
+
# Btrfs subvolumes to create if root filesystem is on btrfs volume.
|
|
43
|
+
# If *mountpoint* is mounted already to another partition, it is ignored.
|
|
44
|
+
# Separate subvolume for swapfile is handled separately and automatically.
|
|
45
|
+
#
|
|
46
|
+
# It is possible to prevent subvolume creation -- this is likely only relevant
|
|
47
|
+
# for the root (/) subvolume -- by giving an empty string as a subvolume
|
|
48
|
+
# name. In this case no subvolume will be created.
|
|
49
|
+
#
|
|
40
50
|
btrfsSubvolumes:
|
|
41
51
|
- mountPoint: /
|
|
42
52
|
subvolume: /@
|
|
53
|
+
# As an alternative:
|
|
54
|
+
#
|
|
55
|
+
# subvolume: ""
|
|
43
56
|
- mountPoint: /home
|
|
44
57
|
subvolume: /@home
|
|
45
58
|
- mountPoint: /var/cache
|
|
46
59
|
subvolume: /@cache
|
|
47
60
|
- mountPoint: /var/log
|
|
48
61
|
subvolume: /@log
|
|
62
|
+
|
|
63
|
+
# The name of the btrfs subvolume holding the swapfile. This only used when
|
|
64
|
+
# a swapfile is selected and the root filesystem is btrfs
|
|
65
|
+
#
|
|
66
|
+
btrfsSwapSubvol: /@swap
|
|
67
|
+
|
|
68
|
+
# The mount options used to mount each filesystem.
|
|
69
|
+
#
|
|
70
|
+
# filesystem contains the name of the filesystem or on of three special
|
|
71
|
+
# values, "default", efi" and "btrfs_swap". The logic is applied in this manner:
|
|
72
|
+
# - If the partition is the EFI partition, the "efi" entry will be used
|
|
73
|
+
# - If the fs is btrfs and the subvolume is for the swapfile,
|
|
74
|
+
# the "btrfs_swap" entry is used
|
|
75
|
+
# - If the filesystem is an exact match for filesystem, that entry is used
|
|
76
|
+
# - If no match is found in the above, the default entry is used
|
|
77
|
+
# - If there is no match and no default entry, "defaults" is used
|
|
78
|
+
# - If the mountOptions key is not present, "defaults" is used
|
|
79
|
+
#
|
|
80
|
+
# Each filesystem entry contains 3 keys, all of which are optional
|
|
81
|
+
# options - An array of mount options that is used on all disk types
|
|
82
|
+
# ssdOptions - An array of mount options combined with options for ssds
|
|
83
|
+
# hddOptions - An array of mount options combined with options for hdds
|
|
84
|
+
# If combining these options results in an empty array, "defaults" is used
|
|
85
|
+
#
|
|
86
|
+
# Example 1
|
|
87
|
+
# In this example, there are specific options for ext4 and btrfs filesystems,
|
|
88
|
+
# the EFI partition and the subvolume holding the btrfs swapfile. All other
|
|
89
|
+
# filesystems use the default entry. For the btrfs filesystem, there are
|
|
90
|
+
# additional options specific to hdds and ssds
|
|
91
|
+
#
|
|
92
|
+
# mountOptions:
|
|
93
|
+
# - filesystem: default
|
|
94
|
+
# options: [ defaults ]
|
|
95
|
+
# - filesystem: efi
|
|
96
|
+
# options: [ defaults, umask=0077 ]
|
|
97
|
+
# - filesystem: ext4
|
|
98
|
+
# options: [ defaults ]
|
|
99
|
+
# - filesystem: btrfs
|
|
100
|
+
# options: [ defaults, compress=zstd:1 ]
|
|
101
|
+
# ssdOptions: [ discard=async ]
|
|
102
|
+
# hddOptions: [ autodefrag ]
|
|
103
|
+
# - filesystem: btrfs_swap
|
|
104
|
+
# options: [ defaults, noatime ]
|
|
105
|
+
#
|
|
106
|
+
# Example 2
|
|
107
|
+
# In this example there is a single default used by all filesystems
|
|
108
|
+
#
|
|
109
|
+
# mountOptions:
|
|
110
|
+
# - filesystem: default
|
|
111
|
+
# options: [ defaults ]
|
|
112
|
+
#
|
|
113
|
+
mountOptions:
|
|
114
|
+
- filesystem: default
|
|
115
|
+
options: [ defaults ]
|
|
116
|
+
- filesystem: efi
|
|
117
|
+
options: [ defaults, umask=0077 ]
|
|
118
|
+
- filesystem: btrfs
|
|
119
|
+
options: [ defaults, compress=zstd:1 ]
|
|
120
|
+
- filesystem: btrfs_swap
|
|
121
|
+
options: [ defaults, noatime ]
|
|
122
|
+
|
|
123
|
+
|
package/dist/classes/distro.js
CHANGED
|
@@ -158,7 +158,7 @@ class Distro {
|
|
|
158
158
|
this.liveMediumPath = '/run/archiso/bootmnt/';
|
|
159
159
|
this.squashfs = `arch/x86_64/airootfs.sfs`;
|
|
160
160
|
/**
|
|
161
|
-
* Debian jessie
|
|
161
|
+
* Debian 8 jessie
|
|
162
162
|
*/
|
|
163
163
|
}
|
|
164
164
|
else if (this.codenameId === 'jessie') {
|
|
@@ -167,7 +167,7 @@ class Distro {
|
|
|
167
167
|
this.liveMediumPath = '/lib/live/mount/medium/';
|
|
168
168
|
this.isCalamaresAvailable = false;
|
|
169
169
|
/**
|
|
170
|
-
* Debian stretch
|
|
170
|
+
* Debian 9 stretch
|
|
171
171
|
*/
|
|
172
172
|
}
|
|
173
173
|
else if (this.codenameId === 'stretch') {
|
|
@@ -176,33 +176,41 @@ class Distro {
|
|
|
176
176
|
this.liveMediumPath = '/lib/live/mount/medium/';
|
|
177
177
|
this.isCalamaresAvailable = false;
|
|
178
178
|
/**
|
|
179
|
-
* Debian buster
|
|
179
|
+
* Debian 10 buster
|
|
180
180
|
*/
|
|
181
181
|
}
|
|
182
182
|
else if (this.codenameId === 'buster') {
|
|
183
183
|
this.distroLike = 'Debian';
|
|
184
184
|
this.codenameLikeId = 'buster';
|
|
185
185
|
/**
|
|
186
|
-
* Debian bullseye
|
|
186
|
+
* Debian 11 bullseye
|
|
187
187
|
*/
|
|
188
188
|
}
|
|
189
189
|
else if (this.codenameId === 'bullseye') {
|
|
190
190
|
this.distroLike = 'Debian';
|
|
191
191
|
this.codenameLikeId = 'bullseye';
|
|
192
192
|
/**
|
|
193
|
-
* Debian bookworm
|
|
193
|
+
* Debian 12 bookworm
|
|
194
194
|
*/
|
|
195
195
|
}
|
|
196
196
|
else if (this.codenameId === 'bookworm') {
|
|
197
197
|
this.distroLike = 'Debian';
|
|
198
198
|
this.codenameLikeId = 'bookworm';
|
|
199
199
|
/**
|
|
200
|
-
* Debian trixie
|
|
200
|
+
* Debian 13 trixie
|
|
201
201
|
*/
|
|
202
202
|
}
|
|
203
203
|
else if (this.codenameId === 'trixie') {
|
|
204
204
|
this.distroLike = 'Debian';
|
|
205
205
|
this.codenameLikeId = 'trixie';
|
|
206
|
+
this.liveMediumPath = '/run/live/medium/';
|
|
207
|
+
/**
|
|
208
|
+
* Debian 14 forky
|
|
209
|
+
*/
|
|
210
|
+
}
|
|
211
|
+
else if (this.codenameId === 'forky') {
|
|
212
|
+
this.distroLike = 'Debian';
|
|
213
|
+
this.codenameLikeId = 'forky';
|
|
206
214
|
/**
|
|
207
215
|
* Devuan beowulf
|
|
208
216
|
*/
|
|
@@ -123,4 +123,11 @@ export default class Diversions {
|
|
|
123
123
|
}
|
|
124
124
|
return found;
|
|
125
125
|
}
|
|
126
|
+
static bootloaders(familyId) {
|
|
127
|
+
let bootloaders = '/usr/lib/';
|
|
128
|
+
if (familyId !== 'debian') {
|
|
129
|
+
bootloaders = '/usr/lib/penguins-eggs/bootloaders/';
|
|
130
|
+
}
|
|
131
|
+
return bootloaders;
|
|
132
|
+
}
|
|
126
133
|
}
|
|
@@ -69,6 +69,7 @@ export default class Incubator {
|
|
|
69
69
|
Utils.warning(`creating ${installer().name} configuration files on ${installer().configRoot}`);
|
|
70
70
|
this.createInstallerDirs();
|
|
71
71
|
this.createBranding();
|
|
72
|
+
this.sudoers();
|
|
72
73
|
const codenameLikeId = this.distro.codenameLikeId;
|
|
73
74
|
try {
|
|
74
75
|
/**
|
|
@@ -111,6 +112,10 @@ export default class Incubator {
|
|
|
111
112
|
else if (codenameLikeId === 'trixie') {
|
|
112
113
|
const trixie = new Buster(this.installer, this.remix, this.distro, this.user_opt, release, this.theme, this.isClone, this.verbose);
|
|
113
114
|
await trixie.create();
|
|
115
|
+
}
|
|
116
|
+
else if (codenameLikeId === 'forky') {
|
|
117
|
+
const forky = new Buster(this.installer, this.remix, this.distro, this.user_opt, release, this.theme, this.isClone, this.verbose);
|
|
118
|
+
await forky.create();
|
|
114
119
|
/**
|
|
115
120
|
* Devuan
|
|
116
121
|
*/
|
|
@@ -349,6 +354,15 @@ export default class Incubator {
|
|
|
349
354
|
shx.cp(path.resolve(__dirname, '../../../assets/calamares/install-system.sh'), '/usr/sbin/install-system.sh');
|
|
350
355
|
shx.chmod('+x', '/usr/sbin/install-system.sh');
|
|
351
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* soluzione tampone from Glenn
|
|
359
|
+
*/
|
|
360
|
+
sudoers() {
|
|
361
|
+
let live = 'live';
|
|
362
|
+
let content = `${live} ALL=(ALL) NOPASSWD: /usr/bin/calamares`;
|
|
363
|
+
let fname = '/etc/sudoers.d/calamares';
|
|
364
|
+
fs.writeFileSync(fname, content, 'utf-8');
|
|
365
|
+
}
|
|
352
366
|
}
|
|
353
367
|
/**
|
|
354
368
|
*
|
|
@@ -64,7 +64,7 @@ export async function bindLiveFs() {
|
|
|
64
64
|
cmds.push(`# /${dir} is copied if not exists on filesystem.squashfs`);
|
|
65
65
|
let chkDir = path.join(this.settings.config.snapshot_mnt, 'filesystem.squashfs', dir);
|
|
66
66
|
cmds.push(`if ! [ -d "${chkDir}" ]; then`);
|
|
67
|
-
cmds.push(await rexec(` cp -
|
|
67
|
+
cmds.push(await rexec(` cp -a /${dir} ${this.settings.config.snapshot_mnt}filesystem.squashfs`, this.verbose));
|
|
68
68
|
cmds.push(`fi`);
|
|
69
69
|
continue;
|
|
70
70
|
}
|
|
@@ -99,7 +99,7 @@ export async function bindLiveFs() {
|
|
|
99
99
|
cmds.push('# file exist... skip');
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
cmds.push(await rexec(`cp /${dir} ${this.settings.work_dir.merged}`, this.verbose));
|
|
102
|
+
cmds.push(await rexec(`cp -p /${dir} ${this.settings.work_dir.merged}`, this.verbose));
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
cmds.push(endLine);
|
|
@@ -17,7 +17,7 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
|
17
17
|
* initrdAlpine
|
|
18
18
|
*/
|
|
19
19
|
export async function initrdAlpine() {
|
|
20
|
-
Utils.warning(`creating ${path.basename(this.initrd)} Alpine on ISO/live`);
|
|
20
|
+
Utils.warning(`creating ${path.basename(this.initrd)} Alpine on (ISO)/live`);
|
|
21
21
|
let initrdImg = Utils.initrdImg();
|
|
22
22
|
initrdImg = initrdImg.slice(Math.max(0, initrdImg.lastIndexOf('/') + 1));
|
|
23
23
|
const pathConf = path.resolve(__dirname, `../../../mkinitfs/live.conf`);
|
|
@@ -27,7 +27,7 @@ export async function initrdAlpine() {
|
|
|
27
27
|
* initrdArch
|
|
28
28
|
*/
|
|
29
29
|
export async function initrdArch() {
|
|
30
|
-
Utils.warning(`creating ${path.basename(this.initrd)} using mkinitcpio on ISO/live`);
|
|
30
|
+
Utils.warning(`creating ${path.basename(this.initrd)} using mkinitcpio on (ISO)/live`);
|
|
31
31
|
let dirConf = 'arch';
|
|
32
32
|
let tool = 'archiso';
|
|
33
33
|
let hookSrc = '/usr/lib/initcpio/hooks/archiso_pxe_http';
|
|
@@ -64,7 +64,7 @@ export async function initrdArch() {
|
|
|
64
64
|
* initrdDebian
|
|
65
65
|
*/
|
|
66
66
|
export async function initrdDebian(verbose = false) {
|
|
67
|
-
Utils.warning(`creating ${this.initrd} using mkinitramfs on ISO/live`);
|
|
67
|
+
Utils.warning(`creating ${this.initrd} using mkinitramfs on (ISO)/live`);
|
|
68
68
|
let isCrypted = false;
|
|
69
69
|
if (fs.existsSync('/etc/crypttab')) {
|
|
70
70
|
isCrypted = true;
|
|
@@ -79,7 +79,7 @@ export async function initrdDebian(verbose = false) {
|
|
|
79
79
|
* initrdDracut) Almalinux/Fedora/Openmamba/Opensuse/Rocky/Voidlinux
|
|
80
80
|
*/
|
|
81
81
|
export async function initrdDracut() {
|
|
82
|
-
Utils.warning(`creating ${path.basename(this.initrd)} using dracut on ISO/live`);
|
|
82
|
+
Utils.warning(`creating ${path.basename(this.initrd)} using dracut on (ISO)/live`);
|
|
83
83
|
const prefix = this.settings.config.snapshot_prefix;
|
|
84
84
|
const confdir = '--confdir ' + path.resolve(__dirname, `../../../dracut/dracut.conf.d`);
|
|
85
85
|
// const dracutdir='--dracutdir /opt/penguins-eggs/dracut'
|
|
@@ -17,6 +17,6 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
|
17
17
|
* kernelCopy
|
|
18
18
|
*/
|
|
19
19
|
export async function kernelCopy() {
|
|
20
|
-
Utils.warning(`copying ${path.basename(this.vmlinuz)} on ISO/live`);
|
|
20
|
+
Utils.warning(`copying ${path.basename(this.vmlinuz)} on (ISO)/live`);
|
|
21
21
|
await exec(`cp ${this.vmlinuz} ${this.settings.iso_work}live/`, this.echo);
|
|
22
22
|
}
|
|
@@ -29,7 +29,7 @@ export async function liveCreateStructure() {
|
|
|
29
29
|
tryCatch(cmd, this.verbose);
|
|
30
30
|
}
|
|
31
31
|
if (!fs.existsSync(this.settings.config.snapshot_dir + '/README.md')) {
|
|
32
|
-
cmd = `cp ${path.resolve(__dirname, '
|
|
32
|
+
cmd = `cp ${path.resolve(__dirname, '../../../conf/README.md')} ${this.settings.config.snapshot_dir}README.md`;
|
|
33
33
|
tryCatch(cmd, this.verbose);
|
|
34
34
|
}
|
|
35
35
|
// Ovarium
|
|
@@ -24,12 +24,24 @@ export function makeDotDisk(info = '', mksquashfs = '', mkisofs = '') {
|
|
|
24
24
|
shx.rm('-rf', dotDisk);
|
|
25
25
|
}
|
|
26
26
|
shx.mkdir('-p', dotDisk);
|
|
27
|
-
let text = `# Created at: ${Utils.formatDate(new Date())}\n`;
|
|
28
|
-
text += `# penguins_eggs v. ${Utils.getPackageVersion()}\n`;
|
|
29
27
|
/**
|
|
30
|
-
* write
|
|
28
|
+
* write volid .disk/info
|
|
29
|
+
* Required
|
|
31
30
|
*/
|
|
32
|
-
|
|
31
|
+
let volidContent = this.settings.isoFilename;
|
|
32
|
+
fs.writeFileSync(path.join(dotDisk, 'info'), volidContent, 'utf-8');
|
|
33
|
+
/**
|
|
34
|
+
* A readme now replace the old .disk/info
|
|
35
|
+
*/
|
|
36
|
+
let readme = ``;
|
|
37
|
+
readme += `# penguins_eggs\n`;
|
|
38
|
+
readme += `\n`;
|
|
39
|
+
readme += `Volinfo: ${this.volid}\n`;
|
|
40
|
+
readme += `Image created at: ${Utils.formatDate(new Date())} using penguins_eggs v. ${Utils.getPackageVersion()})\n`;
|
|
41
|
+
readme += `repo: [penguins-eggs](https://github.com/penguins-eggs)\n`;
|
|
42
|
+
readme += `blog: [penguins-eggs.net](https://penguins-eggs.net)\n`;
|
|
43
|
+
readme += `author: [Piero Proietti](mailto://piero.proietti@gmail.com)\n`;
|
|
44
|
+
fs.writeFileSync(path.join(dotDisk, 'README.md'), readme, 'utf-8');
|
|
33
45
|
/**
|
|
34
46
|
* write mksquashfs as .disk/mksquashfs
|
|
35
47
|
*/
|
|
@@ -10,7 +10,5 @@ import Ovary from '../ovary.js';
|
|
|
10
10
|
*
|
|
11
11
|
* @param this
|
|
12
12
|
* @param theme
|
|
13
|
-
* cp /usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed ./bootloaders/
|
|
14
|
-
* cp /usr/lib/shim/shimx64.efi.signed ./bootloaders/
|
|
15
13
|
*/
|
|
16
14
|
export declare function makeEfi(this: Ovary, theme?: string): Promise<void>;
|