./create_driver doesn't work
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: ./create_driver doesn't work
Hello Kees,
I wouldn't know why it should not work on any other path.
Is your /var/lib/opsi/ not on the same storage device as /home/opsiproducts ?
With kind regards
Niko
I wouldn't know why it should not work on any other path.
Is your /var/lib/opsi/ not on the same storage device as /home/opsiproducts ?
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: ./create_driver doesn't work
Hi Niko,
Yes is it.
I created an Opsi package, (with ./create_drivers first, 1068 drivers were added). Used opsi-package-manager -i win7nl.......opsi
Package was uploaded to /var/bin/opsi/depot/win7nl
Driver packages were uploaded to /var/bin/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./ (driver dirs).
But when i image a system drivers are not installed.
./create_driver_links only see 105 drivers (from 1068 drivers)
With regards,
Kees.....
Yes is it.
I created an Opsi package, (with ./create_drivers first, 1068 drivers were added). Used opsi-package-manager -i win7nl.......opsi
Package was uploaded to /var/bin/opsi/depot/win7nl
Driver packages were uploaded to /var/bin/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./ (driver dirs).
But when i image a system drivers are not installed.
./create_driver_links only see 105 drivers (from 1068 drivers)
With regards,
Kees.....
Re: ./create_driver doesn't work
Found out something.....
When i rename "additional" to "a" it sees all off the drivers
Couldn't it be the number of characters?
When i rename "additional" to "a" it sees all off the drivers
Couldn't it be the number of characters?
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: ./create_driver doesn't work
Hello Kees,
could it be some strange character set quirk?
What does the following command show you?
Also, if you put the following into test.py in the same folder as your create_driver_links.py, what does it show if you run it with "python test.py"?
Have a nice weekend!
Niko
could it be some strange character set quirk?
Does ist mean that both folders are on the same storage device?loggenk hat geschrieben:Yes is it.
What does the following command show you?
Code: Alles auswählen
grep -ir "additi" /var/lib/opsi/depot/win7nl/*
Code: Alles auswählen
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
for driverDir in os.listdir(u'drivers'):
driverDir = os.path.join('drivers', driverDir)
if not os.path.isdir(driverDir):
print("No directory: {0}".format(driverDir))
else:
print("Directory: {0}".format(driverDir))
Have a nice weekend!
Niko
Code: Alles auswählen
import OPSI
Re: ./create_driver doesn't work
Hi Niko,
Good morning.
Yes, its all on the same storage.
I don't know if its maybe a strange character set. When I run it from /home/opsiproducts its working fine. So i really don't know.
The grep -ir gives alot of output. Seems to me that all the folders are scanned
I see 29418 lines without problems. Size is about 6 gb
Here is a small part of it :
/var/lib/opsi/depot/win7nl/create_driver_links.py:ADDITIONAL_DRIVERS_DIRNAME = u'additional'
/var/lib/opsi/depot/win7nl/create_driver_links.py: # if (driverDir != ADDITIONAL_DRIVERS_DIRNAME):
/var/lib/opsi/depot/win7nl/create_driver_links.py: if driverDir in (PREFERRED_DRIVERS_DIRNAME, BUILDIN_DRIVERS_DIRNAME, ADDITIONAL_DRIVERS_DIRNAME, EXCLUDE_DRIVERS_DIRNAME):
/var/lib/opsi/depot/win7nl/custom/unattend.xml: Additionally, you can use Package Manager with an answer file to install packages.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: The auditSystem pass is an optional pass that enables you to add additional device drivers and applications to the image.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: The image can be updated with additional drivers during the audit process.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: For example, you can install additional language packs, updates, or other applications, such as Microsoft Office.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: OOBE runs before the Windows shell or any additional software runs, and performs a small set of tasks necessary to configure and run Windows.
/var/lib/opsi/depot/win7nl/drivers/usb.ids: 057 Keypad + (Addition Sign)
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/EAP-LEAP.msi matches
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/README.rtf:\s3\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\outlinelevel2\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \f2\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 \slink17 \sqformat heading 3;}{\*\cs10 \additive
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/README.rtf:Normal Table;}{\*\cs15 \additive \rtlch\fcs1 \ab\af0\afs32 \ltrch\fcs0 \b\f36\fs32\kerning32 \sbasedon10 \slink1 \slocked Heading 1 Char;}{\*\cs16 \additive \rtlch\fcs1 \ab\ai\af0\afs28 \ltrch\fcs0 \b\i\f36\fs28 \sbasedon10 \slink2 \slocked \ssemihidden
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/README.rtf:Heading 2 Char;}{\*\cs17 \additive \rtlch\fcs1 \ab\af0\afs26 \ltrch\fcs0 \b\f36\fs26 \sbasedon10 \slink3 \slocked \ssemihidden Heading 3 Char;}{\*\cs18 \additive \rtlch\fcs1 \ab\af0 \ltrch\fcs0 \b \sbasedon10 \sqformat \styrsid8592529 Strong;}}
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/x64/bcmttls.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/bcmttls.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/EAP-PEAP.msi matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/EAP-FAST.msi matches
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229229/PV 9.1.1.1015/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229229/PV 9.1.1.1015/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229229/PV 9.1.1.1015/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R227558/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R227558/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R227558/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R230136/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R230136/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R230136/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R205428/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R205428/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R205428/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R228576/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R228576/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R228576/readme.txt: in Knowledge Base article(822603). For additional
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229705/UNS/UNS.exe matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229705/UNS/xerces-c_2_7.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229705/PICON/PrivacyIconClient.exe matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/video/R231304/Graphics/ig4icd64.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/video/R231304/Graphics/ig4icd32.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/video/R231304/Graphics/igdkmd64.sys matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/communication/R223419/CAX_DPV.sys matches
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Readme.txt:search for "Dell System Deployment CABs" for additional help on
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/2052.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1044.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1040.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1050.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1029.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1030.mst matches
Output for test.py is:
Directory: drivers/classes
Directory: drivers/pciids
Directory: drivers/vendors
No directory: drivers/usb.ids
Directory: drivers/usbids
No directory: drivers/pci.ids
Directory: drivers/drivers
When i place driverdirs in Preferred all the drivers are scanned
Greetings,
Kees....
Good morning.
Yes, its all on the same storage.
I don't know if its maybe a strange character set. When I run it from /home/opsiproducts its working fine. So i really don't know.
The grep -ir gives alot of output. Seems to me that all the folders are scanned
I see 29418 lines without problems. Size is about 6 gb

Here is a small part of it :
/var/lib/opsi/depot/win7nl/create_driver_links.py:ADDITIONAL_DRIVERS_DIRNAME = u'additional'
/var/lib/opsi/depot/win7nl/create_driver_links.py: # if (driverDir != ADDITIONAL_DRIVERS_DIRNAME):
/var/lib/opsi/depot/win7nl/create_driver_links.py: if driverDir in (PREFERRED_DRIVERS_DIRNAME, BUILDIN_DRIVERS_DIRNAME, ADDITIONAL_DRIVERS_DIRNAME, EXCLUDE_DRIVERS_DIRNAME):
/var/lib/opsi/depot/win7nl/custom/unattend.xml: Additionally, you can use Package Manager with an answer file to install packages.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: The auditSystem pass is an optional pass that enables you to add additional device drivers and applications to the image.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: The image can be updated with additional drivers during the audit process.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: For example, you can install additional language packs, updates, or other applications, such as Microsoft Office.
/var/lib/opsi/depot/win7nl/custom/unattend.xml: OOBE runs before the Windows shell or any additional software runs, and performs a small set of tasks necessary to configure and run Windows.
/var/lib/opsi/depot/win7nl/drivers/usb.ids: 057 Keypad + (Addition Sign)
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/EAP-LEAP.msi matches
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/README.rtf:\s3\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\outlinelevel2\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \f2\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 \slink17 \sqformat heading 3;}{\*\cs10 \additive
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/README.rtf:Normal Table;}{\*\cs15 \additive \rtlch\fcs1 \ab\af0\afs32 \ltrch\fcs0 \b\f36\fs32\kerning32 \sbasedon10 \slink1 \slocked Heading 1 Char;}{\*\cs16 \additive \rtlch\fcs1 \ab\ai\af0\afs28 \ltrch\fcs0 \b\i\f36\fs28 \sbasedon10 \slink2 \slocked \ssemihidden
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/README.rtf:Heading 2 Char;}{\*\cs17 \additive \rtlch\fcs1 \ab\af0\afs26 \ltrch\fcs0 \b\f36\fs26 \sbasedon10 \slink3 \slocked \ssemihidden Heading 3 Char;}{\*\cs18 \additive \rtlch\fcs1 \ab\af0 \ltrch\fcs0 \b \sbasedon10 \sqformat \styrsid8592529 Strong;}}
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/x64/bcmttls.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/bcmttls.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/EAP-PEAP.msi matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/network/R230868/EAP-FAST.msi matches
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229229/PV 9.1.1.1015/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229229/PV 9.1.1.1015/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229229/PV 9.1.1.1015/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R227558/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R227558/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R227558/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R230136/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R230136/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R230136/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R205428/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R205428/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R205428/readme.txt: in Knowledge Base article(822603). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R228576/readme.txt:which provide additional installation choices. The command
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R228576/readme.txt: in Knowledge Base article(921411). For additional
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R228576/readme.txt: in Knowledge Base article(822603). For additional
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229705/UNS/UNS.exe matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229705/UNS/xerces-c_2_7.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/chipset/R229705/PICON/PrivacyIconClient.exe matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/video/R231304/Graphics/ig4icd64.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/video/R231304/Graphics/ig4icd32.dll matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/video/R231304/Graphics/igdkmd64.sys matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Win7/x64/communication/R223419/CAX_DPV.sys matches
/var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./760/Readme.txt:search for "Dell System Deployment CABs" for additional help on
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/2052.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1044.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1040.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1050.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1029.mst matches
Binary file /var/lib/opsi/depot/win7nl/drivers/drivers/additional/byAudit/Dell Inc./E6520/win7/x64/network/1G1GX_A00-00/win7x64/Win64/1030.mst matches
Output for test.py is:
Directory: drivers/classes
Directory: drivers/pciids
Directory: drivers/vendors
No directory: drivers/usb.ids
Directory: drivers/usbids
No directory: drivers/pci.ids
Directory: drivers/drivers
When i place driverdirs in Preferred all the drivers are scanned
Greetings,
Kees....
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: ./create_driver doesn't work
Hello Kees,
the test.py-script was a part of the create_driver_links.py-script. Somehow it does not pick up the additional folder.
What is the output of ls -la /var/bin/opsi/depot/win7nl/drivers?
With kind regards
Niko
the test.py-script was a part of the create_driver_links.py-script. Somehow it does not pick up the additional folder.
What is the output of ls -la /var/bin/opsi/depot/win7nl/drivers?
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: ./create_driver doesn't work
Hi Niko,
That's strange...
The output is ls: cannot access /var/bin/opsi/depot/win7nl/drivers: No such file or directory
Allthough folder excists
Greetings,
Kees............
That's strange...
The output is ls: cannot access /var/bin/opsi/depot/win7nl/drivers: No such file or directory
Allthough folder excists
Greetings,
Kees............
Zuletzt geändert von loggenk am 08 Dez 2014, 16:21, insgesamt 1-mal geändert.
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: ./create_driver doesn't work
Hello Kees,
With kind regards
Niko
my fault: the path should be /var/lib/opsi/depot/win7nl/driversloggenk hat geschrieben:The output is ls: cannot access /var/bin/opsi/depot/win7nl/drivers: No such file or directory
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: ./create_driver doesn't work
Hi Niko,
No problem..
Output is :
drwxrws--- 7 opsiconfd pcpatch 4096 Nov 25 15:34 .
drwxrws--- 7 opsiconfd pcpatch 4096 Nov 14 18:39 ..
drwxrws--- 11 opsiconfd pcpatch 4096 Nov 25 15:34 classes
drwxrws--- 6 opsiconfd pcpatch 4096 Nov 25 13:03 drivers
drwxrws--- 64 opsiconfd pcpatch 4096 Nov 25 15:34 pciids
-rw-rw---- 1 opsiconfd pcpatch 774560 Oct 24 2012 pci.ids
drwxrws--- 64 opsiconfd pcpatch 4096 Nov 25 15:34 usbids
-rw-rw---- 1 opsiconfd pcpatch 486323 Sep 20 2012 usb.ids
drwxrws--- 124 opsiconfd pcpatch 4096 Nov 25 15:34 vendors
No problem..
Output is :
drwxrws--- 7 opsiconfd pcpatch 4096 Nov 25 15:34 .
drwxrws--- 7 opsiconfd pcpatch 4096 Nov 14 18:39 ..
drwxrws--- 11 opsiconfd pcpatch 4096 Nov 25 15:34 classes
drwxrws--- 6 opsiconfd pcpatch 4096 Nov 25 13:03 drivers
drwxrws--- 64 opsiconfd pcpatch 4096 Nov 25 15:34 pciids
-rw-rw---- 1 opsiconfd pcpatch 774560 Oct 24 2012 pci.ids
drwxrws--- 64 opsiconfd pcpatch 4096 Nov 25 15:34 usbids
-rw-rw---- 1 opsiconfd pcpatch 486323 Sep 20 2012 usb.ids
drwxrws--- 124 opsiconfd pcpatch 4096 Nov 25 15:34 vendors
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: ./create_driver doesn't work
Hello Kees,
what does the following command show you?
Can you move the test-script into the drivers folder (not drivers/drivers) and then run it again?
What is the output?
With kind regards
Niko
what does the following command show you?
Code: Alles auswählen
ls -l /var/lib/opsi/depot/win7nl/drivers/drivers
What is the output?
With kind regards
Niko
Code: Alles auswählen
import OPSI