From 7f915006751d37347078beb0040fb41c0d2a3436 Mon Sep 17 00:00:00 2001 From: TTFISH Date: Sun, 16 Jun 2024 11:41:38 +0800 Subject: [PATCH] [cups] minimize building script (#12072) Remove build.sh and change Dockerfile. The build script location fits the upstream file organization in `OpenPrinting/fuzzing`. Signed-off-by: TTFISH --- projects/cups/Dockerfile | 2 +- projects/cups/build.sh | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 projects/cups/build.sh diff --git a/projects/cups/Dockerfile b/projects/cups/Dockerfile index f842fc707..7c60dd847 100644 --- a/projects/cups/Dockerfile +++ b/projects/cups/Dockerfile @@ -18,5 +18,5 @@ RUN apt-get update && apt-get install -y zlib1g-dev libavahi-client-dev libsyste RUN git clone --depth 1 https://github.com/OpenPrinting/cups RUN git clone --depth 1 https://github.com/OpenPrinting/fuzzing.git -COPY build.sh $SRC/ +RUN cp $SRC/fuzzing/projects/cups/oss_fuzz_build.sh $SRC/build.sh WORKDIR $SRC/cups \ No newline at end of file diff --git a/projects/cups/build.sh b/projects/cups/build.sh deleted file mode 100644 index 198a57b58..000000000 --- a/projects/cups/build.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -eu -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -################################################################################ - -$SRC/fuzzing/cups/oss_fuzz_build.sh