public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Gylstorff Quirin <quirin.gylstorff@siemens.com>
To: isar-users@googlegroups.com,
	SCHULTSCHIK SVEN ANGELO Z0036ZJM <sven.schultschik@siemens.com>
Subject: Re: AW: dpkg-raw git fetch
Date: Fri, 28 Feb 2020 14:46:26 +0100	[thread overview]
Message-ID: <87bf7c6a-0737-7739-8095-7e9321ed240e@siemens.com> (raw)
In-Reply-To: <VI1PR10MB23046E346899A9233B2706A690E80@VI1PR10MB2304.EURPRD10.PROD.OUTLOOK.COM>


Hi Sven,
On 2/28/20 2:08 PM, [ext] sven.schultschik@siemens.com wrote:
> Hi,
> 
> I'm a little bit confused. In the task unpack the SRC_URI files will be put into WORKDIR https://github.com/ilbers/isar/blob/f3d50cfb9b7a5740c6dd11ee58fc4ba1a1815eca/meta/classes/base.bbclass#L182
> 
> But in the next task S (workdir/git) will be cleared. https://github.com/ilbers/isar/blob/f3d50cfb9b7a5740c6dd11ee58fc4ba1a1815eca/meta/classes/dpkg-raw.bbclass#L15
> 
That cleans the destination directory "${D}" not the source directory "${S}"

Quirin
> Should I understand why ${S} will be cleard before do_install is called?
> 
> Mit freundlichen Grüßen
> Sven Angelo Schultschik
> 
> Siemens AG
> Digital Industries
> Process Automation
> Software House Khe
> DI PA CI R&D 2
> Östliche Rheinbrückenstr. 50
> 76187 Karlsruhe, Deutschland
> Tel.: +49 721 595-2827
> mailto:sven.schultschik@siemens.com
> 
> www.siemens.com/ingenuityforlife
> 
> Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe; Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Lisa Davis, Klaus Helmrich, Cedrik Neike, Michael Sen, Ralf P. Thomas; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
> 
> Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen enthalten firmenvertrauliche Informationen. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie uns bitte durch Antwort-Mail und löschen Sie diese E-Mail nebst Anlagen von Ihrem System. Vielen Dank.
> -----Ursprüngliche Nachricht-----
> Von: Jan Kiszka <jan.kiszka@siemens.com>
> Gesendet: Donnerstag, 27. Februar 2020 18:00
> An: Schultschik, Sven (DI PA CI R&D 2) <sven.schultschik@siemens.com>; isar-users@googlegroups.com
> Betreff: Re: dpkg-raw git fetch
> 
> On 27.02.20 17:39, Schultschik, Sven (DI PA CI R&D 2) wrote:
>> Fetch does put the repository into the downloads folder.
>>
>> Which task is responsible to bring the files from downloads/../git-repo to ${S} ??
>>
> 
> Right: unpack.
> 
>> S = "${WORKDIR}/git" ist defined in the recipe.
>>
>> Log.unpack says clone -s -n downloads/git recipe-name/version/git
>> without an error
>>
>> Shouldn't the see the files then?
> 
> Yes - provided the default revision checked out contains anything.
> 
> Jan
> 
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
> 

  reply	other threads:[~2020-02-28 13:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 14:51 sven.schultschik
2020-02-27 14:58 ` Jan Kiszka
2020-02-27 16:39   ` AW: " sven.schultschik
2020-02-27 17:00     ` Jan Kiszka
2020-02-28 13:08       ` AW: " sven.schultschik
2020-02-28 13:46         ` Gylstorff Quirin [this message]
2020-03-09 16:59         ` Henning Schild
2020-03-10 15:08           ` cedric_hombourger
2020-03-10 15:36             ` Henning Schild
2020-04-03 10:06               ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bf7c6a-0737-7739-8095-7e9321ed240e@siemens.com \
    --to=quirin.gylstorff@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=sven.schultschik@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox