{"id":13901233,"url":"https://github.com/electron/debian-sysroot-image-creator","last_synced_at":"2025-11-02T10:30:34.852Z","repository":{"id":34439734,"uuid":"38373762","full_name":"electron/debian-sysroot-image-creator","owner":"electron","description":"Scripts to create debian sysroot image for building electron","archived":false,"fork":false,"pushed_at":"2024-08-21T13:06:26.000Z","size":520,"stargazers_count":18,"open_issues_count":0,"forks_count":44,"subscribers_count":51,"default_branch":"bullseye","last_synced_at":"2024-10-29T17:18:03.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-01T13:51:34.000Z","updated_at":"2024-08-21T13:06:28.000Z","dependencies_parsed_at":"2024-11-06T06:33:34.183Z","dependency_job_id":"d27c28fc-10a3-459e-a867-9017c82c250a","html_url":"https://github.com/electron/debian-sysroot-image-creator","commit_stats":{"total_commits":114,"total_committers":15,"mean_commits":7.6,"dds":0.6842105263157895,"last_synced_commit":"34290ccd3eedf493b5b09497b32e7a2749e5b18c"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fdebian-sysroot-image-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fdebian-sysroot-image-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fdebian-sysroot-image-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electron%2Fdebian-sysroot-image-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electron","download_url":"https://codeload.github.com/electron/debian-sysroot-image-creator/tar.gz/refs/heads/bullseye","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237896397,"owners_count":19383509,"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":"2024-08-06T21:01:02.895Z","updated_at":"2025-11-02T10:30:34.803Z","avatar_url":"https://github.com/electron.png","language":"Python","readme":"This repository contains a set of scripts for creating linux sysroot images, copied from Chromium.\n\nIt adds some necessary dependencies for Electron and uploads the images to Electron's Azure storage container.\n\n[Upstream Sysroots Logic](https://chromium.googlesource.com/chromium/src/+/master/build/linux/sysroot_scripts/)\n\n## Updating Sysroots in Electron\n\n`debian-sysroot-image-creator` automatically builds and uploads sysroot images.\n\nSysroots are generated when new pull requests are merged to `bullseye`.\n\nTo initiate a sysroot update, make changes locally and open a new pull request containing the desired changes. Once you open the PR, sysroots will be built. They will be uploaded as artifacts in CI so that you can verify the changes you've made.\n\nOnce you've received review and the PR is merged, a new build and upload job will be initiated. When it is complete, there will be a newly generated `sysroots.json` artifact in the [GitHub Actions](https://github.com/electron/debian-sysroot-image-creator/actions/workflows/build.yml) run for the commit merged to `bullseye`.\n\nTake the artifact and copy its contents to the [associated sysroots file](https://github.com/electron/electron/blob/main/script/sysroots.json) in `electron/electron`.\n\nFinally, open a new PR to [`electron/electron](https://github.com/electron/electron/). When that PR passes CI and is merged, the process completes.\n\n## How It Works\n\nAt the moment, we build the following sysroots:\n\n* `amd64`\n* `i386`\n* `armhf`\n* `arm64`\n* `mipsel`\n* `mips64el`\n\n## Building A Single Sysroot\n\nTo build a single sysroot, run:\n\n```console\n./build/linux/sysroot_scripts/sysroot_creator.py build \u003carch\u003e\n```\n\nThis will build the desire sysroot in `\u003carch\u003e` at `out/sysroot-build/bullseye/debian_bullseye_\u003carch\u003e_sysroot.tar.xz`, e.g. `out/sysroot-build/bullseye/debian_bullseye_amd64_sysroot.tar.xz`.\n\n## Building All Sysroots\n\nTo build all sysroots at once, run:\n\n```console\n./build/linux/sysroot_scripts/build_and_upload.py --build\n```\n\nThis will generate all sysroots at `out/sysroot-build/bullseye`.\n\n## Uploading Sysroots\n\nTo upload sysroots to the Azure storage container after they've been generated, run:\n\n```console\n./build/linux/sysroot_scripts/build_and_upload.py --build\n```\n\nEnsure you have a valid `AZURE_STORAGE_SAS_TOKEN` as well as `AZURE_STORAGE_ACCOUNT` in your environment, or upload will fail.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectron%2Fdebian-sysroot-image-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectron%2Fdebian-sysroot-image-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectron%2Fdebian-sysroot-image-creator/lists"}