From: Louis B. <lou...@hp...> - 2007-10-16 06:54:31
|
Hi, Le lundi 15 octobre 2007 =C3=A0 17:16 +0000, Cornec, Bruno (Linux Consultan= t) a =C3=A9crit : > Hello again, >=20 > Other remarks: >=20 > 1/ When attempting to remove my package (for tests) it says: >=20 > sudo-specific removal tasks > should un-augment /etc/sudoers, but not implemented yet ... > please look for ^apache /etc/sudoers entries to remove ... sorry >=20 > Why would prevent using the following: >=20 > perl -pi -e 's/^apache.*//' /etc/sudoers >=20 > I put it in the spec file, and it seems to work fine. > (except it doesn't remove the comments ;-) >=20 I would not put it in the .spec file for two reasons : 1) It goes against the best practices of loading the .spec file with scripts. 2) It puts distribution specifics in the .spec file which means that the .spec file needs to be very distribution specific. >=20 > 2/ I have a misunderstanding on naming convention: >=20 > I thought we agreed on packages named systemdesigner and > systemdesigner-docs (for the 2 first I'm dealing with now). >=20 > However in the code it seems to be linuxcoe-sysdes and > linuxcoe-sysdes-docs. > Did I forget something ? Coudl someone indicate which one is the right > one please. >=20 I think that you're working on outdated .spec files ! Here is the naming convention as I noted it from the minutes of the core meeting : oe-sd-content-dist-ver version/targetdist/release ___________________________________________________________________________= ________ linuxcoe-sd-base - 4.0.rhel4-1 (only installs on rhel) linuxcoe-sd-base - 4.0.sles10-1 (only installs on sles) linuxcoe-sd-data-rhel-all - 4.0-1 (add rhel functionality to a= ny dist) linuxcoe-sd-data-sles-10 - 4.0-1 (add sles functionality to a= ny dist) linuxcoe-sd-data-fc -4 - 4.0-1 (add sles functionality to a= ny dist) Any 'systemdesigner-{something}' .spec file should no longer be used and should actually be removed from the CVS tree, but I'm not sure if I can to that. > Also for additional Distro support what about > [systemdesigner|linuxcoe-sysdes]-[addon|plgin]-distroname >=20 > e.g.: linuxcoe-sysdes-plugin-fedora or linuxcoe-sysdes-addon-fedora. >=20 > WDYT ? >=20 Not sure if it is required, since distribution specific identification is already provided in the main package name. MTCW, ...Louis --=20 Louis Bouchard, Linux Support Engineer EMEA Linux Competency Center, Linux Ambassador, HP HP Services 1 Ave du Canada HP France Z.A. de Courtaboeuf lou...@hp... 91 947 Les Ulis http://www.hp.com/go/linux France http://www.hp.com/fr |