{"id":14563577,"url":"https://github.com/Sineware/prolinux-2","last_synced_at":"2025-09-04T06:32:24.596Z","repository":{"id":156817782,"uuid":"617675703","full_name":"Sineware/prolinux-2","owner":"Sineware","description":"Sineware ProLinux Build System","archived":false,"fork":false,"pushed_at":"2024-06-30T22:22:39.000Z","size":3899,"stargazers_count":12,"open_issues_count":21,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-05T10:21:19.563Z","etag":null,"topics":["linux"],"latest_commit_sha":null,"homepage":"https://prolinux.io/","language":"TypeScript","has_issues":true,"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/Sineware.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-03-22T21:55:29.000Z","updated_at":"2024-06-30T22:22:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9f7fbfc-2e98-4327-9d74-23c27fb10ee7","html_url":"https://github.com/Sineware/prolinux-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sineware%2Fprolinux-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sineware%2Fprolinux-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sineware%2Fprolinux-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sineware%2Fprolinux-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sineware","download_url":"https://codeload.github.com/Sineware/prolinux-2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":217902392,"owners_count":16248434,"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":["linux"],"created_at":"2024-09-07T02:03:35.896Z","updated_at":"2024-12-31T03:30:49.331Z","avatar_url":"https://github.com/Sineware.png","language":"TypeScript","funding_links":[],"categories":["linux"],"sub_categories":[],"readme":"# ProLinux 2 - OS Build Infrastructure\n\nProLinux 2 is a GNU/Linux distribution with an immutable root (A/B SquashFS), writable overlay, Flatpak, and ProLinux management tools.\n\nInfo and Downloads: [https://sineware.ca/prolinux/](https://sineware.ca/prolinux/)\n\n\u003e Warning: this project is not ready for use! It is under development and probably broken at any given time.\n\nProLinux builds on the work of other open source projects,\n- Arch Linux and [Arch Linux ARM](https://archlinuxarm.org/)\n- [postmarketOS](https://postmarketos.org/)\n- [DanctNIX](https://github.com/dreemurrs-embedded)\n- and many more!\n\n## Editions\n- mobile\n- embedded (aka Desktop)\n- server\n\n### Build requirements\n(currently on x64 hosts, most of these requirements are built into a sdk docker image used for building)\n- node, npm\n- cloud-utils\n- pmbootstrap\n- arch-install-scripts\n- abootimg\n- simg2img (android-tools, debian: android-sdk-libsparse-utils)\n- pigz\n- util-linux (for Alpine)\n- zsync,\n- gcc,g++,make\n- zstd\n- rsync\n- parted\n- squashfs\n- grub2, grub2-efi, grub2-efi-aa64-modules, grub2-tools, grub2-tools-extra\n- python3 (aliased to python)\n- *pip install gpt-image*\n\n`/sbin:/usr/sbin` in PATH\n\nEnvironment Configuration (.env):\n```env\n# Upon a successful kdesrc-build, a cache tar.gz is created which can be used\n# instead of recompiling during a image build.\nKDE_CACHE=false\n\n# Path to a musl toolchain (ex. from musl.cc)\nMUSL_TOOLCHAIN=\n\n# defines what to build (mobile,dev is currently the only valid combo)\nPROLINUX_VARIANT=mobile\nPROLINUX_CHANNEL=dev\n\n# defines what device to target (sineware-x64 or sineware-arm64)\nTARGET_DEVICE=sineware-x64\n\n# Only used by update-deployer\nPGUSER=\nPGHOST=\nPGPASSWORD=\nPGDATABASE=\nPGPORT=\n\nPRIVATE_KEY=\n```\n\nThen (on x64 build hosts) run:\n```sh\nmkdir -pv output build\nnpm ci\n./scripts/build_x64_docker.sh\n```\n\nor on arm64 build hosts:\n```sh\nmkdir -pv output build\nnpm ci\n./scripts/build_arm64.sh\n```\n\nThis will (if successful) produce a image in \"output/\".\n\n\u003c!--TARGET_DEVICE is a postmarketOS device string. Currently only \"simple\" devices are supported (ones that produce a flashable image, not android sparse images. i.e. pine64-pinephone).--\u003e\n\nCross-compiling is not supported, arm64 targets must be built on arm64 devices. You need at least 64GB of free disk space.\n\n\n### QEMU (sineware-x64 testing)\n```sh\nqemu-system-x86_64 --enable-kvm -m 4G -smp 4 -device virtio-tablet-pci -device virtio-keyboard-pci -device virtio-vga-gl -display gtk,gl=on -drive if=pflash,format=raw,readonly=on,file=/usr/share/edk2-ovmf/x64/OVMF_CODE.fd -drive id=disk,file=output/generic-x86_64.img,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 -netdev user,id=net0,hostfwd=tcp::8022-:22 -device virtio-net-pci,netdev=net0\n```\n### QEMU (sineware-arm64 testing)\n```sh\nqemu-system-aarch64 \\\n    -machine virt \\\n    -cpu host \\\n    -smp 2 \\\n    -m 2048 \\\n    -drive if=pflash,format=raw,file=/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw,readonly=on \\\n    -serial stdio \\\n    -display gtk,gl=on \\\n    -device virtio-gpu-pci \\\n    -device qemu-xhci,id=usb,bus=pcie.0,addr=0x3 \\\n    -device usb-kbd \\\n    -device usb-tablet \\\n    -device virtio-scsi-device,id=scsi \\\n    -drive file=output/sineware-arm64.img,format=raw,if=none,id=hd0 \\\n    -device scsi-hd,drive=hd0 \\\n    -enable-kvm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSineware%2Fprolinux-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSineware%2Fprolinux-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSineware%2Fprolinux-2/lists"}