public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC v2][PATCH 0/3] Introduce base-apt
@ 2018-01-11 11:19 Alexander Smirnov
  2018-01-11 11:19 ` [RFC v2][PATCH 1/3] dpkg-base: Make DEBIAN_DEPENDS global Alexander Smirnov
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Alexander Smirnov @ 2018-01-11 11:19 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

Hello everybody,

first of all, to avoid unnecessary effort I've diced to split build
reproducibility feature into two parts:
 - base-apt creation
 - switch Isar to base-apt

So this series introduces base-apt only.

If set ISAR_BUILD_REP = "1", Isar creates base-apt repository that contains
debs for all possible build targets within current tree.

Special notes:
 - To derive dependencies, I've added DEBIAN_DEPENDS variable which duplicates
   'debian/control' content. IMHO this is the best compromise for now.
 - I use multistrap to fetch debs, I haven't found for now any other tool that
   could fetch debs from multiple sources. The issue is that multistrap doesn't
   understand 'debian/control' format, so perl parsing is used.

Alexander Smirnov (3):
  dpkg-base: Make DEBIAN_DEPENDS global
  build-rep: Add helper class
  base-apt: Introduce fetching upstream apt

 meta-isar/conf/local.conf.sample                   |  6 ++
 meta-isar/recipes-app/hello/hello.bb               |  2 +
 meta/classes/build-rep.bbclass                     | 32 ++++++++
 meta/classes/dpkg-base.bbclass                     |  4 +
 meta/classes/dpkg-raw.bbclass                      |  1 -
 meta/classes/image.bbclass                         |  2 +
 meta/conf/isar-bitbake.conf                        |  2 +
 meta/recipes-devtools/base-apt/base-apt.bb         | 95 ++++++++++++++++++++++
 .../base-apt/files/distributions.in                |  3 +
 .../base-apt/files/multistrap.conf.in              | 28 +++++++
 meta/recipes-devtools/buildchroot/buildchroot.bb   | 10 +++
 11 files changed, 184 insertions(+), 1 deletion(-)
 create mode 100644 meta/classes/build-rep.bbclass
 create mode 100644 meta/recipes-devtools/base-apt/base-apt.bb
 create mode 100644 meta/recipes-devtools/base-apt/files/distributions.in
 create mode 100644 meta/recipes-devtools/base-apt/files/multistrap.conf.in

-- 
2.1.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-01-25 18:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-11 11:19 [RFC v2][PATCH 0/3] Introduce base-apt Alexander Smirnov
2018-01-11 11:19 ` [RFC v2][PATCH 1/3] dpkg-base: Make DEBIAN_DEPENDS global Alexander Smirnov
2018-01-11 11:19 ` [RFC v2][PATCH 2/3] build-rep: Add helper class Alexander Smirnov
2018-01-11 15:47   ` Jan Kiszka
2018-01-12 12:32   ` Henning Schild
2018-01-12 13:29     ` Alexander Smirnov
2018-01-12 16:25       ` Henning Schild
2018-01-14 16:53         ` Jan Kiszka
2018-01-19 21:23           ` Benedikt Niedermayr
2018-01-24 18:48             ` Jan Kiszka
2018-01-24 20:53               ` Benedikt Niedermayr
2018-01-24 21:31                 ` Jan Kiszka
2018-01-25 18:52                   ` Benedikt Niedermayr
2018-01-23 11:50           ` Baurzhan Ismagulov
2018-01-23 13:02             ` Jan Kiszka
2018-01-24 13:44               ` Baurzhan Ismagulov
2018-01-23 16:34             ` Christian Storm
2018-01-11 11:19 ` [RFC v2][PATCH 3/3] base-apt: Introduce fetching upstream apt Alexander Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox