From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5lhh-0007Hg-NA for ptxdist@pengutronix.de; Wed, 12 Aug 2020 10:01:46 +0200 Received: from home by smtp.strato.de (RZmta 46.10.5 DYNA|AUTH) with ESMTPSA id y08fc4w7C81ie8e (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Wed, 12 Aug 2020 10:01:44 +0200 (CEST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by home (Postfix) with ESMTP id 811341A015E for ; Wed, 12 Aug 2020 10:01:44 +0200 (CEST) From: "Artur Wiebe" In-Reply-To: <20200130133525.GA2615@pengutronix.de> Date: Wed, 12 Aug 2020 10:01:44 +0200 MIME-Version: 1.0 Message-ID: <3a5-5f33a200-1-7869ff80@48465352> Subject: Re: [ptxdist] =?utf-8?b?Pz09P3V0Zi04P3E/ICBmYWlsIHRvIGluc3RhbGxfYWx0?= =?utf-8?q?ernative_a_file_like_dev-disk-by=5Cx2dlabel-INSTALL=2Edevice_?= =?utf-8?q?=28backslash=3F=3D_x2d?= List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Hi Michael, I just updated to the latest ptxdist and tried your fix. It works now as expected! Thank you very much! Artur On Thursday, January 30, 2020 14:35 CET, Michael Olbrich wrote: > On Fri, Jan 10, 2020 at 02:19:24PM +0100, Michael Olbrich wrote: > > 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. > > FYI, this should work with ptxdist master. > > 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 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de