blob: 8f74e2fccecd55dc6cec5c85e07727c5a7cb0168 [file] [log] [blame]
#!/bin/bash
# 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.
# Strip a given package and place the stripped version in
# /build/<board>/stripped-packages.
if [ ! -e /etc/debian_chroot ]; then
echo "Script needs to be run from within the chroot!" && exit 1
fi
. "/mnt/host/source/src/scripts/common.sh" || exit 1
export DEFAULT_INSTALL_MASK
/usr/lib/devserver/strip_package.py "$@"