Merge lp:~salgado/linaro-image-tools/refactor-lmc into lp:linaro-image-tools/11.11
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | 98 |
Proposed branch: | lp:~salgado/linaro-image-tools/refactor-lmc |
Merge into: | lp:linaro-image-tools/11.11 |
Diff against target: |
169 lines (+31/-43) 1 file modified
linaro-media-create (+31/-43) |
To merge this branch: | bzr merge lp:~salgado/linaro-image-tools/refactor-lmc |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Linaro Maintainers | Pending | ||
Review via email: mp+36579@code.launchpad.net |
Description of the change
Refactor l-m-c so that we don't need extra unpack/repack steps when installing hwpacks.
To post a comment you must log in.
Hi,
This looks sensible to me. I assume that you've tested that it produces
equivalent rootfs.
There are a couple of changes that I want to question:
74 - parts_dir=casper 'boot=casper' opt=only- ubiquity
75 boot_snippet=
76 [ "$IS_LOWMEM" ] && lowmem_
77 else
78 - parts_dir=boot
82 - # Remove the binary/ directory so that previous runs don't interfere here. "binary/ ${MLO_FILE} binary/ ${UBOOT_ FILE}"
83 - rm -rf binary/
84 -
85 - extras=
86 - if [ "$DEVIMAGE" = beagle ]; then
87 - extras=
88 - fi
89 - tar -xf $BINARY_TARBALL binary/${parts_dir} $extras
90 -
Are these just cleanup of unused code?
The main thing is that I don't understand what TMP_DIR is now,
it seems to not have much done with it, except for things like
boot.cmd being written to it. Is that going to work? It also
doesn't look like it will get cleaned up to me.
Thanks,
James