From: Alexey Shabalin <a.shabalin@gmail.com> To: Distributions development <devel-distro@lists.altlinux.org> Subject: [devel-distro] grub-efi в инсталяторе Date: Fri, 1 Nov 2019 17:18:44 +0300 Message-ID: <CAEdvWkQaSZD+z4PMwsxEV4Qr+W7DjbqXXou3vYoWyOb-g3sx0g@mail.gmail.com> (raw) Всем привет. Я для Server-V добавил поддержку grub-efi в инстляторе. Прошу посмотреть/проверить. Делал только самое необходимое для себя. В дальнейшем можно наращивать функционал. Например, сейчас нет поддержки тем для grub, потому что мне не надо было :), мне достаточно текстового grub. 1) поддержка grub-efi в efiboot mkimage http://git.altlinux.org/people/shaba/packages/mkimage.git?p=mkimage.git;a=commitdiff;h=932c2e80d41c8ace7bbb5da52a48bab49fde575f 2) добавил фичу grub для генерации кофигов grub из кусочков, по аналогии с syslinux. Пока жесткая завязка на местоположение vmlinuz и full.cz в EFI/BOOT для grub-efi. Не уверен, что можно использовать для aarch64, это буду смотреть дальше. http://git.altlinux.org/people/shaba/packages/mkimage-profiles.git?p=mkimage-profiles.git;a=commitdiff;h=7b9d60d6661cad6e6f02b93e646a42bd07645c51 3) использование конфигов для grub наравне с syslinux http://git.altlinux.org/people/shaba/packages/mkimage-profiles.git?p=mkimage-profiles.git;a=commitdiff;h=23a460dd3de2147cc9a0db5de52234ececb0b5ef 4) переключил server-v с refind на grub-efi Вместо (+efi use/efi/refind) использую use/efi/grub use/efi/signed http://git.altlinux.org/people/shaba/packages/mkimage-profiles.git?p=mkimage-profiles.git;a=commitdiff;h=5577800554b2e240146b7cfb039c7a97d13e74d7 5) собираю командой (потому что искать, где это переопределяется, кто мне помогает и потом определяет эти переменные подругому, тяжело и муторно) make ARCH=x86_64 BUILDDIR=~/build-mkimage APTCONF=~/etc/p9.x86_64-apt.conf DEBUG=1 REPORT=1 IMAGE_PACKTYPE=boot BOOT_TYPE="isolinux efiboot" EFI_BOOTLOADER=grub-efi server-v.iso Спасибо за внимание. Буду рад исправлениям. -- Alexey Shabalin
next reply other threads:[~2019-11-01 14:18 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-01 14:18 Alexey Shabalin [this message] 2019-11-14 19:10 ` Alexey Shabalin 2019-11-15 9:49 ` Alexey Gladkov 2019-11-15 14:59 ` Alexey Shabalin 2019-11-18 15:57 ` Michael Shigorin 2020-01-08 19:29 ` Антон Мидюков 2020-01-09 14:39 ` Антон Мидюков 2020-01-12 15:18 ` Антон Мидюков 2020-02-10 2:58 ` Антон Мидюков 2020-02-10 9:51 ` Alexey Gladkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAEdvWkQaSZD+z4PMwsxEV4Qr+W7DjbqXXou3vYoWyOb-g3sx0g@mail.gmail.com \ --to=a.shabalin@gmail.com \ --cc=devel-distro@lists.altlinux.org \ --cc=shaba@altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Distributions development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \ devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com public-inbox-index devel-distro Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-distro AGPL code for this site: git clone https://public-inbox.org/public-inbox.git