{"id":27867696,"url":"https://github.com/openhd/openhd-chrootcompiler","last_synced_at":"2026-02-17T02:09:07.343Z","repository":{"id":103821155,"uuid":"606269475","full_name":"OpenHD/OpenHD-ChrootCompiler","owner":"OpenHD","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-30T20:16:38.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-03T02:28:42.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenHD.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-25T01:49:13.000Z","updated_at":"2025-03-30T20:16:41.000Z","dependencies_parsed_at":"2023-03-09T16:15:45.561Z","dependency_job_id":"9de02edc-3a33-47f4-b67d-a5f8f22e8144","html_url":"https://github.com/OpenHD/OpenHD-ChrootCompiler","commit_stats":{"total_commits":179,"total_committers":1,"mean_commits":179.0,"dds":0.0,"last_synced_commit":"9ad652af16261cfcbcf36e8dac139a92dc98e85c"},"previous_names":["openhd/openhd-chrootcompiler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHD%2FOpenHD-ChrootCompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHD%2FOpenHD-ChrootCompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHD%2FOpenHD-ChrootCompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHD%2FOpenHD-ChrootCompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenHD","download_url":"https://codeload.github.com/OpenHD/OpenHD-ChrootCompiler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252411816,"owners_count":21743604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-04T22:52:24.812Z","updated_at":"2026-02-17T02:09:07.315Z","avatar_url":"https://github.com/OpenHD.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= ChrootCompiler\n\nThe ChrootCompiler is a tool designed to compile software directly on images executed in Chroot. It facilitates direct emulation of various architectures and libraries with minimal setup.\n\n== Features\n\n- Directly compile software within Chroot environments\n- Emulate different architectures and libraries effortlessly\n- Simplify the setup process for building and compiling software\n\n== Usage\n\n=== Preparation\n\nFirst, clone the ChrootCompiler repository and set up the necessary files:\n\n[source,bash]\n----\ngit clone https://github.com/OpenHD/OpenHD-ChrootCompiler\nmkdir -p OpenHD-ChrootCompiler/additionalFiles\ncp YOURFILES OpenHD-ChrootCompiler/additionalFiles/\necho $CLOUDSMITH_API_KEY \u003e OpenHD-ChrootCompiler/additionalFiles/cloudsmith_api_key.txt\ntouch build_chroot.sh OpenHD-ChrootCompiler/additionalFiles/\n----\n\n- Replace `YOURFILES` with the files you need to include.\n- Ensure you have your `CLOUDSMITH_API_KEY` ready and place it in the `additionalFiles` directory.\n\n=== Building\n\nUpdate your system and install the required dependencies:\n\n[source,bash]\n----\nsudo apt update\nsudo bash install_dep.sh\n----\n\nThen, run the build script with the necessary parameters:\n\n[source,bash]\n----\nsudo bash ./build.sh x20 $API_KEY DISTRO FLAVOR\n----\n\n- `x20` is an example parameter for the script.\n- Replace `$API_KEY` with your actual API key.\n- Specify the `DISTRO` and `FLAVOR` according to your needs.\n\n=== Executing Commands in Chroot\n\nAny commands listed in the `build_chroot.sh` file will be executed within the Chroot environment when the tool is run. Ensure that your `build_chroot.sh` script is properly configured and placed in the `additionalFiles` directory.\n\n== Example `build_chroot.sh`\n\nHere is an example of what your `build_chroot.sh` might look like:\n\n[source,bash]\n----\n#!/bin/bash\n\nExample commands to run in chroot\napt-get update\napt-get install -y build-essential\nmake\ncp *.deb /out\n----\n\nAdjust the script as needed for your specific build and compilation tasks.\n\nTo push files outside of Chroot, copy the file to the /out directory, it'll appear in the out folder of the host.\n== Additional Information\n\nFor more details, visit the official repository at:\nhttps://github.com/OpenHD/OpenHD-ChrootCompiler\n\nFeel free to contribute to the project or report any issues you encounter.\n\n== License\n\nThis project is licensed under the terms of the GPL-3.0 license . For more information, see the `LICENSE` file in the repository.\n\n== Legal\n\nAll logos, names, and brands belong to OpenHD and are not permitted to be used by individuals who are not affiliated with OpenHD.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenhd%2Fopenhd-chrootcompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenhd%2Fopenhd-chrootcompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenhd%2Fopenhd-chrootcompiler/lists"}