10 years agofixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodec...
Thierry Parmentelat [Wed, 27 Jan 2010 18:44:46 +0000]
fixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodeconfig/yum
  now known as the nodeyum package
  (might need some moer work for properly handling kexcludes in multi-fc plcs)
cleaned up all uses of /etc/planetlab/{node,slice}family
nodeconfig now does not need the build/ module anymore at build time

10 years agomore fixes
Thierry Parmentelat [Tue, 26 Jan 2010 19:50:48 +0000]
more fixes

10 years agokwd
Thierry Parmentelat [Tue, 26 Jan 2010 17:40:52 +0000]

10 years agofix bootstrapfs names, and add fcdistro to extension tarballs
Thierry Parmentelat [Tue, 26 Jan 2010 17:20:29 +0000]
fix bootstrapfs names, and add fcdistro to extension tarballs

10 years agoBranch 2.0 for module BootstrapFS created (as new trunk) from tag BootstrapFS-1.0-11
Thierry Parmentelat [Tue, 26 Jan 2010 16:51:02 +0000]
Branch 2.0 for module BootstrapFS created (as new trunk) from tag BootstrapFS-1.0-11

10 years ago3-fold nodefamily now has fcdistro as well
Thierry Parmentelat [Tue, 26 Jan 2010 13:57:24 +0000]
3-fold nodefamily now has fcdistro as well

10 years agoSetting tag BootstrapFS-1.0-11
Thierry Parmentelat [Mon, 4 Jan 2010 15:21:58 +0000]
Setting tag BootstrapFS-1.0-11
for building on fedora12

10 years agofor f12
Thierry Parmentelat [Sun, 3 Jan 2010 21:49:56 +0000]
for f12

11 years agoSetting tag BootstrapFS-1.0-10
Thierry Parmentelat [Thu, 22 Oct 2009 09:25:29 +0000]
Setting tag BootstrapFS-1.0-10
cosmetic change in message at build-time

11 years agocosmetic
Thierry Parmentelat [Tue, 20 Oct 2009 11:12:34 +0000]

11 years agoSetting tag BootstrapFS-1.0-9
Thierry Parmentelat [Fri, 9 Oct 2009 15:41:54 +0000]
Setting tag BootstrapFS-1.0-9
can use groups in the pkgs file with +++ for space

11 years agocan yum install groups (use +++ for space) in bootstrapfs and vserver-reference
Thierry Parmentelat [Fri, 9 Oct 2009 13:40:34 +0000]
can yum install groups (use +++ for space) in bootstrapfs and vserver-reference

