launchpad-users team mailing list archive
-
launchpad-users team
-
Mailing list archive
-
Message #06795
Re: Help with "pbuilder-dist" to maintain 2 "trusty" images under the same user...
I haven’t tested anything yet, but I’m pretty sure that you should be able to do it with these steps:
Steps you already did:
create a pbuilder distro base package (pbuilder-dist trusty create)
adding your PPA (as you pointed out)
Step you still have to do:
enter in the pbuilder-dist main directory (it should be ~/pbuilder/)
rename the base package to your new distro package (ex. mv trusty_base.tgz trusty-ppa_base.tgz)
This should do the trick.
Actually, I’ve not tested it yet, I think I can give it a try tomorrow evening.
Giovanni Santini
My blog: http://giovannisantini.tk
My code: https://github.com/ItachiSan
My GPG: 2FADEBF5
Da: Martinx - ジェームズ
Data invio: lunedì 13 luglio 2015 16:31
A: Giovanni Santini
Cc: launchpad-users@xxxxxxxxxxxxxxxxxxx
Hey man, thanks for your tip but, it didn't worked...
---
pbuilder-dist trusty-ppa build mypackage-2015.dsc
"pbuilder-dist: Error: "trusty-ppa" is an invalid distribution codename."
---
To add a PPA to the image, I'm doing:
--
pbuilder-dist trusty create
pbuilder-dist trusty login --save-after-login
apt-get install software-properties-common
add-apt-reposisoty ppa:my/repo
exit
...
pbuilder-dist trusty update --release-only
--
But, as you can see, the image is always called "trusty"... I am unable to create "trusty-ppa" and "trusty"... :-(
Thanks again!
Thiago
On 12 July 2015 at 04:16, Giovanni Santini <itachi.sama.amaterasu@xxxxxxxxx> wrote:
If I remember it well, rename the "trusty-base.tgz" as "trusty-ppa-base.tgz" and for using it to build use "pbuilder-dist trusty-ppa build ..."
P.S. in which way have you added the PPA? Because the way I did was a bit hacky... You can write me in PM in case ;)
P.P.S. I answered at first not in the public list, forwarding the message as it could be useful.
> Il 11/lug/2015 10:57 PM, "Martinx - ジェームズ" <thiagocmartinsc@xxxxxxxxx> ha scritto:
>>
>> Hey guys,
>>
>> Currently, I created a Trusty tarball by running:
>>
>> "pbuilder-dist trusty create"
>>
>> Then I added a "PPA Dependency" inside my "trusty" image.
>>
>> But now, I need another "tarball" of trusty but, without the PPA...
>>
>> So, how to manage 2 "trusty" from the same "pbuilder-dist" / "user" ?
>>
>> I mean, I need 2 "trusty" "base images" but, one with my PPA inside of it, another just plain / vanilla Trusty (without any external PPA).
>>
>> How can I do that?
>>
>> Thanks!
>> Thiago
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~launchpad-users
>> Post to : launchpad-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~launchpad-users
>> More help : https://help.launchpad.net/ListHelp
>>
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-users
Post to : launchpad-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~launchpad-users
More help : https://help.launchpad.net/ListHelp
References