INCORPORATING THE CORRECTIONS, THE FILES SHOULD LOOK LIKE THIS:
=================================================
add the following files to your tree (contents are posted above):
etc/openerp-server.conf
etc/init.d/openerp-server
etc/logrotate.d/openerp-server
add the following directories to your tree:
var/log/openerp
var/spool/openerp
=================================================
add the following lines to MANIFEST.in:
recursive-include etc *
recursive-include var *
=================================================
add the following line after the existing 'sed' line in rpminstall_sh.txt:
sed "s!^\(/etc/.*\)!%config(noreplace) \1!" -i INSTALLED_FILES
=================================================
add the following lines to setup.py in data_files() at about line 103: config_directory = opj('/etc') files.append((config_directory, [f for f in glob.glob('etc/*') if os.path.isfile(f)]))
config_directory = opj('/etc', 'logrotate.d') files.append((config_directory, [f for f in glob.glob('etc/logrotate.d/*') if os.path.isfile(f)]))
config_directory = opj('/etc', 'init.d') files.append((config_directory, [f for f in glob.glob('etc/init.d/*') if os.path.isfile(f)]))
work_directory = opj('/var/log/openerp') files.append((work_directory, [f for f in glob.glob('var/log/openerp/*') if os.path.isfile(f)]))
work_directory = opj('/var/spool/openerp') files.append((work_directory, [f for f in glob.glob('var/spool/openerp/*') if os.path.isfile(f)]))
=================================================
end
INCORPORATING THE CORRECTIONS, THE FILES SHOULD LOOK LIKE THIS:
======= ======= ======= ======= ======= ======= ======= server. conf d/openerp- server d/openerp- server
add the following files to your tree (contents are posted above):
etc/openerp-
etc/init.
etc/logrotate.
add the following directories to your tree:
var/log/openerp
var/spool/openerp
======= ======= ======= ======= ======= ======= =======
add the following lines to MANIFEST.in:
recursive-include etc *
recursive-include var *
======= ======= ======= ======= ======= ======= ======= etc/.*\ )!%config( noreplace) \1!" -i INSTALLED_FILES
add the following line after the existing 'sed' line in rpminstall_sh.txt:
sed "s!^\(/
======= ======= ======= ======= ======= ======= =======
config_ directory = opj('/etc')
files. append( (config_ directory, [f for f in glob.glob('etc/*') if os.path. isfile( f)]))
add the following lines to setup.py in data_files() at about line 103:
======= ======= ======= ======= ======= ======= =======
end