From: Grant Edwards <grant.b.edwards@gmail.com>
To: Yocto-mailing-list <yocto@yoctoproject.org>
Subject: Is there a good "getting started" tutorial?
Date: Fri, 11 Jan 2019 11:32:52 -0600 [thread overview]
Message-ID: <20190111173252.GA6455@grante> (raw)
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
next reply other threads:[~2019-01-11 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 17:32 Grant Edwards [this message]
2019-01-11 17:40 ` Is there a good "getting started" tutorial? Scott Rifenbark
2019-01-11 18:24 ` Scott Rifenbark
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=20190111173252.GA6455@grante \
--to=grant.b.edwards@gmail.com \
--cc=yocto@yoctoproject.org \
/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 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.