{"id":13510853,"url":"https://github.com/truenas/scale-build","last_synced_at":"2025-03-30T17:31:31.139Z","repository":{"id":37410802,"uuid":"261532179","full_name":"truenas/scale-build","owner":"truenas","description":"TrueNAS SCALE Build System","archived":false,"fork":false,"pushed_at":"2024-04-18T00:15:12.000Z","size":1332,"stargazers_count":302,"open_issues_count":2,"forks_count":81,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-04-18T14:50:43.174Z","etag":null,"topics":["debian","nas","truenas","truenas-scale"],"latest_commit_sha":null,"homepage":"http://www.truenas.com","language":"Python","has_issues":false,"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/truenas.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-05-05T16:56:12.000Z","updated_at":"2024-04-23T12:02:13.882Z","dependencies_parsed_at":"2023-10-10T15:48:44.479Z","dependency_job_id":"1bf8c266-2e76-4cef-828d-fa7eaba66686","html_url":"https://github.com/truenas/scale-build","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truenas%2Fscale-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truenas%2Fscale-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truenas%2Fscale-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truenas%2Fscale-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truenas","download_url":"https://codeload.github.com/truenas/scale-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246355392,"owners_count":20763990,"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":["debian","nas","truenas","truenas-scale"],"created_at":"2024-08-01T02:01:56.592Z","updated_at":"2025-03-30T17:31:31.133Z","avatar_url":"https://github.com/truenas.png","language":"Python","funding_links":[],"categories":["Python","HarmonyOS","debian"],"sub_categories":["Windows Manager"],"readme":"\u003cp align=\"center\"\u003e\n \u003ca href=\"https://discord.gg/Q3St5fPETd\"\u003e\u003cimg alt=\"Join Discord\" src=\"https://badgen.net/discord/members/Q3St5fPETd/?icon=discord\u0026label=Join%20the%20TrueNAS%20Community\" /\u003e\u003c/a\u003e\n \u003ca href=\"https://www.truenas.com/community/\"\u003e\u003cimg alt=\"Join Forums\" src=\"https://badgen.net/badge/Forums/Post%20Now//purple\" /\u003e\u003c/a\u003e \n \u003ca href=\"https://jira.ixsystems.com\"\u003e\u003cimg alt=\"File Issue\" src=\"https://badgen.net/badge/Jira/File%20Issue//red?icon=jira\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# truenas-build\n\nA build framework for TrueNAS SCALE.\n\nFound an issue in the build for SCALE? Please report it on our [Jira bugtracker](https://jira.ixsystems.com).\n\n## Requirements\n\n - Debian 10 or later (VM or Bare-Metal)\n - 20GB of RAM\n - At least 15GB of free disk space\n\nIn addition to the host, you will want to pre-install the following packages:\n\n* build-essential\n* debootstrap\n* libjson-perl\n* git\n* python3-pip\n* python3-venv\n* squashfs-tools\n* rsync\n* unzip\n* libarchive-tools\n\n``` % sudo apt install build-essential debootstrap git python3-pip python3-venv squashfs-tools unzip libjson-perl rsync libarchive-tools```\n\n## Usage\n\nAfter the pre-requistes are installed, simply run \"make\" (as root or sudo) to perform a complete build which performs the following steps:\n\n``` make checkout ```\n\nPulls in the latest target source repos from online. Re-run to update to latest sources at any time.\n\n``` make packages ```\n\nBuilds all the *.deb packages from the checked out source repos and stages them for further stages. Re-running it will perform an incremental build, only re-building packages which have changed sources in source/\u003cpackagename\u003e.\n\n``` make update ```\n\nBuilds the stand-alone update file, used for online/offline updating or building ISO images.\n\n``` make iso ```\n\nBuilds the ISO image for fresh installation.\n\n\n``` make clean ```\n\nCleans up all the temporary files and returns to original state.\n\n\n## Overrides\n\nIt is possible using make and environment variables to override which source repos get checked out during \"make checkout\" phase.\n\nTRUENAS_BRANCH_OVERRIDE - Can be used to override all source repos at once\n\n\u003cNAME\u003e_OVERRIDE - Can override specific repos, I.E. debootstrap_OVERRIDE=\"master\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruenas%2Fscale-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruenas%2Fscale-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruenas%2Fscale-build/lists"}