From: [email protected] [mailto:[email protected]] On Behalf Of Jean-Benoît Martin Sent: Thursday, January 09, 2014 11:40 AM To: [email protected] Subject: [Dev] Multi-user: harcoded path /opt/usr/dbspace in specfile and CMakeLists
Hello all, I'm working with Dominig on multi-user development. For multi-user architecture, I would like to remove the harcoded path /opt/usr/dbspace from rpm specfile and CMakeLists. For example the specfile from msg-service package. https://review.tizen.org/git/?p=platform/core/messaging/msg-service.git;a=blob;f=packaging/msg-service.spec;h=c7f3108b0ee63b9956abef6f24659c3741d37d44;hb=HEAD The directory is used to hold the user databases. In case of multi-user, one database should be created for each user. Could the creation of the database be done at the first call which will be done in user context ? Would you have a better implementation proposition ? If you're going to have multiple user accounts you are going to need a mechanism for creating new user accounts, possibly a derivative of either adduser or useradd. This mechanism (useradduser? :)) could create these databases and files just as it would have to create other user profile information. I have listed some packages where the path is hardcoded in the specfile or CMakeLists.txt files: apps/home/libslp-memo platform/core/api/favorites platform/core/base/default-files-tizen platform/core/connectivity/bluetooth-share platform/core/messaging/email-service platform/core/messaging/msg-service platform/core/multimedia/media-data-sdk platform/core/pim/calendar-service platform/core/pim/contacts-service platform/core/system/oma-dm-agent platform/framework/web/download-provider platform/framework/web/web-provider platform/upstream/filesystem Thanks in advance Jean-Benoit
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
