All of lore.kernel.org
 help / color / mirror / Atom feed
* devtool question/issue
@ 2021-02-06  1:06 gartnerd
  2021-02-06 12:15 ` [yocto] " gary
  0 siblings, 1 reply; 6+ messages in thread
From: gartnerd @ 2021-02-06  1:06 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

Hi,

I've been following along on this youtube video created by a Yocto
developer:

https://youtu.be/nqHylLP2NmA?t=1592

I can reproduce everything presented until it comes to using devtool (as
shown at the time index in the link given above). When attempting to run:

devtool add git://blah-blah-gitrepo

I get the error:

ERROR: workspace layer not set up

My understanding from the documentation is that the "workspace" layer gets
created (if it doesn't exist) when running devtool with a command such as
add.

Since I'm new at using Yocto, it's likely that I"m missing something
fundamental here.

Any help/suggestions would be appreciated

[-- Attachment #2: Type: text/html, Size: 1223 bytes --]

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

* Re: [yocto] devtool question/issue
  2021-02-06  1:06 devtool question/issue gartnerd
@ 2021-02-06 12:15 ` gary
  2021-02-06 18:48   ` David Gartner
  0 siblings, 1 reply; 6+ messages in thread
From: gary @ 2021-02-06 12:15 UTC (permalink / raw)
  To: yocto, gartnerd

[-- Attachment #1: Type: text/plain, Size: 2466 bytes --]

I always start with

devtool modify <package>

This sets-up the workspace,  puts the package source code in workspace/sources, inits git, etc.

Gary

________________________________
From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> on behalf of David Gartner via lists.yoctoproject.org <gartnerd=gmail.com@lists.yoctoproject.org>
Sent: Friday, February 5, 2021 8:06 PM
To: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>
Subject: [yocto] devtool question/issue

Hi,

I've been following along on this youtube video created by a Yocto developer:

https://youtu.be/nqHylLP2NmA?t=1592<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2FnqHylLP2NmA%3Ft%3D1592&data=04%7C01%7Cgary%40missionsecure.com%7C329a2b43d61447cffd8008d8ca3b7be6%7Cf0ca9611f13f4dc98e1b119172b8ec5d%7C0%7C0%7C637481704140380417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=0RQV%2B6iZPxU1yiO0UZelJRYUobYziChOGr1OI41O%2BEI%3D&reserved=0>

I can reproduce everything presented until it comes to using devtool (as shown at the time index in the link given above). When attempting to run:

devtool add git://blah-blah-gitrepo

I get the error:


ERROR: workspace layer not set up

My understanding from the documentation is that the "workspace" layer gets created (if it doesn't exist) when running devtool with a command such as add.

Since I'm new at using Yocto, it's likely that I"m missing something fundamental here.

Any help/suggestions would be appreciated

Gary Huband
Sr. Software and Systems Engineer

Office: 434.284.8071 x720
Direct: 434.260.4995
Gary@MissionSecure.com

Follow Us!
LinkedIn<https://www.linkedin.com/company/mission-secure-inc->  |  Blog<https://www.missionsecure.com/blog?utm_source=email-signature&utm_medium=email&utm_campaign=blog-email-sig>  |  Website<https://www.missionsecure.com/?utm_source=email-signature&utm_medium=email&utm_campaign=web-email-sig>

: : : : : : : : : : : : : : : : : : : : : : : : : : :

[MSi]

This email and any files transmitted with it are confidential and proprietary and intended solely for the use of the individual or entity to whom they are addressed. Any dissemination, distribution or copying of this communication is strictly prohibited without our prior permission. If you received this in error, please contact the sender and delete the material from any computer.


[-- Attachment #2: Type: text/html, Size: 6101 bytes --]

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

* Re: devtool question/issue
  2021-02-06 12:15 ` [yocto] " gary
@ 2021-02-06 18:48   ` David Gartner
  2021-02-07  0:57     ` David Gartner
  0 siblings, 1 reply; 6+ messages in thread
