docker/bootstrap: rename init to prep to be consistent
Change-Id: Ie6dc9061b13b23997f84a1ffe886d7e09c242cf0
This commit is contained in:
Vendored
+2
-2
@@ -4,7 +4,7 @@ ENGINE=docker
|
|||||||
# Example mounting source code directory into container
|
# Example mounting source code directory into container
|
||||||
# (lets you "work on the code used to bootstrap" a bit easier)
|
# (lets you "work on the code used to bootstrap" a bit easier)
|
||||||
SOURCES=$(HOME)/Code
|
SOURCES=$(HOME)/Code
|
||||||
#EXTRA=-v $(SOURCES)/haiku:/work/src/haiku -v $(SOURCES)/buildtools:/work/src/buildtools
|
EXTRA=-v $(SOURCES)/haiku:/work/src/haiku -v $(SOURCES)/buildtools:/work/src/buildtools
|
||||||
|
|
||||||
default:
|
default:
|
||||||
${ENGINE} build . --no-cache -t docker.io/haiku/bootstrap
|
${ENGINE} build . --no-cache -t docker.io/haiku/bootstrap
|
||||||
@@ -12,7 +12,7 @@ clean:
|
|||||||
${ENGINE} ps -q --filter=ancestor=docker.io/haiku/bootstrap | xargs -I {} ${ENGINE} kill {}
|
${ENGINE} ps -q --filter=ancestor=docker.io/haiku/bootstrap | xargs -I {} ${ENGINE} kill {}
|
||||||
${ENGINE} ps -a -q --filter=ancestor=docker.io/haiku/bootstrap | xargs -I {} ${ENGINE} rm {}
|
${ENGINE} ps -a -q --filter=ancestor=docker.io/haiku/bootstrap | xargs -I {} ${ENGINE} rm {}
|
||||||
${ENGINE} volume rm bootstrap_work
|
${ENGINE} volume rm bootstrap_work
|
||||||
init:
|
prep:
|
||||||
${ENGINE} run -v bootstrap_work:/work ${EXTRA} docker.io/haiku/bootstrap prep
|
${ENGINE} run -v bootstrap_work:/work ${EXTRA} docker.io/haiku/bootstrap prep
|
||||||
crosstools:
|
crosstools:
|
||||||
${ENGINE} run -e TARGET_ARCH=$(TARGET_ARCH) -v bootstrap_work:/work ${EXTRA} docker.io/haiku/bootstrap crosstools
|
${ENGINE} run -e TARGET_ARCH=$(TARGET_ARCH) -v bootstrap_work:/work ${EXTRA} docker.io/haiku/bootstrap crosstools
|
||||||
|
|||||||
Vendored
+1
-1
@@ -25,7 +25,7 @@ from the end users host and create more-reproduceable bootstrap builds.
|
|||||||
|
|
||||||
2) Check out the required sources
|
2) Check out the required sources
|
||||||
|
|
||||||
```make init```
|
```make prep```
|
||||||
|
|
||||||
|
|
||||||
3) Build the crosstools (gcc only) for your target architecture
|
3) Build the crosstools (gcc only) for your target architecture
|
||||||
|
|||||||
Reference in New Issue
Block a user