[haiku-commits] Re: r40836 - haiku/trunk/src/apps/installer

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 6 Mar 2011 12:06:32 +0000

On Sun, Mar 6, 2011 at 10:25,  <superstippi@xxxxxx> wrote:
> Author: stippi
> Date: 2011-03-06 11:25:25 +0100 (Sun, 06 Mar 2011)
> New Revision: 40836
> Changeset: http://dev.haiku-os.org/changeset/40836
> Ticket: http://dev.haiku-os.org/ticket/7320
>
> Modified:
>   haiku/trunk/src/apps/installer/WorkerThread.cpp
>   haiku/trunk/src/apps/installer/WorkerThread.h
> Log:
>  * Added creation of default indices, as are currently present on regular 
> Haiku
>   volumes. I've decided not to put this into InstallerInitScript, as I reckon
>   the script is to customize the installation process more than to be a 
> critical
>   part of the process.
>  * Make mirroring the existing indices onto the target volume ignore more 
> errors.
> This should be the final fix for ticket #7320.

...

> +       const IndexInfo defaultIndices[] = {
> +               { "BEOS:APP_SIG", B_STRING_TYPE },
> +               { "BEOS:LOCALE_LANGUAGE", B_STRING_TYPE },
> +               { "BEOS:LOCALE_SIGNATURE", B_STRING_TYPE },
> +               { "_trk/qrylastchange", B_INT32_TYPE },
> +               { "_trk/recentQuery", B_INT32_TYPE },
> +               { "be:deskbar_item_status", B_STRING_TYPE }
> +       };

Could this become part of the BFS initialization in DriveSetup / mkfs -t bfs?
(and of course, would it be worthwhile?)

--mmadia

Other related posts: