3a7e0b0014
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).
67 lines
2.9 KiB
C
67 lines
2.9 KiB
C
/*
|
|
* Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _SYSTEM_DIRECTORIES_H
|
|
#define _SYSTEM_DIRECTORIES_H
|
|
|
|
|
|
#define kGlobalBinDirectory "/bin"
|
|
#define kGlobalEtcDirectory "/etc"
|
|
#define kGlobalPackageLinksDirectory "/packages"
|
|
#define kGlobalSystemDirectory "/system"
|
|
#define kGlobalTempDirectory "/tmp"
|
|
#define kGlobalVarDirectory "/var"
|
|
|
|
#define kAppsDirectory "/boot/system/apps"
|
|
#define kPreferencesDirectory "/boot/system/preferences"
|
|
|
|
#define kAppLocalAddonsDirectory "%A/add-ons"
|
|
#define kAppLocalLibDirectory "%A/lib"
|
|
|
|
#define kVolumeLocalSystemKernelAddonsDirectory "system/add-ons/kernel"
|
|
#define kVolumeLocalCommonNonpackagedKernelAddonsDirectory \
|
|
"system/non-packaged/add-ons/kernel"
|
|
#define kVolumeLocalCommonKernelAddonsDirectory "system/add-ons/kernel"
|
|
#define kVolumeLocalUserNonpackagedKernelAddonsDirectory \
|
|
"home/config/non-packaged/add-ons/kernel"
|
|
#define kVolumeLocalUserKernelAddonsDirectory "home/config/add-ons/kernel"
|
|
|
|
#define kSystemDirectory "/boot/system"
|
|
#define kSystemAddonsDirectory "/boot/system/add-ons"
|
|
#define kSystemAppsDirectory "/boot/system/apps"
|
|
#define kSystemBinDirectory "/boot/system/bin"
|
|
#define kSystemDataDirectory "/boot/system/data"
|
|
#define kSystemDevelopDirectory "/boot/system/develop"
|
|
#define kSystemLibDirectory "/boot/system/lib"
|
|
#define kSystemPackagesDirectory "/boot/system/packages"
|
|
#define kSystemPackageLinksDirectory "/boot/system/package-links"
|
|
#define kSystemPreferencesDirectory "/boot/system/preferences"
|
|
#define kSystemServersDirectory "/boot/system/servers"
|
|
#define kSystemSettingsDirectory "/boot/system/settings"
|
|
|
|
#define kSystemEtcDirectory "/boot/system/settings/etc"
|
|
#define kSystemTempDirectory "/boot/system/cache/tmp"
|
|
#define kSystemVarDirectory "/boot/system/var"
|
|
#define kSystemLogDirectory "/boot/system/var/log"
|
|
#define kSystemNonpackagedDirectory "/boot/system/non-packaged"
|
|
#define kSystemNonpackagedAddonsDirectory "/boot/system/non-packaged/add-ons"
|
|
#define kSystemNonpackagedBinDirectory "/boot/system/non-packaged/bin"
|
|
#define kSystemNonpackagedLibDirectory "/boot/system/non-packaged/lib"
|
|
|
|
#define kUserDirectory "/boot/home"
|
|
#define kUserConfigDirectory "/boot/home/config"
|
|
#define kUserAddonsDirectory "/boot/home/config/add-ons"
|
|
#define kUserBinDirectory "/boot/home/config/bin"
|
|
#define kUserLibDirectory "/boot/home/config/lib"
|
|
#define kUserPackagesDirectory "/boot/home/config/packages"
|
|
#define kUserSettingsDirectory "/boot/home/config/settings"
|
|
#define kUserSettingsGlobalDirectory "/boot/home/config/settings/global"
|
|
#define kUserNonpackagedDirectory "/boot/home/config/non-packaged"
|
|
#define kUserNonpackagedAddonsDirectory "/boot/home/config/non-packaged/add-ons"
|
|
#define kUserNonpackagedBinDirectory "/boot/home/config/non-packaged/bin"
|
|
#define kUserNonpackagedLibDirectory "/boot/home/config/non-packaged/lib"
|
|
|
|
|
|
#endif // _SYSTEM_DIRECTORIES_H
|