/
How to build a DEB package in du3 (dilos-userland)
How to build a DEB package in du3 (dilos-userland)
Prepare a build environment and build a package
To build a package from du3 you should prepare a build environment, i.e., add a line to the file /etc/apt/sources.list for the source packages:
Add unstable repo to /etc/apt/sources.list
deb-src https://apt2.dilos.org/dilos du3-unstable main contrib non-free
Then make it available:
update existing packages:
apt-get update
Now install git and make to start:
install packages:
apt-get install gmake git
Contact us to give you the access to the du3 repo to clone it: http://www.dilos.org/conact-me
clone repo:
git clone https://bitbucket.org/dilos/du3.git
git and HTTP(s) might not work
There is a bug in the deep core of libcurl+libtls git might not work with http(s):
"Failed sending HTTP2 data
" or "Failed sending HTTP request
"
In this case switch to use ssh transport instead of HTTP(s)
go to components directory:
cd du3/components
preparation to build a package
cd <du3>/components/apt gmake prep
you are ready to build your package from userland, for example: apt
cd <du3>/components/apt gmake JOBS=4 deb ( where JOBS - how much parallel build processes you want to use )
Building process goes in the <du3>/components/apt/build directory, the result will be placed into the same directory, you should see *.deb files in the build directory.
Compare
, multiple selections available,
Related content
Process of porting of new packages from Debian
Process of porting of new packages from Debian
Read with this
How to run UTIL & MDB tests on VM environment
How to run UTIL & MDB tests on VM environment
More like this
Transition procedure tips
Transition procedure tips
Read with this
How to run LIBC tests on VM environment
How to run LIBC tests on VM environment
More like this
Transition procedure from du2 to du3
Transition procedure from du2 to du3
Read with this
How to run DTRACE tests on VM environment
How to run DTRACE tests on VM environment
More like this