Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Package legacy configuration items separately
Move legacy configuration entries to separate file: legacy.ini.

Make them available via separate mce-config-legacy rpm package.

Also add one line description at the top of the each ini-file.

[mce] Package legacy configuration items separately. Fixes NEMO#616
  • Loading branch information
spiiroin committed Jun 23, 2014
1 parent dd8cf0a commit 68e2ce2
Show file tree
Hide file tree
Showing 9 changed files with 423 additions and 404 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -446,6 +446,7 @@ install:: build
$(INSTALL_DTA) inifiles/hybris-led.ini $(DESTDIR)$(CONFDIR)/20hybris-led.ini
$(INSTALL_DTA) inifiles/debug-led.ini $(DESTDIR)$(CONFDIR)/20debug-led.ini
$(INSTALL_DTA) inifiles/als-defaults.ini $(DESTDIR)$(CONFDIR)/20als-defaults.ini
$(INSTALL_DTA) inifiles/legacy.ini $(DESTDIR)$(CONFDIR)/11legacy.ini

ifeq ($(ENABLE_SYSTEMD_SUPPORT),y)
install:: install_systemd_support
Expand Down
3 changes: 2 additions & 1 deletion inifiles/als-defaults.ini
@@ -1,3 +1,5 @@
# Configuration file for MCE - Automatic display/led/keypad brightness control
#
# Configuration for tuning lisplay backlight, keypad backlight and indication led
# brightness base on data from Ambient Light Sensor
#
Expand Down Expand Up @@ -81,7 +83,6 @@ LevelsProfile0=6;8;9;11;12;13;15;16;18;19;20;28;36;44;52;60;68;76;84;92;100
LimitsProfile0=1;2;3;6;11;20;36;66;121;220;489;599;732;896;1095;1340;1639;2005;2453;3000
LevelsProfile0=30;33;36;39;42;45;48;51;54;57;64;68;72;76;80;84;88;92;96;100


[BrightnessLPM]

LimitsProfile0=1;4;27;99;700;778;864;960;1066;1184;1315;1460;1622;1801;2000
Expand Down
3 changes: 2 additions & 1 deletion inifiles/custom-led.ini
@@ -1,3 +1,5 @@
# Configuration file for MCE - Example led patterns for hybris backend

[LEDPatternHybris]
# Patterns used for the hybris hardware;
# Please prefix pattern names with Pattern to avoid name space clashes
Expand Down Expand Up @@ -27,4 +29,3 @@ PatternWhite=37;3;0;500;4000;ffffff
#LEDPatternsRequired=PatternBlack
# A list of pattern names that should not be used even if configured
#LEDPatternsDisabled=PatternWhite

2 changes: 2 additions & 0 deletions inifiles/debug-led.ini
@@ -1,3 +1,5 @@
# Configuration file for MCE - Debug/panic led patterns for hybris backend

[LEDPatternHybris]

# Patterns used for the hybris hardware;
Expand Down
2 changes: 2 additions & 0 deletions inifiles/hybris-led.ini
@@ -1,3 +1,5 @@
# Configuration file for MCE - Normal led patterns for hybris backend

[LEDPatternHybris]

# Patterns used for the hybris hardware;
Expand Down
398 changes: 398 additions & 0 deletions inifiles/legacy.ini

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions inifiles/mce-radio-states.ini
@@ -1,3 +1,5 @@
# Configuration file for MCE - Radio state defaults to use on the 1st boot

[RadioStates]
MasterRadioState=true
CellularRadioState=true
Expand Down

0 comments on commit 68e2ce2

Please sign in to comment.