{"id":15132845,"url":"https://github.com/heeplr/linuxcncpi","last_synced_at":"2026-01-20T02:27:28.999Z","repository":{"id":192085714,"uuid":"685983551","full_name":"heeplr/linuxcncpi","owner":"heeplr","description":"bake linuxcnc raspberry pi image","archived":false,"fork":false,"pushed_at":"2023-12-28T13:48:51.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"rpi4","last_synced_at":"2025-02-12T02:38:37.490Z","etag":null,"topics":["linuxcnc","raspberry-pi","raspberry-pi-4"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heeplr.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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-01T13:09:17.000Z","updated_at":"2023-09-01T15:47:39.000Z","dependencies_parsed_at":"2023-12-28T14:44:46.618Z","dependency_job_id":null,"html_url":"https://github.com/heeplr/linuxcncpi","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.07407407407407407,"last_synced_commit":"e953cd9aa574370ba4d28853544dc9015113befd"},"previous_names":["heeplr/linuxcncpi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heeplr%2Flinuxcncpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heeplr%2Flinuxcncpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heeplr%2Flinuxcncpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heeplr%2Flinuxcncpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heeplr","download_url":"https://codeload.github.com/heeplr/linuxcncpi/tar.gz/refs/heads/rpi4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406070,"owners_count":20933802,"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":["linuxcnc","raspberry-pi","raspberry-pi-4"],"created_at":"2024-09-26T04:40:43.304Z","updated_at":"2026-01-20T02:27:28.958Z","avatar_url":"https://github.com/heeplr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# LinuxCNC on raspberry pi 4\n\n* raspbian lite\n* RT_PREEMPT patches\n* cross-compile raspberry kernel\n* setup lightwm + xfce\n* compile linuxcnc on first login of \"pi\" user\n\n## Prerequisites\n\n* aarch64-unknown-linux-gnueabi-gcc cross compiler\n* wget\n* git\n* POSIX system\n\n\n## Usage\n```\n$ git clone --recursive https://github.com/heeplr/linuxcncpi\n$ cd linuxcncpi\n$ ./bootstrap.sh\n```\nbootstrap.sh will ask for sudo password to mount loopback device \u0026 manipulating mounted root partition of image.\nAfter image is generated, you will see a message like:\n\n```\nImage creation successful. Copy \"...\" to an SD card.\n\n(e.g. dd if=.bootstrap-work/raspbian-lite.img of=/dev/sdcard bs=64M status=progress)\n```\nReplace /dev/sdcard with your sdcard device. Let's assume it's /dev/sdc. Run:\n\n```$ dd if=.bootstrap-work/raspbian-lite.img of=/dev/sdc bs=64M status=progress```\n\nafter image is written, safely eject the card. e.g.\n\n```$ eject /dev/sdc``` or ```$ sync```\n\nBoot raspberry pi from card and log in as \"pi\" user. After bootstrapping finished, reboot.\n\n\n## Customize\n\n### authorize your SSH pubkey for pi user\n\nAdd to ~/.bootstrap.cfg:\n\n```\nRPI_BOOTSTRAP_PLUGINS+=( \"ssh\" )\n# authorized ssh pubkeys\nRPI_SSH_AUTHORIZE=(\n    \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... user1@host\"\n    \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... user2@host\"\n)\nRPI_SSH_KEYGEN=\"true\"\n```\n\n### set wifi config\n\nAdd to ~/.bootstrap.cfg:\n\n```\nRPI_BOOTSTRAP_PLUGINS+=( \"wifi\" )\nRPI_WIFI_SSID=\"wifiname\"\nRPI_WIFI_PSK=\"wifipassword\"\n```\n\n### apt install/remove packages\n\nAdd to ~/.bootstrap.cfg:\n\n```\nRPI_BOOTSTRAP_PLUGINS+=( \"apt\" )\nRPI_APT_CMDS+=(\n    \"autoremove avahi-daemon bluez cryptsetup-run cryptsetup-initramfs cryptsetup-bin cryptsetup nfs-common ntfs-3g rfkill\"\n    \"install tmux\"\n)\n\n```\n\n### copy files to image\n\nTo copy file \"issue\" to \"/etc/issue\" on the image, place \"issue\" into \"~/.bootstrap-dist/etc/issue\".\nAdd to ~/.bootstrap.cfg:\n\n```\nRPI_BOOTSTRAP_PLUGINS+=( \"dist\" )\nRPI_DIST_COPY_ON_BAKE+=(\n    \"/etc/issue\"\n)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheeplr%2Flinuxcncpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheeplr%2Flinuxcncpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheeplr%2Flinuxcncpi/lists"}