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: docs/operating-system/getting-started.md
+10-15Lines changed: 10 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,16 +48,14 @@ The script `scripts/enter.sh` builds the build container image and starts a cont
48
48
HAOS uses a configuration file for each supported target. To build for a specific target (board), the configuration file needs to be passed to `make`. The configuration files are stored in `buildroot-external/configs/`. Note that the ending `_defconfig` will be appended automatically and *must not* be passed to `make`. E.g. to build the Raspberry Pi 4 64-bit configuration `buildroot-external/configs/rpi4_64_defconfig` use the following command:
This invokes make using the `Makefile` in the root of the source repository inside the container. This makefile in turn invokes Buildroot's makefile.
@@ -82,20 +80,17 @@ To build for multiple targets in a single source directory, separate output dire
82
80
83
81
84
82
```shell
85
-
sudo scripts/enter.sh make O=output_rpi4_64 rpi4_64
83
+
scripts/enter.sh make O=output_rpi4_64 rpi4_64
86
84
```
87
85
88
86
### Use the build container interactively
89
87
90
88
If no argument to `scripts/enter.sh` is passed, a shell will be presented.
91
89
92
90
```bash
93
-
$ sudo scripts/enter.sh
94
-
Sending build context to Docker daemon 159.7kB
95
-
Step 1/8 : FROM debian:bullseye
96
-
---> a178460bae57
91
+
$ scripts/enter.sh
97
92
[...]
98
-
builder@c6dfb4cd4036:/build$
93
+
builder@d3d7577663c9:/build$
99
94
```
100
95
101
96
From this shell, the same build above could be started using `make O=output_rpi4_64 rpi4_64`.
@@ -119,7 +114,7 @@ The target OVA (Open Virtual Appliance) contains images for various virtual mach
119
114
Since HAOS requires UEFI support, this is slightly more tricky than with "classic"(/legacy) MBR-based images. On a *Debian* host install the [ovmf package](https://packages.debian.org/stable/ovmf) which provides the "UEFI firmware for 64-bit x86 virtual machines". That package will install a **TianoCore**-derived QEMU UEFI image at `/usr/share/OVMF/OVMF_CODE.fd`, which can be used with QEMU to boot the generated QCOW2 image.
0 commit comments