Anonymous | Login | 2024-03-28 19:00 CET |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0003636 | [cswclassutils] regular use | feature | have not tried | 2009-04-13 20:01 | 2009-06-04 18:51 | ||
Reporter | yann | View Status | public | ||||
Assigned To | bonivart | ||||||
Priority | normal | Resolution | fixed | ||||
Status | closed | ||||||
Summary | 0003636: Allow package to provide their own manifest file | ||||||
Description |
Some package already provide their own manifest file to be used under Solaris 10. It would be nice to have a way for a package using cswinitsmf to disable automatic manifest generation so its own manifest file is used. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Notes | |
(0005970) yann (developer) 2009-04-15 21:12 |
It could be configured by using the existing tweaks system. For exemple, if you provide your own manifest file, you could add: #SMF_SCRIPT no # change this value to no if this init script should not be used to autogenerate the smf manifest file. |
(0005992) bonivart (developer) 2009-04-21 17:20 |
Ok, but how would it know which file to import as manifest? SMF_SCRIPT /path/to/manifest ? |
(0005996) yann (developer) 2009-04-21 21:08 |
The manifest file would belong to the cswinitsmf class, so it will be passed to your script which could register it if smf is available and enabled. You would have to add a test to determine if the file is a manifest or an init.d script (or something else). But using "SMF_SCRIPT /path/to/manifest" will also work. |
(0006124) yann (developer) 2009-05-17 16:56 |
Hi Peter, Any news of this feature, do you plan adding it ? I am waiting for it to be able to switch some of my packages to cswclassutils. Thanks in avance, Yann |
(0006215) bonivart (developer) 2009-05-28 15:16 |
I have added a MANIFEST tweak to the init script. If set it will use that manifest instead of autogenerating one. http://mirror.opencsw.org/testing/cswclassutils-1.13,REV=2009.05.28-SunOS5.8-all-CSW.pkg.gz [^] |
(0006265) bonivart (developer) 2009-06-04 10:55 |
I have tested it with smf_test 2.8 and it works. |
(0006269) bonivart (developer) 2009-06-04 18:51 |
Fix in 1.16 released today. |
Copyright © 2000 - 2008 Mantis Group |