[Bug 468809] Re: Support adding custom debs from a local apt repository

2013-04-29 Thread Cristian KLEIN
I just discovered the --ppa option. I guess it could solve the OP's use-
case, if he can afford uploading his packages to a PPA.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/468809

Title:
  Support adding custom debs from a local apt repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/468809/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2013-04-29 Thread Daniel Kulesz
Actually, --ppa sounds as complicated as --mirror to me. You have to
do (too) much effort to build an ppa first. The workaround proposed by
Nick sounds better in this respect, but still I think that it has the
disadvantage that it is tinkering, because you copy in deb files which -
even when you remove them after installation - result in an unclean, not
size-optimized image.

Summarizing, we have two workarounds:
a) using --mirror or --ppa: Leaves image clean, but requires additional setup 
effort
b) using a self-scripted solution: Leaves image unclean, but requires only few 
additional setup effort

What I was thinking about is a solution, that leaves the image clean and
requires NO additional setup effort except using the --add-dpkg
switch. This would be a very basic but clean solution. Of course,
internally it could be combined, i.e. vmbuilder could setup its own ppa,
copy the specified deb files there and do rest like if the user provided
the --ppa switch him/herself.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/468809

Title:
  Support adding custom debs from a local apt repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/468809/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2013-04-29 Thread Cristian KLEIN
Please test and comment the following merge request:
https://code.launchpad.net/~cristiklein/ubuntu/precise/vm-builder/lp468809/+merge/161427

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/468809

Title:
  Support adding custom debs from a local apt repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/468809/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2013-04-29 Thread Daniel Kulesz
If I understand this correctly, your patch is only loosely related to
the original intention of this bug and the discussion, as it only allows
adding items to the sources.list and thus requires a PPA-site or manual
copying of .deb-files into the VM?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/468809

Title:
  Support adding custom debs from a local apt repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/468809/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2011-06-09 Thread Sergey Svishchev
Create a custom sources.list.tmpl.  debootstrap will warn about missing
GPG key (if your repo is signed), though.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/468809

Title:
  Support adding custom debs from a local apt repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/468809/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2009-11-03 Thread Nick Barcet
** Changed in: vm-builder (Ubuntu)
   Status: Incomplete = Confirmed

-- 
Support adding custom debs from a local apt repository
https://bugs.launchpad.net/bugs/468809
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2009-11-02 Thread Daniel Kulesz
Exactly! The --addpkg switch just adds packages from the repositories,
which are specified by --mirror. Therefore only debs from official
repositories can be added.

Now when I have a package which is not available in any repository (a
custom deb), I didn't find a simple way to include it in the built VM,
except using one of those workarounds I mentioned. I even don't want to
setup an own, local apt repository? I just want to include a filename
(or path) in my local filesystem, and have the debs included from there.

-- 
Support adding custom debs from a local apt repository
https://bugs.launchpad.net/bugs/468809
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 468809] Re: Support adding custom debs from a local apt repository

2009-11-02 Thread Mathias Gug

On Mon, Nov 02, 2009 at 08:01:44PM -, Daniel Kulesz wrote:
 
 Now when I have a package which is not available in any repository (a
 custom deb), I didn't find a simple way to include it in the built VM,
 except using one of those workarounds I mentioned. I even don't want to
 setup an own, local apt repository? I just want to include a filename
 (or path) in my local filesystem, and have the debs included from there.


You can probably use the finish script option to copy your debs into the root
filesystem and then dpkg install them via a chroot.

-- 
Support adding custom debs from a local apt repository
https://bugs.launchpad.net/bugs/468809
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2009-11-02 Thread Daniel Kulesz
Ok - I didn't know this option did exist (the documentation is
incomplete, but this has been already reported). The proposed solution
sounds better than my initial workaround thoughts, but still it sounds
like tinkering. I would have to script copying the files into the
filesystem, chrooting into it and then running dpkg for installing them.

Does it really makes sense to re-implement this? I mean, vm-builder does
already the same, just limited to packages available on the mirror.

-- 
Support adding custom debs from a local apt repository
https://bugs.launchpad.net/bugs/468809
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 468809] Re: Support adding custom debs from a local apt repository

2009-11-02 Thread Nick Barcet
Actually what you would have to do is:

1/ use the --copy option to copy your deb in the image
2/ use the --execscript to launch a script that 
  * chroot $1
  * dpkg -i yourdeb

Does not sounds like much tinkering to me, but agree that we could
consider this a wishlist item to allow for a --add-deb option.  Not very
hard to implement, btw.

On the documentation chapter, both --copy and --execscript do appear
when I either do a 'man vmbuilder' or 'sudo vmbuilder kvm ubuntu
--help', so I do not really understand your remark.

-- 
Support adding custom debs from a local apt repository
https://bugs.launchpad.net/bugs/468809
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs