mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[PR #154] deb: build outside the checkout #155
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Zagitta/gpu-unlock/pull/154
Author: @Bortlesboat
Created: 10/26/2026
Status: 🔄 Open
Base:
main← Head:deb-build-outside-checkout📝 Commits (1)
16d9a6bdeb: build outside the checkout📊 Changes
1 file changed (+10 additions, -4 deletions)
View changed files
📝
Makefile(+10 -4)📄 Description
Fixes #45.
On exFAT or NTFS every file is executable, so dh_clean runs debian/clean as a script and
make install-debfails with exit code 127. The other debian/*.install files would hit the same thing. This builds the package under~/.cache/gpu-unlock/deb-buildand copies the results back tobuild/deb, so the location of the checkout doesn't matter.Tested in a debian:13 container with the repo cloned onto a loop-mounted vfat image: main reproduces the error from #45 exactly, and this branch builds both debs (the firmware files are still 0644 in the package).
.github/ci/package.shalso passes on a normal filesystem.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.