Merge lp://staging/~tribaal/landscape-client/make-package-building-dependencies into lp://staging/~landscape/landscape-client/trunk

Proposed by Chris Glass
Status: Work in progress
Proposed branch: lp://staging/~tribaal/landscape-client/make-package-building-dependencies
Merge into: lp://staging/~landscape/landscape-client/trunk
Diff against target: 14 lines (+5/-0)
1 file modified
Makefile (+5/-0)
To merge this branch: bzr merge lp://staging/~tribaal/landscape-client/make-package-building-dependencies
Reviewer Review Type Date Requested Status
Landscape Pending
Landscape Pending
Review via email: mp+169408@code.staging.launchpad.net

Description of the change

(Almost a trivial)

This branch adds a makefile target to download and install required package building dependencies.
It allows to create (unsigned) packages super fast and conveniently with the following scenario:

sudo lxc-create -n saucy-base -t ubuntu -- --release saucy -b $(whoami)
(this takes a while the first time you install a new release, because it builds the base image locally. You need to run this command only once, ever.)

sudo lxc-start-ephemeral -o saucy-base
(login using your own user credentials)
sudo apt-get install make bzr
cd my-landscape-client-checkout
make package-deps && make pacakge
(play with your new package located in ../ . On shutdown this container is discarded)

Also, it is worth noting that the second time you run this the speed is amazing since the base image is built already, and your host machine will cache packages with apt-cacher-ng.

To post a comment you must log in.

Unmerged revisions

686. By Chris Glass

* Added a Makefile target to allow for convenient package build on fresh systems.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: