From 076cc460a02d670e8e0a07cce322036ad1804c4d Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Thu, 26 Mar 2009 02:17:05 +0000 Subject: [PATCH] Have BFS create the BEOS:APP_SIG index by default also. Otherwise launching applications by signature off any partition other than one created via the build system will fail by default (since that one currently adds the index manually in build_haiku_image). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29724 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Volume.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/add-ons/kernel/file_systems/bfs/Volume.cpp b/src/add-ons/kernel/file_systems/bfs/Volume.cpp index 6307b8e12d..02839b5a9a 100644 --- a/src/add-ons/kernel/file_systems/bfs/Volume.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Volume.cpp @@ -699,6 +699,10 @@ Volume::Initialize(int fd, const char* name, uint32 blockSize, if (status < B_OK) return status; + status = index.Create(transaction, "BEOS:APP_SIG", B_STRING_TYPE); + if (status < B_OK) + return status; + status = index.Create(transaction, "last_modified", B_INT64_TYPE); if (status < B_OK) return status;