All of lore.kernel.org
 help / color / mirror / Atom feed
* Is there a good "getting started" tutorial?
@ 2019-01-11 17:32 Grant Edwards
  2019-01-11 17:40 ` Scott Rifenbark
  2019-01-11 18:24 ` Scott Rifenbark
  0 siblings, 2 replies; 3+ messages in thread
From: Grant Edwards @ 2019-01-11 17:32 UTC (permalink / raw)
  To: Yocto-mailing-list


I'm new to Yocto and looking for a good "getting started"
tutorial. I've tried

https://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html

and immediately ran into mistakes on the very first step:

    Use Git to Clone Poky¶
    Once you complete the setup instructions for your machine, you need to get a copy of the Poky repository on your build host. Use the following commands to clone the Poky repository and then checkout the yocto-2.6 release:
    
         $ git clone git://git.yoctoproject.org/poky
         Cloning into 'poky'...
         remote: Counting objects: 361782, done.
         remote: Compressing objects: 100% (87100/87100), done.
         remote: Total 361782 (delta 268619), reused 361439 (delta 268277)
         Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s, done.
         Resolving deltas: 100% (268619/268619), done.
         Checking connectivity... done.
         $ git checkout tags/yocto-2.5 -b my-yocto-2.5
                
    The previous Git checkout command creates a local branch named
    my-yocto-2.6. [...]

It does? The 'git clone' command seems to be OK, but the second command fails:

    $ git clone git://git.yoctoproject.org/poky
    Cloning into 'poky'...
    remote: Counting objects: 428632, done.
    remote: Compressing objects: 100% (101203/101203), done.
    remote: Total 428632 (delta 320463), reused 428532 (delta 320363)
    Receiving objects: 100% (428632/428632), 153.01 MiB | 1.33 MiB/s, done.
    Resolving deltas: 100% (320463/320463), done.
    $ git checkout tags/yocto-2.5 -b my-yocto-2.5
    fatal: not a git repository (or any parent up to mount point /)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

I re-tried the second command, changing the version from 2.5 to 2.6,
and that didn't work either:

    $ git checkout tags/yocto-2.6 -b my-yocto-2.6
    fatal: not a git repository (or any parent up to mount point /)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

It looks like there's a missing 'cd poky' command that needs to be
inserted before the 'git checkout', and the checkout command needs to
be changed from 2.5 to 2.6.

Has anybody tried this tutorial recently to see if it actually works?

Is there a better getting started doc?

--
Grant


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

* Re: Is there a good "getting started" tutorial?
  2019-01-11 17:32 Is there a good "getting started" tutorial? Grant Edwards
@ 2019-01-11 17:40 ` Scott Rifenbark
  2019-01-11 18:24 ` Scott Rifenbark
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Rifenbark @ 2019-01-11 17:40 UTC (permalink / raw)
  To: Grant Edwards; +Cc: Yocto-mailing-list

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

Grant - I will check this out.  I am going to use this manual -
https://www.yoctoproject.org/docs/2.6.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html
.

Scott

On Fri, Jan 11, 2019 at 9:33 AM Grant Edwards <grant.b.edwards@gmail.com>
wrote:

>
> I'm new to Yocto and looking for a good "getting started"
> tutorial. I've tried
>
>
> https://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html
>
> and immediately ran into mistakes on the very first step:
>
>     Use Git to Clone Poky¶
>     Once you complete the setup instructions for your machine, you need to
> get a copy of the Poky repository on your build host. Use the following
> commands to clone the Poky repository and then checkout the yocto-2.6
> release:
>
>          $ git clone git://git.yoctoproject.org/poky
>          Cloning into 'poky'...
>          remote: Counting objects: 361782, done.
>          remote: Compressing objects: 100% (87100/87100), done.
>          remote: Total 361782 (delta 268619), reused 361439 (delta 268277)
>          Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s,
> done.
>          Resolving deltas: 100% (268619/268619), done.
>          Checking connectivity... done.
>          $ git checkout tags/yocto-2.5 -b my-yocto-2.5
>
>     The previous Git checkout command creates a local branch named
>     my-yocto-2.6. [...]
>
> It does? The 'git clone' command seems to be OK, but the second command
> fails:
>
>     $ git clone git://git.yoctoproject.org/poky
>     Cloning into 'poky'...
>     remote: Counting objects: 428632, done.
>     remote: Compressing objects: 100% (101203/101203), done.
>     remote: Total 428632 (delta 320463), reused 428532 (delta 320363)
>     Receiving objects: 100% (428632/428632), 153.01 MiB | 1.33 MiB/s, done.
>     Resolving deltas: 100% (320463/320463), done.
>     $ git checkout tags/yocto-2.5 -b my-yocto-2.5
>     fatal: not a git repository (or any parent up to mount point /)
>     Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
> set).
>
> I re-tried the second command, changing the version from 2.5 to 2.6,
> and that didn't work either:
>
>     $ git checkout tags/yocto-2.6 -b my-yocto-2.6
>     fatal: not a git repository (or any parent up to mount point /)
>     Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
> set).
>
> It looks like there's a missing 'cd poky' command that needs to be
> inserted before the 'git checkout', and the checkout command needs to
> be changed from 2.5 to 2.6.
>
> Has anybody tried this tutorial recently to see if it actually works?
>
> Is there a better getting started doc?
>
> --
> Grant
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

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

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

