Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

Prepare build environment and build package

...


Info
titleNOTE:
Please use user 'root' for userland build,
	because we have to update directory tree and files to use correct permissions
	and it is possible now only by user 'root'

Your /etc/apt/sources.list should have the lines:




Code Block
titlesources.list
deb https://apt.dilos.org/dilos dilos2 main contrib non-free



Code Block
languagebash
titleAdd unstable repo to /etc/apt/sources.list
deb-src https://apt.dilos.org/dilos dilos2 main contrib non-free



Code Block
languagebash
titleupdate existing packages:
apt-get update

...

Code Block
languagebash
titleinstall packages:
apt-get install \
	gmake \
	build-essential \
    git

for clone/access to repo 'dilos-userland-gitdu2' you need have to have create account on bitbucket and ask to provide you access by info: http://www.dilos.org/conact-me

Code Block
languagebash
titleclone repo:
git clone git@bitbuckethttps://bitbucket.org:/dilos/dilos-userland-gitdu2.git


Code Block
languagebash
titlego to components directory:
cd dilos-userland-gitdu2/components


bashgmake debprep
Code Block
language
titleinstall additional packages for build environment:
preparation to build a package
cd <du2>/components/apt
gmake setupprep



Code Block
languagebash
titleyou are ready to build your package from userland, for example: apt
cd <dilos-userland-git><du2>/components/apt
gmake JOBS=4 deb

( where JOBS - how much parallel build processes you want to use )

You can find your package(s) at: <dilos-userland-git>du2>/i386/debs

How to create new package

...

For more information about environment variables or build flags you can take a look <dilos-userland-girdu2>/make-rules/deb_src.mk