On Wednesday, May 30, 2018 at 5:37:17 PM UTC+2, [email protected] wrote:
> Archlinux template seems to be fully working and building completely but
> requires minor changes:
> 
> run ./setup
> release 4.0 stable
> select archlinux
> 
> edit the file
> qubes-src/builder-archlinux/scripts/04_install_qubes.sh
> 
> find the line:
> echo "  --> Registering Qubes custom repository..."
> cut out what is in 4 lines after this one echo and paste this instead:
> su -c 'echo "[qubes] " >> $INSTALLDIR/etc/pacman.conf'
> su -c 'echo " #QubesTMP" >> $INSTALLDIR/etc/pacman.conf'
> su -c 'echo "SigLevel = Optional TrustAll " >> $INSTALLDIR/etc/pacman.conf'
> su -c 'echo " #QubesTMP" >> $INSTALLDIR/etc/pacman.conf'
> su -c 'echo "Server = file:///tmp/qubes-packages-mirror-repo/pkgs " >>
> $INSTALLDIR/etc/pacman.conf'
> su -c 'echo " #QubesTMP" >> $INSTALLDIR/etc/pacman.conf'
> 
> The build script has some problem with #comments.
> Not sure why this fix works but different fixes were not, was about to
> give up but then it worked.
> 
> Another couple of edits (taken from 2 day old fix on github)
> /qubes-src/gui-agent-linux/archlinux/PKGBUILD
> In line 11
> 
> makedepends=(pkg-config make gcc patch git automake autoconf libtool
> pulseaudio xorg-server-devel xorg-util-macros xf86dgaproto libxcomposite
> qubes-vm-gui-common qubes-libvchan-xen qubes-db-vm libxt pixman)
> 
> pixman is added just to be sure but im unsure how it helps, as said on
> github too.
> 
> within the same file edit line 62:
> 'xorg-server>=1.19.0' 'xorg-server<1.21.0'
> 
> changed from "1.20.0" to "1.21.0"
> 
> and that would be it. Builds.
> 
> The qubes repository with archlinux binaries has its pgp signature expired
> for over 2 months so Qubes- stuff does not upgrade from within template.
> [qubes-r4.0]
> Server = http://olivier.medoc.free.fr/archlinux/current
> thats why it does not matter (much) if it is left disabled by default.
> 
> the only leftover would be to edit /etc/pacman.conf and remove last 3
> lines which were used during template build.
> 
> Thank you all

Hello,

I am having some difficulties building the Arch Linux template for Qubes 4.0.

I have been following the steps along the lines of this guide:
https://github.com/QubesOS/qubes-issues/issues/3185

Everything is looking fine until “make template”.

The logfile is showing this error message:

--> Updating pacman sources...
warning: config file /etc/pacman.conf, line 104: directive '[qubes] # QubesTMP'$
error: config file /etc/pacman.conf, line 105: invalid value for 'SigLevel' : '$
error: config file /etc/pacman.conf, line 105: invalid value for 'SigLevel' : '$
make[1]: *** [Makefile:64: rootimg-build] Error 1

I changed the SigLevel in the pacman.conf to “Optional TrustAll” and started 
the whole process again but nothing changed. 

I tried cutting out the lines and pasting these but there were more error 
messages instead suggesting that there is something wrong in these lines. Has 
anybody an idea what went wrong and what I could do?

A little help would be very welcome. I’ve been using Arch for quite some time 
and it would be great to have it as a template.

Thanks!

-- 
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/3d386ac1-3e29-4cee-a179-9518e5ce49ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to