ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Сборка пакета kernel-image-std26-up-2.6.9-alt11
Date: Thu, 25 Nov 2004 10:57:38 +0300
Message-ID: <200411251057.38625.serpiph@nikiet.ru> (raw)
In-Reply-To: <41A58370.7090702@co.ru>

В сообщении от 25 Ноябрь 2004 10:02 Boiler написал:
> Здравствуйте.
>
> Хочу пересобрать пакет под свою архитектуру. Подскажите как правильно
> сделать.
> При сборке выдает вот что:
>
> Building Kernel 2.6.9-std26-up-alt11
> + /bin/cp -vf /home/boiler/RPM/SOURCES/config-2.6.9-std26-up
> arch/pentium4/defconfig
> `/home/boiler/RPM/SOURCES/config-2.6.9-std26-up' ->
> `arch/pentium4/defconfig'
> /bin/cp: cannot create regular file `arch/pentium4/defconfig': No such
> file or directory
> ошибка: Неверный код возврата из /home/boiler/tmp/rpm-tmp.12250 (%build)
>
> Я так понял что надо линк создать pentium4 на какую-то дирикторию в
> arch, но на какую не знаю.

Во-во, и я тоже столкнулся с такой проблемой: в rpm добавили возможность 
сборки для pentium4, но часть пакетов (в частности gcc и kernel) не готовы 
к сборке из src.rpm. Дело в том, что у них для каждой архитектуры 
используется свой набор каталогов для файлов конфигурации. Для обхода 
необходимо скопировать содержимое каталога arch/i386 целиком в каталог 
arch/pentium4 или сделать соответствующую ссылку (arch/pentium4 -> 
arch/i386). Желательно это прописать в spec-файле.

> Еще хочу отменить security патчи. Подскажите пожалуйста где это сделать.

В spec-файле. Там есть строки вида

%add_patch_list <что-то>

Всё, что не хотите использовать - закомментируйте или удалите.

-- 
С уважением, Епифанов Сергей


      reply	other threads:[~2004-11-25  7:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-25  7:02 Boiler
2004-11-25  7:57 ` Epiphanov Sergei [this message]

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=200411251057.38625.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git