Change-Id: I70ee90a395e97ef982c3ee2a3e7951f3f8f1f68f
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d/
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d/
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc4.d/
-mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
+# Disable for IVI Wayland build.
+#mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+#mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc4.d/
+#mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
mkdir -p %{buildroot}/opt/%{_sysconfdir}
mkdir -p %{buildroot}%{_sysconfdir}/X11/
ln -sf %{_sysconfdir}/X11 %{buildroot}/opt/%{_sysconfdir}/X11
cp -af %{ARCH}-common/xserver %{buildroot}%{_sysconfdir}/rc.d/init.d/
cp -af %{ARCH}-common/xresources %{buildroot}%{_sysconfdir}/rc.d/init.d/
cp -af %{ARCH}-common/xinitrc %{buildroot}/%{_sysconfdir}/X11/
mkdir -p %{buildroot}/opt/%{_sysconfdir}
mkdir -p %{buildroot}%{_sysconfdir}/X11/
ln -sf %{_sysconfdir}/X11 %{buildroot}/opt/%{_sysconfdir}/X11
cp -af %{ARCH}-common/xserver %{buildroot}%{_sysconfdir}/rc.d/init.d/
cp -af %{ARCH}-common/xresources %{buildroot}%{_sysconfdir}/rc.d/init.d/
cp -af %{ARCH}-common/xinitrc %{buildroot}/%{_sysconfdir}/X11/
-ln -sf %{_sysconfdir}/rc.d/init.d/xserver %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S20xserver
-ln -sf %{_sysconfdir}/rc.d/init.d/xserver %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S20xserver
-ln -sf %{_sysconfdir}/rc.d/init.d/xresources %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S80xresources
-ln -sf %{_sysconfdir}/rc.d/init.d/xresources %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S80xresources
-cp -af %{ARCH}-common/Xorg.sh %{buildroot}%{_sysconfdir}/profile.d/
+# Disable for IVI Wayland build.
+#ln -sf %{_sysconfdir}/rc.d/init.d/xserver %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S20xserver
+#ln -sf %{_sysconfdir}/rc.d/init.d/xserver %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S20xserver
+#ln -sf %{_sysconfdir}/rc.d/init.d/xresources %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S80xresour#ces
+#ln -sf %{_sysconfdir}/rc.d/init.d/xresources %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S80xresources
+#cp -af %{ARCH}-common/Xorg.sh %{buildroot}%{_sysconfdir}/profile.d/
cp -af %{ARCH}-common/Xmodmap %{buildroot}/%{_sysconfdir}/X11/
mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
cp -af %{ARCH}-common/Xmodmap %{buildroot}/%{_sysconfdir}/X11/
mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
%files emulfb
%manifest xorg-x11-server-misc.manifest
%files emulfb
%manifest xorg-x11-server-misc.manifest
-%{_sysconfdir}/profile.d/Xorg.sh
%{_sysconfdir}/rc.d/init.d/*
%{_sysconfdir}/rc.d/init.d/*
-%{_sysconfdir}/rc.d/rc3.d/*
-%{_sysconfdir}/rc.d/rc4.d/*
+# Disable for IVI Wayland build.
+#%{_sysconfdir}/profile.d/Xorg.sh
+#%{_sysconfdir}/rc.d/rc3.d/*
+#%{_sysconfdir}/rc.d/rc4.d/*
%{_sysconfdir}/X11/xinitrc
%{_bindir}/setcpu
%{_bindir}/setpoll
%{_sysconfdir}/X11/xinitrc
%{_bindir}/setcpu
%{_bindir}/setpoll