From: Jury Levykin <altcomm@list.ru> To: community@altlinux.ru Subject: [Comm] Компиляция ядра Date: Wed, 15 Sep 2004 19:11:58 +0400 Message-ID: <41485BBE.5040303@list.ru> (raw) Мне нужно наложить патчи на ядро # uname -r 2.4.20-alt17-up Я загрузил пакет kernel24-2.4.20-alt17.src.rpm и установил его. Затем добавил в спек следующее: Patch100001: bridge-nf-0.0.10-against-2.4.20.diff Patch100002: ebtables-v2.0.003_vs_2.4.20.diff и %patch100001 -p1 %patch100002 -p1 и исправил релиз версии. запускаю сборку пакета: $ rpm -ba kernel24.spec получаю следующую ошибку (окончание вывода сборки пакета): =========================================================== ... Patch #4221 (linux-2.4.20-CAN-2004-0685.patch): + /usr/bin/patch -p1 -s + echo 'Patch #100001 (bridge-nf-0.0.10-against-2.4.20.diff):' Patch #100001 (bridge-nf-0.0.10-against-2.4.20.diff): + /usr/bin/patch -p1 -s 1 out of 2 hunks FAILED -- saving rejects to file include/linux/netfilter_bridge.h.rej 1 out of 3 hunks FAILED -- saving rejects to file net/bridge/br_private.h.rej ошибка: Неверный код возврата из /home/jura/tmp/rpm-tmp.58649 (%prep) Ошибки сборки пакетов: Неверный код возврата из /home/jura/tmp/rpm-tmp.58649 (%prep) =================================================================== Анализ содержимого файла rpm-tmp.58649 ясности не внес. Там в конце есть записи о моих патчах: ========================== ... # bridge patches echo "Patch #100001 (bridge-nf-0.0.10-against-2.4.20.diff):" /usr/bin/patch -p1 -s < /home/jura/RPM/SOURCES/bridge-nf-0.0.10-against-2.4.20.diff echo "Patch #100002 (ebtables-v2.0.003_vs_2.4.20.diff):" /usr/bin/patch -p1 -s < /home/jura/RPM/SOURCES/ebtables-v2.0.003_vs_2.4.20.diff ... ========================== Что посоветуете?
next reply other threads:[~2004-09-15 15:11 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-15 15:11 Jury Levykin [this message] 2004-09-15 15:34 ` Andrey Rahmatullin
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=41485BBE.5040303@list.ru \ --to=altcomm@list.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git