On Tue, 2017-07-18 at 19:23 +0200, Henning Schild wrote: > Am Tue, 18 Jul 2017 13:31:12 +0200 > schrieb Claudius Heine : > > > Hi, > > > > from what I gather with isar, it is currently not possible to build > > debian packages directly in an isar recipe conveniently. > > > > There are a couple of scenarios for this: > > > > - Package configuration and interpreted files. > > - Build meta or virtual packages that just contain only > > dependencies > > Instead of installing specific packages into a image, install > > only > > one virtual package with every package that is needed for the > > target > > as a dependency > > > > - Compile sources in a buildchroot and package it even if the > > sources are not debianized. > > > > Currently I am looking into a generic way to deploy lxc containers > > with isar to the target. So some mechanism like this might come in > > handy. > > > > Are some of those points already possible or is someone working on > > them? > > https://packages.debian.org/stretch/equivs > > This seems to be a good starting point. It has some issues but if you > hide it in the baseclass it can be exchanged with something more > sophisticated some day. > > It offers hook scripts and packaging random Files. Thanks for the info. But I am not sure if we should introduce another dependency of isar. Maybe something like this is enough [0]. I also look how openembedded does it [1], it might be possible to copy some of that code for this. Of course most of the used infrastructure there is not available in isar. So we might have to start very small. Cheers, Claudius [0] http://www.sj-vs.net/creating-a-simple-debian-deb-package-based-on- a-directory-structure/ [1] http://git.openembedded.org/openembedded-core/tree/meta/classes/pac kage_deb.bbclass -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153 Keyserver: hkp://pool.sks-keyservers.net