From: Jaehoon Chung Date: Tue, 16 Apr 2019 11:07:33 +0000 (+0900) Subject: packaging: include dnsmasq config file X-Git-Tag: accepted/tizen/unified/20190425.111810~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af5cfb03e4896792de8cf060d5d24349d3f9cd63;p=platform%2Fcore%2Fsystem%2Finitrd-flash.git packaging: include dnsmasq config file To use dnsmasq, include dnsmasq.conf file. - run background with pid-file - user/group don't assigne to nothing for ramdisk-recovery Change-Id: I71e517e1f4cb74b5493a50668823f3d43fa3c982 Signed-off-by: Jaehoon Chung --- diff --git a/data/dnsmasq.conf b/data/dnsmasq.conf new file mode 100755 index 0000000..a8d5a27 --- /dev/null +++ b/data/dnsmasq.conf @@ -0,0 +1,7 @@ +dhcp-range=192.168.43.3,192.168.43.254,255.255.255.0 +enable-dbus +group="" +user="" +dhcp-option=tag:blue,option:router,192.168.129.3 +dhcp-option=6,0.0.0.0 +pid-file=/lib/firmware/brcm/dnsmasq.pid diff --git a/packaging/initrd-flash.spec b/packaging/initrd-flash.spec index b791e48..9bfc980 100644 --- a/packaging/initrd-flash.spec +++ b/packaging/initrd-flash.spec @@ -56,6 +56,7 @@ mkdir -p %{buildroot}%{_libdir}/firmware/brcm cp ./data/brcmfmac* %{buildroot}%{_libdir}/firmware/brcm cp ./data/LICENCE.broadcom_bcm43xx %{buildroot}%{_libdir}/firmware/brcm cp ./data/hostapd.conf %{buildroot}%{_libdir}/firmware/brcm +cp ./data/dnsmasq.conf %{buildroot}%{_libdir}/firmware/brcm %post @@ -73,6 +74,7 @@ mv %{_datadir}/partition_rpi3.info %{_datadir}/partition.info %attr(700,root,root) %{_libdir}/firmware/brcm/brcmfmac* %attr(700,root,root) %{_libdir}/firmware/brcm/LICENCE.broadcom_bcm43xx %attr(700,root,root) %{_libdir}/firmware/brcm/hostapd.conf +%attr(700,root,root) %{_libdir}/firmware/brcm/dnsmasq.conf %files -n fm-data-rpi3 %attr(700,root,root) %{_datadir}/partition_rpi3.info diff --git a/scripts/41-flash.list b/scripts/41-flash.list index 5aa0eda..3f165d1 100755 --- a/scripts/41-flash.list +++ b/scripts/41-flash.list @@ -35,4 +35,5 @@ VERBATIMS=" /usr/lib/firmware/brcm/brcmfmac43455-sdio.txt /usr/lib/firmware/brcm/LICENCE.broadcom_bcm43xx /usr/lib/firmware/brcm/hostapd.conf +/usr/lib/firmware/brcm/dnsmasq.conf "