Skip to content

Commit 33145e7

Browse files
authored
Create README.md
1 parent a946bca commit 33145e7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

yocto/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Example
2+
The `yocto` script mounts the current directory and adds a user with the same guid and uuid as the current user, then it starts a bash shell into the docker container.
3+
```bash
4+
starlord@host $ docker build -t yocto .
5+
starlord@host $ alias yocto=$(pwd)/yocto
6+
starlord@host $ yocto bash
7+
yocto@deadbeef $ git clone git://git.yoctoproject.org/poky.git
8+
yocto@deadbeef $ source poky/oe-init-build-env
9+
yocto@deadbeef $ time bitbake core-image-base
10+
```

0 commit comments

Comments
 (0)