ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] Пропажа ядерного модуля в профиле из образа
Date: Thu, 5 Dec 2019 12:46:23 +0300
Message-ID: <20191205094623.GE29047@imap.altlinux.org> (raw)
In-Reply-To: <4251778.0EuHBR1rQY@zerg.malta.altlinux.ru>

On Thu, Dec 05, 2019 at 12:32:14PM +0300, Sergey V Turchin wrote:
> > Согласен, надо хоть warning какой сделать.
> Обязательно надо сделать возможность прерывать сборку с ошибкой.
> Баг вешать?

Тест сделай, см. соседнее письмо -- может, даже быстрее выйдет :-)

Что-то вроде такого:

--- features.in/kernel/...
#!/bin/sh -efu

# вот здесь надо придумать, как раскрыть тот регэкс
# или получить эквивалентный список другим макаром
kpackages() {
        if ! rpmquery ... >&/dev/null; then
                echo "** some kernel packages missing"
                # а здесь -- вычесть выданное rpm -qa
                echo "....."
                exit 1
        fi >&2
}

case "${GLOBAL_TEST:-}" in
*kpackages*)
        kpackages;;
esac
--- по мотивам features.in/rescue/rescue/image-scripts.d/00-test-rescue

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  parent reply	other threads:[~2019-12-05  9:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-05  8:56 Sergey V Turchin
2019-12-05  9:18 ` Антон Мидюков
2019-12-05  9:32   ` Sergey V Turchin
2019-12-05  9:41     ` Антон Мидюков
2019-12-05  9:50       ` Michael Shigorin
2019-12-05  9:46     ` Michael Shigorin [this message]
2019-12-05  9:38   ` Michael Shigorin
2019-12-05 10:34     ` Sergey V Turchin

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=20191205094623.GE29047@imap.altlinux.org \
    --to=mike@altlinux.org \
    --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