From patchwork Sun May 15 16:10:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5621 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4L1S6300xgz3x1v for ; Sun, 15 May 2022 16:10:34 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4L1S6057c7z1gD; Sun, 15 May 2022 16:10:32 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4L1S604S2jz2yXv; Sun, 15 May 2022 16:10:32 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4L1S5z3MPRz2xGX for ; Sun, 15 May 2022 16:10:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4L1S5y6WdpzBj; Sun, 15 May 2022 16:10:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1652631031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=024K0+7DBK66UUTIiRBpBsFCwa5FV/iJnCdUSik04dU=; b=LA+uieoxmgYgwFBRC7y9CYuvopFdqvNlguMxkJRTA503lEmxPavBmkQ1+gyqsL8wTf6S52 yK0V1Z147toxQzAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1652631031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=024K0+7DBK66UUTIiRBpBsFCwa5FV/iJnCdUSik04dU=; b=HV0LsqtwUEGJ/yPcg0nmMJFuc9b/42y9e8PPG4vM9qm/raklb1KDjGL7E4cmbAfzfPGUl7 zSRf2JIfdNdqfBosjMgOoqZ4xc92OuWSZ69Dbzz9nVCOGAx9+OjD3KSFpiFFZoQCaEVUxt Q24rfHkM196dDhqMkQAqgv88D9K5D+JU+g1THkXvJACgvcARqqvwEG3UBv+LfBvda0aw4n Fm+5QFkXfdgm9+pk0+lEPaOO6MzIVYE5aGOOYe3pNkwtae50dVQ+1cu7Ez54G/bjTyZjGA 0Yqj2jSRAu5kJ56rmhux+0FbJ7qoOUFZFd9gZvqUrVbB72XLJvvB2Twtwwut2A== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] Core 168: Remove pakfire metadata for krb5 and libtiff. Date: Sun, 15 May 2022 18:10:19 +0200 Message-Id: <20220515161019.3694147-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Both packages have become part of the core system, so these files are not longer needed. Signed-off-by: Stefan Schantl --- config/rootfiles/core/168/update.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/rootfiles/core/168/update.sh b/config/rootfiles/core/168/update.sh index e11e08b7f..283cb1098 100644 --- a/config/rootfiles/core/168/update.sh +++ b/config/rootfiles/core/168/update.sh @@ -133,6 +133,22 @@ if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then /etc/init.d/ipsec start fi +# krb5 is now part of the core system, remove Pakfire metadata for it +if [ -e "/opt/pakfire/db/installed/meta-krb5" ] && [ -e "/opt/pakfire/db/meta/meta-krb5" ]; then + rm -vf \ + /opt/pakfire/db/installed/meta-krb5 \ + /opt/pakfire/db/meta/meta-krb5 \ + /opt/pakfire/db/rootfiles/krb5 +fi + +# libtiff is now part of the core system, remove Pakfire metadata for it +if [ -e "/opt/pakfire/db/installed/meta-libtiff" ] && [ -e "/opt/pakfire/db/meta/meta-libtiff" ]; then + rm -vf \ + /opt/pakfire/db/installed/meta-libtiff \ + /opt/pakfire/db/meta/meta-libtiff \ + /opt/pakfire/db/rootfiles/libtiff +fi + # This update needs a reboot... touch /var/run/need_reboot