From f961f12771481fe7200bccc2364e5dd1be1c6915 Mon Sep 17 00:00:00 2001 From: Aaron Conole Date: Tue, 29 Sep 2015 15:52:38 -0400 Subject: [PATCH] dpdk.spec: Include the scripts directory. Some makefiles refer to the scripts in the directory, and eg pktgen make fails without the script foo. To allow these builds to succeed, include the scripts directory Signed-off-by: Aaron Conole Acked-by: Neil Horman Acked-by: Panu Matilainen --- dpdk.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dpdk.spec b/dpdk.spec index fc23e14..38d5279 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -128,6 +128,8 @@ cp -a %{target}/.config %{buildroot}%{sdkdir}/%{target} ln -s ../../../%{_lib}/%{name}-%{version} %{buildroot}%{sdkdir}/%{target}/lib ln -s ../../../include/%{name}-%{version} %{buildroot}%{sdkdir}/%{target}/include cp -a mk/ %{buildroot}%{sdkdir} +mkdir -p %{buildroot}%{sdkdir}/scripts +cp -a scripts/*.sh %{buildroot}%{sdkdir}/scripts %if %{with tools} cp -p tools/*.py %{buildroot}%{_bindir}