Skip to content

copyImgFiles failed when overlay has subfolders #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
demin-han opened this issue Mar 5, 2025 · 0 comments
Open

copyImgFiles failed when overlay has subfolders #314

demin-han opened this issue Mar 5, 2025 · 0 comments

Comments

@demin-han
Copy link

Use this workload:
https://github.com/ucb-bar/coremark-workload
put a "hello" subfolder to overlay

Fail report:
TaskError - taskid:/home/FireMarshal/images/firechip/coremark/coremark.img
PythonAction Error
Traceback (most recent call last):
File "/home/miniforge3/envs/firemarshal/lib/python3.10/site-packages/doit/action.py", line 461, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/home/FireMarshal/wlutil/build.py", line 603, in makeImage
wlutil.applyOverlay(config['img'], config['overlay'])
File "/home/FireMarshal/wlutil/wlutil.py", line 753, in applyOverlay
copyImgFiles(img, flist, 'in')
File "/home/FireMarshal/wlutil/wlutil.py", line 727, in copyImgFiles
perms = int(oct(os.stat(dirPath).st_mode)[-3:], 8)
FileNotFoundError: [Errno 2] No such file or directory: '/home/FireMarshal/disk-mount/hello'

ERROR: Failed to build workload coremark.json

I think this issue related to Commit c510768.

when check and change permission, the subfolder is still not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant