Skip to content
Snippets Groups Projects
  1. Nov 01, 2013
  2. May 28, 2013
    • Nadav Har'El's avatar
      bootfs: fix bug with wildcard (**) entries · 0b9ec899
      Nadav Har'El authored
      mkbootfs.py supports wildcard entries, looking like:
      /jetty/**: ../../../tmp/jetty/**
      
      The name of the generated files in the bootfs looked like this:
                      name + relpath + '/' + filename
      
      where "name" is "/jetty/", relpath is the directory under it
      (so for /jetty/foo/bar/yo, relpath is "foo/bar") and filename
      is the file name (in this example "yo"). The problem is that
      when relpath=="", i.e., files directly under /jetty, an extra
      slash was generated - e.g., /jetty//something. When this extra
      slash was written to the filesystem it confused readdir(),
      causing it to return twice for each file (once with an empty
      filename, and a second time with the real filename).
      
      This patch avoid the extra slash when relpath is empty.
      0b9ec899
  3. May 06, 2013
    • Avi Kivity's avatar
      mkbootfs: hack around absolute symbolic links in source · a38cf361
      Avi Kivity authored
      Absolute symbolic links refer to the host directory structure, while we
      want them to refer to the external/ tree.  Since we have several trees,
      we can't just rebase them, so walk down the tree trying to find a match.
      
      Fragile and ugly, but seems to work.
      a38cf361
  4. Apr 29, 2013
  5. Jan 21, 2013
  6. Jan 09, 2013
  7. Dec 23, 2012
Loading