Skip to content

Commit

Permalink
[packaging] Package the diag and acm android modes.
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
  • Loading branch information
Marko Saukko committed Jul 23, 2013
1 parent 284b338 commit 5e57346
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions rpm/usb-moded.spec
Expand Up @@ -108,6 +108,32 @@ system bus.
This package contains the adb config for use with the android
gadget driver.

%package diag-mode-android
Summary: USB mode controller - android diag mode config
Group: Config

%description diag-mode-android
Usb_moded is a daemon to control the USB states. For this
it loads unloads the relevant usb gadget modules, keeps track
of the filesystem(s) and notifies about changes on the DBUS
system bus.

This package contains the diag config for use with the android
gadget driver.

%package acm-mode-android
Summary: USB mode controller - android acm mode config
Group: Config

%description acm-mode-android
Usb_moded is a daemon to control the USB states. For this
it loads unloads the relevant usb gadget modules, keeps track
of the filesystem(s) and notifies about changes on the DBUS
system bus.

This package contains the acm config for use with the android
gadget driver.

%package developer-mode-android
Summary: USB mode controller - android developer mode config
Group: Config
Expand Down Expand Up @@ -245,6 +271,15 @@ systemctl daemon-reload
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/mass-storage.ini

%files diag-mode-android
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/diag_mode.ini
%{_sysconfdir}/usb-moded/run/adb-diag.ini

%files acm-mode-android
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/android_acm.ini

%files developer-mode-android
%defattr(-,root,root,-)
%{_sysconfdir}/usb-moded/dyn-modes/developer_mode-android.ini
Expand Down

0 comments on commit 5e57346

Please sign in to comment.