Skip to content

Commit c319ca6

Browse files
authored
Merge pull request #751 from c-po/secure-boot-cleanup
T1416: T861: T3664: T3664: T2640: various cleanup commits
2 parents a6a4f08 + 6867177 commit c319ca6

File tree

6 files changed

+16
-37
lines changed

6 files changed

+16
-37
lines changed

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ test-no-interfaces: checkiso
3131
.PHONY: testc
3232
.ONESHELL:
3333
testc: checkiso
34-
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso
34+
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
3535

3636
.PHONY: testraid
3737
.ONESHELL:
3838
testraid: checkiso
39-
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso
39+
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
40+
41+
.PHONY: testtpm
42+
.ONESHELL:
43+
testtpm: checkiso
44+
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
4045

4146
.PHONY: qemu-live
4247
.ONESHELL:
4348
qemu-live: checkiso
44-
scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso
49+
scripts/check-qemu-install --qemu-cmd --uefi build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
4550

46-
.PHONE: oci
51+
.PHONY: oci
4752
.ONESHELL:
4853
oci: checkiso
4954
scripts/iso-to-oci build/live-image-amd64.hybrid.iso
5055

51-
.PHONY: testtpm
52-
.ONESHELL:
53-
testtpm: checkiso
54-
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso
55-
5656
.PHONY: clean
5757
.ONESHELL:
5858
clean:

data/architectures/amd64.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,4 @@ packages = [
1414
"vyos-intel-ixgbevf",
1515
"mlnx-ofed-kernel-modules",
1616
"mlnx-tools",
17-
"openvpn-dco",
18-
"telegraf"
1917
]

data/architectures/arm64.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ additional_repositories = [
55
kernel_flavor = "arm64-vyos"
66

77
# Packages included in ARM64 images by default
8-
packages = ["grub-efi-arm64", "openvpn-dco"]
8+
packages = [
9+
"grub-efi-arm64",
10+
]
911
bootloaders = "grub-efi"

data/live-build-config/includes.chroot/opt/vyatta/etc/grub/default-union-grub-entry

Lines changed: 0 additions & 20 deletions
This file was deleted.

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ LABEL authors="VyOS Maintainers <[email protected]>" \
5050
org.opencontainers.image.title="vyos-build" \
5151
org.opencontainers.image.description="Container to build VyOS ISO" \
5252
org.opencontainers.image.base.name="docker.io/debian/debian:bookworm"
53-
ENV DEBIAN_FRONTEND noninteractive
53+
ENV DEBIAN_FRONTEND=noninteractive
5454

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

@@ -60,9 +60,9 @@ RUN apt-get update && apt-get install -y \
6060
locales
6161

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

65-
ENV OCAML_VERSION 4.14.2
65+
ENV OCAML_VERSION=4.14.2
6666

6767
# Base packaged needed to build packages and their package dependencies
6868
RUN apt-get update && apt-get install -y \

scripts/image-build/build-vyos-image

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ try:
4343
import tomli
4444
import jinja2
4545
import git
46-
import psutil
4746
except ModuleNotFoundError as e:
4847
print(f"E: Cannot load required library {e}")
49-
print("E: Please make sure the following Python3 modules are installed: tomli jinja2 git psutil")
48+
print("E: Please make sure the following Python3 modules are installed: tomli jinja2 git")
5049
sys.exit(1)
5150

5251
# Import local defaults

0 commit comments

Comments
 (0)