Merge lp://qastaging/~james-w/linaro-image-tools/include-dependencies into lp://qastaging/linaro-image-tools/11.11
Proposed by
James Westby
Status: | Merged |
---|---|
Merged at revision: | 97 |
Proposed branch: | lp://qastaging/~james-w/linaro-image-tools/include-dependencies |
Merge into: | lp://qastaging/linaro-image-tools/11.11 |
Prerequisite: | lp://qastaging/~james-w/linaro-image-tools/obey-include-debs |
Diff against target: |
774 lines (+487/-45) 7 files modified
hwpack/builder.py (+1/-0) hwpack/config.py (+32/-19) hwpack/packages.py (+132/-20) hwpack/testing.py (+4/-1) hwpack/tests/test_builder.py (+40/-0) hwpack/tests/test_config.py (+26/-0) hwpack/tests/test_packages.py (+252/-5) |
To merge this branch: | bzr merge lp://qastaging/~james-w/linaro-image-tools/include-dependencies |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guilherme Salgado (community) | code | Approve | |
Review via email:
|
Description of the change
Hi,
This branch makes use of the IsolatedAptCach
method in order to "ignore" packages and so not download them. In addition
to that it starts to download the dependency tree of the requested packages,
pruning at the the ignored packages.
This is so that hwpacks start to snapshot more state, which helps them stay
more useful over time.
The main driver for the change is being able to bisect the hwpack contents
over the last few days to find problems, which isn't easy with a package
archive.
Thanks,
James
To post a comment you must log in.
When running
./linaro- hwpack- create ../hwpacks/ linaro- omap3 1235
with patch below (same with assume- installed= linaro- headless) , i get:
./linaro- hwpack- create ../hwpacks/ linaro- omap3 1235 hwpack- create" , line 23, in <module> hwpacks/ configs/ include- dependencies/ hwpack/ builder. py", line 42, in build content= self.config. include_ debs) hwpacks/ configs/ include- dependencies/ hwpack/ packages. py", line 438, in fetch_packages packages. DependencyNotSa tisfied: Unable to satisfy dependencies of apt-utils, base-files, cron, dbus, ifupdown, liblocale- gettext- perl, libtext- charwidth- perl, libtext-iconv-perl, module-init-tools, netbase, plymouth, procps, rsyslog, udev, util-linux
Traceback (most recent call last):
File "./linaro-
builder.build()
File "/tmp/pp/
download_
File "/tmp/pp/
if p.is_inst_broken]))
hwpack.
Patch for hwpack: hwpacks/ linaro- omap3 2010-09-13 13:29:31 +0000 hwpacks/ linaro- omap3 2010-09-14 22:54:19 +0000 armel linux-image- linaro- omap u-boot- linaro- omap3-beagle x-loader-omap xserver- xorg-video- omap3 installed= ubuntu- minimal linaro-headless
--- a/configs/
+++ b/configs/
@@ -1,13 +1,14 @@
[hwpack]
name=linaro-omap3
architectures=
origin=Linaro
maintainer=Linaro Platform <email address hidden>
support=supported
packages=
+assume-
[ubuntu] ports.ubuntu. com/ maverick main universe
sources-entry=http://
[linaro] ppa.launchpad. net/linaro- maintainers/ overlay/ ubuntu maverick main
sources-entry=http://