{"id":20990200,"url":"https://github.com/pyavitz/rpi-img-builder","last_synced_at":"2025-04-04T20:13:30.018Z","repository":{"id":37804625,"uuid":"248815588","full_name":"pyavitz/rpi-img-builder","owner":"pyavitz","description":"Image Builder for the Raspberry Pi","archived":false,"fork":false,"pushed_at":"2025-02-26T13:06:20.000Z","size":6074,"stargazers_count":171,"open_issues_count":0,"forks_count":34,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-28T19:09:16.215Z","etag":null,"topics":["debian","devuan","linux","raspberry-pi","raspberrypi","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyavitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"github":["pyavitz"],"patreon":null,"open_collective":null,"ko_fi":"pyavitz","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.me/pyavitz"]}},"created_at":"2020-03-20T17:34:45.000Z","updated_at":"2025-02-16T08:01:34.000Z","dependencies_parsed_at":"2023-11-18T13:30:01.928Z","dependency_job_id":"5280b25c-330b-434f-9900-d2a4b5a50899","html_url":"https://github.com/pyavitz/rpi-img-builder","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Frpi-img-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Frpi-img-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Frpi-img-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Frpi-img-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyavitz","download_url":"https://codeload.github.com/pyavitz/rpi-img-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242680,"owners_count":20907134,"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","devuan","linux","raspberry-pi","raspberrypi","ubuntu"],"created_at":"2024-11-19T06:27:54.235Z","updated_at":"2025-04-04T20:13:29.997Z","avatar_url":"https://github.com/pyavitz.png","language":"Shell","funding_links":["https://github.com/sponsors/pyavitz","https://ko-fi.com/pyavitz","https://www.paypal.me/pyavitz"],"categories":[],"sub_categories":[],"readme":"\u003cdetails\u003e\n\u003csummary\u003e\u003ch3\u003eBoards\u003c/h3\u003e\u003c/summary\u003e\n\n```py\nRaspberry Pi Zero/W/1\t\t\tbcm2708 / ARMEL\nRaspberry Pi ZeroW2/2/3\t\t\tbcm2709 / ARMHF\nRaspberry Pi ZeroW2/3\t\t\tbcm2710 / ARM64\nRaspberry Pi ZeroW2/3/4/400/5\t\tbcm2711 / ARM64\nRaspberry Pi 4/400\t\t\tbcm2711v7 / ARMHF\nRaspberry Pi 5\t\t\t\tbcm2712 / ARM64\n```\n\u003c/details\u003e\n\n* [Raspberry Pi Hardware](https://www.raspberrypi.org/documentation/hardware/raspberrypi)\n* [The config dot txt](https://www.raspberrypi.com/documentation/computers/config_txt.html#what-is-config-txt)\n\n### Host dependencies for Debian Bookworm and Ubuntu Jammy Jellyfish / Noble Numbat\n* **Debian Bookworm** (testing)\n* **Ubuntu Jammy Jellyfish** (recommended)\n* **Ubuntu Noble Numbat** (recommended)\n\n**Install options:**\n* Run the `./install.sh` script ***(recommended)***\n* Run builder [make commands](https://github.com/pyavitz/rpi-img-builder#install-dependencies) (dependency: make)\n\n---\n\n### Instructions\n#### Install dependencies\n\n```sh\nmake ccompile\t# Install x86-64 dependencies\nmake ncompile\t# Install Aarch64 dependencies\n```\n\n#### Menu interface\n\n```sh\nmake config     # Create user data file\nmake menu       # Open menu interface\nmake dialogrc   # Set builder theme (optional)\n```\n\n#### Command list\n\n```sh\nmake list\t\t# List boards\nmake all board=xxx\t# Kernel \u003e rootfs \u003e image\nmake kernel board=xxx\t# Builds linux kernel package\nmake commit board=xxx\t# Builds linux kernel package\nmake rootfs board=xxx\t# Create rootfs tarball\nmake image board=xxx\t# Make bootable image\n```\n\n#### Miscellaneous\n\n```sh\nmake clean      # Clean up rootfs and image errors\nmake purge      # Remove source directory\nmake purge-all  # Remove source and output directory\nmake commands   # List more commands\nmake check      # Shows latest revision of selected branch\n```\n\n#### Config Menu\n* Review the userdata.txt file for further options: locales, timezone, nameserver(s) and extra wireless support\n* 1 active | 0 inactive\n```sh\nName:\t\t\t# Your name\nUsername:\t\t# Your username\nPassword:\t\t# Your password\nEnable root:\t\t# Set root password to `toor`\n\nLinux kernel\nBranch:\t\t\t# Supported: 6.1.y and above\nBuild:\t\t\t# Kernel build version number\nMenuconfig:\t\t# Kernel menuconfig\nCompiler:\t\t# GNU Compiler Collection / Clang\nCcache:\t\t\t# Compiler cache\n\nDistribution\nDistro:\t\t\t# Supported: debian, devuan and ubuntu\nRelease:\t\t# Debian: bullseye, bookworm, testing, unstable and sid\n\t\t\t# Devuan: chimaera, daedalus, excalibur, testing, unstable and ceres\n\t\t\t# https://www.devuan.org/os/announce/excalibur-usrmerge-announce-2024-02-20.html\n\t\t\t# Ubuntu: focal, jammy and noble\nNetworkManager\t\t# 1 networkmanager | 0 ifupdown\n\nCustomize\nDefconfig:\t\t# User defconfig\nName:\t\t\t# Name of _defconfig (Must be placed in defconfig dir.)\n\nUser options\nVerbosity:\t\t# Verbose\nDevel Rootfs:\t\t# Developer rootfs tarball\nCompress img:\t\t# Auto compress img \u003e img.xz\nUser scripts:\t\t# Review the README in the files/userscripts directory\nUser service:\t\t# Create user during first boot (bypass the user information above)\n```\n\n#### Customize image\n* custom.txt\n```sh\n# Image Size\nIMGSIZE=\"4096MB\"\n\n# Root Filesystem Types: ext4 btrfs xfs\nFSTYPE=\"ext4\"\n\n# Shrink Image\nSHRINK=\"true\"\n\n# Hostname\nHOSTNAME=\"raspberrypi\"\n\n# Branding: true false\nBRANDING=\"false\"\nMOTD=\"Raspberry Pi\"\n```\n\n#### User defconfig\n```sh\n# Config placement: defconfig/$NAME_defconfig\nThe config menu will append _defconfig to the end of the name\nin the userdata.txt file.\n```\n\n#### User patches\n\n```sh\nPatches \"-p1\" placed in userpatches are applied during compilation.\n```\n\n#### Preferred commit\n```sh\n# Example\nENABLE_COMMIT=\"1\"\nCOMMIT=\"9ed4f05ba2e2bcd9065831674e97b2b1283e866d\"\n```\n\n### Usage\n* Review the [Wiki](https://github.com/pyavitz/rpi-img-builder/wiki/Options-\u0026-Scripts)\n* The boot partition is labelled BOOT\n#### BOOT: useraccount.txt\n* Input your user information\n```sh\nNAME=\"\"\t\t\t\t# Your name\nUSERNAME=\"\"\t\t\t# Username\nPASSWORD=\"\"\t\t\t# Password\n```\n\n#### BOOT: credentials.txt\n```sh\nSet to ENABLE=\"true\" and input your wifi information.\nENABLE=\"false\"\t\t\t# Enable service\n\nSSID=\"\"\t\t\t\t# Service set identifier\nPASSKEY=\"\"\t\t\t# Wifi password\nCOUNTRYCODE=\"\"\t\t\t# Your country code\n\n# set static ip (ifupdown)\nMANUAL=\"false\"\t\t\t# Set to true to enable a static ip\nIPADDR=\"\"\t\t\t# Static ip address\nNETMASK=\"\"\t\t\t# Your Netmask\nGATEWAY=\"\"\t\t\t# Your Gateway\nNAMESERVERS=\"\"\t\t\t# Your preferred dns\n\n# set static ip (network-manager)\nMANUAL=\"false\"\t\t\t# Set to true to enable a static ip\nIPADDR=\"\"\t\t\t# Static ip address\nGATEWAY=\"\"\t\t\t# Your Gateway\nDNS=\"\"\t\t\t\t# Your preferred dns\n\n# change hostname\nHOSTNAME=\"raspberrypi\"\t\t# Hostname\n\nFor headless use: ssh user@ipaddress\n```\n#### System Menu: `menu-config`\n\u003cimg src=\"https://i.imgur.com/vwFVBzF.png\" alt=\"Main Menu\" /\u003e\n\n---\n\n## Support\n\nShould you come across any bugs, feel free to either open an issue on GitHub or talk with us directly by joining our channel on Libera; [`#arm-img-builder`](irc://irc.libera.chat/#arm-img-builder) or [Discord](https://discord.gg/mypJ7NW8BG)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyavitz%2Frpi-img-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyavitz%2Frpi-img-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyavitz%2Frpi-img-builder/lists"}