Open
Conversation
added root directory, binary, and libraries for nasm to the dynamic-apps that can be run in bincompat mode. Signed-off-by: Sina Mahdavi <sinamhdv@gmail.com>
Added p7zip file compression utility to dynamic apps. This includes the root directory, README.md, libraries, binaries, and sample files. Signed-off-by: Sina Mahdavi <sinamhdv@gmail.com>
StefanJum
requested changes
Sep 25, 2023
| - `7z.so`, `7za`, `7zCon.sfx`, `7zr`: different code modules for p7zip that will be used by 7z binary to perform different operations. | ||
|
|
||
| ## Extracting Dynamic Libraries | ||
|
|
|
|
||
| ## Running on Linux | ||
|
|
||
| This will create a new archive called `archive.zip` and add the file `README.md` to it. |
Member
There was a problem hiding this comment.
Suggested change
| This will create a new archive called `archive.zip` and add the file `README.md` to it. | |
| Create a new archive called `archive.zip` and add the file `README.md` to it: |
| 7z a archive.zip README.md | ||
| ``` | ||
|
|
||
| This will extract the archive: |
Member
There was a problem hiding this comment.
Suggested change
| This will extract the archive: | |
| Extract the archive created above: |
|
|
||
| ## Running on Unikraft | ||
|
|
||
| This will create a new archive called `archive.zip` and add the file `README.md` to it. |
Member
There was a problem hiding this comment.
Suggested change
| This will create a new archive called `archive.zip` and add the file `README.md` to it. | |
| Create a new archive called `archive.zip` and add the file `README.md` to it: |
| ./run.sh -r ../dynamic-apps/p7zip /7z a archive.zip README.md | ||
| ``` | ||
|
|
||
| This will extract an archive file called `archive.zip`. |
Member
There was a problem hiding this comment.
Suggested change
| This will extract an archive file called `archive.zip`. | |
| Extract an archive file called `archive.zip`. |
| ``` | ||
|
|
||
| ## Running on Unikraft | ||
|
|
Member
There was a problem hiding this comment.
Add a line on using the run.sh script from the run-app-elfloader repository (see an example here).
| ```console | ||
| ./run.sh -r ../dynamic-apps/p7zip /7z a archive.zip README.md | ||
| ``` | ||
|
|
Member
There was a problem hiding this comment.
Give an output sample of the command above.
| ```console | ||
| ./run.sh -r ../dynamic-apps/p7zip /7z x archive.zip | ||
| ``` | ||
|
|
Member
There was a problem hiding this comment.
Give an output sample of the command above.
| ./run.sh -r ../dynamic-apps/p7zip /7z x archive.zip | ||
| ``` | ||
|
|
||
| We can use this command to check that everything worked properly: |
Member
There was a problem hiding this comment.
Suggested change
| We can use this command to check that everything worked properly: | |
| To check that everything worked properly, use: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.