#!/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 "$@" |