{"id":13667412,"url":"https://github.com/pyavitz/debian-image-builder","last_synced_at":"2025-04-04T16:15:35.535Z","repository":{"id":37239110,"uuid":"261437239","full_name":"pyavitz/debian-image-builder","owner":"pyavitz","description":"Debian image builder for single board computers","archived":false,"fork":false,"pushed_at":"2024-10-24T16:24:39.000Z","size":269425,"stargazers_count":142,"open_issues_count":0,"forks_count":33,"subscribers_count":14,"default_branch":"feature","last_synced_at":"2024-10-25T18:24:47.834Z","etag":null,"topics":["allwinner","amlogic","bananapi","broadcom","debian","freescale","hardkernel","linux","odroid","orangepi","pine64","radxa","raspberrypi","rockchip","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":null,"patreon":null,"open_collective":null,"ko_fi":"pyavitz","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.me/pyavitz"]}},"created_at":"2020-05-05T11:05:45.000Z","updated_at":"2024-10-24T16:24:43.000Z","dependencies_parsed_at":"2024-02-27T00:32:58.000Z","dependency_job_id":"0fd9f76d-2aea-4340-be60-bd468b4f29d6","html_url":"https://github.com/pyavitz/debian-image-builder","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Fdebian-image-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Fdebian-image-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Fdebian-image-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyavitz%2Fdebian-image-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyavitz","download_url":"https://codeload.github.com/pyavitz/debian-image-builder/tar.gz/refs/heads/feature","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208174,"owners_count":20901570,"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":["allwinner","amlogic","bananapi","broadcom","debian","freescale","hardkernel","linux","odroid","orangepi","pine64","radxa","raspberrypi","rockchip","ubuntu"],"created_at":"2024-08-02T07:00:36.531Z","updated_at":"2025-04-04T16:15:35.513Z","avatar_url":"https://github.com/pyavitz.png","language":"Shell","funding_links":["https://ko-fi.com/pyavitz","https://www.paypal.me/pyavitz"],"categories":["C"],"sub_categories":[],"readme":"\u003cdetails\u003e\n\u003csummary\u003e\u003ch3\u003eBoards\u003c/h3\u003e\u003c/summary\u003e\n\n```py\n(*) Work in progress\n\n# ALLWINNER\nBananaPi M2 Zero (*)\nBananaPi M4 Zero\nBananaPi P2 Zero (*)\nCubietruck (*)\nNanoPi M1\nNanoPi NEO\nNanoPi NEO Plus2\nNanoPi R1\nOrangePi 3 LTS (*)\nOrangePi One\nOrangePi PC\nOrangePi R1 (*)\nPineA64+\nTritium\n\n# AMLOGIC\nBananaPi CM4\nBananaPi M2 Pro\nBananaPi M2S\nBananaPi M5\nH96-MAX X3\nLe Potato\nOdroid C4\nOdroid HC4\nOdroid N2\nOdroid N2L\nOdroid N2+\nRadxa Zero\nX96-AIR\tGBIT / QCOM\n\n# FREESCALE\nCubox-I (*)\n\n# ROCKCHIP\nIndiedroid Nova (*)\nKhadas Edge2 (*)\nOdroid M1 (*)\nOrangePi 5 (*)\nOrangePi 5 Plus (*)\nRock 5B\t(*)\n\n# SAMSUNG\nOdroid XU4\n\n# SPACEMIT\nBananaPi BPI-F3\n```\n\u003c/details\u003e\n\n### Host dependencies for Debian Bookworm and Ubuntu Jammy Jellyfish / Noble Numbat\n* **Debian Bookworm** (arm arm64)\n* **Ubuntu Jammy Jellyfish** (arm arm64)\n* **Ubuntu Noble Numbat** (recommended) (arm arm64 riscv)\n\n**Install options:**\n* Run the `./install.sh` script (recommended)\n* Run builder [make commands](https://github.com/pyavitz/debian-image-builder#install-dependencies) (dependency: make)\n\n---\n\n## Instructions\n\n#### Install dependencies\n\n```sh\nmake ccompile   # x86_64\nmake ncompile   # aarch64\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#### Miscellaneous\n```sh\nmake clean      # Clean up image errors\nmake purge      # Remove sources directory\nmake purge-all  # Remove sources and output directory\n```\n#### Config Menu\n* [Profile options](https://github.com/pyavitz/debian-image-builder/commit/1c3e78652c4dfa06c1bb64d31e60f8dfb5145bec)\n\n---\n\n* Review the userdata.txt file for further options: locales, timezone and nameserver(s)\n* 1 active | 0 inactive\n```sh\nName:\t\t\t# Your name\nUsername:\t\t# Your username\nPassword:\t\t# Your password\nHostname:\t\t# Set custom system hostname\n\nDistribution\nDistro:\t\t\t# Supported: debian, devuan and ubuntu\nRelease:\t\t# Debian: bullseye, bookworm, trixie, 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# Kali: kali-last-snapshot and kali-rolling\n\t\t\t# Ubuntu: focal, jammy and noble\nNetwork Manager\t\t# 1 networkmanager | 0 ifupdown\n\nU-Boot and Linux\nU-Boot:\t\t\t# Supported: v2024.01\nBranch:\t\t\t# Supported: 6.6.y and \"maybe\" current stable / rc\nBuild:\t\t\t# Kernel build version number\nMenuconfig:\t\t# Run uboot and kernel menuconfig\nCompiler:\t\t# GNU Compiler Collection / Clang\nCcache:\t\t\t# Compiler cache\n\nCustomize\nDefconfig:\t\t# User defconfig\nName:\t\t\t# Name of _defconfig (must be placed in defconfig dir.)\n\nUser options\nLogging:\t\t# Logging \u003e output/logs/$board-*.log (Menu interface only)\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# Boot Partition\nENABLE_VFAT=\"false\"\n\n# Root Filesystem Types: ext4 btrfs xfs\nFSTYPE=\"ext4\"\n\n# UEFI Options (WIP)\nENABLE_EFI=\"false\"\n\n# Image Size: 4096MB\nIMGSIZE=\"4096MB\"\n\n# Shrink Image\nENABLE_SHRINK=\"true\"\n\n# Petitboot (AML ODROID) (not recommended)\nENABLE_PETITBOOT=\"false\"\n\n# Compression Types: xz zst\nIMG_COMPRESSION=\"xz\"\n```\n#### User defconfig\n\n```sh\n# config placement: defconfig/$NAME_defconfig\nThe config menu will append _defconfig to the end of the name in the\nuserdata.txt file.\n```\n#### User patches\n\n```sh\nPatches \"-p1\" placed in patches/userpatches are applied during compilation.\n```\n\n## Usage\n* Review the [Wiki](https://github.com/pyavitz/debian-image-builder/wiki)\n#### /boot/useraccount.txt\n* Headless: ENABLE=\"true\" and fill in the variables (recommended)\n* Headful: ENABLE=\"false\" and get prompted to create a user account\n```sh\nENABLE=\"false\"\t\t\t# Enable service\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=\"$CURRENT\"\t\t# Hostname\n\nFor headless use: ssh user@ipaddress\n```\n#### System settings (`menu-config`)\n\u003cimg src=\"https://i.imgur.com/oKDPNA1.png\" alt=\"Menu Interface: System Settings\" /\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%2Fdebian-image-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyavitz%2Fdebian-image-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyavitz%2Fdebian-image-builder/lists"}