tools/mic.git
12 years agoresolve the depends of python-urlgrabber
Gui Chen [Thu, 7 Jun 2012 08:26:35 +0000 (16:26 +0800)]
resolve the depends of python-urlgrabber

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix mic ch raw failed issue
Gui Chen [Thu, 7 Jun 2012 06:01:51 +0000 (14:01 +0800)]
fix mic ch raw failed issue

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoraise when multi parts detected in ks file
Gui Chen [Wed, 6 Jun 2012 10:25:36 +0000 (18:25 +0800)]
raise when multi parts detected in ks file

it's not supported now for multi partitions in live image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocentralized interface to check existing images
Gui Chen [Wed, 6 Jun 2012 03:41:11 +0000 (11:41 +0800)]
centralized interface to check existing images

new api: ImagerPlugin::check_image_exists

this change will fix a bug for --pack-to handling

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoresolve right url for attachment package
Gui Chen [Tue, 5 Jun 2012 07:56:30 +0000 (15:56 +0800)]
resolve right url for attachment package

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agorefine repostr structure to fix comma issue in baseurl
Gui Chen [Sun, 3 Jun 2012 08:07:16 +0000 (16:07 +0800)]
refine repostr structure to fix comma issue in baseurl

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agosome fixes to enhance authentication url
Gui Chen [Sat, 2 Jun 2012 04:16:12 +0000 (12:16 +0800)]
some fixes to enhance authentication url

the fixed issues includes:
1. "https://url" can't get https proxy properly
2. "http://host/a//bc" (inculde "//" in abc) is not supported in some server
3. "http://a+bc" (include "+" in abc) is quoted so that failed to download

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agooutput all install log even stdout not a tty
Gui Chen [Wed, 30 May 2012 06:07:06 +0000 (14:07 +0800)]
output all install log even stdout not a tty

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoreset LD_PRELOAD for chroot env
Gui Chen [Mon, 28 May 2012 05:54:50 +0000 (13:54 +0800)]
reset LD_PRELOAD for chroot env

libs in LD_PRELOAD can't be preloaded in chroot, so reset it to clean such errors

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agopack images together and support compressed file format
Gui Chen [Mon, 28 May 2012 02:24:18 +0000 (10:24 +0800)]
pack images together and support compressed file format

--pack-to is enabled for fs, loop, raw, and includes tar, tar.gz, tar.bz2, zip
--compress-image is enabled for loop, raw, and includes gzip, bzip2
--pack-to is compatible with --taring-to
--compress-image is compatible with --compress-disk-image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoavoid failure caused by symlink resolv.conf
Gui Chen [Fri, 25 May 2012 08:47:49 +0000 (16:47 +0800)]
avoid failure caused by symlink resolv.conf

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix zypp missing password when using username:passwd pattern url
Gui Chen [Wed, 23 May 2012 11:48:04 +0000 (19:48 +0800)]
fix zypp missing password when using username:passwd pattern url

if repo url is like 'http://username:passwd@host/repo/', zypp would handle incorrectly,
and this commit fix the issue

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agouse abspath for cachedir and outdir path
Gui Chen [Thu, 17 May 2012 08:36:07 +0000 (16:36 +0800)]
use abspath for cachedir and outdir path

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoadd new subcmd 'auto' to handle magic line in ks
Gui Chen [Wed, 16 May 2012 13:42:23 +0000 (21:42 +0800)]
add new subcmd 'auto' to handle magic line in ks

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agobump up version to 0.10 0.10
Gui Chen [Tue, 15 May 2012 07:32:52 +0000 (15:32 +0800)]
bump up version to 0.10

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoextract rpm listed in attachment which not found in rootfs
Gui Chen [Mon, 14 May 2012 13:25:10 +0000 (21:25 +0800)]
extract rpm listed in attachment which not found in rootfs

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoadd --compress-to option to support zip format in loop image
Gui Chen [Mon, 14 May 2012 07:55:38 +0000 (15:55 +0800)]
add --compress-to option to support zip format in loop image

keep '--taring-to' to compatible with before

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocontainer support with '%attachment' in ks
Gui Chen [Wed, 9 May 2012 14:39:17 +0000 (22:39 +0800)]
container support with '%attachment' in ks

