public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] dpkg-raw: Make conffiles identification more robust
@ 2018-02-14 19:02 Jan Kiszka
  2018-02-15 15:41 ` Alexander Smirnov
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2018-02-14 19:02 UTC (permalink / raw)
  To: isar-users; +Cc: Henning Schild

From: Jan Kiszka <jan.kiszka@siemens.com>

We should only filter our files that are under ${D}/etc/, not every
file that may have "/etc/" in its path.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/dpkg-raw.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/dpkg-raw.bbclass b/meta/classes/dpkg-raw.bbclass
index e3ae9e8..e0ea811 100644
--- a/meta/classes/dpkg-raw.bbclass
+++ b/meta/classes/dpkg-raw.bbclass
@@ -47,7 +47,7 @@ addtask deb_package_prepare after do_install before do_deb_package_conffiles
 
 do_deb_package_conffiles() {
 	CONFFILES=${D}/DEBIAN/conffiles
-	find ${D} -type f -path '*/etc/*' | sed -e 's|^${D}|/|' >> $CONFFILES
+	find ${D} -type f -path '${D}/etc/*' | sed -e 's|^${D}|/|' >> $CONFFILES
 	test -s $CONFFILES || rm $CONFFILES
 }
 
-- 
2.13.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] dpkg-raw: Make conffiles identification more robust
  2018-02-14 19:02 [PATCH] dpkg-raw: Make conffiles identification more robust Jan Kiszka
@ 2018-02-15 15:41 ` Alexander Smirnov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Smirnov @ 2018-02-15 15:41 UTC (permalink / raw)
  To: Jan Kiszka, isar-users; +Cc: Henning Schild

On 02/14/2018 10:02 PM, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> We should only filter our files that are under ${D}/etc/, not every
> file that may have "/etc/" in its path.
> 

Applied to next, thanks!

Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-15 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 19:02 [PATCH] dpkg-raw: Make conffiles identification more robust Jan Kiszka
2018-02-15 15:41 ` Alexander Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox