Commit Graph

535 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
3eaa198c97 fedora: improve error handling
Interrupt build process when error encountered.
2013-12-13 04:29:29 +01:00
Marek Marczykowski-Górecki
25459fe993 archlinux: use newer version of initial image
The old one is no longer available on the server.
2013-12-13 04:28:38 +01:00
Marek Marczykowski-Górecki
d2d0e619c3 archlinux: download signature file from the network
We still have local copy of keys.
2013-12-13 04:26:44 +01:00
Marek Marczykowski-Górecki
6f493908c5 cleanup on template uninstall
Remove files created during template lifetime.
2013-12-13 04:18:25 +01:00
Marek Marczykowski-Górecki
33ac846999 Fedora 19 initial build files 2013-12-08 21:32:49 +01:00
Marek Marczykowski-Górecki
1e9b01d317 Minor fixes to archlinux build 2013-12-08 20:33:28 +01:00
Marek Marczykowski-Górecki
ccc44fe093 Remove "empty" directory, already ignored by gitignore 2013-12-08 20:32:36 +01:00
Marek Marczykowski-Górecki
e9f5eb91db version 2.1.1 2013-09-17 04:49:17 +02:00
Marek Marczykowski
fc7c9c7038 rpm: set sgid for template directory
Make sure that contents belong to qubes group.
2013-05-20 01:36:45 +02:00
Marek Marczykowski
6867aa8ef0 rpm: force offline mode if installing inside of chroot 2013-05-18 05:59:04 +02:00
Marek Marczykowski
2b7cf80c91 Remove duplicated file
The same file is in
scripts_fedora/base_rpms_fc18/fedora-release-18-1.noarch.rpm
2013-05-06 07:20:27 +02:00
Olivier Medoc
2149d9f7a1 archlinux: remove fstab module line making qubes fail to boot 2013-05-01 02:15:07 +02:00
Marek Marczykowski
d13a4eff88 archlinux: do not use additional sudo inside scripts_archlinux/*
The whole build process is started as root (check Makefile), so there is
no need for additional sudo. This makes some things much simpler
(for example appending to some files).
2013-04-28 22:50:18 +02:00
Marek Marczykowski
75a63613bc cleanup-image: smart image shrink using fstrim
Linux loop driver support TRIM operation for some time (from 3.1
kernel), which is mapped to hole punch operation in underlying
filesystem (which must support it - ext* and xfs have it).
This is much faster and less space consuming than previous cp --sparse
method.
2013-04-28 22:49:41 +02:00
Marek Marczykowski
30155ba17b Fix template-repo handling - chown it and clean only current one
Without chown, normal user cannot remove it (in next
prepare-repo-template). Also fix prepare-repo-template to clean only
current repo, not all of them.
2013-04-28 22:36:51 +02:00
Marek Marczykowski
4c8f1755d9 Merge branch 'archlinux'
Conflicts:
	.gitignore
	Makefile
	build_template_rpm
	templates.spec
2013-04-28 06:08:18 +02:00
Olivier Medoc
07dde30ba2 archlinux: Missing packages for using archlinux as a NetVM 2013-04-28 03:26:01 +02:00
Marek Marczykowski
95252f246d archlinux: remove unused files
Now packages are built by qubes-builder, so no need for build scripts
here.
2013-04-19 13:00:04 +02:00
Marek Marczykowski
cc5ecbb71d archlinux: create mnt_archlinux_dvd directory before mount
It was created in 00_prepare.sh, but only in case of downloading iso
image, which can be already done by qubes-builder.
2013-04-19 02:20:53 +02:00
Marek Marczykowski
455a91245c archlinux: abort on error 2013-04-19 02:20:29 +02:00
Olivier Medoc
a126af6857 archlinux: use package built by qubes-builder 2013-04-18 18:40:36 +02:00
Marek Marczykowski
522a47a58a archlinux: include archlinux-master-keys in repository 2013-03-28 07:54:12 +01:00
Olivier Medoc
e92c17810a archlinux: fix to support chroot preparation outside of the template builder 2013-03-28 06:41:59 +01:00
Marek Marczykowski
a9477ac200 spec: fix paths and requires according to new components layout 2013-03-25 16:20:49 +01:00
Marek Marczykowski
6a3a51701b Update update-repo-installer make target to new builder API 2013-03-20 15:24:15 +01:00
Marek Marczykowski
4c1c6e7bab Merge branch 'master' of git://git.qubes-os.org/joanna/template-builder 2013-02-25 13:26:44 +01:00
Marek Marczykowski
46e102101d gitignore update 2013-02-25 07:41:22 +01:00
Joanna Rutkowska
9e347202ec Merge branch 'master' of git://git.qubes-os.org/marmarek/template-builder 2013-02-24 14:52:47 +01:00
Marek Marczykowski
c5465b4355 makefile: one more fix for multiple template rpms 2013-02-24 14:48:29 +01:00
Joanna Rutkowska
375d12dcdc Merge branch 'master' of git://git.qubes-os.org/marmarek/template-builder 2013-02-24 13:50:42 +01:00
Marek Marczykowski
99e9e0351d makefile: Fix building many different template rpm packages at the same time
Store build_timestamp for each built template to not mix them up in
update-repo-installer.
2013-02-24 13:33:57 +01:00
Joanna Rutkowska
556a4bb5c4 version 2.1.0 2013-02-24 10:12:21 +01:00
Joanna Rutkowska
bee7a1502a Merge branch 'master' of git://git.qubes-os.org/marmarek/template-builder 2013-02-24 09:52:29 +01:00
Marek Marczykowski
0e6af81d0f Install qpdf-converter in template 2013-02-23 17:11:10 +01:00
Joanna Rutkowska
1358f2dd5b Merge branch 'master' of git://git.qubes-os.org/marmarek/template-builder 2013-02-18 10:34:43 +01:00
Marek Marczykowski
dd2bee05f0 fedora: fix (un)mounting issues 2013-02-16 22:51:02 +01:00
Marek Marczykowski
c520d85c7a minor messages fixes 2013-02-16 22:51:01 +01:00
Marek Marczykowski
338593d624 prepare_image: exit on error 2013-02-16 22:51:01 +01:00
Marek Marczykowski
afc68b641c archlinux: keep downloaded files in $CACHEDIR (new variable)
Do not download anything directly in template-builder root. Also do not
download and extract archlinux iso if existing file is current.
2013-02-16 22:51:01 +01:00
Marek Marczykowski
4123d2fdec Update comment in makefile 2013-02-16 22:51:01 +01:00
Marek Marczykowski
346a24cba4 Move Fedora keys and base_rpms to scripts_fedora dir 2013-02-16 22:51:01 +01:00
Marek Marczykowski
6aead48795 Rename scripts_fc17 to scripts_fedora 2013-02-16 22:50:47 +01:00
Marek Marczykowski
8e7f0b0280 Move Fedora-specific 3rd party software scripts to fedora dir 2013-02-16 21:21:10 +01:00
Marek Marczykowski
add64aa2e4 Support different versions of the same distribution
Split $DIST to distribution name and version (builder_setup script) and search
for scripts first $DIST-specific, but then for given distribution.

Also move out some Fedora-specific things to scripts_fc17.
2013-02-16 21:21:05 +01:00
Marek Marczykowski
746cb149c9 use tabs for indentation in shell scripts 2013-02-16 20:49:42 +01:00
Marek Marczykowski
91a632738d fc18: install basic editors (vim, emacs) 2013-02-16 20:49:42 +01:00
Marek Marczykowski
b1006d64e1 use final fedora-release-18 package 2013-02-16 20:49:42 +01:00
Marek Marczykowski
07b7da48fd package list for fc18
Fedora 18 have reworked package groups (e.g. introduction of
environments) so use separate group list.
2013-02-16 20:49:42 +01:00
Marek Marczykowski
d4efa678c7 fedorize_image: support per-DIST packages.list
Conflicts:
	Makefile
2013-02-16 20:48:55 +01:00
Marek Marczykowski
d244c5b7d1 spec: provide 'qubes-template' virtual package 2013-02-16 20:44:04 +01:00