summaryrefslogtreecommitdiffstats
path: root/fuel-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-plugin')
-rwxr-xr-xfuel-plugin/build_kvm.sh2
-rwxr-xr-xfuel-plugin/pre_build_hook11
2 files changed, 9 insertions, 4 deletions
diff --git a/fuel-plugin/build_kvm.sh b/fuel-plugin/build_kvm.sh
index cc1df2791..40220b7b0 100755
--- a/fuel-plugin/build_kvm.sh
+++ b/fuel-plugin/build_kvm.sh
@@ -46,7 +46,7 @@ make oldconfig </dev/null
# Build the kernel debs
make-kpkg clean
-fakeroot make-kpkg --initrd --revision=$VERSION kernel_image kernel_headers
+fakeroot make-kpkg --initrd --revision=$VERSION kernel_image kernel_headers -j$(nproc)
cp $SRC/kvmfornfv/linux-headers*.deb /kvmfornfv/.
cp $SRC/kvmfornfv/linux-image*.deb /kvmfornfv/.
diff --git a/fuel-plugin/pre_build_hook b/fuel-plugin/pre_build_hook
index 7d9aa155f..549bc19ff 100755
--- a/fuel-plugin/pre_build_hook
+++ b/fuel-plugin/pre_build_hook
@@ -7,7 +7,10 @@ DIR="$(dirname `readlink -f $0`)"
MODULES="${DIR}/deployment_scripts/puppet/modules"
SHELLVAR_VERSION='2.2.1'
+AUGCORE_VERSION='2.1.3'
+
SHELLVAR_URL="https://github.com/hercules-team/augeasproviders_shellvar/archive/${SHELLVAR_VERSION}.tar.gz"
+AUGCORE_URL="https://github.com/hercules-team/augeasproviders_core/archive/${AUGCORE_VERSION}.tar.gz"
function build_pkg {
case $1 in
@@ -30,6 +33,8 @@ do
build_pkg $system
done
-rm -rf ${MODULES}/shellvar
-mkdir -p ${MODULES}/shellvar
-wget -qO- ${SHELLVAR_URL} | tar -C ${MODULES}/shellvar --strip-components=1 -zxvf -
+rm -rf ${MODULES}/*
+mkdir -p ${MODULES}/shellvar ${MODULES}/augcore
+
+wget -qO- ${SHELLVAR_URL} | tar -C ${MODULES}/shellvar --strip-components=1 -zxvf -
+wget -qO- ${AUGCORE_URL} | tar -C ${MODULES}/augcore --strip-components=1 -zxvf -