Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-18 Thread Anders Darander
On 17 Apr 2015 16:30, Paul Eggleton paul.eggle...@linux.intel.com wrote: I have sent an additional patch to the bitbake list to try to protect against future instances of this issue, at least for bb.utils.prunedir() and bb.utils.remove():

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-17 Thread Paul Eggleton
On Thursday 16 April 2015 07:35:40 Christopher Larson wrote: On Thu, Apr 16, 2015 at 7:25 AM, Nicolas Dechesne nicolas.deche...@linaro.org wrote: On Thu, Apr 16, 2015 at 3:11 PM, Anders Darander and...@chargestorm.se wrote: Running the recipe resulted in do_fetch (or do_unpack)

[yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread John Ernberg
Hi I was writing a bitbake recipe for a project hosted on a git-server. I applied subpath in order to limit the checkout to a specific directory. When I ran the recipe it failed in do_fetch (or do_unpack) complaining about missing files. It had deleted the entire Yocto directory and selected

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Paul Eggleton
Hi John, On Thursday 16 April 2015 11:52:48 John Ernberg wrote: I was writing a bitbake recipe for a project hosted on a git-server. I applied subpath in order to limit the checkout to a specific directory. When I ran the recipe it failed in do_fetch (or do_unpack) complaining about missing

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Nicolas Dechesne
On Thu, Apr 16, 2015 at 3:11 PM, Anders Darander and...@chargestorm.se wrote: Running the recipe resulted in do_fetch (or do_unpack) failing again and complaining about missing files. This time the deletion was on a much greater scale, it had deleted so much of my home-dir that my user

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Paul Eggleton
On Thursday 16 April 2015 15:11:44 Anders Darander wrote: * Paul Eggleton paul.eggle...@linux.intel.com [150416 14:57]: Hi John, On Thursday 16 April 2015 11:52:48 John Ernberg wrote: After restoring everything I re-created the recipe, this time I also saved a copy of the recipe at a

Re: [yocto] Badly formatted subpath for git SRC_URI deletes portions of hard drive.

2015-04-16 Thread Christopher Larson
On Thu, Apr 16, 2015 at 7:25 AM, Nicolas Dechesne nicolas.deche...@linaro.org wrote: On Thu, Apr 16, 2015 at 3:11 PM, Anders Darander and...@chargestorm.se wrote: Running the recipe resulted in do_fetch (or do_unpack) failing again and complaining about missing files. This time the