Removed fuel from Genesis master since fuel has moved to repo fuel.
[genesis.git] / compass / build / install.sh
1 #!/bin/bash
2 #####################################################################################
3 # Copyright (c) 2015 Huawei Technologies Co.,Ltd.
4 # chigang@huawei.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #####################################################################################
10
11 # some packages or tools maybe use below filesystem
12 mount -t proc none /proc
13 mount -t sysfs none /sys
14 mount -t devpts none /dev/pts
15
16 # install/remove packages
17 sudo apt-get update
18 sudo apt-get -y upgrade
19 sudo apt-get -y dist-upgrade
20 sudo apt-get install libxslt-dev libxml2-dev libvirt-dev build-essential qemu-utils qemu-kvm libvirt-bin virtinst -y
21
22 #rm  /etc/resolv.conf
23 #rm -rf /tmp/*
24
25 umount /proc
26 umount /sys
27 umount /dev/pts