Work in progress:

* The FS parses package files from "/boot/common/packages" and builds an
  node tree representation of the contained entries. Merging directories should
  work. Lots of other stuff is missing yet, though.
* Implemented the hooks for directory entry lookup and iteration. So it's
  possible to see the contents of the FS at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34088 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-11-17 11:46:19 +00:00
parent 82df777b3d
commit cc32c48494
25 changed files with 1929 additions and 43 deletions
@@ -1,21 +1,56 @@
SubDir HAIKU_TOP src add-ons kernel file_systems packagefs ;
UsePrivateHeaders shared ;
UseLibraryHeaders zlib ;
UsePrivateKernelHeaders ;
UsePrivateHeaders haiku_package shared ;
DEFINES += B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT ;
# TODO: Remove when it is complete!
HAIKU_PACKAGE_FS_SOURCES =
DebugSupport.cpp
Directory.cpp
File.cpp
kernel_interface.cpp
Node.cpp
Package.cpp
PackageDirectory.cpp
PackageDomain.cpp
PackageFile.cpp
PackageNode.cpp
PackageSymlink.cpp
Symlink.cpp
Volume.cpp
;
HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES =
DataOutput.cpp
DataReader.cpp
ErrorOutput.cpp
PackageEntryAttribute.cpp
PackageData.cpp
PackageDataReader.cpp
PackageEntry.cpp
PackageReader.cpp
# compression
ZlibCompressionBase.cpp
ZlibDecompressor.cpp
;
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin package ] ;
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin package compression ] ;
KernelAddon packagefs
: $(HAIKU_PACKAGE_FS_SOURCES)
: $(HAIKU_STATIC_LIBSUPC++)
:
$(HAIKU_PACKAGE_FS_SOURCES)
$(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES)
: $(HAIKU_STATIC_LIBSUPC++) libz.a
;