tools/mic.git
12 years agobetter handling for print version
Gui Chen [Thu, 2 Aug 2012 07:06:56 +0000 (15:06 +0800)]
better handling for print version

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoprompt user to handle when errors occured in ks file
Gui Chen [Wed, 1 Aug 2012 13:34:02 +0000 (21:34 +0800)]
prompt user to handle when errors occured in ks file

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoadjust timezone warning to exception and refactor cp cmd
Gui Chen [Wed, 1 Aug 2012 06:17:08 +0000 (14:17 +0800)]
adjust timezone warning to exception and refactor cp cmd

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoprompt user to handle image configuration when thing goes wrong
Gui Chen [Wed, 1 Aug 2012 06:08:40 +0000 (14:08 +0800)]
prompt user to handle image configuration when thing goes wrong

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix minor bug of 'mic --version'
Gui Chen [Wed, 1 Aug 2012 03:25:21 +0000 (11:25 +0800)]
fix minor bug of 'mic --version'

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agorewrite syslinux/extlinux conf when kernel is symlink
Gui Chen [Tue, 31 Jul 2012 11:50:49 +0000 (19:50 +0800)]
rewrite syslinux/extlinux conf when kernel is symlink

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agouse device UUID in etc/fstab for raw image
Gui Chen [Tue, 31 Jul 2012 03:22:13 +0000 (11:22 +0800)]
use device UUID in etc/fstab for raw image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agosupport part label assigning for raw image
Gui Chen [Tue, 31 Jul 2012 03:19:43 +0000 (11:19 +0800)]
support part label assigning for raw image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoverify open-checksum to decide whether download metadata files
Gui Chen [Tue, 31 Jul 2012 03:17:44 +0000 (11:17 +0800)]
verify open-checksum to decide whether download metadata files

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoMerge "fixed wrong usage of rstrip in loop.py"
JF Ding [Fri, 27 Jul 2012 08:06:28 +0000 (01:06 -0700)]
Merge "fixed wrong usage of rstrip in loop.py"

12 years agofix some minor bugs
Gui Chen [Thu, 26 Jul 2012 03:21:44 +0000 (11:21 +0800)]
fix some minor bugs

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofixed wrong usage of rstrip in loop.py
JF Ding [Wed, 18 Jul 2012 10:15:53 +0000 (18:15 +0800)]
fixed wrong usage of rstrip in loop.py

and many code cleanup, mainly for extra length lines

12 years agotypo fix 0.13
Gui Chen [Tue, 17 Jul 2012 01:18:28 +0000 (09:18 +0800)]
typo fix

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agochroot: mark user's choice as root mounted to avoid auto-select
Gui Chen [Fri, 13 Jul 2012 13:13:43 +0000 (21:13 +0800)]
chroot: mark user's choice as root mounted to avoid auto-select

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoimprove handling of packing image
Gui Chen [Fri, 13 Jul 2012 07:01:06 +0000 (15:01 +0800)]
improve handling of packing image

'gzip -f' doesn't work as expect in some os, will not gzip '.tar.gz' ended tarball

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofixing the compatibile problem of misc.get_distro
JF Ding [Thu, 12 Jul 2012 09:18:27 +0000 (17:18 +0800)]
fixing the compatibile problem of misc.get_distro

12 years agobump up version to 0.13
Gui Chen [Thu, 12 Jul 2012 05:43:07 +0000 (13:43 +0800)]
bump up version to 0.13

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoconcise output of distro information printing
JF Ding [Thu, 12 Jul 2012 06:39:50 +0000 (14:39 +0800)]
concise output of distro information printing

12 years agosupported tizen bootstrap included mic
Gui Chen [Wed, 11 Jul 2012 07:59:27 +0000 (15:59 +0800)]
supported tizen bootstrap included mic

this function is not for normal user, but for special usage

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocleanup trailing spaces and extra-long lines
JF Ding [Wed, 11 Jul 2012 06:48:42 +0000 (14:48 +0800)]
cleanup trailing spaces and extra-long lines

12 years agoadd choice for msger and ask user to choose root partition
Gui Chen [Wed, 11 Jul 2012 02:43:00 +0000 (10:43 +0800)]
add choice for msger and ask user to choose root partition

fix mic ch raw image failure 'cause of the order of partition

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agohide loopdev presentation to avoid popup message in Ubuntu 12.04
Gui Chen [Tue, 10 Jul 2012 11:33:45 +0000 (19:33 +0800)]
hide loopdev presentation to avoid popup message in Ubuntu 12.04

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoput mic version to build log
Gui Chen [Tue, 10 Jul 2012 10:44:55 +0000 (18:44 +0800)]
put mic version to build log

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agosave log file default when --release specified
Gui Chen [Tue, 10 Jul 2012 10:35:44 +0000 (18:35 +0800)]
save log file default when --release specified

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofind path of 'env' for chroot automatically
Gui Chen [Tue, 10 Jul 2012 10:34:19 +0000 (18:34 +0800)]
find path of 'env' for chroot automatically

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agouse 'gzip' and 'bzip2' to pack image instead
Gui Chen [Mon, 9 Jul 2012 03:28:06 +0000 (11:28 +0800)]
use 'gzip' and 'bzip2' to pack image instead

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoRevert "fix mic ch raw failed issue"
Gui Chen [Mon, 9 Jul 2012 02:48:11 +0000 (10:48 +0800)]
Revert "fix mic ch raw failed issue"

This reverts commit ceb70ba97a3a3c9ebabb39a2750d666645c89b65.

12 years agoencode unicode string from system w/ widechar locale
JF Ding [Sun, 24 Jun 2012 14:43:15 +0000 (07:43 -0700)]
encode unicode string from system w/ widechar locale

else in this like system, msger will abort with
string encoding/decoding errors.

12 years agobump up version to 0.12 0.12
Gui Chen [Wed, 20 Jun 2012 04:05:20 +0000 (12:05 +0800)]
bump up version to 0.12

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agouse 'latest' and 'ia32' as default when @BUILD_ID@ and @ARCH@ not specified
Gui Chen [Tue, 19 Jun 2012 04:10:28 +0000 (12:10 +0800)]
use 'latest' and 'ia32' as default when @BUILD_ID@ and @ARCH@ not specified

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoenhance proxy support in attachment retrieve
Gui Chen [Fri, 15 Jun 2012 10:33:18 +0000 (18:33 +0800)]
enhance proxy support in attachment retrieve

fix the issue that proxy in '--repo' is not available in attachment retrieving

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agonew --shrink opt for loop image to control img shrinking
JF Ding [Thu, 14 Jun 2012 10:51:51 +0000 (18:51 +0800)]
new --shrink opt for loop image to control img shrinking

w/ --pack-to, the loop images will be shrinked automatically,
if w/o it, now --shrink can be used to do so.

12 years agoclean the duplicate code with get_url in zypp backend
Gui Chen [Fri, 15 Jun 2012 02:41:27 +0000 (10:41 +0800)]
clean the duplicate code with get_url in zypp backend

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoavoid invalid literal in genloopid
Gui Chen [Fri, 15 Jun 2012 01:57:47 +0000 (09:57 +0800)]
avoid invalid literal in genloopid

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix convert failed issue
Gui Chen [Tue, 12 Jun 2012 10:32:32 +0000 (18:32 +0800)]
fix convert failed issue

Traceback: "AttributeError: 'LiveUSBImageCreator' object has no attribute 'pack_to'"

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix src pkgs download failed issue
Gui Chen [Tue, 12 Jun 2012 10:07:46 +0000 (18:07 +0800)]
fix src pkgs download failed issue

Traceback: "TypeError: invalid arguments to setopt"

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agomove selinux_check func to misc module
Gui Chen [Mon, 11 Jun 2012 11:01:45 +0000 (19:01 +0800)]
move selinux_check func to misc module

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agofix compres image in raw image
Gui Chen [Mon, 11 Jun 2012 06:15:16 +0000 (14:15 +0800)]
fix compres image in raw image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoremove prefix for make install and typo fix
Gui Chen [Fri, 8 Jun 2012 08:59:11 +0000 (16:59 +0800)]
remove prefix for make install and typo fix

setup.py will auto-detect prefix, 'make install' should not disturb it

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agobump up version to 0.11 0.11
Gui Chen [Thu, 7 Jun 2012 09:43:23 +0000 (17:43 +0800)]
bump up version to 0.11

disable bootstrap in this release

Signed-off-by: Gui Chen <gui.chen@intel.com>
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>