On Fri, Apr 28, 2017 at 07:23:46PM +0200, [email protected] wrote: > Dominique St-Pierre Boucher <[email protected]> [2017-03-23 14:54 > +0100]: > > I was able to build a jessie minimal template but not a stretch one. > > So I decided to clone it and upgrade the template. I ran into a lot of > > issues with that. The way I was able to finally do it was to enable > > the qubes-testing repo for stretch before the updgrade and doing the > > upgrade from the console (sudo xl console [vm_name]). > > I also was not able to build a stretch-minimal template, only > jessie-minimal. (I did not try to build any of the regular templates.) > > Notes: > > When updating jessie-minimal to unstable, you have to select the Qubes > testing repository; the Qubes unstable repository does not exist. > > When you update, be careful with apt-get dist-upgrade; it will remove > qubes-gui-agent, among others. I don't know if apt-get upgrade will > result in a full upgrade to debian unstable, but at least it will not > remove any of the essential qubes packages. > > There are detailed instructions for building an Archlinux template: > https://www.qubes-os.org/doc/building-archlinux-template/ . Follow them, > replacing Arch with Debian. > > Do the building in a fedora-23 template. I can personally confirm that > using a fedora-24-minimal or fedora-25-minimal template causes a lot of > problems. If I had done it like that from the beginning, I probably > could have followed Unman's instructions without problem. (Thanks, by > the way!) > > -- > ubestemt
You should be able to build a stretch template from qubes builder. The only issue comes with actually building the template - the packages all build fine. The issue here is that make template fails because of permissions set on /tmp in the prepared_image. If you have started 'make template' and the build fails, then you should: cd qubes-src/linux-template-builder/prepared_images sudo mount stretch-minimal.img /mnt sudo chmod 777 /mnt/tmp sudo umount /mnt cd ../../.. (back to qubes-builder) make template The second invocation will work and you will have a shiny stretch template at the end. (NB the permissions will remain as 777 on /tmp in the template and therefore in all qubes based on it. You can change this should you wish.) unman -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20170429002745.GB13741%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
