-
Notifications
You must be signed in to change notification settings - Fork 8
Stefan jum/add dev content #13
Stefan jum/add dev content #13
Conversation
`.unikraft/` was previously used as the directory to clone library repositories (including the `unikraft` core repository). Being a hidden directory, it is not immediately available to the developer. Use `workdir/` instead. Also use `workdir/build/` as output directory and ignore the `workdir/` directory. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Please also add an update to the Also update |
0cd1ea9
to
9d775b1
Compare
Done @razvand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the generate.py
script, since it's now downloaded. Also ignore it.
Also update the TLDR in README.md
with the downloading and using of generate.py
, same as documented here.
9d775b1
to
0cf8a58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also rename fs0/
to rootfs/
.
Ignore generate.py
in scripts/
. I recommend a .gitignore
file in scripts/
.
eb1be0e
to
7fa45b0
Compare
Move all the defconfig files into the `defconfigs/` directory. Also minimise them using `make savedefconfig`, removing all unnecesary config options. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
7fa45b0
to
7d515bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You took out fs0/
by mistake. Rename it to rootfs/
.
Rename aarch64
to arm64
in kraft.yaml
target names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use test
instead of [
. It's more readable and it's consistent with other scripts we're using.
The `generate.py` script will be downloaded from https://raw.githubusercontent.com/unikraft/app-testing/staging/scripts/generate.py and used to generate the scripts in the `scripts/build/` and `scripts/run/` directories. This will improve maintenance (only required to happen for the `generate.py` script), while still keeping things usable by providing the basic build and run scripts. Use the `setup.sh` script will clone all the dependencies in the `workdir` repository. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
7d515bb
to
3993967
Compare
Add instructions on how to use the generator and output scripts to build and run the application. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Use `arm64` instead of `aarch64` for target names, for consistency with the script generated by `generate.py`. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
3993967
to
e04506f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Razvan Deaconescu razvand@unikraft.io
Approved-by: Razvan Deaconescu razvand@unikraft.io
`.unikraft/` was previously used as the directory to clone library repositories (including the `unikraft` core repository). Being a hidden directory, it is not immediately available to the developer. Use `workdir/` instead. Also use `workdir/build/` as output directory and ignore the `workdir/` directory. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
Move all the defconfig files into the `defconfigs/` directory. Also minimise them using `make savedefconfig`, removing all unnecesary config options. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
The `generate.py` script will be downloaded from https://raw.githubusercontent.com/unikraft/app-testing/staging/scripts/generate.py and used to generate the scripts in the `scripts/build/` and `scripts/run/` directories. This will improve maintenance (only required to happen for the `generate.py` script), while still keeping things usable by providing the basic build and run scripts. Use the `setup.sh` script will clone all the dependencies in the `workdir` repository. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
Add instructions on how to use the generator and output scripts to build and run the application. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
Use `arm64` instead of `aarch64` for target names, for consistency with the script generated by `generate.py`. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
Switch to using fs1 as 9pfs id in `kraft.yaml`. This makes it compatible with KraftKit handling of 9pfs mounts Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #13
No description provided.