Ich arbeite mich gerade in das Thema opsi paketbau ein. Dazu habe ich opsi-setup-detector und den packagebuilder installiert.
Wenn ich nun allerdings mit opsi-setup-detector ein paket generiere und dies mit packagebuilder öffne und dann auf packen klicke bekomme ich die Fehlernachricht:"Befehl oder Datei nicht gefunden". Im Log finde ich dann dies:
Code: Alles auswählen
[2017-02-21 01:21:08 AM] - oPB.core.processing.OpsiProcessing - SSH - --------------------ACTION: BUILD--------------------
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - bash: Zeile 0: cd: /home/opsiproductsOPSI/opsi_workbench/tuc-7zip: Datei oder Verzeichnis nicht gefunden
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - info: Source dir: /home/adminuser
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - info: Temp dir: /tmp
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - info: Custom name:
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - info: Archive format: cpio
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - critical: Traceback:
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - critical: File "/usr/bin/opsi-makeproductfile", line 473, in <module>
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - main(sys.argv[1:])
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - SSH - critical: File "/usr/bin/opsi-makeproductfile", line 223, in main
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - ERROR - raise OSError(u"Control file '%s' not found" % packageControlFilePath)
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - ERROR - critical: ==>>> Control file '/home/adminuser/OPSI/control' not found
[2017-02-21 01:21:09 AM] - oPB.core.processing.OpsiProcessing - ERROR - ERROR: Control file '/home/adminuser/OPSI/control' not found
Natürlich ist der falsch. Der Pfad ist: /home/opsiproducts/opsi_workbench/tuc-7zip
wo kommt da das OPSI im pfadnamen her?
Und dann verstehe ich nicht wieso packagebuilder in /home/adminuser/ rumfummeln will und dieser OPSI ordner existiert dort ebenfalls nicht.
Grüße