Open
Conversation
* New toolchain version - 1.5.2 * Update gcc to 11.2.0 * Update binutils to 2.37 * Remove support to x86 x86 toolchain is not used by Mimiker since we don't support that architecture - let's remove support for that toolchain and reduce complexity and build time of tools. Signed-off-by: Paweł Jasiak <pawel@jasiak.dev>
- build toolchain in container - bump Debian version - add ability to build & run Mimiker in local environment Example how to build local env: - git clone git@github.com:cahirwpz/mimiker.git - cd mimiker - podman build -t mimiker . - podman container run -it --rm --hostname mimiker -v /home/user/mimiker:/root/mimiker mimiker /bin/bash after last command you are in bash shell inside container, you can install your favourite set of packages or just build Mimiker. All changes are synchronized between local directory /home/user/mimiker and /root/mimiker inside container, so you can use your favourite editor and distro. podman is not required but it's recommended (in non-priv mode). It's possible to still run podman as root or use docker for that purpose but then you are on your own with permissions inside mimiker directory. Note: building container is *SLOW* and IO *INTENSIVE* process. Signed-off-by: Paweł Jasiak <pawel@jasiak.dev>
Signed-off-by: Paweł Jasiak <pawel@jasiak.dev>
Owner
|
This looks ok. Please move PR's description into a separate document on our wiki entitled "toolchain" and modify it appropriately. |
Signed-off-by: Paweł Jasiak <pawel@jasiak.dev>
Owner
|
Since |
Signed-off-by: Paweł Jasiak <pawel@jasiak.dev>
Signed-off-by: Paweł Jasiak <pawel@jasiak.dev>
Owner
|
@pj1031999 Since all our infrastructure was eventually updated to Debian 11 let's return to this PR. Could you resolve conflicts? |
Collaborator
Author
|
@cahirwpz please give me a couple of days. |
Owner
|
@pj1031999 How can we benefit from that change having install-tools.sh script in place? |
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.
Example how to build local env:
git clone git@github.com:cahirwpz/mimiker.gitcd mimikerpodman build -t mimiker .podman container run -it --rm --hostname mimiker -v /home/user/mimiker:/root/mimiker mimiker /bin/bashafter last command you are in bash shell inside container, you can install your favourite set of packages or just build Mimiker. All changes are synchronized between local directory
/home/user/mimikerand/root/mimikerinside container, so you can use your favourite editor and distro.podman is not required but it's recommended (in non-priv mode). It's possible to still run podman as root or use docker for that purpose but then you are on your own with permissions inside mimiker directory.
Note: building container is SLOW and IO INTENSIVE process.
Requires #1166