it is just temporary code for systemd.
it should be correctly changed later because it is target specific code
--- /dev/null
+CHG_ENV_SUPPORT_FB=0
+CHG_ENV_SUPPORT_DRM=1
+
+CHG_ENV_DEV_FB=
+CHG_ENV_DEV_DRM_NAME=exynos
+
+CHG_ENV_LCD_BRIGHT=/sys/class/backlight/s6e8aa0-bl/brightness
+CHG_ENV_LCD_BR_DIMM_VAL=0
+CHG_ENV_LCD_BR_NORM_VAL=10
+
+CHG_ENV_LCD_BL_ONOFF=/sys/class/graphics/fb3/blank
+CHG_ENV_LCD_BL_ON_VAL=0
+CHG_ENV_LCD_BL_OFF_VAL=4
+CHG_ENV_LCD_BL_NORM_VAL=
+
+CHG_ENV_LCD_XRES=720
+CHG_ENV_LCD_YRES=1280
+
+CHG_ENV_KEY_EVENT=/dev/event1
Source0: %{name}-%{version}.tar.gz
Source100: charging-mode.target
Source101: charging-mode.service
+Source102: charging-animation.conf
BuildRequires: cmake
cd cmake_tmp
%make_install
+# temoprary HW configuration. it should be seperated.
+mkdir -p %{buildroot}/etc/sysconfig
+install -m 644 %{SOURCE102} %{buildroot}/etc/sysconfig/charging-animation
+
+
# systemd related
mkdir -p %{buildroot}%{_libdir}/systemd/system/
install -m 0644 %{SOURCE100} %{buildroot}%{_libdir}/systemd/system/