From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6647496723618856960 X-Received: by 2002:a2e:9053:: with SMTP id n19-v6mr625502ljg.12.1548830608648; Tue, 29 Jan 2019 22:43:28 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:42c5:: with SMTP id h66-v6ls157049ljf.7.gmail; Tue, 29 Jan 2019 22:43:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IaKSFTGvGz9t2cg8n7ZyauuY8zanF8NCZN2+NV0NV+5AF1rwccZubJPpNaARxKMS9mUW3Ki X-Received: by 2002:a2e:5d84:: with SMTP id v4-v6mr593253lje.4.1548830608068; Tue, 29 Jan 2019 22:43:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548830608; cv=none; d=google.com; s=arc-20160816; b=N4ZR1kgg+I55y9dTaFAZwUYwSc/C2MC/2zezDRmzOhkR2arRJlrTJ2wa377NPbuSAw 30ujGt8p/7Onv24uYR1Mdttzh7kL7QHHKsEo4VW8ewTmIQiqsE68K+FOzrxrgsRwnHMY iw5wVj88ITS22HMxZ1GhZZ14lC87poWCHCwLCDpn7LAsGZAfg8N6g9Xkg6e+LW+ChM22 LoFFtpIXakZB+Ypc0IgsF+LimNWzIOg24jZ3iiUfVEzOwcfIE/8mlfiBYJh8zILNrAL1 NygZogd2//SMU8eYm//C7MckSDTJWZ1iPncBdcJTdK3BAd2ckmBzJS90VYOm/hTVTjrM 8MoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:cc:to :subject; bh=klpvTgLkpj8PgP6ao0Fq03JJBaFDH8gRUnQfVdg0hYM=; b=GeMU4v57J0k1K+moEy3V5Ji949uo+bturik/hUyzcotHbuhx018FoNEQEgli3ECP9L xQqggBQGSk95rIfoNyuKoodD/5eK03I+gebsynm74udBSYUaqYUBQ4naMjzRwrsX/glH UkXHP3x6G4EcvPhJ7rWGjaYIWjxmo9GvIlXc+KF/4z29tN6nhA+7rmvxQOhd7wgPaERB vO6fkrFYa5F7yXuEaFC/eWZr33vGd0bXKoxpDmmmV3xPsloXCs5rJRn1etU9wqUqv4aa BJccKD0PxFRONW+rrLSNnfcANvUoHj01Rasy0rBJJzWkcMfCptKV5BGTHtu0mxVP70c3 0/iw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id h17-v6si40552ljj.0.2019.01.29.22.43.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 22:43:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.163] (d51A48A80.access.telenet.be [81.164.138.128]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id x0U6hMIS016982 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 30 Jan 2019 07:43:24 +0100 Subject: Re: [PATCH 0/7] "apt-get source" fetch/unpack support To: Henning Schild , isar-users Cc: Cedric Hombourger References: <20190117160427.26556-1-henning.schild@siemens.com> <20190128175711.73c0df4d@md1za8fc.ad001.siemens.net> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: Date: Wed, 30 Jan 2019 07:43:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190128175711.73c0df4d@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: FVBb0+8FGWdT I've rebased the patchset against current 'next' (I've dropped patch #6 from the series) and ran the "quick" test (with cross-compilation) - 'ci_build.sh -q -f'. build of 'hello' package failed: http://isar-build.org:8080/job/isar_mosipov_develop/14/console FYI: native build ('ci_build.sh -q') passed OK: http://isar-build.org:8080/job/isar_mosipov_next/133/console Maxim. On 1/28/19 5:57 PM, Henning Schild wrote: > ping > > Am Thu, 17 Jan 2019 17:04:20 +0100 > schrieb Henning Schild : > >> From: Henning Schild >> >> This series includes support for fetching upstream sources with >> "apt-get source". This will make sure we fetch exactly what matches >> out distro, without rewriting debian fetch/unpack logic. >> I did consider implementing it as an "apt://" extension to the regular >> fetcher but decided against that. You have to set SRC_APT and >> effectively pass arguement to apt-get. That fetcher can only work in >> packages and depends on buildchroot and mounting, so it can not be >> part of the general fetcher. But maybe the general fetcher could >> ignore "apt://" lines and this task will ignore anything but "apt://" >> so we can still use SRC_URI instead of SRC_APT. Let us talk about the >> interface. The documentation is still missing, but i thing it is >> ready for a first review. >> >> The idea and parts of the code came from Mentor. >> >> Henning Schild (7): >> conf: add deb-src entries to all our distro configs >> dpkg-base: introduce an "apt-get source" fetch/unpack step >> meta: move debianization code into a class and into dpkg-base >> debianize: allow changlog version change >> meta-isar/recipes-app: add upstream hello rebuild example >> local.conf: remove example-hello from the default build >> local.conf: enable rebuilding "hello" for all distros >> >> meta-isar/conf/distro/debian-buster.list | 3 + >> meta-isar/conf/distro/debian-jessie.list | 3 + >> .../conf/distro/debian-stretch-backports.list | 1 + >> meta-isar/conf/distro/debian-stretch.list | 3 + >> meta-isar/conf/distro/raspbian-jessie.list | 1 + >> meta-isar/conf/local.conf.sample | 2 +- >> meta-isar/recipes-app/hello/hello.inc | 19 +++++ >> meta-isar/recipes-app/hello/hello_2.10.bb | 8 ++ >> meta-isar/recipes-app/hello/hello_2.9.bb | 8 ++ >> meta/classes/debianize.bbclass | 82 >> +++++++++++++++++++ meta/classes/dpkg-base.bbclass | >> 20 +++++ meta/classes/dpkg-raw.bbclass | 76 >> ----------------- 12 files changed, 149 insertions(+), 77 deletions(-) >> create mode 100644 meta-isar/recipes-app/hello/hello.inc >> create mode 100644 meta-isar/recipes-app/hello/hello_2.10.bb >> create mode 100644 meta-isar/recipes-app/hello/hello_2.9.bb >> create mode 100644 meta/classes/debianize.bbclass >> > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov