tools/mic.git
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>
12 years agocode cleanup for misc.py
JF Ding [Tue, 31 Jan 2012 04:37:37 +0000 (12:37 +0800)]
code cleanup for misc.py

12 years agoUse the same packages list format with old mic
Zhang Qiang [Tue, 31 Jan 2012 03:14:09 +0000 (11:14 +0800)]
Use the same packages list format with old mic

12 years agoAlways disable logstderr and flush message buffer in disable_logstderr
Zhang Qiang [Mon, 30 Jan 2012 09:24:15 +0000 (17:24 +0800)]
Always disable logstderr and flush message buffer in disable_logstderr

12 years agoMerge pull request #11 from saukko/master
JF Ding [Mon, 30 Jan 2012 08:16:09 +0000 (00:16 -0800)]
Merge pull request #11 from saukko/master

MANIFEST file syntax fix.

12 years agozypp: fix rpmdb error
Zhang Qiang [Mon, 30 Jan 2012 08:14:14 +0000 (16:14 +0800)]
zypp: fix rpmdb error

12 years agorpmmisc: add https support while check repo EULA
Zhang Qiang [Mon, 30 Jan 2012 07:17:54 +0000 (15:17 +0800)]
rpmmisc: add https support while check repo EULA

12 years agoFix MANIFEST syntax to be compliant with md5sum.
Marko Saukko [Fri, 27 Jan 2012 10:58:44 +0000 (12:58 +0200)]
Fix MANIFEST syntax to be compliant with md5sum.

Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
12 years agospecify conflict to mic2 in spec
JF Ding [Mon, 23 Jan 2012 10:41:50 +0000 (18:41 +0800)]
specify conflict to mic2 in spec

12 years agomore info message for copy_kernel
JF Ding [Mon, 23 Jan 2012 10:36:49 +0000 (18:36 +0800)]
more info message for copy_kernel

12 years agoMerge pull request #9 from saukko/master
JF Ding [Mon, 23 Jan 2012 04:27:05 +0000 (20:27 -0800)]
Merge pull request #9 from saukko/master

Re introduce --save-kernel cmdline option using new name --copy-kernel

12 years agoIntroduce --copy-kernel cmdline option to copy kernel files to output directory.
Marko Saukko [Wed, 18 Jan 2012 13:47:41 +0000 (15:47 +0200)]
Introduce --copy-kernel cmdline option to copy kernel files to output directory.

Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
12 years agomic chroot -s dest, unpack image and save to fs image
Gui Chen [Tue, 17 Jan 2012 06:00:28 +0000 (14:00 +0800)]
mic chroot -s dest, unpack image and save to fs image

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoadd shell option for convertor to enable modification before conerting
Gui Chen [Mon, 16 Jan 2012 03:14:35 +0000 (11:14 +0800)]
add shell option for convertor to enable modification before conerting

recreate image modified by internal shell

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorrect parted return code p1.returncode
Gui Chen [Fri, 13 Jan 2012 07:58:03 +0000 (15:58 +0800)]
correct parted return code p1.returncode

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoAdd qemu-arm-static for bootstrap
Gui Chen [Fri, 13 Jan 2012 07:48:55 +0000 (15:48 +0800)]
Add qemu-arm-static for bootstrap

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoboostrap env need 'sed'
JF Ding [Wed, 11 Jan 2012 07:33:54 +0000 (15:33 +0800)]
boostrap env need 'sed'

12 years agoCorrect algorithm to caculate download packages size
Zhang Qiang [Tue, 10 Jan 2012 09:22:51 +0000 (17:22 +0800)]
Correct algorithm to caculate download packages size

12 years agomore accurate checking for tarball of loop images
Gui Chen [Mon, 9 Jan 2012 09:38:37 +0000 (17:38 +0800)]
more accurate checking for tarball of loop images

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agoreplace 'installedsize' with 'size' to count install size in yum pkgmgr
Gui Chen [Mon, 9 Jan 2012 09:12:32 +0000 (17:12 +0800)]
replace 'installedsize' with 'size' to count install size in yum pkgmgr

