Hi PTXdist,

I am trying to use the following inside a rules file:
@$(call install_alternative, system, 0, 0, 0644, 
/usr/lib/systemd/system/dev-disk-by\\x2dlabel-INSTALL.device)

The file exists inside of projectroot:
-rw-r--r-- 1 client client 27 18. Jul 12:20 
'base/projectroot/usr/lib/systemd/system/dev-disk-by\x2dlabel-INSTALL.device'

Unfortunately the build fails with an error:
No suitable file '/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device' 
could be found in any of these locations:
/mnt/root/projectroot.x86/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/mnt/root/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device.x86
/mnt/root/configs/platform-x86/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device.x86
/mnt/root/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/mnt/root/configs/platform-x86/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/mnt/root/base/projectroot.x86/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/mnt/root/base/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device.x86
/mnt/root/base/configs/platform-x86/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device.x86
/mnt/root/base/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/mnt/root/base/configs/platform-x86/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/usr/local/lib/ptxdist-2019.11.0/projectroot.x86/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/usr/local/lib/ptxdist-2019.11.0/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device.x86
/usr/local/lib/ptxdist-2019.11.0/configs/platform-x86/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device.x86
/usr/local/lib/ptxdist-2019.11.0/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device
/usr/local/lib/ptxdist-2019.11.0/configs/platform-x86/projectroot/usr/lib/systemd/system/dev-disk-by-label-INSTALL.device

install alternative:
  src=
  dst=/usr/lib/systemd/system/dev-disk-by\x2dlabel-INSTALL.device
  owner=0 
  group=0 
  permissions=0644

Error: file not found: 
Error: install_alternative failed!

Is there any way to escape "\x2d" ?

Thank you,
Artur


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to