From b448dfb032657f94261d89d2b8050fb9ccdf656b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 25 Jan 2023 10:25:09 +0100 Subject: [PATCH] composite: remove batch script and multi-flavour handling in nightly We only support OpenSSL now and the base build is also not fully hooked up. Perhaps we can improve the situation later on but for now just remove the spurious bits leading to errors. --- Makefile | 6 ++-- README.md | 6 ---- composite/batch.sh | 30 ------------------ composite/nightly.sh | 72 ++++++++++---------------------------------- 4 files changed, 19 insertions(+), 95 deletions(-) delete mode 100644 composite/batch.sh diff --git a/Makefile b/Makefile index 23ec27e..7279866 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2015-2022 Franco Fichtner +# Copyright (c) 2015-2023 Franco Fichtner # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -28,7 +28,7 @@ STEPS= audit arm base boot chroot clean clone compress confirm \ kernel list make.conf nano options packages plugins ports \ prefetch print rebase release rename rewind serial sign \ skim test update upload verify vga vm xtools -SCRIPTS= batch distribution factory hotfix nightly watch +SCRIPTS= distribution factory hotfix nightly watch .PHONY: ${STEPS} ${SCRIPTS} @@ -79,7 +79,7 @@ _CONFIGDIR= ${DIR:C/\/build\.conf$//} NAME?= OPNsense TYPE?= ${NAME:tl} SUFFIX?= # empty -FLAVOUR?= OpenSSL LibreSSL # first one is default +FLAVOUR= OpenSSL # XXX only flavour now, perhaps refactor _ARCH!= uname -p ARCH?= ${_ARCH} ABI?= ${_CONFIGDIR:C/^.*\///} diff --git a/README.md b/README.md index e6dbee8..47f6e2f 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ Available build options are: * COMSPEED: serial speed, e.g. "115200" (default) * DEBUG: build a debug kernel with additional object information * DEVICE: loads device-specific modifications, e.g. "A10" (default) -* FLAVOUR: "OpenSSL" (default), "LibreSSL", "Base" * KERNEL: the kernel config to use, e.g. SMP (default) * MIRRORS: a list of mirrors to prefetch sets from * NAME: "OPNsense" (default) @@ -454,11 +453,6 @@ be invoked manually using: Composite build steps --------------------- -Build steps are pinned to a particular crypto flavour, but if OpenSSL -and LibreSSL packages are both required they can be batch-built using: - - # make batch-[,