From: David Gartner @ 2021-02-06 18:48 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

Thanks for the suggestion. I gave it a try but I still get the same result/error :(

[-- Attachment #2: Type: text/html, Size: 91 bytes --]

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

* Re: devtool question/issue
  2021-02-06 18:48   ` David Gartner
@ 2021-02-07  0:57     ` David Gartner
  2021-02-08  0:01       ` David Gartner
  0 siblings, 1 reply; 6+ messages in thread
From: David Gartner @ 2021-02-07  0:57 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

After some experimentation it appears that devtool does not like running from a filesystem volume that does not contain my home directory.

My current setup on a virtualized host has the following volumes:

Filesystem Size Used Avail Use% Mounted on

udev 32G 0 32G 0% /dev

tmpfs 6.3G 5.7M 6.3G 1% /run

/dev/sda 25G 11G 13G 46% /

tmpfs 32G 0 32G 0% /dev/shm

tmpfs 5.0M 0 5.0M 0% /run/lock

tmpfs 32G 0 32G 0% /sys/fs/cgroup

/dev/sdc 148G 39G 102G 28% /mnt/YB

tmpfs 6.3G 0 6.3G 0% /run/user/1000

My home directory is located on /dev/sda - devtool works for yocto projects on this volume

/dev/sdc - I added this volume so that I'd have more space while using yocto, but devtool complains and doesn't run here. I deleted the contents of /dev/sdc and re-tried following the tutorial given in my initial post. I can reproduce (e.g. create and run qemuarm images) everything upto the step where devtool needs to be used.

The short term solution would be to increase the size of /dev/sdc but this requires moving up to a more expensive plan from my cloud provider.

Any insight as to why this occurs

[-- Attachment #2: Type: text/html, Size: 5666 bytes --]

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

* Re: devtool question/issue
  2021-02-07  0:57     ` David Gartner
@ 2021-02-08  0:01       ` David Gartner
  2021-02-08  8:10         ` [yocto] " Josef Holzmayr
  0 siblings, 1 reply; 6+ messages in thread
From: David Gartner @ 2021-02-08  0:01 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

I found the issue that was causing my problem. Just an FYI if anyone else happens to run into this.

There was a file named ".devtoolbase" in /mnt/YB. I think this was a remenant of some previous work I was doing with yocto. I'm not sure what the purpose of this file is but once I removed it devtool no longer errorred out.

[-- Attachment #2: Type: text/html, Size: 336 bytes --]

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

* Re: [yocto] devtool question/issue
  2021-02-08  0:01       ` David Gartner
@ 2021-02-08  8:10         ` Josef Holzmayr
  0 siblings, 0 replies; 6+ messages in thread
From: Josef Holzmayr @ 2021-02-08  8:10 UTC (permalink / raw)
  To: David Gartner; +Cc: Yocto-mailing-list

Hi David!

Am Mo., 8. Feb. 2021 um 01:01 Uhr schrieb David Gartner <gartnerd@gmail.com>:
> I found the issue that was causing my problem. Just an FYI if anyone else happens to run into this.
>
> There was a file named ".devtoolbase" in /mnt/YB. I think this was a remenant of some previous work I was doing with yocto. I'm not sure what the purpose of this file is but once I removed it devtool no longer errorred out.

Oh great, thanks for the heads up. I am actually the one who did the
video, and just returned into office mondayishly and would have tried
probably this afternoon. But that I would have never found, as I
usually start out in clean slate containers, and I use devtool a lot
in there with builds even scattered out over multiple mount points.So
glad you figurede out and took the time to share!

Greetz

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

end of thread, other threads:[~2021-02-08  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-06  1:06 devtool question/issue gartnerd
2021-02-06 12:15 ` [yocto] " gary
2021-02-06 18:48   ` David Gartner
2021-02-07  0:57     ` David Gartner
2021-02-08  0:01       ` David Gartner
2021-02-08  8:10         ` [yocto] " Josef Holzmayr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.