section %attachment in ks file will list file path or package name,
container will copy the files or content of the packages inside image.
then they are all taring together in loop image with '--taring-to'.

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoadd setup.cfg to specify prefix
Gui Chen [Wed, 2 May 2012 08:38:25 +0000 (16:38 +0800)]
add setup.cfg to specify prefix
and use sys.prefix as default prefix dir in setup.py

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agodo not overwrite any existing mic.conf in setup.py
JF Ding [Wed, 2 May 2012 07:05:43 +0000 (15:05 +0800)]
do not overwrite any existing mic.conf in setup.py

12 years agocorrect sys prefix in Makefile
Gui Chen [Wed, 2 May 2012 05:49:35 +0000 (13:49 +0800)]
correct sys prefix in Makefile
and correct join path for mic.conf

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agouse plugin_dir in conf to substitute default plugin dir
Gui Chen [Wed, 2 May 2012 05:08:52 +0000 (13:08 +0800)]
use plugin_dir in conf to substitute default plugin dir

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoignore nonexist config file
JF Ding [Wed, 2 May 2012 03:20:19 +0000 (11:20 +0800)]
ignore nonexist config file

and will not abort w/ conf errors

12 years agodetect site conf file, use /etc/mic/mic.conf by default
Gui Chen [Tue, 24 Apr 2012 09:35:24 +0000 (17:35 +0800)]
detect site conf file, use /etc/mic/mic.conf by default

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoremove all hardcoded path in setup.py
JF Ding [Mon, 23 Apr 2012 08:46:58 +0000 (16:46 +0800)]
remove all hardcoded path in setup.py

12 years agoupdate information in setup.py
JF Ding [Sat, 21 Apr 2012 14:46:28 +0000 (22:46 +0800)]
update information in setup.py

12 years agofixed bug of taring-to plus compress-disk opts for loop
JF Ding [Thu, 19 Apr 2012 09:31:00 +0000 (17:31 +0800)]
fixed bug of taring-to plus compress-disk opts for loop

12 years agofix symlink timezone info issue in some os tzdata
Gui Chen [Thu, 19 Apr 2012 03:19:24 +0000 (11:19 +0800)]
fix symlink timezone info issue in some os tzdata

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoupdate distfiles for the development version
JF Ding [Wed, 18 Apr 2012 14:25:48 +0000 (22:25 +0800)]
update distfiles for the development version

12 years agotolerate some OS errors in the image confirations stage
JF Ding [Wed, 18 Apr 2012 14:17:50 +0000 (22:17 +0800)]
tolerate some OS errors in the image confirations stage

12 years agobump up version to 0.9 0.9
Gui Chen [Fri, 13 Apr 2012 02:36:42 +0000 (10:36 +0800)]
bump up version to 0.9

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agopre-install package support with zypp
Gui Chen [Fri, 13 Apr 2012 02:26:04 +0000 (10:26 +0800)]
pre-install package support with zypp

use '%prepackages' in ks file to specify the packages needed to be pre-installed,
pre-installing would not run with scriptlet, and it's only used for zypp now.

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocopy mic.conf into bootstrap
Gui Chen [Mon, 9 Apr 2012 02:02:46 +0000 (10:02 +0800)]
copy mic.conf into bootstrap

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoenhance sorting for version comparsion in zypp
Gui Chen [Thu, 5 Apr 2012 07:28:09 +0000 (15:28 +0800)]
enhance sorting for version comparsion in zypp

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agorewrite chroot tar image using xml format mount point file
Gui Chen [Fri, 30 Mar 2012 09:41:24 +0000 (17:41 +0800)]
rewrite chroot tar image using xml format mount point file

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agodevel after 0.8 release
JF Ding [Fri, 30 Mar 2012 02:50:31 +0000 (10:50 +0800)]
devel after 0.8 release

12 years agoremove the incorrect number showing in fs src pkgs
Gui Chen [Thu, 29 Mar 2012 12:50:26 +0000 (20:50 +0800)]
remove the incorrect number showing in fs src pkgs

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoremove tests directory for dist in Makefile
Gui Chen [Thu, 29 Mar 2012 09:12:26 +0000 (17:12 +0800)]
remove tests directory for dist in Makefile

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix liveusb parted mkpart failure, revert mbr size expand in raw 0.8
Gui Chen [Wed, 28 Mar 2012 09:16:29 +0000 (17:16 +0800)]
fix liveusb parted mkpart failure, revert mbr size expand in raw

