]> code.ossystems Code Review - openembedded-core.git/commit
bootimg.bbclass:iso: determine the -iso-level only if there is a rootfs
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Sat, 11 Jul 2015 00:41:03 +0000 (17:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Aug 2015 22:14:31 +0000 (15:14 -0700)
commit57064ac9ccd8a3783789d11feb5a51351cd924bf
treef23fd32edd6e959d1d051d0700ba486a8546491b
parent7a8ec63f38f7a387e01343fbb971b75a66e0f851
bootimg.bbclass:iso: determine the -iso-level only if there is a rootfs

It may be possible that some bootable images do not use a rootfs; this
may be the case if the bootable image utilize only an initrd for all its
needs.

If there is not rootfs, the size calculation will fail. Furthermore, given
that the iso9660 conformance level is determined using the size of rootfs,
it makes sense to not make the calculation if there is not such rootfs.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/bootimg.bbclass