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.
ubuntu-core-desktop-noble
Utkarsh Gupta 10 months ago
parent 45692d4300
commit 3bc9857bc7

@ -438,7 +438,7 @@ build_name: $PROJECT:${SUBPROJECT:}
serial: $BUILDSTAMP serial: $BUILDSTAMP
EOF EOF
if [ "${PROJECT}" = "ubuntu-oci" ]; then if [ "${PROJECT}" = "ubuntu-oci" ]; then
configure_oci chroot "$BUILDSTAMP" configure_oci chroot
fi fi
else else
echo "The \$BUILDSTAMP variable is empty" echo "The \$BUILDSTAMP variable is empty"

@ -955,7 +955,6 @@ configure_oci() {
# at https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh # at https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
local chroot=$1 local chroot=$1
local serial=$2
if [ ! -d "${chroot}" ]; then if [ ! -d "${chroot}" ]; then
echo "The chroot does not exist" echo "The chroot does not exist"

Loading…
Cancel
Save