Skip to content

Commit 171b650

Browse files
authored
Merge pull request #13 from ianmclinden/patch-3
Update to setup / use docs
2 parents 2c94bf1 + 8c83e1f commit 171b650

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

README.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ yourself permision to manage docker, e.g. add to docker group on Ubuntu/Debian.
1212

1313
Using repo you will now stage your development workspace.See __Directory
1414
layout__ for details.
15-
```
15+
```bash
1616
mkdir openxt-workspace
1717
cd openxt-workspace
1818
repo init -u https://github.com/apertussolutions/openxt-manifest.git
@@ -21,19 +21,40 @@ layout__ for details.
2121

2222
Source the host-env script to configure your shell environment and finalize the
2323
staging of the development workspace.
24-
```
24+
```bash
2525
source host-env
2626
```
2727

2828
Setup an OpenXT build container.
29-
```
29+
```bash
30+
# create_container <container-name> <base-container-image>
3031
create_container oxt-builder openxt-oe32
3132
```
3233

34+
Generate certs for signing the build
35+
```bash
36+
# gen-certs <output-directory>
37+
./bin/gen-certs certs
38+
```
39+
3340
Now attempt a build.
41+
```bash
42+
# oxt_build <container-name> [optional-build-id]
43+
oxt_build oxt-builder
44+
```
45+
46+
To restart or rebuild a previous build (e.g. build-123456), supply the build id.
47+
```bash
48+
# oxt_build <container-name> [optional-build-id]
49+
oxt_build oxt-builder 123456
3450
```
35-
oxt_build [optional build id]
51+
52+
When the build is complete, generate a release, sign it, and crete an ISO
53+
```bash
54+
# gen-iso -n <build-id> -r <release-tag>
55+
./bin/gen-iso -n 123456 -r 1-stable
3656
```
57+
The ISO will end up at `openxt-workspace/build-{build-id}/release/{release-tag}/installer.iso`
3758

3859
## Development Environment
3960

@@ -137,7 +158,7 @@ The successful execution of this function will result in an interactive shell
137158
environment within the container as the build user in the build user's home
138159
directory.
139160

140-
##### **oxt_build** *[-u USER]* *{name}*
161+
##### **oxt_build** *[-u USER]* *{name}* *[build-id]*
141162

142163
This shell function is simliar to **enter_container** except instead of
143164
launching an interactive session in the container, it launches the build script

0 commit comments

Comments
 (0)