11 years agoTagging module BootstrapFS - BootstrapFS-1.0-8
Thierry Parmentelat [Tue, 7 Apr 2009 17:05:20 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-8
bugfix for when a .post script is not needed

11 years agosometimes there is no post script
Thierry Parmentelat [Tue, 7 Apr 2009 16:59:30 +0000]
sometimes there is no post script

11 years agoTagging module BootstrapFS - BootstrapFS-1.0-7
Thierry Parmentelat [Tue, 7 Apr 2009 09:38:49 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-7
search post-install scripts (.post) in path (distro, then planetlab)
mostly useful for externally-defined pldistros

11 years agosvn:keywords
Thierry Parmentelat [Fri, 3 Apr 2009 09:02:40 +0000]

11 years agolocate .post scripts as for .pkgs files, i.e. first in pldistro-dep config dir, then...
Thierry Parmentelat [Fri, 3 Apr 2009 07:45:02 +0000]
locate .post scripts as for .pkgs files, i.e. first in pldistro-dep config dir, then in default config.planetlab

11 years agowarns before running post install script
Thierry Parmentelat [Thu, 2 Apr 2009 17:45:16 +0000]
warns before running post install script

11 years agoTagging module BootstrapFS - BootstrapFS-1.0-6
Thierry Parmentelat [Thu, 8 Jan 2009 09:30:18 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-6
fix build bug when dealing with extensions

11 years agofix http://svn.planet-lab.org/changeset/11139 : extensions were not building
Thierry Parmentelat [Tue, 6 Jan 2009 13:44:09 +0000]
fix svn.planet-lab.org/changeset/11139 : extensions were not building

12 years agoTagging module BootstrapFS - BootstrapFS-1.0-5
Thierry Parmentelat [Thu, 4 Dec 2008 07:31:31 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-5
optional package bootstrapfs-<pldiftr>-<arch>-plain comes with uncompressed images for faster tests

12 years agothe new bootstrapfs-*-plain rpm has uncompressed bootstrapfs images (for tests)
Thierry Parmentelat [Mon, 24 Nov 2008 17:22:00 +0000]
the new bootstrapfs-*-plain rpm has uncompressed bootstrapfs images (for tests)

12 years agoTagging module BootstrapFS - BootstrapFS-1.0-4
Thierry Parmentelat [Fri, 14 Nov 2008 14:57:15 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-4
cosmetic changes in build: displays duration, and shows up in summary

12 years agoless loud, and build-summary compatible output
Thierry Parmentelat [Fri, 3 Oct 2008 07:58:54 +0000]
less loud, and build-summary compatible output

12 years agoTagging module BootstrapFS - BootstrapFS-1.0-3
Thierry Parmentelat [Mon, 1 Sep 2008 12:33:59 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-3
Do not overwrite yumgroups.xml upon updates of noderepo

12 years agowhen dealing with multiple architectures/pldistros/vrefs, it is sometimes necessary...
Thierry Parmentelat [Mon, 1 Sep 2008 10:48:45 +0000]
when dealing with multiple architectures/pldistros/vrefs, it is sometimes necessary to manually tune yumgroups.xml
the purpose of this change is that yumgroups.xml does not get overwritten by an update of noderepo
on the longer run we might wish to merge yumgroups.xml from (a) rpm and (b) local changes

12 years agoTagging module BootstrapFS - BootstrapFS-1.0-2
Thierry Parmentelat [Thu, 3 Jul 2008 15:08:38 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-2
uses the right yum.conf when building images

12 years agoalso need to use mkfedora-yum.conf
Thierry Parmentelat [Thu, 3 Jul 2008 14:58:33 +0000]
also need to use mkfedora-yum.conf

12 years agoTagging module BootstrapFS - BootstrapFS-1.0-1
Thierry Parmentelat [Mon, 5 May 2008 12:23:44 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-1
rpm release tag does not need pldistro as it is already part of the rpm name

12 years agocheck consistency of specfiles:
Thierry Parmentelat [Mon, 5 May 2008 12:09:39 +0000]
check consistency of specfiles:
* set pldistro in release when needed (Monitor)
* remove it when already part of the rpm name (bootcd, noderepo)

12 years agoTagging module BootstrapFS - BootstrapFS-1.0-0
Thierry Parmentelat [Wed, 26 Mar 2008 09:42:21 +0000]
Tagging module BootstrapFS - BootstrapFS-1.0-0
naming scheme changed, tarball name now contains ''nodefamily'' as <pldistro>-<arch>
new package named 'noderepo' allows to ship the full set of node rpms to another (arch) myplc

12 years agosupport for multiple slice reference images
Thierry Parmentelat [Fri, 21 Mar 2008 16:35:32 +0000]
support for multiple slice reference images

* vserver-reference rpm names have changed and become

* this contains the images located as

* a stamp gets created on the nodes as /etc/planetlab/defaultvref
  that contains the name for the default slicefamily to use

* nodemanager tries to be smart when chosing the right argument to pass to vuseradd
  for this purpose, the argument in 'vref' is taken as a dash-separated list of 'wishes'
  so e.g. is defaultvref is planetlab-f8-x86_64, then we should find for the image name:
vref=i386           -> vuseradd -t planetlab-f8-i386
vref=centos5        -> vuseradd -t planetlab-centos5-x86_64
vref=planetflow     -> vuseradd -t planetflow
vref=centos5-onelab -> vuseradd -t onelab-centos5-x86_64

for legacy reasons, if the stamp is not found, 'default' is taken instead

=== status
* this is only partly tested
* a given node can install several variants of vserver-*
  this would require a manual upload of the rpms into the right install-rpms
  and manual changes in yumgroups.
* next improvement would be to have the system (planetflow) slices have a smarter naming scheme as well
  this way a 'planetflow' vref would rather be rewritten as planetflow-f8-x86_64
  for the time being it is not supported to install several variants of vserver-systemslices
  on the node - although it should be harmless

12 years agofix for fc4: use explicit destination for yumgroups.xml or else 'install' program...
Marc Fiuczynski [Tue, 11 Mar 2008 16:36:51 +0000]
fix for fc4: use explicit destination for yumgroups.xml or else 'install' program fails

12 years agoclean up the verbosity and messages used while building the bootstrap packages
Marc Fiuczynski [Tue, 11 Mar 2008 16:34:48 +0000]
clean up the verbosity and messages used while building the bootstrap packages

12 years agoyet another fix
Thierry Parmentelat [Mon, 10 Mar 2008 13:15:50 +0000]
yet another fix

12 years agoSecond step towards multiarch myplc https://svn.planet-lab.org/ticket/214
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000]
Second step towards multiarch myplc https://svn.planet-lab.org/ticket/214
-- design
* new notion of a 'nodefamily' - that for now is <pldistro>-<arch>
* standard rpm repository is now named /var/www/html/install-rpms/<nodefamily>
  a legacy symlink install-rpms/planetlab is created my myplc packaging
* bootstrafs rpm name is now bootstrapfs-<nodefamily> so that several instances
 from various builds can be installed in the same myplc
* noderepo rpm (named noderepo-<nodefamily>) built as part of the planetlab distro
  this is for installing /var/www/html/intall-rpms/<nodefamily> from another build

-- other changes
* extensive cleanup of mkfedora:
** obsolete  options -p -g -x removed
** option -p removed, pkgsfile is a mandatory argument
** option -k removed, use kexclude: in the pkgs file instead
* also cleaned up pl_root_* functions - no wrapper to pl_root_mkfedora anymore

-- status
* not tested at all - likely to break
* next step planned for storing nodefamily and pass it to yum.php.conf
  (impacted would be bootmanager, nodemanager and nodeconfig)
* a final cleanup in mkfedora would be to define mirrors in a separate .pkgs-like file
* kupdate.sh, as well as possibly other convenience scripts, might be impacted

12 years agocross-module change for multi-arch myplc
Thierry Parmentelat [Sun, 9 Mar 2008 17:18:53 +0000]
cross-module change for multi-arch myplc

* name of the bootstrap tarball changed into
    with id=<planetlab-distro> for the main tarball
    and  id=<extension> for the extensions tarballs

* bootmanager to use node's nodegroups to figure the tarball to use

* the noderepo rpm allows to install /var/www/html/install-rpms/<repo>
* checkpoint version to verify that mono-arch mono-distro still works
* build phase tested
* but some parts are still missing for complete multi-arch behaviour:
* bootstrapfs's rpm name should sontain pldistro and arch (as it is a noarch rpm)
* yum.php.conf also needs tunings

12 years agolet plc.d/packages redo createrepo
Thierry Parmentelat [Tue, 4 Mar 2008 15:16:34 +0000]
let plc.d/packages redo createrepo

12 years agofix
Thierry Parmentelat [Tue, 4 Mar 2008 14:55:50 +0000]

12 years agopostinstall for signing pkgs - noderepo requires myplc - using Provides: on the myplc...
Thierry Parmentelat [Tue, 4 Mar 2008 14:51:54 +0000]
postinstall for signing pkgs - noderepo requires myplc - using Provides: on the myplc* side

12 years agomissing quotes
Thierry Parmentelat [Tue, 4 Mar 2008 14:03:27 +0000]
missing quotes

12 years agono need to check out build
Thierry Parmentelat [Tue, 4 Mar 2008 13:48:53 +0000]
no need to check out build

12 years agocross-module name change for more consistency
Thierry Parmentelat [Tue, 4 Mar 2008 13:24:45 +0000]
cross-module name change for more consistency

12 years agofirst draft of a noderepo package
Thierry Parmentelat [Tue, 4 Mar 2008 12:30:39 +0000]
first draft of a noderepo package
(probably doesn't work but commit is needed for testing)

purpose is to package all the node-oriented rpms on cross-platform myplc

12 years agofix: yum clean all installroot was pointing at the wrong directory
Marc Fiuczynski [Fri, 22 Feb 2008 20:52:00 +0000]
fix: yum clean all installroot was pointing at the wrong directory

12 years agominor clean up of code that invokes an optional .post processing script after package...
Marc Fiuczynski [Fri, 22 Feb 2008 20:49:53 +0000]
minor clean up of code that invokes an optional .post processing script after packages from the specified .pkgs file have been installed

12 years agoget rid of the nullglob
Marc Fiuczynski [Fri, 22 Feb 2008 20:35:28 +0000]
get rid of the nullglob

12 years agoI meant for that to be vdir at this point in the script
Stephen Soltesz [Wed, 20 Feb 2008 20:31:26 +0000]
I meant for that to be vdir at this point in the script

12 years agoModified to run config.planetlab/*.post scripts for the various bootstrap pkgs
Stephen Soltesz [Wed, 20 Feb 2008 20:29:51 +0000]
Modified to run config.planetlab/*.post scripts for the various bootstrap pkgs
files available in cofig.*/bootstrap*.post

12 years agoTagging module BootstrapFS -- from bootstrapfs-0.1-1 to bootstrapfs-0.1-2
Thierry Parmentelat [Fri, 18 Jan 2008 15:59:25 +0000]
Tagging module BootstrapFS  -- from bootstrapfs-0.1-1 to bootstrapfs-0.1-2
search more carefully for alternate pkgs files
handling of sysconfig/crontab and creation of site_admin reviewed
(this tag is set with module-tag.py)

12 years agoIm not sure what I'm doing but mef says this is how to make these changes.
Faiyaz Ahmed [Thu, 17 Jan 2008 21:45:17 +0000]
Im not sure what I'm doing but mef says this is how to make these changes.

12 years agofor got $
Marc Fiuczynski [Thu, 10 Jan 2008 19:21:10 +0000]
for got $

12 years agoWith more care check if there are any pkgs to build.
Marc Fiuczynski [Thu, 10 Jan 2008 19:17:45 +0000]
With more care check if there are any pkgs to build.

12 years agofor onelab
Thierry Parmentelat [Thu, 10 Jan 2008 16:12:35 +0000]
for onelab

12 years agoobscure naming confused me. comments inline.
Faiyaz Ahmed [Wed, 9 Jan 2008 17:31:56 +0000]
obscure naming confused me.  comments inline.

12 years agoready for tagging
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000]
ready for tagging
reviewed URLs and %{plrelease}

12 years agofix typo & repair broken build
Thierry Parmentelat [Sat, 5 Jan 2008 09:58:03 +0000]
fix typo & repair broken build

12 years agoproduction image was not installed
Thierry Parmentelat [Fri, 4 Jan 2008 23:02:43 +0000]
production image was not installed

12 years agosyntax error.
Faiyaz Ahmed [Fri, 4 Jan 2008 21:03:11 +0000]
syntax error.

12 years agocreate site_admin account and disable cron delay.
Faiyaz Ahmed [Thu, 3 Jan 2008 22:12:59 +0000]
create site_admin account and disable cron delay.

12 years agoDoesn't belong here.
Faiyaz Ahmed [Thu, 3 Jan 2008 21:08:12 +0000]
Doesn't belong here.

12 years agocommenting off site_admin as it breaks the build
Thierry Parmentelat [Thu, 13 Dec 2007 16:12:10 +0000]
commenting off site_admin as it breaks the build

12 years agoexpand tabs.
Faiyaz Ahmed [Wed, 12 Dec 2007 21:06:13 +0000]
expand tabs.

12 years agomoved site admin down so as not to get in the vref. Also disabled 000-delay.cron.
Faiyaz Ahmed [Wed, 12 Dec 2007 21:04:16 +0000]
moved site admin down so as not to get in the vref.  Also disabled 000-delay.cron.

12 years agoSSH doesn't accept passwords. This looks ok. No password for console access.
Faiyaz Ahmed [Wed, 12 Dec 2007 20:32:32 +0000]
SSH doesn't accept passwords.  This looks ok.  No password for console access.

12 years agoBad idea. Have to figure out how to make that a console only account.
Faiyaz Ahmed [Wed, 12 Dec 2007 20:22:25 +0000]
Bad idea.  Have to figure out how to make that a console only account.

12 years agoadd site_admin account
Faiyaz Ahmed [Wed, 12 Dec 2007 20:19:36 +0000]
add site_admin account

12 years agomissed changes needed after pldistro files have moved in build/config.<pldistro>
Thierry Parmentelat [Wed, 12 Dec 2007 12:00:47 +0000]
missed changes needed after pldistro files have moved in build/config.<pldistro>

13 years agoRemove unneeded services.
Daniel Hokka Zakrisson [Fri, 7 Dec 2007 16:50:45 +0000]
Remove unneeded services.

13 years agofix wrong argument passing to pl_root_mkfedora & more strict checking
Thierry Parmentelat [Fri, 7 Dec 2007 15:59:29 +0000]
fix wrong argument passing to pl_root_mkfedora & more strict checking

13 years agocleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000]
cleaning up the root creation functions and build.common - untested

13 years ago(*) groups distro-dependent files in build/config.<distro>
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000]
(*) groups distro-dependent files in build/config.<distro>
(*) renamed .lst files into .pkgs (lst suffix commonly used for other/tmp purposes)
(*) distro-dependent files are (mostly) optional, defaults to planetlab
(*) mkfedora accepts new -f argument : to pass a pkgs file rather than -p .. -g ..
(*) mkfedora supports junk: and precious: in pkgs file
    this is from the former bootcd/prep.sh - to reduce footprint

(*) this is untested
(*) mkfedora still supports -x (exclude) on the command line and in pkgs file
    however I suspect this feature is never used
(*) mkfedora is still a separate command - could/should be merged into buld.common
(*) myplc/build.functions could/should be merged into build.common as well

13 years agoprevious change trashed the -k option to mkfedora
Thierry Parmentelat [Wed, 21 Nov 2007 16:57:26 +0000]
previous change trashed the -k option to mkfedora

13 years agooops - uses new lst parsing in subdir too
Thierry Parmentelat [Wed, 21 Nov 2007 09:51:43 +0000]
oops - uses new lst parsing in subdir too

13 years agonaming .lst files after pldistro - including the <pldistro>-filesystems directory
Thierry Parmentelat [Wed, 21 Nov 2007 09:31:37 +0000]
naming .lst files after pldistro - including the <pldistro>-filesystems directory

13 years agoadds group PlanetLab in things to install
Thierry Parmentelat [Tue, 20 Nov 2007 08:33:09 +0000]
adds group PlanetLab in things to install
at least rpm is required at runtime
the initial purpose of this bootstrap tarball is to speed up installs

13 years agominor cleanup
Marc Fiuczynski [Mon, 12 Nov 2007 14:42:33 +0000]
minor cleanup

13 years agoeliminate file entry for BootstrapFS in %{_datadir}
Marc Fiuczynski [Thu, 8 Nov 2007 16:36:51 +0000]
eliminate file entry for BootstrapFS in %{_datadir}

13 years agomove timing comment to the tar operation
Marc Fiuczynski [Thu, 8 Nov 2007 16:34:51 +0000]
move timing comment to the tar operation

13 years agoIt appears that some rpm is mounting /proc, which is not what we want.
Marc Fiuczynski [Thu, 8 Nov 2007 16:26:08 +0000]
It appears that some rpm is mounting /proc, which is not what we want.

13 years agofix using the wrong variable names, update comments, and put in some debugging echo...
Marc Fiuczynski [Thu, 8 Nov 2007 16:02:23 +0000]
fix using the wrong variable names, update comments, and put in some debugging echo statements

13 years ago* call pl_mkfedora directly rather than pl_setup_chroot
Marc Fiuczynski [Thu, 8 Nov 2007 15:52:59 +0000]
* call pl_mkfedora directly rather than pl_setup_chroot

* use the build.common pl_get{Packages,Groups} functions

13 years agoinclude bash in the base installation of a vserver reference
Marc Fiuczynski [Thu, 8 Nov 2007 15:46:04 +0000]
include bash in the base installation of a vserver reference

13 years agoneed to pushd/popd to the BootstrapFS module
Marc Fiuczynski [Thu, 8 Nov 2007 15:35:30 +0000]
need to pushd/popd to the BootstrapFS module

13 years agofixed typo
Marc Fiuczynski [Thu, 8 Nov 2007 15:35:08 +0000]
fixed typo

13 years ago* use pl_getPackages and pl_getGroups functions from build.common
Marc Fiuczynski [Wed, 7 Nov 2007 21:01:27 +0000]
* use pl_getPackages and pl_getGroups functions from build.common

* "clean all" the yum cache of the base vserver reference image

13 years agoSupport to build bootstrap filesystems (i.e. PlanetLab-Bootstrap*.tar.bz2)
Marc Fiuczynski [Tue, 6 Nov 2007 20:49:33 +0000]
Support to build bootstrap filesystems (i.e. PlanetLab-Bootstrap*.tar.bz2)

13 years agorenamed bootstrap-filesystem -> bootstrap-filesystems
Marc Fiuczynski [Tue, 6 Nov 2007 20:42:36 +0000]
renamed bootstrap-filesystem -> bootstrap-filesystems

13 years agosubdir to keep the package definitons for PlanetLab-Bootstrap*.tar.bz2 files
Marc Fiuczynski [Tue, 6 Nov 2007 20:39:39 +0000]
subdir to keep the package definitons for PlanetLab-Bootstrap*.tar.bz2 files

13 years agoFollowing PlanetLab convention for managing our source code.
Marc Fiuczynski [Tue, 6 Nov 2007 20:37:22 +0000]
Following PlanetLab convention for managing our source code.