From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6444072206428274688 X-Received: by 10.46.88.19 with SMTP id m19mr1081942ljb.3.1500452010704; Wed, 19 Jul 2017 01:13:30 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.32.224 with SMTP id g93ls398461lji.28.gmail; Wed, 19 Jul 2017 01:13:30 -0700 (PDT) X-Received: by 10.46.81.1 with SMTP id f1mr1115724ljb.30.1500452010152; Wed, 19 Jul 2017 01:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500452010; cv=none; d=google.com; s=arc-20160816; b=HctzCfo3nivLtawr8Frty9dMhlb8Kdx9aqcX9y7grywbI+oaSdsfv33wKbBAroAIg/ MZsEOmoeGHYNjr+WOTFiIryYxWvkkQFG4qSEUwB3PhoLO4UgOfwS4pYvMu+NvnLEz3Yb BSKoH6tKsu5X+YhzqOr2+vW2ZfDez99hHe7S3S71Hx+CAThmuxsrqMIOK1TBNymXoJaD yXdPFPY+o0j42WqzEf3uUQHoo48WQiOFpTaO5MnQ28zBaW27uyJVoXX+vatqpV6RnR0X 6/ESwaDvKkNGu0n+lbyM8jn0BJ6y43mGmQHKYXgUIS/UDIn1Mp8r261l4owNiI4VNH/W MvQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=zLK1pWPflAAwXu13g5yrBwc7b58Anl2Pju/kYrsy/3Q=; b=JA081DM+GpnB79NIr1SyXZ1bMM+6My8Q4RW9AJi3l3wWOcPBbEOput8KZkNEzg1H1F nDz7Hx1F5Satvg/T85NnZD7MzCe0Cwo7aEEMjMl72xDucXwGZHMc4bHdSccyka3nM/nP rV1qGxvBhilhxGhKP//dpxo4qs6+pxyEyFSzhiJgJFTOeSiZWBBMxE+F2amGERF+xTA9 jURjNPjMcPkI2YfR1FmW6rZV0vkAlIcj8TKstDQG1sNB19J4rwpcFo6dpozvciYjvBAV SP7EDEHooSS3CHX/iX9iXJWAVe21SE0jtWQQtRR3jKrDDaSgNWsXzcv9eQLH1iz6uTke W8Dg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id r131si5528400wmd.2.2017.07.19.01.13.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2017 01:13:30 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) client-ip=212.18.0.9; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of ch@denx.de) smtp.mailfrom=ch@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3xC8tK646xz1qrN0; Wed, 19 Jul 2017 10:13:29 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3xC8tK4sDsz3jgYb; Wed, 19 Jul 2017 10:13:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id jh3Hcyg3kBDn; Wed, 19 Jul 2017 10:13:26 +0200 (CEST) X-Auth-Info: w+7J1EnOlhu8qrcNMPWoS9faPkxDZ2o1lgIDt1zfpM0= Received: from Orrorin.Speedport_W723_V_Typ_A_1_01_009 (p578a821c.dip0.t-ipconnect.de [87.138.130.28]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 19 Jul 2017 10:13:26 +0200 (CEST) Message-ID: <1500452001.26468.16.camel@denx.de> Subject: Re: Creating debian packages from files/sources From: Claudius Heine To: Henning Schild Cc: isar-users@googlegroups.com Date: Wed, 19 Jul 2017 10:13:21 +0200 In-Reply-To: <20170718192353.0ad50c37@md1em3qc> References: <1500377472.26468.14.camel@denx.de> <20170718192353.0ad50c37@md1em3qc> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-759/oI2ZWrbdPQX0D9g6" X-Mailer: Evolution 3.24.3 Mime-Version: 1.0 X-TUID: cR9ZGR9G94UN --=-759/oI2ZWrbdPQX0D9g6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2017-07-18 at 19:23 +0200, Henning Schild wrote: > Am Tue, 18 Jul 2017 13:31:12 +0200 > schrieb Claudius Heine : >=20 > > Hi, > >=20 > > from what I gather with isar, it is currently not possible to build > > debian packages directly in an isar recipe conveniently. > >=20 > > There are a couple of scenarios for this: > >=20 > > - 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 > >=20 > > - Compile sources in a buildchroot and package it even if the > > sources are not debianized. > >=20 > > 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. > >=20 > > Are some of those points already possible or is someone working on > > them? >=20 > https://packages.debian.org/stretch/equivs >=20 > 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. >=20 > 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 --=20 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 --=-759/oI2ZWrbdPQX0D9g6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEb/LlnwDGvCgx2GTBEXPLGZgIsVMFAllvFKEACgkQEXPLGZgI sVNOaA/5AaqlUnQ7Lc6M7Nz6aMlaQZng9dr/LrucndjsnwKPt5Pma19CDOns5rkC zEaDoH46G4SVO+H3e34/6X7iTCAGR8OQgCW9Z0+lRQPxiADwpY088nBMRO4uMf4E BR/FokipZAoIXFyUmhaKjQCw24eF2faWf37HmsyatEuvWl+/H9yPPgpiq22wWuDt Sr5nurD9N8cct72y8WrT6AfmdjYt7I9M1Gp+OXPR45Efa4VDAplLFmu1Giz5sA5W KkSiXPIq1mlm99Cn9ShkyZDVneuoCYACZQ69YnCTySC0pe9RjZIXkxlU/BrTMAis 98cwE2ybhYWM+W5eCLfoU65ie8zbagjQqqwvqx/zBXD4IJOvopKTCoCwTg/6OFNy S9+JBkPXvX378hiRYvHQC+mlpAnlzGdratiJJw1nbuzdXiD6XZM8/TI4HfMwqHYg nT4TirQQUoVjSFe6u8XCouHEg8MACgBs2OZ3UYGJuuNqxLZLtFQVOc++uPbucqjb Wmh1ELqUMPRsf92t3RQzGSkbp24xOsDSJ+JdyzTn3qzbbbby/xJ0wDIpAStrJTfM eVT1n6CnKtM/nVHdiewxQEapJOD7Z1tF4sfURPnVq4QkuOLIeWV4MHvrrUkL1BaN 5qq42dwCepC3kehujnr4ZEfJxyTZYiPnCkyQ/lmFZduALA/zSNA= =n83k -----END PGP SIGNATURE----- --=-759/oI2ZWrbdPQX0D9g6--