All of lore.kernel.org
 help / color / mirror / Atom feed
* base.bbclass: Enable overwrite flag for unzip command
@ 2008-03-30 13:16 Leon Woestenberg
  2008-03-30 13:43 ` Rod Whitby
  2008-03-30 14:14 ` Koen Kooi
  0 siblings, 2 replies; 4+ messages in thread
From: Leon Woestenberg @ 2008-03-30 13:16 UTC (permalink / raw)
  To: openembedded-devel

Hello,

During rebuilds I noticed unpacking a zip a second time fails, whereas tar
silently succeeds, overwriting files.

A manual test confirms this:

leon@witty:/tmp$ unzip -q
/home/leon/sandbox/efika/openembedded/downloads/faad2-2.0.zip
leon@witty:/tmp$ unzip -q
/home/leon/sandbox/efika/openembedded/downloads/faad2-2.0.zip
replace faad2/aacDECdrop/aacDECdrop/aacDECdrop.dsp? [y]es, [n]o, [A]ll,
[N]one, [r]ename: leon@witty:/tmp$

leon@witty:/tmp$ tar xzf ~/sandbox/efika/openembedded/downloads/zeroconf-
0.9.tar.gz
leon@witty:/tmp$ tar xzf ~/sandbox/efika/openembedded/downloads/zeroconf-
0.9.tar.gz

I will shortly commit the following change (after a test), which enables
overwrite behaviour for unzip:

-base.bbclass:574:               cmd = 'unzip -q'
+base.bbclass:574:               cmd = 'unzip -q -o'

Regards,
-- 
Leon


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

end of thread, other threads:[~2008-03-30 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-30 13:16 base.bbclass: Enable overwrite flag for unzip command Leon Woestenberg
2008-03-30 13:43 ` Rod Whitby
2008-03-30 14:14 ` Koen Kooi
2008-03-30 15:45   ` Leon Woestenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.