Skip to content

Commit ce0d437

Browse files
committed
Improve usage experience
and update submodules * add Poky as submodule * initialize dummy `git` repo in `/downloads` to save from `git clean -fdx` * add Dependabot for git submodules * improve `.gitignore`
1 parent 5465c87 commit ce0d437

File tree

11 files changed

+31
-16
lines changed

11 files changed

+31
-16
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gitsubmodule"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"

.gitignore

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
bitbake-cookerdaemon.log
22
bitbake.lock
33
build-environment-trik
4-
build/
5-
buildhistory/
6-
cache/
7-
deploy/
8-
conf/auto.conf
9-
conf/sanity_info
10-
conf/site.conf
4+
/build/
5+
/buildhistory/
6+
/cache/
7+
/deploy/
8+
/conf/auto.conf
9+
/conf/sanity_info
10+
/conf/site.conf
1111
pseudodone
1212
git_config
1313
subversion_config/
1414
package-depends.dot
1515
pn-depends.dot
1616
task-depends.dot
1717
tags
18+
/downloads
19+
/tmp-glibc
20+
/conf/templateconf.cfg
21+
/sstate-cache

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@
3030
path = sources/meta-trik
3131
url = https://github.com/trikset/meta-trik
3232
branch = kirkstone
33+
[submodule "poky"]
34+
path = poky
35+
url = git://git.yoctoproject.org/poky
36+
branch = kirkstone

docker/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22
set -xueo pipefail
33
pushd $(dirname $(realpath "$BASH_SOURCE"))
4-
docker build --build-arg "host_uid=$(id -u)" --build-arg "host_gid=$(id -g)" -t oe-builder .
5-
docker run --network=host -ti -v $PWD/..:/sandbox:rw -w /sandbox oe-builder bash -lc "\
4+
docker build --build-arg "host_uid=$(id -u)" --build-arg "host_gid=$(id -g)" -t oe-builder-yocto .
5+
docker run --network=host -ti -v $PWD/..:/sandbox:rw -w /sandbox oe-builder-yocto bash -lc "\
66
set -xeo pipefail; \
77
pwd; \
8-
if [ ! -d 'poky' ]; then git clone --depth 1 -b kirkstone git://git.yoctoproject.org/poky; fi && cd poky && source oe-init-build-env ..; \
8+
cd poky && source oe-init-build-env ..; git -C downloads status 2>&1 1>/dev/null || git -C downloads -c init.defaultBranch=dummy init ; \
99
time eval ${1:-'bitbake -c cleanall trik-image-core trik-runtime-qt5;time bitbake trik-image-core -k'} \
1010
"
1111
popd

poky

Submodule poky added at b5aa03f

sources/meta-arm

Submodule meta-arm updated from 260e3ad to 936c02e

sources/meta-mono

Submodule meta-mono updated from c4e9840 to d7e3ed9

sources/meta-openembedded

Submodule meta-openembedded updated 198 files

sources/meta-ti

Submodule meta-ti updated from c57b631 to 4172334

0 commit comments

Comments
 (0)