[oe] base.bbclass: Enable overwrite flag for unzip command

Koen Kooi koen at dominion.kabel.utwente.nl
Sun Mar 30 14:14:52 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon Woestenberg schreef:
| Hello,
|
| During rebuilds I noticed unpacking a zip a second time fails, whereas tar
| silently succeeds, overwriting files.

I think all unpack methods should have consistent behaviour, but I don't
think silently overwriting files is a good idea, especially when SRC_URI
contains patches as well.



| 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'

Since sorting out unpack behaviour will take too long:

+1 from me

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH76BcMkyGM64RGpERAjmRAJsFayVq33qqBcSBgDzHHEput2Kk2gCePPQb
Ad+tFhoZs/Bt0FQM2fd+XqE=
=1wUR
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list