History log of /haiku/headers/private/system/directories.h
Revision Date Author Comments
# 3a7e0b00 19-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

packagefs: Support blacklisting entries in packages

In each installation location, it is now possible to create a settings
file "packages" that allows to blacklist entries contained in packages.
The format is:

Package <package name> {
EntryBlacklist {
<entry path>
...
}
}
...

<package name> is the base name (no version) of the respective package
(e.g. "haiku"), <entry path> is an installation location relative path
(e.g. "add-ons/Translators/FooTranslator").

Blacklisted entries will be ignored by packagefs, i.e. they won't appear
in the file system. This addresses the issue that it may be necessary to
remove a problematic file (e.g. driver, add-on, or library), which would
otherwise require editing the containing package file.

The settings file is not not "live". Changes take effect only after
reboot (respectively when remounting the concerned packagefs volume).


# 94fb954c 17-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

find_path*(): Support user specific home directory

No longer hard-code the home directory path. Instead ask
find_directory(), so we get the correct one for the current user.


# 38fa81bf 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove B_COMMON*_DIRECTORY and kCommon*Directory constants

* This does intentionally break source compatibility, so that a review
of concerned code is forced.
* Binary compatibility should be maintained in most cases. The values
of the constants for the writable directories are now used for the
writable system directories. The values for the non-writable
directories are mapped to "/boot/system/data/empty/...", an empty or
non-existent directory, so that they will simply be skipped in search
paths. Only code that explicitly expects to find something in a
B_COMMON_* directory, will fail.


# f73f5d4c 29-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Initial changes to remove /boot/common

* find_directory() and hard-coded paths use /boot/system instead of
/boot/common.
* The build system creates the writable directories in /boot/system
instead of /boot/common.
* The build system no longer installs any packages in /boot/common.


# a532c573 04-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/{apps,preferences} symlinks

And adjust all remained occurrence in the tree accordingly (->
/boot/common/{apps,preferences}).


# 44dffa86 02-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Fix the etc path that was accidentally changed.


# 609fc55f 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Rename the package links directory

Rename the package links directory from /package-links to just
/packages.


# bde19722 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move <directories.h> to headers/private/system


# 407c09e2 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Create /packages symlink on boot

Rename the package links directory from /package-links to just /packages
and create it when booting.


# 70de928e 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move <directories.h> to headers/private/system


# 3a7e0b00147f7a33bc52cb75a56bde8d9652d92a 19-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

packagefs: Support blacklisting entries in packages

In each installation location, it is now possible to create a settings
file "packages" that allows to blacklist entries contained in packages.
The format is:

Package <package name> {
EntryBlacklist {
<entry path>
...
}
}
...

<package name> is the base name (no version) of the respective package
(e.g. "haiku"), <entry path> is an installation location relative path
(e.g. "add-ons/Translators/FooTranslator").

Blacklisted entries will be ignored by packagefs, i.e. they won't appear
in the file system. This addresses the issue that it may be necessary to
remove a problematic file (e.g. driver, add-on, or library), which would
otherwise require editing the containing package file.

The settings file is not not "live". Changes take effect only after
reboot (respectively when remounting the concerned packagefs volume).


# 94fb954c53b88e1c2c39648b35e1db08679cca0b 17-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

find_path*(): Support user specific home directory

No longer hard-code the home directory path. Instead ask
find_directory(), so we get the correct one for the current user.


# 38fa81bf8f0ccc37a615a9f5bd333f9b781322b3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove B_COMMON*_DIRECTORY and kCommon*Directory constants

* This does intentionally break source compatibility, so that a review
of concerned code is forced.
* Binary compatibility should be maintained in most cases. The values
of the constants for the writable directories are now used for the
writable system directories. The values for the non-writable
directories are mapped to "/boot/system/data/empty/...", an empty or
non-existent directory, so that they will simply be skipped in search
paths. Only code that explicitly expects to find something in a
B_COMMON_* directory, will fail.


# f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6 29-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Initial changes to remove /boot/common

* find_directory() and hard-coded paths use /boot/system instead of
/boot/common.
* The build system creates the writable directories in /boot/system
instead of /boot/common.
* The build system no longer installs any packages in /boot/common.


# a532c573089b05f272107ed5620734671420891e 04-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/{apps,preferences} symlinks

And adjust all remained occurrence in the tree accordingly (->
/boot/common/{apps,preferences}).


# 44dffa86c0d19c178f1c5f7b6b1d0d90fb160701 02-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Fix the etc path that was accidentally changed.


# 609fc55f96d2a3b30d8a2477128ba20204cb20d6 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Rename the package links directory

Rename the package links directory from /package-links to just
/packages.


# bde197222943d6f975a0d82dbfe263ffcc1834ba 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move <directories.h> to headers/private/system


# 407c09e2d9f356e5a69b40091c0c64c088ec7606 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Create /packages symlink on boot

Rename the package links directory from /package-links to just /packages
and create it when booting.


# 70de928ed8a7bda307dd4aaf814991ce311f30ec 10-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Move <directories.h> to headers/private/system