From 5e573462d139941a7a0770c3909c8614037624db Mon Sep 17 00:00:00 2001 From: Marko Saukko Date: Tue, 23 Jul 2013 20:58:04 +0000 Subject: [PATCH] [packaging] Package the diag and acm android modes. Signed-off-by: Marko Saukko --- rpm/usb-moded.spec | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/rpm/usb-moded.spec b/rpm/usb-moded.spec index 5cf5193..a55f888 100644 --- a/rpm/usb-moded.spec +++ b/rpm/usb-moded.spec @@ -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 @@ -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