correct for commit: 27083af3fa4782efc40430dfab8a3b7d1ee72741

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agobump up version to 0.4 0.4
Gui Chen [Fri, 6 Jan 2012 08:44:37 +0000 (16:44 +0800)]
bump up version to 0.4

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agospace check update and catch no space exception
Gui Chen [Fri, 6 Jan 2012 05:50:17 +0000 (13:50 +0800)]
space check update and catch no space exception

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorrect timestamp in logfile
Gui Chen [Fri, 6 Jan 2012 05:34:55 +0000 (13:34 +0800)]
correct timestamp in logfile

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agominor fix for unique list in rt_util
JF Ding [Thu, 5 Jan 2012 06:53:34 +0000 (14:53 +0800)]
minor fix for unique list in rt_util

12 years agoDon't update common configure to bootstrap section.
Zhang Qiang [Wed, 4 Jan 2012 08:13:20 +0000 (16:13 +0800)]
Don't update common configure to bootstrap section.

12 years agoCheck existance of local packages dir
Zhang Qiang [Wed, 4 Jan 2012 08:03:45 +0000 (16:03 +0800)]
Check existance of local packages dir

12 years agomore accurate help message for subcommands
JF Ding [Wed, 4 Jan 2012 01:38:33 +0000 (09:38 +0800)]
more accurate help message for subcommands

12 years agoneed not root perm for help subcmd
JF Ding [Mon, 2 Jan 2012 09:16:11 +0000 (17:16 +0800)]
need not root perm for help subcmd

reported by Marko, thanks

12 years agocheck valid repos in ks
JF Ding [Mon, 2 Jan 2012 09:08:23 +0000 (17:08 +0800)]
check valid repos in ks

to avoid confused error message like:

    $ touch touch.ks
    $ sudo mic cr raw touch.ks
    Warning: No module named zypp, skip plugin backend/zypppkgmgr
    Info: Retrieving repo metadata:
     DONE

    Error <config>: Please specify a valid arch, your choise can be:

<Found by Marko>
thanks

12 years agoheaders for new modules and comments for TBD issues
JF Ding [Mon, 2 Jan 2012 08:40:06 +0000 (16:40 +0800)]
headers for new modules and comments for TBD issues

12 years agonew feature: runtime support and bootstrap runtime
Zhang Qiang [Thu, 29 Dec 2011 06:24:21 +0000 (14:24 +0800)]
new feature: runtime support and bootstrap runtime

1) Using --runtime=bootstrap option to run mic in bootstrap mode
   example: mic cr fs netbook.ks --runtime=bootstrap
2) Get target image rpm version(from ks file's repo url), which
   can be used to select correct bootstap.
3) Check local available bootstrap from default bootstrap directory
   (/var/mic/bootstrap/), if any local bootstrap can be used, then
   goto 5)
4) Check available bootstrap info from /etc/mic/mic.conf, rpm version
   of bootstrap is got from repodata, if rpmversion matched with target
   image rpm version, then select that bootstrap info.
5) Use zypp package manager to create bootstrap
6) We assume host mic is what user want to use, so copy host mic to
   bootstrap
7) copy host necessary files to bootstrap: /etc/resolv.conf, repos,
   proxy info.
8) run mic in bootstrap.

Note: Currently zypp backend is used to creating bootstrap env, but it's
not a good ideal, because zypp backend has some dependencies, such as
python-zypp, libzypp, libsatsolver. Next step, we would use general
depdendency resolve algorithm to replace zypp backend.

12 years agoAdd get_rpmver_in_repo() for rpmversion
Zhang Qiang [Tue, 27 Dec 2011 07:29:35 +0000 (15:29 +0800)]
Add get_rpmver_in_repo() for rpmversion

12 years agobackend:break dependency between backend and baseimager
Zhang Qiang [Tue, 27 Dec 2011 07:29:20 +0000 (15:29 +0800)]
backend:break dependency between backend and baseimager

12 years agomore coding style tunnings
JF Ding [Fri, 30 Dec 2011 09:18:54 +0000 (17:18 +0800)]
more coding style tunnings

12 years agoloop.py & loop_plugin.py: mountpoints check and code style
Gui Chen [Fri, 30 Dec 2011 05:33:21 +0000 (13:33 +0800)]
loop.py & loop_plugin.py: mountpoints check and code style

Signed-off-by: Gui Chen <gui.chen@intel.com>
12 years agocorrect the order of conf handling
JF Ding [Thu, 29 Dec 2011 10:56:08 +0000 (18:56 +0800)]
correct the order of conf handling