From: John Faith <john@soundmetrics.com>
To: "openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: why rootfs directory in temp is empty
Date: Tue, 22 Dec 2009 14:40:10 -0800 [thread overview]
Message-ID: <4B314ACA.1020907@soundmetrics.com> (raw)
In-Reply-To: <ac9c93b10912221425g4fee3ca0kdc0257be7eb677bc@mail.gmail.com>
Frans Meulenbroeks wrote:
> 2009/12/22 Denys Dmytriyenko <denis@denix.org>:
>
>> On Tue, Dec 22, 2009 at 09:05:31AM -0600, Mike Westerhof wrote:
>>
>>> Guo Hongruan wrote:
>>>
>>>> Hi guys,
>>>> Today, I build an base-image using OE. And I want to check the content
>>>> of rootfs, but I found the directory rootfs in building directory is
>>>> empty. I remember there was the ontent of the target root filesystem.
>>>> Why have to remove them? Does it means the rootfs directory is unuseful?
>>>>
>>>> Thanks a lot!
>>>>
>>>>
>>> Add IMAGE_KEEPROOTFS = "1" to your local.conf file.
>>> I'm not sure why the change was made to clean it out every build, though.
>>>
>> To prevent people from using it as an NFS share and having problems.
>>
>
> Ehm, can you please clarify why this would cause a problem?
> (btw if I recall correctly the rootfs is still there in the work dir,
> and anyway you can build a rootfs in a tar.gz file and untar that).
>
> Frans
>
The first time I tried to boot a system using files from the temp
rootfs, I quickly found that some parts were missing, like all the /dev
nodes, due to permissions when constructing the rootfs if I recall
correctly.
That was a while ago so maybe things are different now, but I'm glad
that the "wrong" files are removed now to reduce (my) confusion.
,
John
next prev parent reply other threads:[~2009-12-22 22:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-22 8:54 why rootfs directory in temp is empty Guo Hongruan
2009-12-22 15:05 ` Mike Westerhof
2009-12-22 19:51 ` Denys Dmytriyenko
2009-12-22 22:25 ` Frans Meulenbroeks
2009-12-22 22:40 ` John Faith [this message]
2009-12-22 22:46 ` Philip Balister
2009-12-23 1:07 ` Khem Raj
2009-12-23 1:16 ` Guo Hongruan
2009-12-23 8:57 ` Koen Kooi
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=4B314ACA.1020907@soundmetrics.com \
--to=john@soundmetrics.com \
--cc=openembedded-devel@lists.openembedded.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox