You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kas/README.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,34 +2,32 @@
2
2
3
3
To start a full build, e.g. for the Kirkstone release, run the following command:
4
4
5
-
kas build kas/leda-kirkstone.yaml
6
-
7
-
kas build -c cleanall kas/leda-kirkstone.yaml k3s
5
+
kas build kas/leda-qemux86-64.yaml
8
6
9
7
kas will then check out all necessary dependencies as specified in the project configuration file. After that, it will start the build for the machine, distro and target device.
10
8
11
9
# Running
12
10
13
11
Running with user-level networking, in case the host does not have TAP/TUN set up properly. If you have TAP/TUN set up, remove the `slirp` keyword. Also enable the OVMF bios for multiboot. If you have kvm enabled on your host, add the `kvm` keyword:
14
12
15
-
kas shell kas/leda-kirkstone.yaml -c 'runqemu nographic ovmf kvm'
13
+
kas shell kas/leda-qemux86-64.yaml -c 'runqemu nographic ovmf kvm'
16
14
17
15
Boot directly into a specific partition:
18
16
19
-
kas shell kas/leda-kirkstone.yaml -c 'runqemu slirp nographic ovmf sdv-image-all'
20
-
kas shell kas/leda-kirkstone.yaml -c 'runqemu slirp nographic ovmf sdv-image-full'
21
-
kas shell kas/leda-kirkstone.yaml -c 'runqemu slirp nographic ovmf sdv-image-minimal'
22
-
kas shell kas/leda-kirkstone.yaml -c 'runqemu slirp nographic ovmf sdv-image-rescue'
17
+
kas shell kas/leda-qemux86-64.yaml -c 'runqemu slirp nographic ovmf sdv-image-all'
18
+
kas shell kas/leda-qemux86-64.yaml -c 'runqemu slirp nographic ovmf sdv-image-full'
19
+
kas shell kas/leda-qemux86-64.yaml -c 'runqemu slirp nographic ovmf sdv-image-minimal'
20
+
kas shell kas/leda-qemux86-64.yaml -c 'runqemu slirp nographic ovmf sdv-image-rescue'
23
21
24
22
# Debugging BitBake
25
23
26
24
The following commands show the layer setup and information about which recipes are being appended:
27
25
28
-
kas shell kas/leda-kirkstone.yaml -c 'bitbake-layers show-layers'
29
-
kas shell kas/leda-kirkstone.yaml -c 'bitbake-layers show-overlayed'
30
-
kas shell kas/leda-kirkstone.yaml -c 'bitbake-layers show-recipes'
31
-
kas shell kas/leda-kirkstone.yaml -c 'bitbake-layers show-appends'
32
-
kas shell kas/leda-kirkstone.yaml -c 'bitbake -c cleanall '
26
+
kas shell kas/leda-qemux86-64.yaml -c 'bitbake-layers show-layers'
27
+
kas shell kas/leda-qemux86-64.yaml -c 'bitbake-layers show-overlayed'
28
+
kas shell kas/leda-qemux86-64.yaml -c 'bitbake-layers show-recipes'
29
+
kas shell kas/leda-qemux86-64.yaml -c 'bitbake-layers show-appends'
30
+
kas shell kas/leda-qemux86-64.yaml -c 'bitbake -c cleanall '
33
31
34
32
# Mirrors and Build Caching
35
33
@@ -38,7 +36,7 @@ In general, run a BitBake Hash Equivalence Server centrally.
38
36
39
37
To use our project cache, include the `mirrors.yaml` configuration file when building:
40
38
41
-
kas build kas/leda-kirkstone.yaml:kas/mirrors.yaml
39
+
kas build kas/leda-qemux86-64.yaml:kas/mirrors.yaml
42
40
43
41
## Updating the build cache
44
42
@@ -54,10 +52,10 @@ Pre-Requisites:
54
52
55
53
# Ask BitBake to perform only the fetch tasks for each recipe, downloading the sources
56
54
# and archiving them as a tar archive in the build/downloads/ folder.
57
-
kas shell kas/leda-kirkstone.yaml:kas/mirrors.yaml:kas/generate-mirror.yaml -c 'bitbake --runall=fetch sdv-image-all'
55
+
kas shell kas/leda-qemux86-64.yaml:kas/generate-mirror.yaml -c 'bitbake --runall=fetch sdv-image-all'
58
56
59
57
# Respectively, for other machines:
60
-
KAS_MACHINE=raspberrypi4-64 kas shell kas/leda-kirkstone.yaml:kas/mirrors.yaml:kas/generate-mirror.yaml -c 'bitbake --runall=fetch sdv-image-all'
58
+
kas shell kas/leda-raspberrypi4-64.yaml:kas/generate-mirror.yaml -c 'bitbake --runall=fetch sdv-image-all'
61
59
62
60
# Upload the downloads folder to the remote mirror.
0 commit comments