[OE-core] [PATCH 13/22] package.bbclass: Rewrite split_and_strip_files

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Sat Feb 9 11:41:42 UTC 2013


Richard Purdie <richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r at public.gmane.org> writes:

> -                   os.path.isfile(file):
> ...
> +                try:
> +                    s = os.stat(file)
> +                except OSError, (err, strerror):
> +                    if err != errno.ENOENT:
> +                        raise

Causes a regression (resp. triggers the previously hidden bug catched by
the os.path.isfile() check):

ERROR: Error executing a python function in .../org.openembedded.core/meta/recipes-core/systemd/systemd-serialgetty.bb:
OSError: [Errno 13] Permission denied: '.../systemd-serialgetty/1.0-r3/package/etc/systemd/system/getty.target.wants/serial-getty at ttySA0.service'



Enrico




More information about the Openembedded-core mailing list