[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 y

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/468809 Title

[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 yo

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/468809 Title: Support a

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/468809 Title: Support adding custom de

[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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[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 Does not sounds like much tinkering to me, but agree that we could consider this a wishlist item to allow for a --add-deb optio

[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 i

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 ow

[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 bu