It is a regression bug from commit:951c951

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocleanup /tmp/repolic* dir in the EULA checking
Gui Chen [Wed, 28 Mar 2012 03:15:12 +0000 (11:15 +0800)]
cleanup /tmp/repolic* dir in the EULA checking

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoremove '\n' in output supported arches
Gui Chen [Tue, 27 Mar 2012 07:32:27 +0000 (15:32 +0800)]
remove '\n' in output supported arches

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agobump up version to 0.8
Zhang Qiang [Mon, 26 Mar 2012 07:23:56 +0000 (15:23 +0800)]
bump up version to 0.8

12 years agoBackport: Add alignment option for partitions
Gui Chen [Fri, 23 Mar 2012 07:05:31 +0000 (15:05 +0800)]
Backport: Add alignment option for partitions

This a backport of Marko's mic2 patch with a few changes:
https://meego.gitorious.org/meego-developer-tools/image-creator/merge_requests/28

use '--align' to specify the alignment in ks file

e.g. in kickstart, 'part /boot --size 256 --ondisk sda --align=4' to
specify the alignment of boot partition as 4k, align option is counted by KB.

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoremove the default kernel cmdln "quiet vga" for raw
JF Ding [Fri, 23 Mar 2012 02:54:36 +0000 (10:54 +0800)]
remove the default kernel cmdln "quiet vga" for raw

12 years agocheck if size is 0 in human_size, avoid math domain error
Gui Chen [Thu, 22 Mar 2012 08:59:34 +0000 (16:59 +0800)]
check if size is 0 in human_size, avoid math domain error

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoupdate distfile mic.spec
Gui Chen [Thu, 22 Mar 2012 07:11:06 +0000 (15:11 +0800)]
update distfile mic.spec

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoupdate distfile debian/control
Gui Chen [Thu, 22 Mar 2012 06:27:23 +0000 (14:27 +0800)]
update distfile debian/control

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoimport debian packaging files and add 'Obsoletes' in spec
JF Ding [Tue, 20 Mar 2012 06:31:11 +0000 (14:31 +0800)]
import debian packaging files and add 'Obsoletes' in spec

12 years agounittest: update suite.py to append new cases
Gui Chen [Fri, 16 Mar 2012 09:09:32 +0000 (17:09 +0800)]
unittest: update suite.py to append new cases

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agounittest: remove cachedir bind mount
Gui Chen [Mon, 12 Mar 2012 12:27:34 +0000 (20:27 +0800)]
unittest: remove cachedir bind mount

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoAdd unittest case: chroot, msger, runner
Gui Chen [Fri, 16 Mar 2012 07:41:35 +0000 (15:41 +0800)]
Add unittest case: chroot, msger, runner

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorrect stderr output lost in runner.runtool
Gui Chen [Fri, 16 Mar 2012 06:18:06 +0000 (14:18 +0800)]
correct stderr output lost in runner.runtool

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoNew mechanism for loop device allocation
Gui Chen [Thu, 15 Mar 2012 10:07:47 +0000 (18:07 +0800)]
New mechanism for loop device allocation

1. get loopdev id, 10<id<100, considered raw image would use symlink (id>100)
2. create loopdev, if exists, use when free, or raise when used
3. return loopdev name, used by the caller
4. cleanup when mic exit, including dm table, losetup list

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoupdate the usage document for new bug reporting way
JF Ding [Sat, 10 Mar 2012 01:15:12 +0000 (09:15 +0800)]
update the usage document for new bug reporting way

12 years agocleaner error message from zypp backend
JF Ding [Sat, 10 Mar 2012 01:14:40 +0000 (09:14 +0800)]
cleaner error message from zypp backend

12 years agotest: add 40 help test case and update several system test case.
Zhang Qiang [Thu, 8 Mar 2012 07:03:37 +0000 (15:03 +0800)]
test: add 40 help test case and update several system test case.

12 years agounittest: adjust package list format with the change of backend.
Zhang Qiang [Thu, 8 Mar 2012 05:52:30 +0000 (13:52 +0800)]
unittest: adjust package list format with the change of backend.

12 years agoremove the deprecated spectacle file
JF Ding [Wed, 7 Mar 2012 02:57:12 +0000 (10:57 +0800)]
remove the deprecated spectacle file

12 years agodevel after 0.7 release
JF Ding [Wed, 7 Mar 2012 02:51:58 +0000 (10:51 +0800)]
devel after 0.7 release

12 years agocorrect saveto path in chroot
Gui Chen [Wed, 7 Mar 2012 02:57:56 +0000 (10:57 +0800)]
correct saveto path in chroot

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agonew 0.7 release 0.7
JF Ding [Fri, 2 Mar 2012 09:37:01 +0000 (17:37 +0800)]
new 0.7 release

