-
Notifications
You must be signed in to change notification settings - Fork 133
wrong path in deb packages #674
Comments
Still happens with RPM at least in |
this is still an issue with: had to run this: how hard is it to get case right? |
Glad to find this - I was really wondering what I was doing wrong and didn't notice the casing at all. Another workaround is to add lower-case symbolic links that point to the mixed-case names. This seems safer to me than renaming files supplied by the vendor. As far as I can tell, you only need to link one directory and one file:
Not a big difference, but this does work for me, plus, as I already mentioned, I don't have to actually change the MS files. With my luck, I bet MS will fix this in the next release and then I'll be wondering why I can't get through the install package. |
Maybe something for @anmenaga to comment on, but in PSDSCv3 the BaseResource have changed to be within the PSDSC module. |
This is a de-sync between v2 DSC code in SMA dll/PowerShell and whatever is deploying lower-cased files to v2.0.5
|
To work with PowerShell + DSC scripts on Ubuntu Linux, I had to do such patches, after installing OMI. echo 'Configuring LD Cache for OMI...'
echo '/opt/omi/lib' >/etc/ld.so.conf.d/omi.conf
ldconfig >/dev/null
ldconfig --print-cache | grep 'libmi\.so' >/dev/null \
&& echo 'OMI libraries are available.' \
|| { echo 'OMI libraries are NOT available!'; return 1; }
echo 'Fixing default OMI installation...'
ln --symbolic --force --no-dereference \
/etc/opt/omi/conf/dsc/configuration/baseregistration/ \
/etc/opt/omi/conf/dsc/configuration/BaseRegistration
ln --symbolic --force --no-dereference \
/etc/opt/omi/conf/dsc/configuration/baseregistration/baseresource.schema.mof \
/etc/opt/omi/conf/dsc/configuration/BaseRegistration/BaseResource.schema.mof Scripts from DSC validates nicely in VSCode :) |
Hello!
When I try to compile to mof dsc resources under powershell 7 linux, I have following error:
Files are there - but on linux file names are case sensitive.
So we have:
Changing this to:
seems to solve the problem.
The text was updated successfully, but these errors were encountered: