eduvpn / eduvpn-debian

Let's Connect! / eduVPN Packages for Debian
5 stars 3 forks source link

build scripts for buster / bionic #8

Closed ghost closed 4 years ago

ghost commented 6 years ago

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:

joostvb-gh commented 6 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.

ghost commented 6 years ago

That sounds really good! Ideally it would use the same tools the "official" Debian packages also use during build :)

joostvb-gh commented 6 years ago

Implemented in scripts le-repo_setup and le-build_all .

ghost commented 6 years ago

This still needs to be tested with the packages in the "stable" branch.

ghost commented 6 years ago

Preliminary list of requirements for the builder:

ghost commented 6 years ago

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.

ghost commented 6 years ago

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".

ghost commented 4 years ago

It would be really neat if one set of scripts could be used to build on all targets...

ghost commented 4 years ago

done.