[elbe-users] Elbe initvm repository validation error (fwd)

Manuel Traut manuel.traut at linutronix.de
Fri Apr 27 10:43:22 CEST 2018


Hi Farrukh,

> Thanks for the quick reply. I have checked this file and created a cpio, but it seems that it is not bootable to the shell because of the following:
> 
> It does not pack /dev/console  /dev/null and /dev zero. In addition, it does not include init

the needed device nodes should be created in the finetuning, the busybox init
is used.

> May I ask, do you have any working initramfs example in elbe, which can be used to  boot into the console?

As far as i know, this is a working example. I added elbe-users to cc; maybe
someone there can help you.

> OR if you know any literature, which could point me to the working initramfs, then it will be of a great help.

Please check the content of the cpio, if the files are really missing, please
post an issue at github.

Thanks,

  Manuel

> Thanks in advance.
> 
> Regards,
> Farrukh
> 
> -----Original Message-----
> From: Manuel Traut [mailto:manuel.traut at linutronix.de] 
> Sent: Donnerstag, 26. April 2018 16:14
> To: Farrukh-Iqbal Sheikh <farrukh-iqbal.sheikh at ch.abb.com>
> Subject: Re: Elbe initvm repository validation error (fwd)
> 
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> On Thu, Apr 26, 2018 at 01:20:11PM +0000, Farrukh-Iqbal Sheikh wrote:
> > Hi Manuel,
> >
> > Do you know any example xml for creating initramfs using elbe?
> 
> https://github.com/Linutronix/elbe/blob/master/examples/armel-rescue-busybox-cpio.xml
> 
> >
> > Best regards,
> > Farrukh
> >
> > -----Original Message-----
> > From: Manuel Traut [mailto:manuel.traut at linutronix.de]
> > Sent: Mittwoch, 25. April 2018 16:58
> > To: Farrukh-Iqbal Sheikh <farrukh-iqbal.sheikh at ch.abb.com>
> > Cc: Thomas Gleixner <tglx at linutronix.de>
> > Subject: Re: Elbe initvm repository validation error (fwd)
> >
> > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> >
> >
> > On Wed, Apr 25, 2018 at 02:52:19PM +0000, Farrukh-Iqbal Sheikh wrote:
> > > Thanks Manuel
> > >
> > > 1) Can I also use elbe to generate cpio file of initramfs?
> >
> > yes: 
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Felb
> > e-rfs.org%2Fdocs%2Fsphinx%2Farticle-elbe-schema-reference.html%23type-
> > cpio&data=02%7C01%7Cfarrukh-iqbal.sheikh%40ch.abb.com%7C5b89b353b9a540
> > 911bf208d5aabcdfae%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C1%7C636602
> > 650542076108&sdata=cDPxWyfrztVhP025BcaYbCTqChYgMSns8NDWrtBlXMs%3D&rese
> > rved=0
> >
> > > 2) Is there a possibility to use elbe for only downloading the deb image of a pkg in RFS/folder instead of installing it?
> >
> > <finetuning>
> >         <command>apt-get download hello</command> </finetuning>
> >
> > > Best regards,
> > > Farrukh
> > >
> > > -----Original Message-----
> > > From: Manuel Traut [mailto:manuel.traut at linutronix.de]
> > > Sent: Mittwoch, 25. April 2018 15:38
> > > To: Farrukh-Iqbal Sheikh <farrukh-iqbal.sheikh at ch.abb.com>
> > > Cc: Thomas Gleixner <tglx at linutronix.de>
> > > Subject: Re: Elbe initvm repository validation error (fwd)
> > >
> > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> > >
> > >
> > > Hi Farrukh,
> > >
> > > > ---------- Forwarded message ----------
> > > > Date: Wed, 25 Apr 2018 11:51:12 +0000
> > > > From: Farrukh-Iqbal Sheikh <farrukh-iqbal.sheikh at ch.abb.com>
> > > > To: "info at linutronix.de" <info at linutronix.de>
> > > > Subject: Elbe initvm repository validation error
> > > >
> > > > Hi Linutronix Team,
> > > >
> > > > I was trying to setup elbe on my debian stretch linux that uses proxy setting. I am able to create initvm machine. However, when I submit the xml file for preparing the image then I receive the error in below. I was searching a solution online, however I have no success so far. I will be very happy if you could pin point about some configurations, which helps to rectify this error :
> > > >
> > > > Traceback (most recent call last):
> > > >   File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py", line 116, in execute
> > > >     skip_pbuild=self.skip_pbuilder)
> > > >   File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 215, in build
> > > >     self.xml.validate_apt_sources ( m , self.arch )
> > > >   File "/usr/lib/python2.7/dist-packages/elbepack/elbexml.py", line 207, in validate_apt_sources
> > > >     raise ValidationError (["Repository %s can not be validated" %
> > > > u])
> > > > ValidationError: Repository
> > > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> > > > ft
> > > > p.de.debian.org%2F%2Fdebian%2Fdists%2Fstretch%2FRelease&data=02%7C
> > > > 01 
> > > > %7Cfarrukh-iqbal.sheikh%40ch.abb.com%7C5b89b353b9a540911bf208d5aab
> > > > cd 
> > > > fae%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C1%7C63660265054207610
> > > > 8&
> > > > sdata=%2FNnxlobvRenciBhYQ2DtHu04TdU6p2I9NinCtSsIlu4%3D&reserved=0
> > > > can not be validated
> > > >
> > > > Exception:
> > > > Repository
> > > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2F
> > > > ft
> > > > p.de.debian.org%2F%2Fdebian%2Fdists%2Fstretch%2FRelease&data=02%7C
> > > > 01 
> > > > %7Cfarrukh-iqbal.sheikh%40ch.abb.com%7C5b89b353b9a540911bf208d5aab
> > > > cd 
> > > > fae%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C1%7C63660265054207610
> > > > 8&
> > > > sdata=%2FNnxlobvRenciBhYQ2DtHu04TdU6p2I9NinCtSsIlu4%3D&reserved=0
> > > > can not be validated
> > >
> > > ensure that <primary_proxy> is configured in the target XML file. If this is done and the problem still occurs, please write a report to 'elbe-users at linutronix.de'.
> > >
> > > Thanks,
> > >    Manuel



More information about the elbe-users mailing list