* supported IMAGE_FSTYPES
@ 2012-10-30 18:06 Tim Bird
0 siblings, 0 replies; 4+ messages in thread
From: Tim Bird @ 2012-10-30 18:06 UTC (permalink / raw)
To: yocto@yoctoproject.org
I am in the process of creating my own distro, and trying to figure out
all the different build variables. This is a pretty daunting task
for a yocto project/Poky newbie.
Is there some place where the possible values for IMAGE_FSTYPE are
documented? The Poky reference manual has this helpful sentence:
"Formats of root filesystem images that you want to have created."
However, it does not describe the possible values this variable
should have.
At the root of the poky source dir, doing a 'find -type f -print 0 | xargs -0 grep IMAGE_FSTYPES'
seems to reveal the following used or checked-for image types:
jffs2 sdimg tar.bz2 ubi ext3 ext2 cpio.gz live vmdk
It appears the cpio.gz corresponds to an image suitable for an initramfs.
jffs2, ext2, ext3, ubi and tar.bz2 appear self-explanatory.
I have a pretty good idea thaat vmdk is somehow related to the
virtual build image.
What does 'live' do?
Wait a sec...
Reading meta/classes/image_types.bbclass I just found IMAGE_TYPES,
which says it is available for requesting which values are suitable
for IMAGE_FSTYPES.
This has the following:
IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz
ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz
cpio cpio.gz cpio.xz cpio.lzma vmdk"
How does one query this variable? Other than reading the source, is
there a way to know that such variables (which list the allowed values
for other variables) exist?
I apologize if these are newbie questions.
Thanks,
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation
Senior Staff Engineer, Sony Network Entertainment
=============================
^ permalink raw reply [flat|nested] 4+ messages in thread
* supported IMAGE_FSTYPES
@ 2012-10-30 18:08 Tim Bird
2012-10-30 19:40 ` Brian Smucker
2012-10-30 22:04 ` Trevor Woerner
0 siblings, 2 replies; 4+ messages in thread
From: Tim Bird @ 2012-10-30 18:08 UTC (permalink / raw)
To: yocto@yoctoproject.org
I am in the process of creating my own distro, and trying to figure out
all the different build variables. This is a pretty daunting task
for a yocto project/Poky newbie.
Is there some place where the possible values for IMAGE_FSTYPE are
documented? The Poky reference manual has this helpful sentence:
"Formats of root filesystem images that you want to have created."
However, it does not describe the possible values this variable
should have.
At the root of the poky source dir, doing a 'find -type f -print 0 | xargs -0 grep IMAGE_FSTYPES'
seems to reveal the following used or checked-for image types:
jffs2 sdimg tar.bz2 ubi ext3 ext2 cpio.gz live vmdk
It appears the cpio.gz corresponds to an image suitable for an initramfs.
jffs2, ext2, ext3, ubi and tar.bz2 appear self-explanatory.
I have a pretty good idea that vmdk is somehow related to the
virtual build image.
What does 'live' do?
Wait a sec...
Reading meta/classes/image_types.bbclass I just found IMAGE_TYPES,
which says it is "available to request which values are suitable
for IMAGE_FSTYPES".
This has the following definition in denzil:
IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz
ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz
cpio cpio.gz cpio.xz cpio.lzma vmdk"
How does one query this variable? Other than reading the source, is
there a way to know that such variables (which list the allowed values
for other variables) exist?
I apologize if these are newbie questions.
Thanks,
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation
Senior Staff Engineer, Sony Network Entertainment
=============================
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: supported IMAGE_FSTYPES
2012-10-30 18:08 Tim Bird
@ 2012-10-30 19:40 ` Brian Smucker
2012-10-30 22:04 ` Trevor Woerner
1 sibling, 0 replies; 4+ messages in thread
From: Brian Smucker @ 2012-10-30 19:40 UTC (permalink / raw)
To: yocto
From a yocto also-newbie:
This is a helpful command: bitbake -e |grep xxx
where xxx is something like ^IMAGE_FSTYPE=
That retrieves the current settings of that variable.
It doesn't answer your main question of what are the options. I had
that exact question a week or so ago.
Thanks
Brian
On 10/30/2012 11:08 AM, Tim Bird wrote:
> I am in the process of creating my own distro, and trying to figure out
> all the different build variables. This is a pretty daunting task
> for a yocto project/Poky newbie.
>
> Is there some place where the possible values for IMAGE_FSTYPE are
> documented? The Poky reference manual has this helpful sentence:
> "Formats of root filesystem images that you want to have created."
> However, it does not describe the possible values this variable
> should have.
>
> At the root of the poky source dir, doing a 'find -type f -print 0 | xargs -0 grep IMAGE_FSTYPES'
> seems to reveal the following used or checked-for image types:
> jffs2 sdimg tar.bz2 ubi ext3 ext2 cpio.gz live vmdk
>
> It appears the cpio.gz corresponds to an image suitable for an initramfs.
> jffs2, ext2, ext3, ubi and tar.bz2 appear self-explanatory.
> I have a pretty good idea that vmdk is somehow related to the
> virtual build image.
>
> What does 'live' do?
>
> Wait a sec...
>
> Reading meta/classes/image_types.bbclass I just found IMAGE_TYPES,
> which says it is "available to request which values are suitable
> for IMAGE_FSTYPES".
>
> This has the following definition in denzil:
> IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz
> ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz
> cpio cpio.gz cpio.xz cpio.lzma vmdk"
>
> How does one query this variable? Other than reading the source, is
> there a way to know that such variables (which list the allowed values
> for other variables) exist?
>
> I apologize if these are newbie questions.
>
> Thanks,
> -- Tim
>
> =============================
> Tim Bird
> Architecture Group Chair, CE Workgroup of the Linux Foundation
> Senior Staff Engineer, Sony Network Entertainment
> =============================
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: supported IMAGE_FSTYPES
2012-10-30 18:08 Tim Bird
2012-10-30 19:40 ` Brian Smucker
@ 2012-10-30 22:04 ` Trevor Woerner
1 sibling, 0 replies; 4+ messages in thread
From: Trevor Woerner @ 2012-10-30 22:04 UTC (permalink / raw)
To: Tim Bird; +Cc: yocto@yoctoproject.org
On Tue, Oct 30, 2012 at 2:08 PM, Tim Bird <tim.bird@am.sony.com> wrote:
> How does one query this variable? Other than reading the source, is
> there a way to know that such variables (which list the allowed values
> for other variables) exist?
This question, essentially, was asked back in June, and the answer at
that time was, essentially, "read the source" :-)
https://lists.yoctoproject.org/pipermail/yocto/2012-June/009319.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-30 22:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 18:06 supported IMAGE_FSTYPES Tim Bird
-- strict thread matches above, loose matches on Subject: below --
2012-10-30 18:08 Tim Bird
2012-10-30 19:40 ` Brian Smucker
2012-10-30 22:04 ` Trevor Woerner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.