12 years agomake msger.py accept unicode string
JF Ding [Fri, 2 Mar 2012 09:31:23 +0000 (17:31 +0800)]
make msger.py accept unicode string

12 years agoloop taring-to feature support macro replacing
JF Ding [Fri, 2 Mar 2012 09:01:42 +0000 (17:01 +0800)]
loop taring-to feature support macro replacing

@NAME@ can be replaced with acutal image name
and a quick solution for the tarball content

12 years agorewrite man page for mic
Gui Chen [Fri, 2 Mar 2012 06:51:53 +0000 (14:51 +0800)]
rewrite man page for mic

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorrect KickstartError to KsError
Gui Chen [Wed, 29 Feb 2012 09:18:16 +0000 (17:18 +0800)]
correct KickstartError to KsError

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoReuse cached rpm between yum and zypp, making the same package dir for them
Gui Chen [Mon, 27 Feb 2012 12:04:27 +0000 (20:04 +0800)]
Reuse cached rpm between yum and zypp, making the same package dir for them

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoraise exception instead of exit directly in zypp-backend
JF Ding [Mon, 27 Feb 2012 10:18:49 +0000 (18:18 +0800)]
raise exception instead of exit directly in zypp-backend

when it encounter transaction error, the call msger.error will
quit the tool w/o releasing the allocated loop devices.

12 years agochroot.py: make saveto dir when not existed
Gui Chen [Fri, 24 Feb 2012 02:23:58 +0000 (10:23 +0800)]
chroot.py: make saveto dir when not existed

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoremove '/var/cache/yum' from bind mounts
Gui Chen [Thu, 23 Feb 2012 07:00:59 +0000 (15:00 +0800)]
remove '/var/cache/yum' from bind mounts

mounting yum cache to '/var/cache/yum' in chroot is risky,
for the dir cache may be recursive after mounting

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix the type issue in opensuse 12.1
Gui Chen [Thu, 23 Feb 2012 06:49:46 +0000 (14:49 +0800)]
fix the type issue in opensuse 12.1

issue shows "can't multiply sequence by non-int of type 'float':
if cur > max_size + max_size*.10"

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoDon't print warning about repo key not exist
Zhang Qiang [Mon, 20 Feb 2012 07:57:25 +0000 (15:57 +0800)]
Don't print warning about repo key not exist

Also print repo refreshing info while backend refreshing repodata.

12 years agoMerge pull request #13 from saukko/master
JF Ding [Fri, 17 Feb 2012 14:49:31 +0000 (06:49 -0800)]
Merge pull request #13 from saukko/master

Fix regression introduced by new compression format addition.

12 years agodevelopment after 0.6 release
JF Ding [Fri, 17 Feb 2012 14:22:48 +0000 (22:22 +0800)]
development after 0.6 release

using the 0.7git version and unified style and
comments for recent patches

12 years agoFix regression introduced by 9a14296c6dbfd3234c5cfef0f2571ee50201d89d
Marko Saukko [Thu, 16 Feb 2012 19:19:59 +0000 (21:19 +0200)]
Fix regression introduced by 9a14296c6dbfd3234c5cfef0f2571ee50201d89d

Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
12 years agobump up version to 0.6 0.6
Zhang Qiang [Wed, 15 Feb 2012 17:14:55 +0000 (01:14 +0800)]
bump up version to 0.6

12 years agogive hint when converted image existed
Gui Chen [Wed, 15 Feb 2012 09:24:35 +0000 (17:24 +0800)]
give hint when converted image existed

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorrect matching .metadata file in bootstrap
Gui Chen [Wed, 15 Feb 2012 08:51:11 +0000 (16:51 +0800)]
correct matching .metadata file in bootstrap

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoconf.py: proxy scheme check
Gui Chen [Wed, 15 Feb 2012 05:52:11 +0000 (13:52 +0800)]
conf.py: proxy scheme check

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agospace check before copy image
Gui Chen [Wed, 15 Feb 2012 05:21:05 +0000 (13:21 +0800)]
space check before copy image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agorunner.py: fixed several issues
JF Ding [Mon, 13 Feb 2012 07:19:40 +0000 (15:19 +0800)]
runner.py: fixed several issues

sync the changes from gbs project

12 years agofix local-pkgs-path not exist when using bootstrap
Gui Chen [Mon, 13 Feb 2012 03:08:09 +0000 (11:08 +0800)]
fix local-pkgs-path not exist when using bootstrap

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocatch creator error when retrieving bootstrap metadata
Gui Chen [Mon, 13 Feb 2012 03:01:10 +0000 (11:01 +0800)]
catch creator error when retrieving bootstrap metadata

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agozypp: abort with error msg for repo resolver issues
JF Ding [Sat, 11 Feb 2012 10:23:04 +0000 (18:23 +0800)]
zypp: abort with error msg for repo resolver issues

will not regard them as warning and continue

12 years agobear syntax '%post' without '%end' in ks file, giving warning
Gui Chen [Fri, 10 Feb 2012 09:32:15 +0000 (17:32 +0800)]
bear syntax '%post' without '%end' in ks file, giving warning

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoclean and format proxy.py
JF Ding [Fri, 10 Feb 2012 07:03:39 +0000 (15:03 +0800)]
clean and format proxy.py

12 years agosupport more compression formats than only bzip2
JF Ding [Fri, 10 Feb 2012 03:20:08 +0000 (11:20 +0800)]
support more compression formats than only bzip2

make the code more flexible to support more formats quickly

12 years agocorrect python-m2crypto name in spec for suse < 12.1
Gui Chen [Thu, 9 Feb 2012 03:17:19 +0000 (11:17 +0800)]
correct python-m2crypto name in spec for suse < 12.1

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agodetect proxy for zypp repo even without specified '--proxy'
Gui Chen [Wed, 8 Feb 2012 13:58:26 +0000 (21:58 +0800)]
detect proxy for zypp repo even without specified '--proxy'

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocollect the coupling stuff together
JF Ding [Wed, 8 Feb 2012 12:31:11 +0000 (20:31 +0800)]
collect the coupling stuff together

12 years agofix msg NoneType issue, causing exit after install
Gui Chen [Wed, 8 Feb 2012 10:16:58 +0000 (18:16 +0800)]
fix msg NoneType issue, causing exit after install

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorect matching pattern for src pkgs downloading
Gui Chen [Wed, 8 Feb 2012 03:14:56 +0000 (11:14 +0800)]
corect matching pattern for src pkgs downloading

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agonew doc KNOWN-ISSUES to highlight syslinux issue
JF Ding [Wed, 8 Feb 2012 01:12:15 +0000 (09:12 +0800)]
new doc KNOWN-ISSUES to highlight syslinux issue

and update README.rst with new section too

12 years agotypo fix
Gui Chen [Tue, 7 Feb 2012 05:12:46 +0000 (13:12 +0800)]
typo fix

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agobump up version to 0.5 0.5
Zhang Qiang [Mon, 6 Feb 2012 02:12:15 +0000 (10:12 +0800)]
bump up version to 0.5

12 years agoremove the hardcoded default args for bootloader
JF Ding [Fri, 3 Feb 2012 11:27:16 +0000 (19:27 +0800)]
remove the hardcoded default args for bootloader

removed the following settings:
  default "liveinst":"Installation Only" bootmenu item
  default "quiet" kernel args if not specified in ks

12 years agounify coding style of pkgr backend plugins
JF Ding [Fri, 3 Feb 2012 09:40:58 +0000 (17:40 +0800)]
unify coding style of pkgr backend plugins

mainly for readability and column width

12 years agoUpdate supported distros in readme document
Zhang Qiang [Fri, 3 Feb 2012 10:00:21 +0000 (18:00 +0800)]
Update supported distros in readme document

12 years agodeal with yum.conf inside yum backend by itself
Gui Chen [Fri, 3 Feb 2012 07:59:34 +0000 (15:59 +0800)]
deal with yum.conf inside yum backend by itself

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocheck free space of cache filesystem for downloading.
Zhang Qiang [Fri, 3 Feb 2012 03:17:06 +0000 (11:17 +0800)]
check free space of cache filesystem for downloading.

12 years agofix rpm db4 error(9): bad file descriptor
Gui Chen [Wed, 1 Feb 2012 08:43:29 +0000 (16:43 +0800)]
fix rpm db4 error(9): bad file descriptor

this bug root causes many issues, including 'failed to unmap loop',
it's caused by the unclosed rpmdb in yum backend, which is closed
by self.ts.close() in this commit.
Besides, self.closeRpmDB will set self._ts to None, so its order
would be put in the back.

Signed-off-by: Gui Chen <gui.chen@intel.com>