Seite 1 von 1

opsi-makeproductfile

Verfasst: 27 Jul 2010, 01:43
von mocanjl
Just trying to get my own opsi made and every time i try to use the opsi-makeproductfile command I get this.

Any idea?
Thanks


error: Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: '/etc/opsi/modules'
critical: Traceback:
critical: line 238 in '<module>' in file '/usr/bin/opsi-makeproductfile'
critical: line 138 in 'main' in file '/usr/bin/opsi-makeproductfile'
critical: line 752 in '__init__' in file '/var/lib/python-support/python2.5/OPSI/Product.py'
critical: ==>>> [Errno 2] No such file or directory: '/home/opsiproducts/OPSI/control'
ERROR: [Errno 2] No such file or directory: '/home/opsiproducts/OPSI/control'
bpt01opsi:/home/opsiproducts# opsi-makeproductfile -s

Re: opsi-makeproductfile

Verfasst: 27 Jul 2010, 20:16
von j.schneider
Did you create a new package source using opsi-newprod?
If not, do it, if yes change to the directory created by opsi-newprod and run opsi-makeproductfile again.

Re: opsi-makeproductfile

Verfasst: 28 Jul 2010, 20:05
von mocanjl
yes i used the command opsi-newprod and I'm in the directory that the product folder was made in. Still get the error. I make the product then go though the interface to do it. It makes the folder then i do the opsi-makeproductfile command again. Is there any other thing I have to type other then opsi-makeproductfile?

Re: opsi-makeproductfile

Verfasst: 29 Jul 2010, 11:15
von j.schneider
Ok, once again...
Please create the product source directory with opsi-newprod.
The CHANGE INTO the newly created directory (cd <directory>)
Run the opsi-makeproductfile command.