X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=compass%2Fbuild%2Finstall.sh;fp=compass%2Fbuild%2Finstall.sh;h=4a8b8930e3d3eff6f6ee5f043d663af7c93ef197;hb=4266577cd0a7c0816cd3bf951522c7ad1633f02b;hp=0000000000000000000000000000000000000000;hpb=5a0308577f9cc0b507c02a39a897fe11a1c45b5f;p=genesis.git diff --git a/compass/build/install.sh b/compass/build/install.sh new file mode 100755 index 0000000..4a8b893 --- /dev/null +++ b/compass/build/install.sh @@ -0,0 +1,27 @@ +#!/bin/bash +##################################################################################### +# Copyright (c) 2015 Huawei Technologies Co.,Ltd. +# chigang@huawei.com +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +##################################################################################### + +# some packages or tools maybe use below filesystem +mount -t proc none /proc +mount -t sysfs none /sys +mount -t devpts none /dev/pts + +# install/remove packages +sudo apt-get update +sudo apt-get -y upgrade +sudo apt-get -y dist-upgrade +sudo apt-get install libxslt-dev libxml2-dev libvirt-dev build-essential qemu-utils qemu-kvm libvirt-bin virtinst -y + +#rm /etc/resolv.conf +#rm -rf /tmp/* + +umount /proc +umount /sys +umount /dev/pts \ No newline at end of file