Hi Patrick, All,

I am happy to announce that on Monday my changes were accepted and merged in the Tizen IVI branch: https://review.tizen.org/gerrit/35644

At the moment my tests show it is possible to build Tizen IVI image using Yocto the default configuration at local.conf on Debian and Ubuntu without the need to modify build.py. For more details please visit Tizen JIRA: https://bugs.tizen.org/jira/browse/BTY-104

Best regards,
Leon




On 20.02.2015 18:21, Leon Anavi wrote:
Hi Patrick,

On 20.02.2015 17:11, Patrick Ohly wrote:
On Fri, 2015-02-20 at 15:27 +0200, Leon Anavi wrote:
On 20.02.2015 12:31, Patrick Ohly wrote:
These bashism issues should indeed be better fixed in the .spec files
and not the .inc files derived from them, so this guide applies.

However, it is uncertain whether working with non-bash shell
interpreters is a goal for Tizen; at the moment it is not tested for
consistently, neither in OBS nor in "Tizen on Yocto". So it is unclear
whether maintainers will accept such patches. Worse, such issues may get
re-introduced.

Overall I think it's easier to accept that .inc files depend on bash and
patch build.py in tizen-distro as suggested above.

As far as I know Ubuntu is among the supported platforms for both Tizen
IVI application and platform development and its default system shell is
dash. In my opinion the change at the python scripts seems as a work
around. It will be more user/developer friendly and more convenient if
the Tizen build with Yocto works out of the box on Ubuntu.
Patching build.py in tizen-distro would achieve that, too. I know that
this looks like avoiding the issue, but it's simply less work and more
likely to succeed.
OK, may be a patch for build.py that automatically detects and replaces /bin/sh with /bin/bash depending on the distro makes sense.

For the moment I will try to submit what I have when Tizen Gerrit is up and running again.


If we want spec files to be free of bashisms (which is not needed for
OBS and gbs, at least as far as I know), then this needs to be
communicated clearly as a project goal, and it needs to be enforced as
part of patch acceptance into the distro. As you noticed, Ronan has
already tried for a long time to get spec files fixed, without success.


Yocto is quite popular and a lot of people would rather use it than GBS. May be it is worth discussing this as a new project goal.

Thanks,
Leon


--
Leon Anavi
Software Engineer
Mob : +359 88 527 7901
konsulko.com

_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to