Commit Graph

15 Commits

Author SHA1 Message Date
Marek Marczykowski
bf43862f3b fedorize-image: clean yum cache before install
This is mostly required for template-builder-repo, in which packages can be
rebuild without version change (so rpm hash will be different). In case of image update (instead of fresh install) cache can contain outdated information.

This is especially needed before qubeize_image, which install packages from
this repo, but one package in fedorize_image (qubes-vm-kernel-placeholder) is
installed at this stage. In any case fedorize_images is always called just
before qubeize_image, so one yum clean is enough.
2012-11-17 12:56:19 +01:00
Marek Marczykowski
b861bb9f37 fedorize_image: reduce verbosity
Now it prints (almost) only custom echos and yum messages. The later one gives
some (nicely formatted) progress of very time-consuming package download and
installation.
2012-11-14 16:50:28 +01:00
Marek Marczykowski
fdea5277cd qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks
This would simplify changes in package list and (more important) make
template-builder independent of layout of other repos (eg location of version
file).
2012-11-14 16:12:18 +01:00
Marek Marczykowski
4b4fdefe94 copy some /dev/ files required by fedora rpms
Some rpm %post scripts fails when /dev is empty. Especially lpstat crashes when
/dev/random is missing, which caused yum hang on some rpms installation.
2012-10-19 03:44:11 +02:00
Joanna Rutkowska
25843586c9 fedorize_image: also update *all* packages 2012-07-20 16:00:56 +02:00
Joanna Rutkowska
35077e2aa9 fedorize_image: use local copy of yum.conf 2011-11-09 16:25:24 +01:00
Marek Marczykowski
640b86b0b2 Use YUM_OPTS var
Sometimes is useful to add custom args to yum without modifing script.
I.e. --setopt=miltilib_policy=best or --enablerepo=
2011-09-26 21:08:11 +02:00
Marek Marczykowski
7788bc3013 Exit with retcode!=0 on failure 2011-09-25 22:41:27 +02:00
Marek Marczykowski
95ea2c5069 Mount /proc in fedorize_image 2011-09-25 20:47:43 +02:00
Marek Marczykowski
179c658348 Easy switch of base distro for template ($DIST env var) 2011-09-25 20:47:37 +02:00
Marek Marczykowski
c03967798f Create template with plain root.img without partitions (#118)
Additionaly provide clean-volatile.img
2011-03-18 22:30:23 -04:00
Joanna Rutkowska
d36bca0ce0 fedorize_image: use -y for yum 2010-10-01 15:39:00 +02:00
Joanna Rutkowska
13038dc1ac fedorize_image: use tar --sparse instead og bzip2 for cleanstarter.img 2010-06-20 22:42:39 +02:00
Joanna Rutkowska
70a24f5713 fedorize_image: install /etc/sysconfig/network and resolv.conf files 2010-06-20 22:16:30 +02:00
Joanna Rutkowska
de70f3a4fd the fedorize_image script 2010-06-19 02:27:12 +02:00