* Re: Is there a good "getting started" tutorial?
  2019-01-11 17:32 Is there a good "getting started" tutorial? Grant Edwards
  2019-01-11 17:40 ` Scott Rifenbark
@ 2019-01-11 18:24 ` Scott Rifenbark
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Rifenbark @ 2019-01-11 18:24 UTC (permalink / raw)
  To: Grant Edwards; +Cc: Yocto-mailing-list

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

Hi Grant,

There are indeed some errors in that tutorial.  Thanks for finding them and
sending notification.  Try the instructions in the latest quick start for
the 2.6 "thud" release.

https://yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html

I have run through them and made some adjustments to the manual to clear
things up.  It is working for me.

Thanks,
Scott

On Fri, Jan 11, 2019 at 9:33 AM Grant Edwards <grant.b.edwards@gmail.com>
wrote:

>
> I'm new to Yocto and looking for a good "getting started"
> tutorial. I've tried
>
>
> https://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html
>
> and immediately ran into mistakes on the very first step:
>
>     Use Git to Clone Poky¶
>     Once you complete the setup instructions for your machine, you need to
> get a copy of the Poky repository on your build host. Use the following
> commands to clone the Poky repository and then checkout the yocto-2.6
> release:
>
>          $ git clone git://git.yoctoproject.org/poky
>          Cloning into 'poky'...
>          remote: Counting objects: 361782, done.
>          remote: Compressing objects: 100% (87100/87100), done.
>          remote: Total 361782 (delta 268619), reused 361439 (delta 268277)
>          Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s,
> done.
>          Resolving deltas: 100% (268619/268619), done.
>          Checking connectivity... done.
>          $ git checkout tags/yocto-2.5 -b my-yocto-2.5
>
>     The previous Git checkout command creates a local branch named
>     my-yocto-2.6. [...]
>
> It does? The 'git clone' command seems to be OK, but the second command
> fails:
>
>     $ git clone git://git.yoctoproject.org/poky
>     Cloning into 'poky'...
>     remote: Counting objects: 428632, done.
>     remote: Compressing objects: 100% (101203/101203), done.
>     remote: Total 428632 (delta 320463), reused 428532 (delta 320363)
>     Receiving objects: 100% (428632/428632), 153.01 MiB | 1.33 MiB/s, done.
>     Resolving deltas: 100% (320463/320463), done.
>     $ git checkout tags/yocto-2.5 -b my-yocto-2.5
>     fatal: not a git repository (or any parent up to mount point /)
>     Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
> set).
>
> I re-tried the second command, changing the version from 2.5 to 2.6,
> and that didn't work either:
>
>     $ git checkout tags/yocto-2.6 -b my-yocto-2.6
>     fatal: not a git repository (or any parent up to mount point /)
>     Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
> set).
>
> It looks like there's a missing 'cd poky' command that needs to be
> inserted before the 'git checkout', and the checkout command needs to
> be changed from 2.5 to 2.6.
>
> Has anybody tried this tutorial recently to see if it actually works?
>
> Is there a better getting started doc?
>
> --
> Grant
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

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

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

end of thread, other threads:[~2019-01-11 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 17:32 Is there a good "getting started" tutorial? Grant Edwards
2019-01-11 17:40 ` Scott Rifenbark
2019-01-11 18:24 ` Scott Rifenbark

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.