X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config.mlab%2Fnodeimage.post;h=a501e6368594e157d6d0cef87aa5648adec853fc;hb=54d3133eeb801a434a1237c2cde942cc45bb8539;hp=91072871b5375e41e1e1309b1ca46d0c35a3080e;hpb=841734295327c07a4bd7cc9f79f5ef6ecd418d76;p=build.git diff --git a/config.mlab/nodeimage.post b/config.mlab/nodeimage.post index 91072871..a501e636 100644 --- a/config.mlab/nodeimage.post +++ b/config.mlab/nodeimage.post @@ -67,3 +67,21 @@ EOF # NOTE: Force package into crucial-rpm-list for NodeUpdate echo "nodebase" > ${vdir}/etc/planetlab/crucial-rpm-list +cat < /tmp/nodebase.spec +Summary: Dummy Package for initial nodebase +Name: nodebase +Version: 0.1 +Release: 0 +Group: System Environment/Base +License: Apache 2.0 +BuildArch: noarch + +%description +This meta-package with no content allows 'yum update' to work on the m-lab +nodebase. + +%files +EOF +rpmbuild -bb /tmp/nodebase.spec +cp /root/rpmbuild/RPMS/noarch/nodebase-0.1-0.noarch.rpm ${vdir}/root/ +chroot ${vdir} rpm -ihv /root/nodebase-0.1-0.noarch.rpm