ALT Linux Distributions development
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: Distributions development <devel-distro@lists.altlinux.org>
Subject: [devel-distro] Пришло время почистить брендинги
Date: Wed, 19 Jun 2024 23:07:47 +0700
Message-ID: <da98e2ca-4ecd-452c-86ae-e2c653b0d605@ya.ru> (raw)

Здравствуйте

Предлагаю почистить брендинги от следующего legacy:

1. От чего-то до plymouth'овского (bootsplash), как я понимаю.

в %post bootloader:

%ifarch %ix86 x86_64
ln -snf %theme/message /boot/splash/message
. /etc/sysconfig/i18n
lang=$(echo $LANG | cut -d. -f 1)
cd boot/splash/%theme/
echo $lang > lang
[ "$lang" = "C" ] || echo lang | cpio -o --append -F message
%endif

и

%ifarch %ix86 x86_64
%preun bootloader
[ "$1" -eq 0 ] || exit 0
[ "`readlink /boot/splash/message`" != "%theme/message" ] ||
    rm -f /boot/splash/message
%endif

и из %files bootloader
/boot/splash/%theme

и другие упоминания /boot/splash в спеке.

2. От gfxboot, так как мы перешли на grub и отказались от syslinux.

Для этого убираем из спека примерно следующее:
%ifarch %ix86 x86_64
BuildRequires: cpio
BuildRequires: design-bootloader-source >= 5.0-alt2 fribidi
BuildRequires: gfxboot >= 4
%endif

после чего вычищаем спек и систему сборки от gfxboot, пока не соберётся пакет.

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>


                 reply	other threads:[~2024-06-19 16:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=da98e2ca-4ecd-452c-86ae-e2c653b0d605@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=devel-distro@lists.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