From 909a6f8bfb12d48762c85dd96e52915d180f4b32 Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Thu, 9 Apr 2020 14:38:45 -0500 Subject: [PATCH] Do not unconditionally install the core snap Seeing any snap via snap_preseed will evaluate the base for each snap and seed the appropriate base. There should be no reason to explicitly seed the 'core' snap and with snaps moving to 'core18' this will add 'core' without need. --- live-build/functions | 6 ------ 1 file changed, 6 deletions(-) diff --git a/live-build/functions b/live-build/functions index db11fe03..279bfa8d 100644 --- a/live-build/functions +++ b/live-build/functions @@ -615,12 +615,6 @@ snap_prepare() { local CUSTOM_BRAND_MODEL=${2:-generic:generic-classic} snap_prepare_assertions "$CHROOT_ROOT" "$CUSTOM_BRAND_MODEL" - - # ubuntu-cpc:minimized has its own special snap handling - if [ "$PROJECT:${SUBPROJECT:-}" != ubuntu-cpc:minimized ]; then - # Download the core snap - _snap_preseed "$CHROOT_ROOT" core stable - fi } snap_preseed() {