From 3bc9857bc75d34daedbe5ccc616e319c2ad71bda Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Tue, 12 Mar 2024 20:48:47 +0530 Subject: [PATCH] Drop the second parameter passed to configure_oci This has become moot now that the code block has been moved out from live-build/functions to live-build/auto/build so passing the argument is not needed anymore. --- live-build/auto/build | 2 +- live-build/functions | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/live-build/auto/build b/live-build/auto/build index 6704327e..ec7ca52a 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -438,7 +438,7 @@ build_name: $PROJECT:${SUBPROJECT:} serial: $BUILDSTAMP EOF if [ "${PROJECT}" = "ubuntu-oci" ]; then - configure_oci chroot "$BUILDSTAMP" + configure_oci chroot fi else echo "The \$BUILDSTAMP variable is empty" diff --git a/live-build/functions b/live-build/functions index 99c4708e..266cc70c 100644 --- a/live-build/functions +++ b/live-build/functions @@ -955,7 +955,6 @@ configure_oci() { # at https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh local chroot=$1 - local serial=$2 if [ ! -d "${chroot}" ]; then echo "The chroot does not exist"