Merge lp:~salgado/linaro-image-tools/hwpack-install into lp:linaro-image-tools/11.11
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | 71 |
Proposed branch: | lp:~salgado/linaro-image-tools/hwpack-install |
Merge into: | lp:linaro-image-tools/11.11 |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~salgado/linaro-image-tools/hwpack-install |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby (community) | Approve | ||
Review via email: mp+34917@code.launchpad.net |
Description of the change
This adds a linaro-
I'm mostly looking for feedback as to whether or not this approach is sensible, although a proper review would be great.
To post a comment you must log in.
30 +TEMP_DIR= "/var/tmp/ hwpack"
it would be good to have that not be static, and create a tempdir
with an unpredictable name, using e.g. mktemp.
64 + sudo rm -f $HWPACK_PKGS_SOURCE
65 + sudo apt-get update -qq
I don't see why sudo would be needed? This will run as root won't it?
101 +for file in `ls "${HWPACK_ DIR}"/sources. list.d. gpg/`; do
This can use a * expansion as the sources.list.d code does couldn't it?
Otherwise this looks good. Short and sweet and we should try and keep
it that way.
Thanks,
James