576
576
main restricted universe multiverse
577
577
deb http://archive.launchpad.dev/ubuntu hoary-updates
578
578
main restricted universe multiverse
583
An overlay distroseries is a derived distribution which works like a PPA.
584
This means that the parent's details gets added to the sources.list passed to
587
>>> depdistro = factory.makeDistribution('depdistro',
588
... publish_base_url=u'http://archive.launchpad.dev/')
589
>>> depseries = factory.makeDistroSeries(
590
... name='depseries', distribution=depdistro)
591
>>> deparchseries = factory.makeDistroArchSeries(
592
... distroseries = depseries, architecturetag = 'i386')
593
>>> universe_component = getUtility(IComponentSet)['universe']
594
>>> dsp = factory.makeDistroSeriesParent(
595
... derived_series=hoary, parent_series=depseries,
596
... initialized=True, is_overlay=True,
597
... pocket=PackagePublishingPocket.SECURITY,
598
... component=universe_component)
599
>>> pub_source = test_publisher.getPubSource(
600
... version='1.1', archive=hoary.main_archive)
601
>>> [hoary_build] = pub_source.createMissingBuilds()
602
>>> print_building_sources_list(hoary_build)
603
deb http://archive.launchpad.dev/ubuntu hoary main
604
deb http://archive.launchpad.dev/depdistro depseries main universe
605
deb http://archive.launchpad.dev/depdistro depseries-security