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
opsi-makeproductfile
- j.schneider
- uib-Team
- Beiträge: 1924
- Registriert: 29 Mai 2008, 15:14
Re: opsi-makeproductfile
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.
If not, do it, if yes change to the directory created by opsi-newprod and run opsi-makeproductfile again.
Re: opsi-makeproductfile
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?
- j.schneider
- uib-Team
- Beiträge: 1924
- Registriert: 29 Mai 2008, 15:14
Re: opsi-makeproductfile
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.
Please create the product source directory with opsi-newprod.
The CHANGE INTO the newly created directory (cd <directory>)
Run the opsi-makeproductfile command.