From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- poky/scripts/sstate-cache-management.sh | 469 ++++++++++++++++++++++++++++++++ 1 file changed, 469 insertions(+) create mode 100755 poky/scripts/sstate-cache-management.sh (limited to 'poky/scripts/sstate-cache-management.sh') diff --git a/poky/scripts/sstate-cache-management.sh b/poky/scripts/sstate-cache-management.sh new file mode 100755 index 000000000..2ab450ab5 --- /dev/null +++ b/poky/scripts/sstate-cache-management.sh @@ -0,0 +1,469 @@ +#!/bin/bash + +# Copyright (c) 2012 Wind River Systems, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +# Global vars +cache_dir= +confirm= +fsym= +total_deleted=0 +verbose= +debug=0 + +usage () { + cat << EOF +Welcome to sstate cache management utilities. +sstate-cache-management.sh