getdepends for ext2.gz.u-boot
Hello,
when using ext2.gz.u-boot as IMAGE_FSTYPES, I got error when doing rootfs with error info:
genext2fs: command not found
after checked fuction imagetypes_getdepends, I guess the ext2's dependency is not considered. maybe we should assign 'ext2' to 'basetype', but not 'type' directly.
Any idea?
def imagetypes_getdepends(d):
...
for type in (d.getVar('IMAGE_FSTYPES', True) or "").split():
...
basetype = type # ??????????????????
for ctype in ctypes:
if type.endswith("." + ctype):
basetype = type.rsplit(".", 1)[0]
adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True),deps)
break
adddep(d.getVar('IMAGE_DEPENDS_%s' % basetype, True) , deps)
depstr = ""
for dep in deps:
depstr += " " + dep + ":do_populate_sysroot"
return depstr
Signature · 3 lines
Yi Qingliang [email protected] https://niqingliang2003.wordpress.com
Quoted 11 lines · Ni Qingliang
Hello,
when using ext2.gz.u-boot as
IMAGE_FSTYPES, I got error when doing rootfs with error info:
genext2fs: command not foundafter checked fuction
imagetypes_getdepends, I guess the ext2's dependency is not considered. maybe we should assign 'ext2' to 'basetype', but not 'type' directly.Any idea?
Does
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=78ae63423f123f89a5c72c85539e6ed71bd2653d fix the problem for you?
Cheers,
Richard
Quoted 7 lines · Richard Purdie
Quoted 6 lines · Ni Qingliang
Hello,
when using ext2.gz.u-boot as
IMAGE_FSTYPES, I got error when doing rootfs with error info:
genext2fs: command not found
Quoted 8 lines
Quoted 5 lines
after checked fuction
imagetypes_getdepends, I guess the ext2's dependency is not considered. maybe we should assign 'ext2' to 'basetype', but not 'type' directly.Any idea?
Does
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=78ae63423f123f89a5c72c85539e6ed71bd2653d fix the problem for you?
This looks like what I'm doing with my own generator. I tried it, with & without this patch, and I don't get a ext2.gz.u-boot image, only a broken link.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 12 lines · Gary Thomas
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Ni Qingliang
Hello,
when using ext2.gz.u-boot as
IMAGE_FSTYPES, I got error when doing rootfs with error info:
genext2fs: command not foundafter checked fuction
imagetypes_getdepends, I guess the ext2's dependency is not considered. maybe we should assign 'ext2' to 'basetype', but not 'type' directly.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Any idea?
Does
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=78ae63423f123f89a5c72c85539e6ed71bd2653d fix the problem for you?This looks like what I'm doing with my own generator. I tried it, with & without this patch, and I don't get a ext2.gz.u-boot image, only a broken link.
That sounds like what happens if you don't inherit image_types_uboot
Cheers,
Richard
Quoted 15 lines · Richard Purdie
Quoted 14 lines · Gary Thomas
Quoted 13 lines · Richard Purdie
Quoted 11 lines · Ni Qingliang
Hello,
when using ext2.gz.u-boot as
IMAGE_FSTYPES, I got error when doing rootfs with error info:
genext2fs: command not foundafter checked fuction
imagetypes_getdepends, I guess the ext2's dependency is not considered. maybe we should assign 'ext2' to 'basetype', but not 'type' directly.Any idea?
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Does
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=78ae63423f123f89a5c72c85539e6ed71bd2653d fix the problem for you?This looks like what I'm doing with my own generator. I tried it, with& without this patch, and I don't get a ext2.gz.u-boot image, only a broken link.
That sounds like what happens if you don't inherit
image_types_uboot
Indeed. This method also works perfectly, thanks!
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------