From: Sergey Bolshakov <sbolshakov@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] mkimage, cat & modules
Date: Fri, 09 Dec 2011 11:28:23 +0400
Message-ID: <m3pqfyfbl4.fsf@hammer.lioka.obninsk.ru> (raw)
In-Reply-To: <CAAwapwDCtt2OWa9ttkUCy_um8aX1wTWr3esmR_YvTSQZQ9hP8Q@mail.gmail.com> (Dmitry's message of "Fri, 9 Dec 2011 08:14:11 +0300")
[-- Attachment #1: Type: text/plain, Size: 80 bytes --]
>>>>> "Dmitry" == Dmitry <tssb-JGs/UdohzUI@public.gmane.org> writes:
>> >
[-- Attachment #2: Type: text/plain, Size: 55 bytes --]
Дальнейший поиск привел к скрипту mki-build-propagator
[-- Attachment #3: Type: text/plain, Size: 7 bytes --]
>> >
[-- Attachment #4: Type: text/plain, Size: 58 bytes --]
из каталога /usr/share/mkimage/tools. В 51-й строке этого
[-- Attachment #5: Type: text/plain, Size: 7 bytes --]
>> >
[-- Attachment #6: Type: text/plain, Size: 7 bytes --]
скрипта
[-- Attachment #7: Type: text/plain, Size: 9 bytes --]
full.cz
[-- Attachment #8: Type: text/plain, Size: 32 bytes --]
формируется объединением файлов
[-- Attachment #9: Type: text/plain, Size: 14 bytes --]
>> > initfs
[-- Attachment #10: Type: text/plain, Size: 65 bytes --]
(файловая система initrd) и modules (модули в initrd) через cat.
[-- Attachment #11: Type: text/plain, Size: 7 bytes --]
>> >
[-- Attachment #12: Type: text/plain, Size: 39 bytes --]
При этом содержимое initfs правильное,
[-- Attachment #13: Type: text/plain, Size: 7 bytes --]
>> >
[-- Attachment #14: Type: text/plain, Size: 74 bytes --]
содержимое modules правильное, но результат выполнения скрипта (см. ниже)
[-- Attachment #15: Type: text/plain, Size: 15 bytes --]
>> > full.cz
[-- Attachment #16: Type: text/plain, Size: 255 bytes --]
НЕ СОДЕРЖИТ модулей из файла modules.
>>
>> Как именно выяснилось, что full.cz НЕ СОДЕРЖИТ модулей ?
> gunzip+cpio+ls
В таком случае, Вы видите содержание только первого куска -- initfs.
full.cz же содержит несколько cpio.gz, склеенных cat'oм.
--
next prev parent reply other threads:[~2011-12-09 7:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 16:34 ` Michael Shigorin
2011-12-08 16:39 ` Dmitry
2011-12-08 16:44 ` Michael Shigorin
2011-12-08 19:28 ` Sergey Bolshakov
2011-12-09 5:14 ` Dmitry
2011-12-09 7:28 ` Sergey Bolshakov [this message]
2011-12-09 11:36 ` Dmitry
2011-12-09 11:44 ` Sergey Bolshakov
2011-12-09 12:26 ` Dmitry
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=m3pqfyfbl4.fsf@hammer.lioka.obninsk.ru \
--to=sbolshakov@altlinux.ru \
--cc=sisyphus@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 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