# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # We've been dropping packages of late from the target, so make sure the # old stuff gets cleaned out. pkgs=( dev-libs/shflags mail-mta/ssmtp net-libs/gssdp net-libs/gupnp net-mail/mailbase sys-fs/sysfsutils sys-process/cronbase sys-process/vixie-cron ) for board_root in /build/* ; do board=${board_root##*/} emerge_board=$(type -P emerge-${board} 2>/dev/null || true) if [[ -x "${emerge_board}" ]]; then CLEAN_DELAY=0 ${emerge_board} -q --unmerge ${pkgs[@]} || true eclean-${board} -d packages || true fi done exit 0