diff options
author | taeyoung <ty317.kim@samsung.com> | 2016-08-10 11:55:37 +0900 |
---|---|---|
committer | taeyoung <ty317.kim@samsung.com> | 2016-08-10 13:33:10 +0900 |
commit | 0afe81f970dbfb499d5cf16d934a42cdcab79356 (patch) | |
tree | 4d7279e7d7143ae8f45cf7b6789b95fe2dbd5a89 /packaging/system-plugin.spec | |
parent | 2ab6aec903f5c5789450b97fc1bf27d55e198c0f (diff) | |
download | system-plugin-0afe81f970dbfb499d5cf16d934a42cdcab79356.tar.gz system-plugin-0afe81f970dbfb499d5cf16d934a42cdcab79356.tar.bz2 system-plugin-0afe81f970dbfb499d5cf16d934a42cdcab79356.zip |
upgrade: enable sdbd when usb cable is connected during updating
- sdb enabling needs to be performed just after udc is enabled.
To detect udc state change, udev rule is used.
Change-Id: I2de18cc9f19f6a34fd7307d17a14c607fc111626
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Diffstat (limited to 'packaging/system-plugin.spec')
-rw-r--r-- | packaging/system-plugin.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index b791dba..031eb88 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -157,6 +157,7 @@ mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants install -m 644 units/offline-update.service %{buildroot}%{_unitdir} ln -s ../offline-update.service %{buildroot}%{_unitdir}/system-update.target.wants/offline-update.service ln -s %{_datadir}/upgrade %{buildroot}/system-update +install -m 644 rules/99-sdb-switch.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ %clean rm -rf %{buildroot} @@ -260,3 +261,4 @@ mv %{_sysconfdir}/fstab_initrd %{_sysconfdir}/fstab %{_unitdir}/offline-update.service %{_unitdir}/system-update.target.wants/offline-update.service /system-update +%{_prefix}/lib/udev/rules.d/99-sdb-switch.rules |