* initramfs: who does cat init.sh >> init ?
@ 2006-06-09 20:25 Nickolay
2006-06-09 20:28 ` H. Peter Anvin
0 siblings, 1 reply; 7+ messages in thread
From: Nickolay @ 2006-06-09 20:25 UTC (permalink / raw)
To: linux-kernel
Guys, in recent kernels, when building kernel with initramfs with V=1,
i see interesting one:
cat /usr/kernel/BE/2_6/initramfs/init.sh >/usr/kernel/BE/2_6/initramfs/init
But i can't find, who really do that. Can anyone point me?
I need to fix that, because it's impossible for me to have two copy of init.
Thanks.
--
Nickolay Vinogradov
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs: who does cat init.sh >> init ?
2006-06-09 20:25 initramfs: who does cat init.sh >> init ? Nickolay
@ 2006-06-09 20:28 ` H. Peter Anvin
2006-06-09 20:33 ` Nickolay
0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2006-06-09 20:28 UTC (permalink / raw)
To: linux-kernel
Followup to: <4489D93F.7090401@protei.ru>
By author: Nickolay <nickolay@protei.ru>
In newsgroup: linux.dev.kernel
>
> Guys, in recent kernels, when building kernel with initramfs with V=1,
> i see interesting one:
>
> cat /usr/kernel/BE/2_6/initramfs/init.sh >/usr/kernel/BE/2_6/initramfs/init
>
> But i can't find, who really do that. Can anyone point me?
> I need to fix that, because it's impossible for me to have two copy of init.
>
Nothing that's part of the standard kernel, that's for sure.
Looks like you have something patched, possibly by a vendor. The
BE/2_6 bit definitely looks that way.
-hpa
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs: who does cat init.sh >> init ?
2006-06-09 20:28 ` H. Peter Anvin
@ 2006-06-09 20:33 ` Nickolay
2006-06-09 20:38 ` H. Peter Anvin
0 siblings, 1 reply; 7+ messages in thread
From: Nickolay @ 2006-06-09 20:33 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
H. Peter Anvin wrote:
>Followup to: <4489D93F.7090401@protei.ru>
>By author: Nickolay <nickolay@protei.ru>
>In newsgroup: linux.dev.kernel
>
>
>>Guys, in recent kernels, when building kernel with initramfs with V=1,
>>i see interesting one:
>>
>>cat /usr/kernel/BE/2_6/initramfs/init.sh >/usr/kernel/BE/2_6/initramfs/init
>>
>>But i can't find, who really do that. Can anyone point me?
>>I need to fix that, because it's impossible for me to have two copy of init.
>>
>>
>>
>
>Nothing that's part of the standard kernel, that's for sure.
>
>Looks like you have something patched, possibly by a vendor. The
>BE/2_6 bit definitely looks that way.
>
> -hpa
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
I'm afraid, that you wrong.
It is 2.6.17-rc4 git tree.
BE/2_6/initramfs is just CONFIG_INITRAMFS_SOURCE path.
--
Nickolay Vinogradov
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs: who does cat init.sh >> init ?
2006-06-09 20:33 ` Nickolay
@ 2006-06-09 20:38 ` H. Peter Anvin
2006-06-09 20:48 ` Nickolay
0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2006-06-09 20:38 UTC (permalink / raw)
To: Nickolay; +Cc: linux-kernel
Nickolay wrote:
>>
> I'm afraid, that you wrong.
> It is 2.6.17-rc4 git tree.
>
> BE/2_6/initramfs is just CONFIG_INITRAMFS_SOURCE path.
>
: neotrantor 11 ; fgrep -nr init.sh *
Documentation/filesystems/ramfs-rootfs-initramfs.txt:144: file /init initramfs/init.sh
755 0 0
Documentation/filesystems/ramfs-rootfs-initramfs.txt:151:two example "file" entries expect
to find files named "init.sh" and "busybox" in
The only references to init.sh in the stock kernel tree are in a documentation file.
-hpa
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs: who does cat init.sh >> init ?
2006-06-09 20:38 ` H. Peter Anvin
@ 2006-06-09 20:48 ` Nickolay
2006-06-09 20:50 ` H. Peter Anvin
0 siblings, 1 reply; 7+ messages in thread
From: Nickolay @ 2006-06-09 20:48 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
H. Peter Anvin wrote:
> Nickolay wrote:
>
>>>
>> I'm afraid, that you wrong.
>> It is 2.6.17-rc4 git tree.
>>
>> BE/2_6/initramfs is just CONFIG_INITRAMFS_SOURCE path.
>>
>
> : neotrantor 11 ; fgrep -nr init.sh *
> Documentation/filesystems/ramfs-rootfs-initramfs.txt:144: file /init
> initramfs/init.sh 755 0 0
> Documentation/filesystems/ramfs-rootfs-initramfs.txt:151:two example
> "file" entries expect to find files named "init.sh" and "busybox" in
>
> The only references to init.sh in the stock kernel tree are in a
> documentation file.
>
> -hpa
yes, i can't grep init.sh in the kernel tree too, this is because i
start asking...
But anyway, the problem is still...
--
Nickolay Vinogradov
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs: who does cat init.sh >> init ?
2006-06-09 20:48 ` Nickolay
@ 2006-06-09 20:50 ` H. Peter Anvin
[not found] ` <4489E030.2090602@protei.ru>
0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2006-06-09 20:50 UTC (permalink / raw)
To: Nickolay; +Cc: linux-kernel
Nickolay wrote:
>
> yes, i can't grep init.sh in the kernel tree too, this is because i
> start asking...
> But anyway, the problem is still...
>
Perhaps you should show more context... what comes around this mysterious invocation in
your make V=1 log. Also your .config would help.
-hpa
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: initramfs: who does cat init.sh >> init ?
[not found] ` <4489E030.2090602@protei.ru>
@ 2006-06-09 20:58 ` H. Peter Anvin
0 siblings, 0 replies; 7+ messages in thread
From: H. Peter Anvin @ 2006-06-09 20:58 UTC (permalink / raw)
To: Nickolay; +Cc: linux-kernel
Nickolay wrote:
> H. Peter Anvin wrote:
>
>> Nickolay wrote:
>>
>>>
>>> yes, i can't grep init.sh in the kernel tree too, this is because i
>>> start asking...
>>> But anyway, the problem is still...
>>>
>>
>> Perhaps you should show more context... what comes around this
>> mysterious invocation in your make V=1 log. Also your .config would help.
>>
>> -hpa
>
> OK. Here it is:
>
> ---------------------------------------------------------------------------------------------------
>
> bash-3.00# make zImage V=1
> rm -f .kernelrelease
> echo 2.6.17-rc4-g3bcc86f5-dirty > .kernelrelease
^^^^^^^^^^^^^^^^^^^^^^^^^^
Modified kernel source.
-hpa
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-06-09 20:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 20:25 initramfs: who does cat init.sh >> init ? Nickolay
2006-06-09 20:28 ` H. Peter Anvin
2006-06-09 20:33 ` Nickolay
2006-06-09 20:38 ` H. Peter Anvin
2006-06-09 20:48 ` Nickolay
2006-06-09 20:50 ` H. Peter Anvin
[not found] ` <4489E030.2090602@protei.ru>
2006-06-09 20:58 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox