Hey Nicolas, On 07/27/15 04:50, Nicolas Dechesne wrote: > On Sun, Jul 26, 2015 at 8:04 PM, Trevor Woerner wrote: > > adding kernel-modules should work. it's a meta package that RDEPENDS > on kernel-modules-*, e.g. in my build (oe-core/master) For some reason adding: CORE_IMAGE_EXTRA_INSTALL += "kernel-modules" to my build produces: ERROR: Error executing a python function in /z/layerindex/layers/openembedded-core/meta/recipes-core/images/core-image-minimal.bb: The stack trace of python calls that resulted in this exception/failure was: File: 'do_rootfs', lineno: 17, function: 0013: # generate final images 0014: create_image(d) 0015: 0016: *** 0017:do_rootfs(d) 0018: File: 'do_rootfs', lineno: 11, function: do_rootfs 0007: # generate the initial manifest 0008: create_manifest(d) 0009: 0010: # generate rootfs *** 0011: create_rootfs(d) 0012: 0013: # generate final images 0014: create_image(d) 0015: File: '/z/layerindex/layers/openembedded-core/meta/lib/oe/rootfs.py', lineno: 933, function: create_rootfs 0929: img_type = d.getVar('IMAGE_PKGTYPE', True) 0930: if img_type == "rpm": 0931: RpmRootfs(d, manifest_dir).create() 0932: elif img_type == "ipk": *** 0933: OpkgRootfs(d, manifest_dir).create() 0934: elif img_type == "deb": 0935: DpkgRootfs(d, manifest_dir).create() 0936: 0937: os.environ.clear() File: '/z/layerindex/layers/openembedded-core/meta/lib/oe/rootfs.py', lineno: 215, function: create 0211: 0212: self._run_ldconfig() 0213: 0214: if self.d.getVar('USE_DEPMOD', True) != "0": *** 0215: self._generate_kernel_module_deps() 0216: 0217: self._cleanup() 0218: self._log_check() 0219: File: '/z/layerindex/layers/openembedded-core/meta/lib/oe/rootfs.py', lineno: 332, function: _generate_kernel_module_deps 0328: versioned_modules_dir = os.path.join(self.image_rootfs, modules_dir, kernel_ver) 0329: 0330: bb.utils.mkdirhier(versioned_modules_dir) 0331: *** 0332: self._exec_shell_cmd(['depmodwrapper', '-a', '-b', self.image_rootfs, kernel_ver]) 0333: 0334: """ 0335: Create devfs: 0336: * IMAGE_DEVICE_TABLE is the old name to an absolute path to a device table file 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