First draft of a dual method for installing extensions
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 11 Jan 2008 17:11:34 +0000 (17:11 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 11 Jan 2008 17:11:34 +0000 (17:11 +0000)
- core tarball always installed through the tarball
- extensions (nodegroups) are then attempted by the same method
  i.e. by fetching PlanetLab-Bootstrap-%s.tar.bz2
- if that fails, then we try via
  yum groupinstall extension<nodegroup>

NOTE.
due to a bug with GetNodes that causes the nodegroups fetching part to fail
I could not have the tests completed yet
However nodes should correctly install the core software

README-pldistros.txt
config.onelab/extension-umts.pkgs [new file with mode: 0644]
config.onelab/extension-wifi.pkgs [new file with mode: 0644]

index 513fedb..cdb3fee 100644 (file)
@@ -23,8 +23,12 @@ missing files are searched in the planetlab distro
 ./build/config.<pldistro>/bootstrapfs.pkgs
        the standard contents of the node root 
        used to generate yumgroups.xml
+./build/config.<pldistro>/bootstrapfs.pkgs
+       specification for the contents of the core for the node
+       software
+        this results in a tarball (tar.bz2) 
 ./build/config.<pldistro>/bootstrapfs-*.pkgs
-       all *.pkgs files here - produce additional node root images (tar.bz2)
+       each of these files results in an extension tarball
 ./build/config.<pldistro>/myplc.pkgs
        contents of the myplc image
 ./build/config.<pldistro>/vserver.pkgs
@@ -33,3 +37,16 @@ missing files are searched in the planetlab distro
        all *.pkgs files here - produce additional vserver images
 ./build/config.<pldistro>/vtest.pkgs
        used to create test vservers for myplc-native
+
+=== extensions
+as of this writing extensions are managed as follows:
+- at node installation, the tarball produced from bootstrapfs.pkgs is
+downloaded and untared to produce the core node setup
+- then we attempt to install an extension corresponding to each of the
+nodegroups that the node is part of
+- the first method is to try and download a tarball named after the
+extension. such tarballs are produced by the build from a .pkgs file,
+see above
+- if that fails, then the extension install is attempted through a
+ yum groupinstall  extension<nodegroup>
+
diff --git a/config.onelab/extension-umts.pkgs b/config.onelab/extension-umts.pkgs
new file mode 100644 (file)
index 0000000..bb63b37
--- /dev/null
@@ -0,0 +1,5 @@
+# $Id$
+groupname : extensionumts
+groupdesc : planetlab node umts extensions
+package: nozomi
+package: comgt
diff --git a/config.onelab/extension-wifi.pkgs b/config.onelab/extension-wifi.pkgs
new file mode 100644 (file)
index 0000000..aa95c39
--- /dev/null
@@ -0,0 +1,18 @@
+# $Id$
+#
+# first attempt for an extensible bootstrapfs contents
+#
+# the groupname should start with extension as the bootmanager 
+# computes it as extension<nodegroup>
+# the present file's name can be either
+# (*) bootstrapfs-something.pkgs
+# in which case the tarball will be elaborated at build-time
+# (*) anything else otherwise
+# 
+# at runtime, the choice between tarball-install or yum install
+# depends on whether the tarball can be downloaded or not
+#
+groupname : extensionwifi
+groupdesc : planetlab node wifi extensions
+package: madwifi
+package: wireless-tools