From: Anas Nashif Date: Tue, 17 Jul 2012 12:33:07 +0000 (-0400) Subject: SYSTEMD: Use sysconfig file for different device options X-Git-Tag: 2.0_alpha~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90cf5c2dc52e565cea944820bbcb3783ca22f6e9;p=framework%2Fconnectivity%2Fwpasupplicant.git SYSTEMD: Use sysconfig file for different device options - Fixes bug TDIS-94 - in the ks file, we need to set the right options for the device: and in the %post of the ks file, write the correct options for the specific device cat > /etc/sysconfig/wpa_supplicant < %{buildroot}%{_d # install systemd service file mkdir -p %{buildroot}%{_libdir}/systemd/system -install -m 0644 systemd/wpa_supplicant.service %{buildroot}%{_libdir}/systemd/system/ +install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/ mkdir -p %{buildroot}%{_libdir}/systemd/system/network.target.wants ln -s ../wpa_supplicant.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/wpa_supplicant.service @@ -70,7 +71,7 @@ rm -rf %{buildroot}%{_sbindir}/wpa_passphrase %files -%manifest wpasupplicant.manifest +%manifest wpa_supplicant.manifest %{_sbindir}/wpa_cli %{_sbindir}/wpa_supplicant %attr(644,-,-) %{_sysconfdir}/dbus-1/system.d/*.conf