Skip to content
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

Add support for running different bincompat application #29

Open
StefanJum opened this issue Sep 24, 2023 · 0 comments
Open

Add support for running different bincompat application #29

StefanJum opened this issue Sep 24, 2023 · 0 comments

Comments

@StefanJum
Copy link
Member

StefanJum commented Sep 24, 2023

Modify the run.yaml file to add support for running different binary compatibility application (from the dynamic-apps repository).
Follow the examples for helloworld and nginx.

You will need to add a new section to the run.yaml file, that will look like this:

  - name: app-name
    rootfs: path-to-dynamic-apps-app-directory
    command: run-command
    memory: amount of memoty needed
    networking: True / False depending on the application

To test your changes, from the app-elfloader directory, first run the generate.py script (./scripts/generate.py). If all went well, you should find some scripts in the scripts/run/ directory named qemu-x86_64-9pfs-<appname>.sh.
Build the elfloader by running ./scripts/build/make-qemu-x86_64-9pfs.sh, then run ./scripts/run/qemu-x86_64-9pfs-<appname>.sh to see if the application is working.
If the run fails, it might be because of an issue in Unikraft, unrelated to your changes, so you can submit you pull request anyway, and also submit an issue with the error to get extra points.

Hackathon Points: 10 points for every new application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant