Commit Graph

323 Commits

Author SHA1 Message Date
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
Marek Marczykowski
dac766a085 spec: minor whitespace fix 2013-02-16 20:44:04 +01:00
Olivier Medoc
ee5c564c64 scripts_archlinux: implemented AUR package verification 2013-02-16 20:44:03 +01:00
Olivier Medoc
2478ad1b9d scripts_archlinux: implemented iso file verification 2013-02-16 20:43:52 +01:00
Olivier Medoc
2333bf24c0 scripts_archlinux: install dev tools as dependencies to ease template cleanup 2013-02-16 14:52:19 +01:00
Marek Marczykowski
e2ea48bb0c fc18: install basic editors (vim, emacs) 2013-02-13 17:15:17 +01:00
Marek Marczykowski
f5339be1c0 use final fedora-release-18 package 2013-02-12 02:04:49 +01:00
Marek Marczykowski
f90e200a6b package list for fc18
Fedora 18 have reworked package groups (e.g. introduction of
environments) so use separate group list.
2013-02-12 02:04:41 +01:00
Marek Marczykowski
fdadd4aff8 fedorize_image: support per-DIST packages.list 2013-02-07 23:29:14 +01:00
Marek Marczykowski
54e6156444 spec: provide 'qubes-template' virtual package 2013-02-06 14:16:08 +01:00
Marek Marczykowski
563b8f68b9 spec: minor whitespace fix 2013-02-06 14:16:08 +01:00
Olivier Medoc
13c8c08d29 template-builder: creation of script for archlinux template building.
Note: the template build successfully but has not been tested.

Note: the livecd should be verified before building the template (Checksum/PGP)
2013-02-06 02:53:30 +01:00
Olivier Medoc
588a55f0a6 template-builder: creation of script for fedora core 17 template building 2013-02-06 02:53:30 +01:00