From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] fail to install_alternative a file like dev-disk-by\x2dlabel-INSTALL.device (backslash?==?utf-8?q? x2d)
Date: Fri, 10 Jan 2020 14:19:24 +0100 [thread overview]
Message-ID: <20200110131924.GB7427@pengutronix.de> (raw)
In-Reply-To: <339-5e15ee80-39-41a1aa80@120675202>
Hi,
On Wed, Jan 08, 2020 at 04:00:57PM +0100, Artur Wiebe wrote:
> 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" ?
Not right now. It's a bug in PTXdist. I'm working on a fix, but it's in a
core shell function and I need to make sure that there are no unexpected
side effects.
Michael
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2020-01-10 13:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-07 18:21 [ptxdist] [PATCH] file: version bump 5.35 -> 5.36 Christian Hermann
2020-01-08 8:31 ` Alexander Dahl
2020-01-08 13:28 ` Christian Hermann
2020-01-08 15:00 ` [ptxdist] fail to install_alternative a file like dev-disk-by\x2dlabel-INSTALL.device (backslash?==?utf-8?q? x2d) Artur Wiebe
2020-01-10 13:19 ` Michael Olbrich [this message]
2020-01-30 13:35 ` Michael Olbrich
2020-08-12 8:01 ` [ptxdist] ?==?utf-8?q? fail to install_alternative a file like dev-disk-by\x2dlabel-INSTALL.device (backslash?= x2d Artur Wiebe
2020-01-10 12:02 ` [ptxdist] [PATCH] file: version bump 5.35 -> 5.36 Michael Olbrich
2020-01-12 12:48 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200110131924.GB7427@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox