Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: T3664: add support for building non-ISO flavors #550

Merged
merged 11 commits into from
Apr 20, 2024
Merged
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vyos-1x"]
path = vyos-1x
c-po marked this conversation as resolved.
Show resolved Hide resolved
url = https://github.com/vyos/vyos-1x
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ all:
@echo "Make what specifically?"
@echo "The most common target is 'iso'"

.PHONY: iso
.ONESHELL:
iso: clean
set -o pipefail
@./build-vyos-image iso
exit 0
%:
VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ ./build-vyos-image $*

.PHONY: checkiso
.ONESHELL:
Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ RUN apt-get update && apt-get install -y \
python3-tomli \
yq \
debootstrap \
live-build
live-build \
gdisk \
dosfstools

# Packages for TPM test
RUN apt-get update && apt-get install -y swtpm
Expand Down
Loading
Loading