From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6647496723618856960 X-Received: by 2002:a17:906:1c45:: with SMTP id l5-v6mr1887469ejg.3.1547740940788; Thu, 17 Jan 2019 08:02:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:a4aa:: with SMTP id w39ls2412435edb.8.gmail; Thu, 17 Jan 2019 08:02:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN73blJgCUNDzoqeviGaUYvOpkJ6fZpU/dRpW+BrwHouWNUkfL+X2o/94/XmMLJgY+0rNgXA X-Received: by 2002:a50:d1d6:: with SMTP id i22mr2103917edg.1.1547740940375; Thu, 17 Jan 2019 08:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547740940; cv=none; d=google.com; s=arc-20160816; b=w3+R8YNiXD+dn6ClNTeLDA8zj41vzQbpyOEoJr/dcqGgz3GRJCMqzg2T9TNQTMzWhI Osrepb+Ls4j7ubvPXCKUIYWV7iIA75ruCwawhfvdstAskax3AMAEjjYNBC1vKpnJ5m8i 1p9eiw8fEFwohNJgq22MndXOf5kovxmSUT2NYgqHawNLrxpXd3MAOBbozqVVt5gFNdo7 MLH+nmBk5Vk/ODwIABKOuYPbbuJZrSeghxWHh8YaLVVTRY1/E4qSPTw++9FAR/JQGLYB IXRn5Z/s+MDajPqWH+xxFYJopu+336c8HhGHKH+mpVTCDB5xu2iEFiUtSnezNRB95ik/ vPnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=4rAG2jawllkcl+HpODeZSQjrBjKIdE9X84aF8XGKpPQ=; b=IKLKWsCz/OZX9FD88opEX17BCcJWu/QZkrL+YPmIoILaC/n0lgTAYjWfrioDgPzpeD xSMzbS3XEig+TkAnXplL9XENIfND2KwaTptF6sOzIZAQIf6efZGbBpgjBOD1iLEXWPAN Q1oS3l0zFbEmEvqp2DVaoWohx0QDki4xUlFjWVbjRtX0diQmIhrnZ2kJWYPc1OJ5h1xQ ifX3Bjd2NqBTI+HAflmuZYv85uC0tfFFPreLNqJYQwkYQ9J2wWCn2lugsPMaLU6adRqu JAERnpTZIaQ2Lbs53vS91FA0JKiwyUWJq8mXzCnERMWfMDAWB1d+VIWjn/B4RctYsCcq ou6A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id m24si762397edc.3.2019.01.17.08.02.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 08:02:20 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id x0HG2JXs023965 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Jan 2019 17:02:19 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.69.119]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x0HG2JR2016676; Thu, 17 Jan 2019 17:02:19 +0100 From: Henning Schild To: isar-users Cc: Cedric Hombourger , Henning Schild Subject: [PATCH 0/7] "apt-get source" fetch/unpack support Date: Thu, 17 Jan 2019 17:02:11 +0100 Message-Id: <20190117160218.26290-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: 5ZqJDQIAxzPn 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 -- 2.19.2