I have made the following changes intended for : CE:Adaptation:N9xx-common / ti-omap3-sgx
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.pub.meego.com//request/show/5489 Thank You, Marko Saukko [This message was auto-generated] --- Request # 5489: Messages from BOSS: WARNING check_package_is_complete_sources (ti-omap3-sgx) failed: No dsc file foundExtra source files: ti-omap3-sgx-bin-1.4.268-armv7hl.tar.bz2, ti-omap3-sgx-update.sh. Missing source files: ti-omap3-sgx-bin-1.4.268-x86_64.tar.bz2 State: review at 2012-08-10T10:37:22 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:sage:branches:CE:Adaptation:N9xx-common / ti-omap3-sgx -> CE:Adaptation:N9xx-common / ti-omap3-sgx changes files: -------------- --- ti-omap3-sgx.changes +++ ti-omap3-sgx.changes @@ -0,0 +1,5 @@ +* Fri Aug 10 2012 Marko Saukko <[email protected]> - 1.4.268 +- Also require coreutils and grep to make sure pvrsrvinit works properly. +- Add After=local-fs.target to make sure we have filesystem available when + loading the driver. + spec files: ----------- --- ti-omap3-sgx.spec +++ ti-omap3-sgx.spec @@ -1,12 +1,14 @@ # # Do NOT Edit the Auto-generated Part! -# Generated by: spectacle version 0.23 +# Generated by: spectacle version 0.25 # + +Name: ti-omap3-sgx + # >> macros %define debug_package %{nil} # << macros -Name: ti-omap3-sgx Summary: ImgTec SGX drivers for TI OMAP3 Version: 1.4.268 Release: 0 @@ -21,6 +23,8 @@ Source5: Meego_IMG-08172010-license_txt.doc Source6: boss.conf Source100: ti-omap3-sgx.yaml +Requires: coreutils +Requires: grep Requires: systemd Requires(preun): systemd Requires(post): /sbin/ldconfig @@ -28,11 +32,9 @@ Requires(postun): /sbin/ldconfig Requires(postun): systemd - %description OMAP3 drivers for SGX - %package devel Summary: PowerVR SGX support development files Group: Development/Libraries @@ -136,6 +138,7 @@ # >> build post # << build post + %install rm -rf %{buildroot} # >> install pre @@ -172,7 +175,9 @@ %preun +if [ "$1" -eq 0 ]; then systemctl stop %{name}.service +fi %post /sbin/ldconfig @@ -183,34 +188,18 @@ /sbin/ldconfig systemctl daemon-reload - - - - - %post libEGL -p /sbin/ldconfig %postun libEGL -p /sbin/ldconfig - - - - %post libGLESv1 -p /sbin/ldconfig %postun libGLESv1 -p /sbin/ldconfig - - - - %post libGLESv2 -p /sbin/ldconfig %postun libGLESv2 -p /sbin/ldconfig - - - %files %defattr(-,root,root,-) # >> files @@ -237,7 +226,6 @@ %{_libdir}/libOpenVG*.so # << files - %files devel %defattr(-,root,root,-) # >> files devel @@ -299,4 +287,3 @@ %doc Meego_IMG-08172010-license_txt.doc %{_includedir}/GLES2/*.h # << files libGLESv2-devel - other changes: -------------- ++++++ ti-omap3-sgx.service --- ti-omap3-sgx.service +++ ti-omap3-sgx.service @@ -1,5 +1,6 @@ [Unit] Description=TI OMAP3 SGX driver +After=local-fs.target Before=uxlaunch.service [Service] ++++++ ti-omap3-sgx.yaml --- ti-omap3-sgx.yaml +++ ti-omap3-sgx.yaml @@ -18,6 +18,10 @@ Configure: none Builder: none ExclusiveArch: "%{arm} armv8el" +Requires: + # mkdir, touch, grep required for pvrsrvinit + - coreutils + - grep SubPackages: - Name: devel Summary: PowerVR SGX support development files
