From 5b73dbc00f6b6c0070cc60c62803029d86f5c8d3 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz <stephen.soltesz@gmail.com> Date: Tue, 30 Apr 2013 21:15:01 -0400 Subject: [PATCH] add stub nodebase package to nodeimage --- config.mlab/nodeimage.post | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 <<EOF > /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 -- 2.47.0