learning how to deploy packages to Debian and Arch because WSL exists…
this encapsulates the debugging process 🥲
.deb
files
.deb
files, when hosted through reprepro
can be downloaded via the apt
package manager, which makes it available to ubuntu and other apt
dependent distrosi already have the built ELF executable, i just need to publish it as a .deb
through Github Actions
devscripts
installed on machine generating the .deb
scriptat a high-level, packaging for debian involves the following:
package-version/
.deb
filedebuild
, what to look for.deb
reprepro
.deb
for both arm64 and amd64 to the reprepro
.deb
can be installed directly via sudo dpkg -i <name>.deb
flowchart TD
a[generate arm64 ELF]
b[generate amd64 ELF]
a --> c[upload artifact]
b --> d[upload artifact]
c --> e[trigger publish]
d --> e
e --> f[generate Debian package structure and build .deb for arm64]
e --> g[generate Debian package structure and build .deb for amd64]
f --> h[call external workflow to publish to reprepro hosted on Github Pages]
g --> h
h --> i[setup repo/conf for PPA, sign both .deb, and publish]