[patch] More support for *.tgz
|Reported by:||mmadia||Owned by:||bonefish|
|Blocked By:||Blocking:||#5455, #5490|
Per request in http://dev.haiku-os.org/ticket/5455#comment:5 , this patch abstracts the rules, actions, & related code for unzipping an archive directly to the image file. The new code supports .zip & .tgz
- Due to reliance upon $(variable:S), .tar.gz is currently not supported.
- OptionalPackages can also be .tgz. However the file extension is parsed from the URL, which may present some shortcomings.
- build/scripts/build_haiku_* is passed "tar" instead of <build>tar, due to not having tar as a build system tool (src/tools/tar)
- An updated patch for #5455 has not been tested. Instead, Vision was repackaged as .tgz, its original .zip removed, build/jam/OptionalPackages patched, and Vision was confirmed to extract properly in
jam -q @nightly-raw-- both in jam output & looking at the mounted imagefile.
jam -q @nightly-raw output clipping:
Extracting /generated/x86gcc2/download/yasm-0.8.0-r1a1-x86-gcc2-2009-08-30.zip ... Extracting /generated/x86gcc4/alternative_system_libs.zip ... Extracting /generated/x86gcc2/download/Vision-0.9.7-H-090423.tgz ... Deleting old MIME database ... Installing MIME database ... Unmounting ... ...updated 510 target(s)... /generated/x86gcc2>
Change History (7)
by , 10 years ago