* Re: [sisyphus] mkimage, cat & modules
@ 2011-12-08 16:34 ` Michael Shigorin
2011-12-08 16:39 ` Dmitry
2011-12-08 19:28 ` Sergey Bolshakov
1 sibling, 1 reply; 9+ messages in thread
From: Michael Shigorin @ 2011-12-08 16:34 UTC (permalink / raw)
To: sisyphus
On Thu, Dec 08, 2011 at 08:28:00PM +0400, Dmitry wrote:
> Наткнулся на непонятное для меня поведение mkimage
> при сборке образа простого livecd из
> http://git.altlinux.org/people/enp/packages/mkimage-profile-live.git
В нём есть несколько бранчей -- кажется, как-то с Женей обсуждали
именно эту грабельку.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-08 16:34 ` [sisyphus] mkimage, cat & modules Michael Shigorin
@ 2011-12-08 16:39 ` Dmitry
2011-12-08 16:44 ` Michael Shigorin
0 siblings, 1 reply; 9+ messages in thread
From: Dmitry @ 2011-12-08 16:39 UTC (permalink / raw)
To: sisyphus
>> Наткнулся на непонятное для меня поведение mkimage
>> при сборке образа простого livecd из
>> http://git.altlinux.org/people/enp/packages/mkimage-profile-live.git
>
> В нём есть несколько бранчей -- кажется, как-то с Женей обсуждали
> именно эту грабельку.
Т.е. возможны условия (сброчная среда?), при которых cat работает?
С наилучшими пожеланиями,
Дмитрий
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-08 16:39 ` Dmitry
@ 2011-12-08 16:44 ` Michael Shigorin
0 siblings, 0 replies; 9+ messages in thread
From: Michael Shigorin @ 2011-12-08 16:44 UTC (permalink / raw)
To: sisyphus
On Thu, Dec 08, 2011 at 08:39:47PM +0400, Dmitry wrote:
> Т.е. возможны условия (сброчная среда?), при которых cat работает?
Простите, не помню. Проверьте бранч autoconf.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-08 16:34 ` [sisyphus] mkimage, cat & modules Michael Shigorin
@ 2011-12-08 19:28 ` Sergey Bolshakov
2011-12-09 5:14 ` Dmitry
1 sibling, 1 reply; 9+ messages in thread
From: Sergey Bolshakov @ 2011-12-08 19:28 UTC (permalink / raw)
To: sisyphus
>>>>> "Dmitry" == Dmitry <tssb-JGs/UdohzUI@public.gmane.org> writes:
> Добрый вечер.
> Наткнулся на непонятное для меня поведение mkimage
> при сборке образа простого livecd из
> http://git.altlinux.org/people/enp/packages/mkimage-profile-live.git
[skipped]
> Дальнейший поиск привел к скрипту mki-build-propagator
> из каталога /usr/share/mkimage/tools. В 51-й строке этого
> скрипта full.cz формируется объединением файлов
> initfs (файловая система initrd) и modules (модули в initrd) через cat.
> При этом содержимое initfs правильное,
> содержимое modules правильное, но результат выполнения скрипта (см. ниже)
> full.cz НЕ СОДЕРЖИТ модулей из файла modules.
Как именно выяснилось, что full.cz НЕ СОДЕРЖИТ модулей ?
--
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-08 19:28 ` Sergey Bolshakov
@ 2011-12-09 5:14 ` Dmitry
2011-12-09 7:28 ` Sergey Bolshakov
0 siblings, 1 reply; 9+ messages in thread
From: Dmitry @ 2011-12-09 5:14 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
> > Дальнейший поиск привел к скрипту mki-build-propagator
> > из каталога /usr/share/mkimage/tools. В 51-й строке этого
> > скрипта full.cz формируется объединением файлов
> > initfs (файловая система initrd) и modules (модули в initrd) через cat.
> > При этом содержимое initfs правильное,
> > содержимое modules правильное, но результат выполнения скрипта (см. ниже)
> > full.cz НЕ СОДЕРЖИТ модулей из файла modules.
>
> Как именно выяснилось, что full.cz НЕ СОДЕРЖИТ модулей ?
gunzip+cpio+ls
С наилучшими пожеланиями,
Дмитрий
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-09 5:14 ` Dmitry
@ 2011-12-09 7:28 ` Sergey Bolshakov
2011-12-09 11:36 ` Dmitry
0 siblings, 1 reply; 9+ messages in thread
From: Sergey Bolshakov @ 2011-12-09 7:28 UTC (permalink / raw)
To: sisyphus
[-- 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м.
--
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-09 7:28 ` Sergey Bolshakov
@ 2011-12-09 11:36 ` Dmitry
2011-12-09 11:44 ` Sergey Bolshakov
0 siblings, 1 reply; 9+ messages in thread
From: Dmitry @ 2011-12-09 11:36 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
> >> > full.cz
> НЕ СОДЕРЖИТ модулей из файла modules.
> >>
> >> Как именно выяснилось, что full.cz НЕ СОДЕРЖИТ модулей ?
>
> > gunzip+cpio+ls
>
> В таком случае, Вы видите содержание только первого куска -- initfs.
> full.cz же содержит несколько cpio.gz, склеенных cat'oм.
А пропагатор видит второй кусок с модулями? Или кто там их загружает?
Как увидеть второй кусок?
С наилучшими пожеланиями,
Дмитрий
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] mkimage, cat & modules
2011-12-09 11:36 ` Dmitry
@ 2011-12-09 11:44 ` Sergey Bolshakov
0 siblings, 1 reply; 9+ messages in thread
From: Sergey Bolshakov @ 2011-12-09 11:44 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 93 bytes --]
>>>>> "Dmitry" == Dmitry <tssb-JGs/UdohzUI@public.gmane.org> writes:
>> >> > full.cz
[-- Attachment #2: Type: text/plain, Size: 42 bytes --]
>> НЕ СОДЕРЖИТ модулей из файла modules.
[-- Attachment #3: Type: text/plain, Size: 17 bytes --]
>> >>
>> >>
[-- Attachment #4: Type: text/plain, Size: 62 bytes --]
Как именно выяснилось, что full.cz НЕ СОДЕРЖИТ модулей ?
>>
[-- Attachment #5: Type: text/plain, Size: 29 bytes --]
>> > gunzip+cpio+ls
>>
[-- Attachment #6: Type: text/plain, Size: 371 bytes --]
>> В таком случае, Вы видите содержание только первого куска -- initfs.
>> full.cz же содержит несколько cpio.gz, склеенных cat'oм.
> А пропагатор видит второй кусок с модулями? Или кто там их загружает?
full.cz разбирается непосредственно ядром, и да, видит.
> Как увидеть второй кусок?
Например, переключиться на вторую консоль и сделать echo /lib/modules/*
--
^ permalink raw reply [flat|nested] 9+ messages in thread
* [sisyphus] mkimage, cat & modules
@ 2011-12-09 12:26 ` Dmitry
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry @ 2011-12-09 12:26 UTC (permalink / raw)
To: sisyphus
> >> В таком случае, Вы видите содержание только первого куска -- initfs.
> >> full.cz же содержит несколько cpio.gz, склеенных cat'oм.
>
> > А пропагатор видит второй кусок с модулями? Или кто там их загружает?
> full.cz разбирается непосредственно ядром, и да, видит.
>
> > Как увидеть второй кусок?
> Например, переключиться на вторую консоль и сделать echo /lib/modules/*
Понятно.
Попробовал собрать и загрузить бранч autoconf из
http://git.altlinux.org/people/enp/packages/mkimage-profile-live.git
Все собралось и загрузилось.
Так как autoconf работает, то вопрос снимается.
Спасибо.
-------------------------------------------------------------
С наилучшими пожеланиями,
Дмитрий
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-12-09 12:26 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 16:34 ` [sisyphus] mkimage, cat & modules 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
2011-12-09 11:36 ` Dmitry
2011-12-09 11:44 ` Sergey Bolshakov
2011-12-09 12:26 ` Dmitry
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