building Ubuntu templates

477 views
Skip to first unread message

Achim Patzner

unread,
Jan 31, 2016, 6:46:56 PM1/31/16
to qubes-users
Hi!

Did anyone try building the Ubuntu-templates with the current builder?

Running setup, picking all the templates I want and then following the rest of the instructions I’m only getting the fc23 template built. Obviously the same is happening if I follow it up with “make template”. Trying a make template-local-trusty (or something else) ends in errors.

Any ideas?


Achim

Jason M

unread,
Feb 1, 2016, 9:39:23 AM2/1/16
to qubes-users

I have Ubuntu based templates building using my private repos.  I will push the changes this week.  I have a compiled template for Wily I could upload somewhere if you know some place to upload 3GB file or wait till I push my changes or I can give you a builder.conf to use my repos where needed to build.



Achim Patzner

unread,
Feb 1, 2016, 3:39:10 PM2/1/16
to Jason M
> Am 01.02.2016 um 15:39 schrieb Jason M <nrg...@gmail.com>:
>> On Sunday, 31 January 2016 18:46:56 UTC-5, Achim Patzner wrote:
>> Running setup, picking all the templates I want and then following the rest of the instructions I’m only getting the fc23 template built. Obviously the same is happening if I follow it up with “make template”. Trying a make template-local-trusty (or something else) ends in errors.
>
> I have Ubuntu based templates building using my private repos. I will push the changes this week.

Nice; call me old-fashioned but I prefer solutions that help everybody. Right now I’m wondering if I really was that small a minority.

> I have a compiled template for Wily I could upload somewhere if you know some place to upload 3GB file or wait till I push my changes or I can give you a builder.conf to use my repos where needed to build.

I’d really like to build it myself (not a matter of trust in itself, I wanted to make a decision which basic templates to use and Fedora is thoroughly annoying me right now; I have to get current with the tools, too). So I’d prefer a builder.conf.


Achim

Tim W

unread,
Feb 2, 2016, 3:22:54 AM2/2/16
to qubes-users, nrg...@gmail.com



There is an error in the setiup script that always draws the DIST_VM = fc23 line from the  qubes-os-master.conf file sitting in examples-configs folder.  That is why even if you unselect fedora you are required to recheck it and it then ends up in the build.conf file as well.  Before running setup edit the qubes-os-master.conf file and remove the FC23 from DIST_VM line near the top.

There is still something wrong with the build though.

I made the above change then ran setup.

I used marmarek  qubes builder so chose that of course as its the latest.

Chose debain  and mgmt salt plugins.

Then it downloades need source.

Then chose vivid-desktop and vivid-salt under templates

Ran make install-deps and source to be sure

Qubes-vm failed at core-qubesdb-vm (debian)

I went into that src folder and looked at the make file.  Other than it using python 2.7 nothing jumped out at me but I am still very very new to all this qubes building.

Not sure if you are suppose to need to make the vivid-salt dist vm as well like I did but that is not what failed regardless.


So I think you will have to wait for someone with more experience to figure out the issue with the build.

Currently I can get the archllnux to build consistently thru setup now. 

But I can not get Qubes iso to build as I keep getting errors with the mgmt salt whether I go thru setup or the default build file and using either qubes or marmarek repo so I am not sure whats up with it.  Personally I would have thought things like building Qubes would be issue free but there seems to be some hiccups.  It certainly could be something easy that I just do not have the experience to catch.  May even be something I am screwing up.  Highly possible to say the least LOL


Clayton

unread,
Feb 6, 2016, 7:21:52 PM2/6/16
to qubes...@googlegroups.com
On Mon, 1 Feb 2016 21:38:22 +0100
Achim Patzner <no...@noses.com> wrote:

> > Am 01.02.2016 um 15:39 schrieb Jason M <nrg...@gmail.com>:
> >> On Sunday, 31 January 2016 18:46:56 UTC-5, Achim Patzner wrote:
> >> Running setup, picking all the templates I want and then following
> >> the rest of the instructions I’m only getting the fc23 template
> >> built. Obviously the same is happening if I follow it up with
> >> “make template”. Trying a make template-local-trusty (or something
> >> else) ends in errors.
> >
> > I have Ubuntu based templates building using my private repos. I
> > will push the changes this week.

I tried an Ubuntu build and failed, but then success with ArchLinux
took some of the sting out of it. I would like to have Ubuntu available
though, if for no other reason sometimes I need specific images for
work.

Clayton

Chris Laprise

unread,
Feb 8, 2016, 7:56:05 AM2/8/16
to Jason M, qubes-users
Hello Jason,

Are the changes available now? And is it possible to build it in a
debian vm?

Regards,
Chris

nrgaway

unread,
Feb 8, 2016, 8:33:57 AM2/8/16
to Chris Laprise, qubes-users
Changes are available using my branches.  I been really sick for a week, but soon as I feeling better I will push them and or provide a builder.conf to build.

Building in a Debian VM is possible at the moment for the components but not template and also requires a few patches.

Marek Marczykowski-Górecki

unread,
Feb 8, 2016, 8:53:46 AM2/8/16
to nrgaway, Chris Laprise, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Having qubes-builder working in Debian VM would be great. So if by a
chance you are working on it, really appreciate. That would for example
allow setting travis-ci.org service to at least build-test changes (at
least detect whether all the templates can be built properly).

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWuJ3fAAoJENuP0xzK19csAbkIAJOXHVyy6wo6uiuJE84B9CUU
zzrEpawB10hwXPJ1ySMn44PGl0rzgxBN1z0CcSz6OZQbWd7TnjEQ+p6FdwqFpLya
0sChObOnw9Rf/ZrmUW81DQkXTNxg2dxMIoZWwzA98I93RQxgkAnsAA0Lqw//wIbi
ldnB+0nxY0VVv9okyH6KpfqAIGE2OpzEu4SVPdH/QHV5ExYkOKWgWuyzQjKEA0AJ
r2+2i9FkRb2KtZXAcWmZsnrTxC744mOsH5xQutng2sZ1V1wp/xy4Zu48WrL76aex
ecO/D8g9+AVCTyFp4NHR4ZpMC7xQ5/OecIFXFFdHcwtuph0RLIJ7QAJffDj3O3c=
=y7ON
-----END PGP SIGNATURE-----

nrgaway

unread,
Feb 8, 2016, 10:58:18 AM2/8/16
to Marek Marczykowski-Górecki, Chris Laprise, qubes-users
The only real issue was dependencies and I have not got around to template building yet; need to find out the rpm creation software I need.

Tim W

unread,
Feb 9, 2016, 9:50:39 PM2/9/16
to qubes-users, marm...@invisiblethingslab.com, tas...@openmailbox.org

that would be great as once that is handled then we should be able to get the setup script to work for the build.   From a end user point I think the setup script gives people a consistent experience and good flexibility from one central interface.

If we could achieve this then you could have one document to build all the various distro templates.  That would streamline things significantly in terms of template builds.  I am happy to help with testing etc...

Cheers,
Tim

Frank Schäckermann

unread,
Feb 26, 2016, 3:22:32 AM2/26/16
to qubes-users, tas...@openmailbox.org

Hi Jason!

I tried to use your repositories exclusively to build trusty and vivid and I was able to get past the first problem in core-qubesdb-vm (apparently some dependency on libsystemd-dev is missing somewhere, but manually installing it in the chroot before running make core-qubesdb-vm will fix that), but then it stops with some problem in the salt-mgmt stuff.

I would need an ubuntu template (trusty, vivid or whatever, I don't care) pretty urgently. Any chance of getting a builder.conf from you, that would allow me to get through the compilations?

Thanks in advance, Frank

nrgaway

unread,
Feb 26, 2016, 12:21:26 PM2/26/16
to Frank Schäckermann, qubes-users, Chris Laprise
Hey Frank,

I've been sick most of this month with some really nasty flu like illness but have started feeling better the past few days so I will attempt to get that for you over the weekend.

In the mean time, I use the qubes-builder setup program to create the builder.conf; that should take care of the salt errors and the following are the branch overrides required for Ubuntu to build.  Note I have only really been testing with wily at the moment.

OVERRIDE_BRANCH_builder_debian            = qubuntu
OVERRIDE_BRANCH_core_agent_linux          = qubuntu
OVERRIDE_BRANCH_core_qubesdb              = qububtu
OVERRIDE_BRANCH_gui_agent_linux           = qubuntu
OVERRIDE_BRANCH_vmm_xen                   = snippets

Note that I have not rebased any of my repos with Marek's over the last month either.  Will look at doing that this coming week once I catch up on things :)

I been using a wily template using those branches for the last month and everything seems to be working except as a NetVM.  Still need to investigate that a bit further.

Reply all
Reply to author
Forward
0 new messages