[yocto] include all kernel modules in image

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon Jul 27 05:04:52 PDT 2015


On Mon, Jul 27, 2015 at 1:03 PM, Trevor Woerner <twoerner at gmail.com> wrote:
> File: '/z/layerindex/layers/openembedded-core/meta/lib/oe/rootfs.py',
> lineno: 156, function: _exec_shell_cmd
>      0152:        else:
>      0153:            exec_cmd = cmd
>      0154:
>      0155:        try:
>  *** 0156:            subprocess.check_output(exec_cmd,
> stderr=subprocess.STDOUT)
>      0157:        except subprocess.CalledProcessError as e:
>      0158:            return("Command '%s' returned %d:\n%s" % (e.cmd,
> e.returncode, e.output))
>      0159:
>      0160:        return None
> File: '/usr/lib64/python2.7/subprocess.py', lineno: 566, function:
> check_output
>      0562:    'ls: non_existent_file: No such file or directory\n'
>      0563:    """
>      0564:    if 'stdout' in kwargs:
>      0565:        raise ValueError('stdout argument not allowed, it will
> be overridden.')
>  *** 0566:    process = Popen(stdout=PIPE, *popenargs, **kwargs)
>      0567:    output, unused_err = process.communicate()
>      0568:    retcode = process.poll()
>      0569:    if retcode:
>      0570:        cmd = kwargs.get("args")
> File: '/usr/lib64/python2.7/subprocess.py', lineno: 710, function: __init__
>      0706:                                cwd, env, universal_newlines,
>      0707:                                startupinfo, creationflags,
> shell, to_close,
>      0708:                                p2cread, p2cwrite,
>      0709:                                c2pread, c2pwrite,
>  *** 0710:                                errread, errwrite)
>      0711:        except Exception:
>      0712:            # Preserve original exception in case os.close raises.
>      0713:            exc_type, exc_value, exc_trace = sys.exc_info()
>      0714:
> File: '/usr/lib64/python2.7/subprocess.py', lineno: 1327, function:
> _execute_child
>      1323:                except OSError as e:
>      1324:                    if e.errno != errno.ECHILD:
>      1325:                        raise
>      1326:                child_exception = pickle.loads(data)
>  *** 1327:                raise child_exception
>      1328:
>      1329:
>      1330:        def _handle_exitstatus(self, sts,
> _WIFSIGNALED=os.WIFSIGNALED,
>      1331:                _WTERMSIG=os.WTERMSIG, _WIFEXITED=os.WIFEXITED,
> Exception: OSError: [Errno 2] No such file or directory


well, something's definitely wrong here.. are you doing a minimal
OE-core build? can you try to reproduce / narrow down? Are you running
recent master? I have no idea what the error means here.. but clearly,
it works for me, so that could be something from your environment..

nico



More information about the yocto mailing list