Il giorno sab, 30/10/2010 alle 13.56 +0200, Daniele Ricci ha scritto: > On Sat, Oct 30, 2010 at 12:00, <[email protected]> > wrote: > > The upgrade script is available in > > framework/subsystems/opimd/db/upgrade-2.1.sql but is not installed by > > setup.py and then not performed by frameworkd (check opkg files > > frameworkd for reference, or try to use the frameworkd's setup.py to > > give a try). > > > > Indeed the script is missing from packaging, I talked about that with > JaMa, is fixing that and it should be on feed soon.
Well, I think that the fix should be distributed in frameworkd install system itself, not just in packaging. The attached patch fixes the issue.
From 1ca3df7e531b346294427142cb47f289c609b2f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20(Trevi=C3=B1o)?= <[email protected]> Date: Sat, 30 Oct 2010 15:44:24 +0200 Subject: [PATCH] opimd: install db upgrade sql scripts --- setup.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/setup.py b/setup.py index b08e025..eaf70ab 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ setup( # ], #cmdclass = {'build_ext': build_ext}, packages = packages, + package_data={'framework/subsystems/opimd': ["db/*.sql"]}, scripts = [ "framework/frameworkd", "tools/cli-framework", "tools/dump-netlink", "tools/remove-tel", "tools/opimd_fix_db", "tools/opimd_convert_db" ], data_files = [ ("../../etc/dbus-1/system.d", ["etc/dbus-1/system.d/frameworkd.conf"] ), -- 1.7.1
_______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
