unikraft / app-elfloader

Load and execute Linux ELF binaries
25 stars 31 forks source link

Issue generating run files #76

Open RaduNichita opened 7 months ago

RaduNichita commented 7 months ago

When I run the commands from the README:

git clone https://github.com/unikraft/dynamic-apps
git clone https://github.com/unikraft/app-elfloader elfloader
cd elfloader/
./scripts/setup.sh
wget https://raw.githubusercontent.com/unikraft/app-testing/staging/scripts/generate.py -O scripts/generate.py
chmod a+x scripts/generate.py
./scripts/generate.py
[...]

I get the following error:

./scripts/generate.py 
Traceback (most recent call last):
  File "/home/radu/work/master_new/elfloader/elfloader/./scripts/generate.py", line 506, in <module>
    sys.exit(main())
  File "/home/radu/work/master_new/elfloader/elfloader/./scripts/generate.py", line 502, in main
    generate_build()
  File "/home/radu/work/master_new/elfloader/elfloader/./scripts/generate.py", line 181, in generate_build
    with open(KRAFTCONFIG, "r", encoding="utf8") as stream:
FileNotFoundError: [Errno 2] No such file or directory: 'kraft.yaml'
razvand commented 7 months ago

This is going to be obsoleted by scripts in the catalog-for-maintainers repository.

Try replacing kraft.yaml with Kraftfile in the generate.py script.