Closed ghost closed 4 years ago
Indeed, https://github.com/eduvpn/eduvpn-debian/blob/master/build.sh could use e.g. the pbuilder tool ( https://www.debian.org/doc/manuals/maint-guide/build.en.html#pbuilder ): it builds the package in a dedicated fresh bare bones chroot environment.
That sounds really good! Ideally it would use the same tools the "official" Debian packages also use during build :)
Implemented in scripts le-repo_setup and le-build_all .
This still needs to be tested with the packages in the "stable" branch.
Preliminary list of requirements for the builder:
Feel free to replace existing build/build_all scripts, rename folders, split the packages over multiple repositories, but at least current functionality should be retained, i.e.: it should be a drop-in replacement.
Above items are open for discussion of course! Maybe some things don't make sense, or there are better ways to handle it "the Debian way".
It would be really neat if one set of scripts could be used to build on all targets...
done.
Now the packages build on the host system instead of in a clean environment. Update the build scripts to use something like mock but then for Debian.
Have a build script that creates a signed repository for: