From: "Franklin S. Cooper Jr" <[email protected]> * Switch from dynamic PM governor applications to static version. * By default the kernel list only governors that are builtin but your still able to request a governor module by asking for it. * Therefore, depending on the available governor list is miss leading since you may actually use governors that aren't on this list. * So instead of dynamically listing what governors you have, simply create Matrix static apps for governors you know you have.
Signed-off-by: Franklin S. Cooper Jr <[email protected]> --- .../recipes-core/matrix/matrix-gui-pm-demos_2.0.bb | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb index 8aefde6..f0fad03 100644 --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-pm-demos_2.0.bb @@ -3,25 +3,12 @@ HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps" require matrix-gui-apps-git.inc -PR = "${INC_PR}.3" +PR = "${INC_PR}.4" inherit allarch S = "${WORKDIR}/git/power_apps" - -do_install_prepend(){ - install -d ${D}${MATRIX_BASE_DIR}/html-apps/ - - cp -rf ${S}/set_governor/power-set-governor ${D}${MATRIX_BASE_DIR}/html-apps/ - -} - -do_install_append(){ - rm ${D}${MATRIX_APP_DIR}/set_governor/set-governor.php -} - - # Make sure power submenu and app images has been installed RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm" @@ -36,8 +23,8 @@ FILES_${PN}-dump-reg += "${MATRIX_APP_DIR}/pm_dump_reg/*" FILES_${PN}-snapshot1 += "${MATRIX_APP_DIR}/pm_snapshot_1/*" FILES_${PN}-snapshot2 += "${MATRIX_APP_DIR}/pm_snapshot_2/*" FILES_${PN}-suspend += "${MATRIX_APP_DIR}/pm_suspend/*" -FILES_${PN}-governor += "${MATRIX_APP_DIR}/set_governor/* \ - ${MATRIX_BASE_DIR}/html-apps/power-set-governor/*" +FILES_${PN}-governor += "${MATRIX_APP_DIR}/pm_userspace_governor/* \ + ${MATRIX_APP_DIR}/pm_ondemand_governor/*" # Split the ${bindir} files by PM app FILES_${PN}-count += "${bindir}/pm_count.sh" -- 1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
