* [PATCH 0/7] "apt-get source" fetch/unpack support
@ 2019-01-17 16:02 Henning Schild
2019-01-17 16:02 ` [PATCH 1/7] conf: add deb-src entries to all our distro configs Henning Schild
2019-01-17 16:05 ` [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
0 siblings, 2 replies; 4+ messages in thread
From: Henning Schild @ 2019-01-17 16:02 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger, Henning Schild
From: Henning Schild <henning.schild@siemens.com>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/7] conf: add deb-src entries to all our distro configs
2019-01-17 16:02 [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
@ 2019-01-17 16:02 ` Henning Schild
2019-01-17 16:05 ` [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
1 sibling, 0 replies; 4+ messages in thread
From: Henning Schild @ 2019-01-17 16:02 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger, Henning Schild
From: Henning Schild <henning.schild@siemens.com>
That will allow us to use "apt-get source" to fetch debian sources from
the mirrors we also get the binary packages from.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
meta-isar/conf/distro/debian-buster.list | 3 +++
meta-isar/conf/distro/debian-jessie.list | 3 +++
meta-isar/conf/distro/debian-stretch-backports.list | 1 +
meta-isar/conf/distro/debian-stretch.list | 3 +++
meta-isar/conf/distro/raspbian-jessie.list | 1 +
5 files changed, 11 insertions(+)
diff --git a/meta-isar/conf/distro/debian-buster.list b/meta-isar/conf/distro/debian-buster.list
index 18311d8..1e38f1a 100644
--- a/meta-isar/conf/distro/debian-buster.list
+++ b/meta-isar/conf/distro/debian-buster.list
@@ -1,3 +1,6 @@
deb http://ftp.de.debian.org/debian buster main contrib non-free
+deb-src http://ftp.de.debian.org/debian buster main contrib non-free
deb http://ftp.de.debian.org/debian buster-updates main contrib non-free
+deb-src http://ftp.de.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free
+deb-src http://security.debian.org buster/updates main contrib non-free
diff --git a/meta-isar/conf/distro/debian-jessie.list b/meta-isar/conf/distro/debian-jessie.list
index be46a57..5143f4d 100644
--- a/meta-isar/conf/distro/debian-jessie.list
+++ b/meta-isar/conf/distro/debian-jessie.list
@@ -1,3 +1,6 @@
deb http://ftp.de.debian.org/debian jessie main contrib non-free
+deb-src http://ftp.de.debian.org/debian jessie main contrib non-free
deb http://ftp.de.debian.org/debian jessie-updates main contrib non-free
+deb-src http://ftp.de.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
+deb-src http://security.debian.org jessie/updates main contrib non-free
diff --git a/meta-isar/conf/distro/debian-stretch-backports.list b/meta-isar/conf/distro/debian-stretch-backports.list
index 727a835..f606be5 100644
--- a/meta-isar/conf/distro/debian-stretch-backports.list
+++ b/meta-isar/conf/distro/debian-stretch-backports.list
@@ -1 +1,2 @@
deb http://ftp.de.debian.org/debian stretch-backports main
+deb-src http://ftp.de.debian.org/debian stretch-backports main
diff --git a/meta-isar/conf/distro/debian-stretch.list b/meta-isar/conf/distro/debian-stretch.list
index bfa5cf9..d4f3de0 100644
--- a/meta-isar/conf/distro/debian-stretch.list
+++ b/meta-isar/conf/distro/debian-stretch.list
@@ -1,3 +1,6 @@
deb http://ftp.de.debian.org/debian stretch main contrib non-free
+deb-src http://ftp.de.debian.org/debian stretch main contrib non-free
deb http://ftp.de.debian.org/debian stretch-updates main contrib non-free
+deb-src http://ftp.de.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org stretch/updates main contrib non-free
+deb-src http://security.debian.org stretch/updates main contrib non-free
diff --git a/meta-isar/conf/distro/raspbian-jessie.list b/meta-isar/conf/distro/raspbian-jessie.list
index 792f9c6..0a5af41 100644
--- a/meta-isar/conf/distro/raspbian-jessie.list
+++ b/meta-isar/conf/distro/raspbian-jessie.list
@@ -1 +1,2 @@
deb http://archive.raspbian.org/raspbian jessie main contrib non-free firmware
+deb-src http://archive.raspbian.org/raspbian jessie main contrib non-free firmware
--
2.19.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/7] "apt-get source" fetch/unpack support
2019-01-17 16:02 [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
2019-01-17 16:02 ` [PATCH 1/7] conf: add deb-src entries to all our distro configs Henning Schild
@ 2019-01-17 16:05 ` Henning Schild
1 sibling, 0 replies; 4+ messages in thread
From: Henning Schild @ 2019-01-17 16:05 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Please ignore this thread, git mail sending aborted because of a
malformed email address.
Henning
Am Thu, 17 Jan 2019 17:02:11 +0100
schrieb Henning Schild <henning.schild@siemens.com>:
> From: Henning Schild <henning.schild@siemens.com>
>
> 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/7] conf: add deb-src entries to all our distro configs
2019-01-17 16:04 Henning Schild
@ 2019-01-17 16:04 ` Henning Schild
0 siblings, 0 replies; 4+ messages in thread
From: Henning Schild @ 2019-01-17 16:04 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger, Henning Schild
From: Henning Schild <henning.schild@siemens.com>
That will allow us to use "apt-get source" to fetch debian sources from
the mirrors we also get the binary packages from.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
meta-isar/conf/distro/debian-buster.list | 3 +++
meta-isar/conf/distro/debian-jessie.list | 3 +++
meta-isar/conf/distro/debian-stretch-backports.list | 1 +
meta-isar/conf/distro/debian-stretch.list | 3 +++
meta-isar/conf/distro/raspbian-jessie.list | 1 +
5 files changed, 11 insertions(+)
diff --git a/meta-isar/conf/distro/debian-buster.list b/meta-isar/conf/distro/debian-buster.list
index 18311d8..1e38f1a 100644
--- a/meta-isar/conf/distro/debian-buster.list
+++ b/meta-isar/conf/distro/debian-buster.list
@@ -1,3 +1,6 @@
deb http://ftp.de.debian.org/debian buster main contrib non-free
+deb-src http://ftp.de.debian.org/debian buster main contrib non-free
deb http://ftp.de.debian.org/debian buster-updates main contrib non-free
+deb-src http://ftp.de.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free
+deb-src http://security.debian.org buster/updates main contrib non-free
diff --git a/meta-isar/conf/distro/debian-jessie.list b/meta-isar/conf/distro/debian-jessie.list
index be46a57..5143f4d 100644
--- a/meta-isar/conf/distro/debian-jessie.list
+++ b/meta-isar/conf/distro/debian-jessie.list
@@ -1,3 +1,6 @@
deb http://ftp.de.debian.org/debian jessie main contrib non-free
+deb-src http://ftp.de.debian.org/debian jessie main contrib non-free
deb http://ftp.de.debian.org/debian jessie-updates main contrib non-free
+deb-src http://ftp.de.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
+deb-src http://security.debian.org jessie/updates main contrib non-free
diff --git a/meta-isar/conf/distro/debian-stretch-backports.list b/meta-isar/conf/distro/debian-stretch-backports.list
index 727a835..f606be5 100644
--- a/meta-isar/conf/distro/debian-stretch-backports.list
+++ b/meta-isar/conf/distro/debian-stretch-backports.list
@@ -1 +1,2 @@
deb http://ftp.de.debian.org/debian stretch-backports main
+deb-src http://ftp.de.debian.org/debian stretch-backports main
diff --git a/meta-isar/conf/distro/debian-stretch.list b/meta-isar/conf/distro/debian-stretch.list
index bfa5cf9..d4f3de0 100644
--- a/meta-isar/conf/distro/debian-stretch.list
+++ b/meta-isar/conf/distro/debian-stretch.list
@@ -1,3 +1,6 @@
deb http://ftp.de.debian.org/debian stretch main contrib non-free
+deb-src http://ftp.de.debian.org/debian stretch main contrib non-free
deb http://ftp.de.debian.org/debian stretch-updates main contrib non-free
+deb-src http://ftp.de.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org stretch/updates main contrib non-free
+deb-src http://security.debian.org stretch/updates main contrib non-free
diff --git a/meta-isar/conf/distro/raspbian-jessie.list b/meta-isar/conf/distro/raspbian-jessie.list
index 792f9c6..0a5af41 100644
--- a/meta-isar/conf/distro/raspbian-jessie.list
+++ b/meta-isar/conf/distro/raspbian-jessie.list
@@ -1 +1,2 @@
deb http://archive.raspbian.org/raspbian jessie main contrib non-free firmware
+deb-src http://archive.raspbian.org/raspbian jessie main contrib non-free firmware
--
2.19.2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-17 16:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-17 16:02 [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
2019-01-17 16:02 ` [PATCH 1/7] conf: add deb-src entries to all our distro configs Henning Schild
2019-01-17 16:05 ` [PATCH 0/7] "apt-get source" fetch/unpack support Henning Schild
2019-01-17 16:04 Henning Schild
2019-01-17 16:04 ` [PATCH 1/7] conf: add deb-src entries to all our distro configs Henning Schild
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox