← Back to team overview

marionnet-dev team mailing list archive

[Branch ~marionnet-drivers/marionnet/trunk] Rev 390: Major change: first version supporting machines' (filesystems') configuration files. Currently th...

 

------------------------------------------------------------
revno: 390
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: marionnet
timestamp: Sun 2012-12-30 23:04:07 +0100
message:
  Major change: first version supporting machines' (filesystems') configuration files. Currently the purpose of these files is limited to define the relation between filesystems and compatible kernels  (through the variable SUPPORTED_KERNELS). Furthermore, we can associate some specific console-related parameters to the invocation of the uml kernel  (see the examples below). The relation between a filesystem and its compatible kernels (with the specific parameters) may be also defined by a regular expression. Here the content of the file `share/filesystems/machine-template.conf':
  ---
  # Marionnet filesystem's configuration file.
  # The full Bash syntax may be used here.
  #
  # Some assignments used in this template are kept 
  # from our old machine-pinocchio-14787
  
  # The output of the command `md5sum' on the filesystem:
  MD5SUM=1899ad5902a9491bb6f7e642e3352426
  
  # The output (first field) of the command `sum' on the filesystem:
  SUM=14787
  
  # The creator of the filesystem:
  AUTHOR="Jonathan Roudiere"
  
  # The creation date:
  DATE=2008
  
  # Supported kernel(s) with their console-related parameters (according to the
  # content of /etc/inittab). The variable SUPPORTED_KERNELS may contain a list
  # of statements of the form:
  #
  #   KERNEL [PARAMS]  [KERNEL [PARAMS]]..
  #
  # where
  #
  #   KERNEL ::= "[" EPITHET "]"
  #            | "/" REGEXP  "/"
  #
  #   PARAMS is a string
  #   EPITHET
  #     is the suffix (the substring after "linux-") of an available 
  #     kernel in a "kernels/" directory
  #   REGEXP is a regular expression (possibly denoting some epithets)
  #
  # Several statements KERNEL [PARAMS] may be specified. Note that if you are
  # using the += assignment operator to catenate statements, please dont forget
  # the blank character to separe words (example: SUPPORTED_KERNELS+=" ...").
  # 
  # Examples:
  # SUPPORTED_KERNELS='[2.6.18-ghost] con=none ssl=xterm console=ttyS0'
  # SUPPORTED_KERNELS+=' /3[.]0[.].*/ con=none con0=xterm ssl=xterm'
  #
  SUPPORTED_KERNELS='[2.6.18-ghost] con=none ssl=xterm console=ttyS0'
  
  # X11 compliance. The possible (multiple) choices are "xhosted" and "xnested".
  # The value "none" is equivalent to leave this variable empty, which means
  # that the filesystem doesn't have the support to display X programs.
  #
  # Examples:
  # X11_SUPPORT+="xhosted"
  # X11_SUPPORT+="xnested"
  # X11_SUPPORT="none"
  #
  X11_SUPPORT="none"
added:
  share/filesystems/machine-pinocchio-14787.conf
  share/filesystems/machine-template.conf
modified:
  disk.ml
  disk.mli
  gui/gui_bricks.ml
  gui/gui_bricks.mli
  machine.ml
  motherboard_builder.ml
  router.ml
  simulation_level.ml
  simulation_level.mli
  switch.ml
  user_level.ml


--
lp:marionnet
https://code.launchpad.net/~marionnet-drivers/marionnet/trunk

Your team marionnet-dev is subscribed to branch lp:marionnet.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/marionnet/trunk/+edit-subscription