From: Stephen Soltesz Date: Wed, 1 May 2013 01:15:01 +0000 (-0400) Subject: add stub nodebase package to nodeimage X-Git-Tag: 5.2.2~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5b73dbc00f6b6c0070cc60c62803029d86f5c8d3;p=build.git add stub nodebase package to nodeimage --- diff --git a/config.mlab/nodeimage.post b/config.mlab/nodeimage.post index 91072871..697173c5 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/mlab-nodebase-0.1-0.noarch.rpm ${vdir}/root/ +chroot ${vdir} rpm -ihv /root/mlab-nodebase-0.1-0.noarch.rpm