Merge lp:~oem-solutions-releng/live-build/lb-sg-2.x-add-support-for-xz-and-bzip2-compression into lp:~ce-infrastructure/live-build/lb-sg-2.x
Proposed by
Timothy R. Chavez
Status: | Merged |
---|---|
Approved by: | Kevin McDermott |
Approved revision: | 1607 |
Merged at revision: | 1604 |
Proposed branch: | lp:~oem-solutions-releng/live-build/lb-sg-2.x-add-support-for-xz-and-bzip2-compression |
Merge into: | lp:~ce-infrastructure/live-build/lb-sg-2.x |
Diff against target: |
160 lines (+68/-8) 5 files modified
debian/changelog (+11/-0) functions/defaults.sh (+7/-0) scripts/build/lb_binary_tar (+18/-2) scripts/build/lb_config (+10/-0) scripts/build/lb_source_tar (+22/-6) |
To merge this branch: | bzr merge lp:~oem-solutions-releng/live-build/lb-sg-2.x-add-support-for-xz-and-bzip2-compression |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin McDermott (community) | Approve | ||
Review via email: mp+143373@code.launchpad.net |
Description of the change
Add support for compressing tar images (binary and source) with 'xz' or 'bzip2'. This work adds the LB_COMPRESSION variable (which is compatible with live-build 3.x) as a way to specify which compression type is desired. If LB_COMPRESSION is not specified, it will default to 'gzip', which is the default compression type used today. Functional verification testing has been done for the following scenarios:
- Default (not specifying LB_COMPRESSION)
- LB_COMPRESSION="xz"
- LB_COMPRESSION=
Premium team confirmed that one of their images compress with xz could be decompressed and flashed to a system successfully.
To post a comment you must log in.
Looks ok to me, bash syntax notwithstanding :-)