Closed osallou closed 10 years ago
oh balls! I know exactly what the problem is: 0612987fec88712921d73a334b37f4cffcd6fcb7.
Instead of adding the packages right at the beginning, there should be a task that adds these packages and succeeds AddDefaultSources
.
I did it this way because there actually might be a scenario where you want to replace the default mirrors with something completely different. If you have those hardcoded however, you can't remove that task from the list.
what do you mean by "If you have those hardcoded" ?
I just add a list of package to install with the "packages" tag in manifest.
What should I do ? Is it a bug?
It's a bug :-) I am fixing it right now
There you go, fixed! :-) Also added a few other niceties.
Hi, I tried to use latest python branch and setup "packages" to install local and remote package.
I have defined:
but it ends with error:
It seems to expect a wheezy definition in sources list.
I do not know if this is an error or a problem of definition, but looking at base manifest, it does not seem to require a different definition.
The code: if not self.source_lists.target_exists(target):
expect to find the target of package in source_lists, in my case it matches the default ie {system.release}
Thanks