blob: 2614f570a92af1f5860ba0d372aa313295554636 [file] [log] [blame]
# Copyright 2015 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.
# The linux-3.4 kernel is no longer used so make sure it gets cleaned
# out for existing devices.
packages=(
sys-kernel/chromeos-kernel
)
for sysroot in /build/* /; do
(
if ROOT="${sysroot}" qlist -ICe "${packages[@]}" >&/dev/null; then
info "Cleaning ${packages[*]} from ${sysroot}"
sudo ROOT="${sysroot}" qmerge -yqU "${packages[@]}"
fi
) &
done
wait