[elbe-devel] Debianize barebox

Torben Hohn torben.hohn at linutronix.de
Thu Apr 2 13:25:18 CEST 2020


On Wed, Mar 25, 2020 at 04:55:16PM +0100, Yegor Yefremov wrote:
> On Thu, Mar 19, 2020 at 10:54 AM Yegor Yefremov
> <yegorslists at googlemail.com> wrote:
> >
> > On Wed, Mar 18, 2020 at 3:08 PM Yegor Yefremov
> > <yegorslists at googlemail.com> wrote:
> > >
> > > On Tue, Mar 17, 2020 at 3:42 PM Yegor Yefremov
> > > <yegorslists at googlemail.com> wrote:
> > > >
> > > > How this process works?
> > > >
> > > > For am335x we need two steps/configurations: barebox-mlo.img and
> > > > barebox.img. Does it mean, one should create two folders: one for MLO
> > > > and the other for the bigger image and it results in two deb packages?
> > > >
> > > > Also there is a small bug either in the template or code:
> > > >
> > > > diff --git a/elbepack/debianize/panels/barebox.py
> > > > b/elbepack/debianize/panels/barebox.py
> > > > index 5a848b3f2..d53998600 100644
> > > > --- a/elbepack/debianize/panels/barebox.py
> > > > +++ b/elbepack/debianize/panels/barebox.py
> > > > @@ -31,7 +31,7 @@ class BareBox(Panel):
> > > >
> > > >          grid_elements = [
> > > >              {"imgname":imgname, "defconfig":defconfig},
> > > > -            {"cross":cross, "k_version":k_version}
> > > > +            {"cross_compile":cross, "k_version":k_version}
> > > >          ]
> > > >
> > > >          super(BareBox, self).__init__(grid_elements)
> > >
> > > I have more questions:
> > >
> > > 1. do we need to export KERNELRELEASE in
> > > elbepack/makofiles/debianize/barebox/rules.mako?
> > > Looks like barebox uses it to make u-boot think it is kernel during
> > > the development process.
> >
> > KERNELRELEASE is working as intended.
> >
> > > 2. what about barebox-tools package? Such scripts as
> > > bareboxcrc32-target and bareboxenv-target don't exist and bareboxcrc32
> > > and bareboxenv are compiled with the host compiler i.e. cannot be
> > > stripped and anyway of now use on target.
> >
> > But this issue remains.
> 
> dpkg-buildpackage complains about lzop, though it is installed. Can we
> remove it?
> 
> dpkg-buildpackage: info: source package barebox-elbe-2018.02
> dpkg-buildpackage: info: source version 1.0
> dpkg-buildpackage: info: source distribution stable
> dpkg-architecture: warning: specified GNU system type
> arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu,
> try setting a correct CC environment variable
> dpkg-buildpackage: info: host architecture armhf
>  dpkg-source --before-build barebox-upstream
> dpkg-checkbuilddeps: error: Unmet build dependencies: lzop
> dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
> dpkg-buildpackage: warning: (Use -d flag to override.)

lzop does not have proper multiarch tags.

due to this, lzop:armhf  would need to be installed.

The dependency should probably be lzop:native

> 
> Yegor
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list