Skip to content

Commit

Permalink
Merge pull request #751 from c-po/secure-boot-cleanup
Browse files Browse the repository at this point in the history
T1416: T861: T3664: T3664: T2640: various cleanup commits
  • Loading branch information
dmbaturin authored Sep 5, 2024
2 parents a6a4f08 + 6867177 commit c319ca6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 37 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,28 @@ test-no-interfaces: checkiso
.PHONY: testc
.ONESHELL:
testc: checkiso
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))

.PHONY: testraid
.ONESHELL:
testraid: checkiso
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))

.PHONY: testtpm
.ONESHELL:
testtpm: checkiso
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))

.PHONY: qemu-live
.ONESHELL:
qemu-live: checkiso
scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso
scripts/check-qemu-install --qemu-cmd --uefi build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))

.PHONE: oci
.PHONY: oci
.ONESHELL:
oci: checkiso
scripts/iso-to-oci build/live-image-amd64.hybrid.iso

.PHONY: testtpm
.ONESHELL:
testtpm: checkiso
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso

.PHONY: clean
.ONESHELL:
clean:
Expand Down
2 changes: 0 additions & 2 deletions data/architectures/amd64.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@ packages = [
"vyos-intel-ixgbevf",
"mlnx-ofed-kernel-modules",
"mlnx-tools",
"openvpn-dco",
"telegraf"
]
4 changes: 3 additions & 1 deletion data/architectures/arm64.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ additional_repositories = [
kernel_flavor = "arm64-vyos"

# Packages included in ARM64 images by default
packages = ["grub-efi-arm64", "openvpn-dco"]
packages = [
"grub-efi-arm64",
]
bootloaders = "grub-efi"

This file was deleted.

6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ LABEL authors="VyOS Maintainers <maintainers@vyos.io>" \
org.opencontainers.image.title="vyos-build" \
org.opencontainers.image.description="Container to build VyOS ISO" \
org.opencontainers.image.base.name="docker.io/debian/debian:bookworm"
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN /bin/echo -e 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01norecommends

Expand All @@ -60,9 +60,9 @@ RUN apt-get update && apt-get install -y \
locales

RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
ENV LANG en_US.utf8
ENV LANG=en_US.utf8

ENV OCAML_VERSION 4.14.2
ENV OCAML_VERSION=4.14.2

# Base packaged needed to build packages and their package dependencies
RUN apt-get update && apt-get install -y \
Expand Down
3 changes: 1 addition & 2 deletions scripts/image-build/build-vyos-image
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ try:
import tomli
import jinja2
import git
import psutil
except ModuleNotFoundError as e:
print(f"E: Cannot load required library {e}")
print("E: Please make sure the following Python3 modules are installed: tomli jinja2 git psutil")
print("E: Please make sure the following Python3 modules are installed: tomli jinja2 git")
sys.exit(1)

# Import local defaults
Expand Down

0 comments on commit c319ca6

Please sign in to comment.