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
Gui Chen [Tue, 7 Feb 2012 05:12:46 +0000 (13:12 +0800)]
typo fix
Signed-off-by: Gui Chen <gui.chen@intel.com>
Zhang Qiang [Mon, 6 Feb 2012 02:12:15 +0000 (10:12 +0800)]
bump up version to 0.5
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
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
Zhang Qiang [Fri, 3 Feb 2012 10:00:21 +0000 (18:00 +0800)]
Update supported distros in readme document
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>
Zhang Qiang [Fri, 3 Feb 2012 03:17:06 +0000 (11:17 +0800)]
check free space of cache filesystem for downloading.
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>
JF Ding [Tue, 31 Jan 2012 04:37:37 +0000 (12:37 +0800)]
code cleanup for misc.py
Zhang Qiang [Tue, 31 Jan 2012 03:14:09 +0000 (11:14 +0800)]
Use the same packages list format with old mic
Zhang Qiang [Mon, 30 Jan 2012 09:24:15 +0000 (17:24 +0800)]
Always disable logstderr and flush message buffer in disable_logstderr
JF Ding [Mon, 30 Jan 2012 08:16:09 +0000 (00:16 -0800)]
Merge pull request #11 from saukko/master
MANIFEST file syntax fix.
Zhang Qiang [Mon, 30 Jan 2012 08:14:14 +0000 (16:14 +0800)]
zypp: fix rpmdb error
Zhang Qiang [Mon, 30 Jan 2012 07:17:54 +0000 (15:17 +0800)]
rpmmisc: add https support while check repo EULA
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>
JF Ding [Mon, 23 Jan 2012 10:41:50 +0000 (18:41 +0800)]
specify conflict to mic2 in spec
JF Ding [Mon, 23 Jan 2012 10:36:49 +0000 (18:36 +0800)]
more info message for copy_kernel
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
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>
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>
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>
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>
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>
JF Ding [Wed, 11 Jan 2012 07:33:54 +0000 (15:33 +0800)]
boostrap env need 'sed'
Zhang Qiang [Tue, 10 Jan 2012 09:22:51 +0000 (17:22 +0800)]
Correct algorithm to caculate download packages size
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>
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>
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>
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>
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>
JF Ding [Thu, 5 Jan 2012 06:53:34 +0000 (14:53 +0800)]
minor fix for unique list in rt_util
Zhang Qiang [Wed, 4 Jan 2012 08:13:20 +0000 (16:13 +0800)]
Don't update common configure to bootstrap section.
Zhang Qiang [Wed, 4 Jan 2012 08:03:45 +0000 (16:03 +0800)]
Check existance of local packages dir
JF Ding [Wed, 4 Jan 2012 01:38:33 +0000 (09:38 +0800)]
more accurate help message for subcommands
JF Ding [Mon, 2 Jan 2012 09:16:11 +0000 (17:16 +0800)]
need not root perm for help subcmd
reported by Marko, thanks
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
JF Ding [Mon, 2 Jan 2012 08:40:06 +0000 (16:40 +0800)]
headers for new modules and comments for TBD issues
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.
Zhang Qiang [Tue, 27 Dec 2011 07:29:35 +0000 (15:29 +0800)]
Add get_rpmver_in_repo() for rpmversion
Zhang Qiang [Tue, 27 Dec 2011 07:29:20 +0000 (15:29 +0800)]
backend:break dependency between backend and baseimager
JF Ding [Fri, 30 Dec 2011 09:18:54 +0000 (17:18 +0800)]
more coding style tunnings
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>
JF Ding [Thu, 29 Dec 2011 10:56:08 +0000 (18:56 +0800)]
correct the order of conf handling
JF Ding [Thu, 29 Dec 2011 09:38:10 +0000 (17:38 +0800)]
some changes for save/load mountpoints info for taring loop
Jian-feng ding [Thu, 29 Dec 2011 08:11:17 +0000 (16:11 +0800)]
Merge "fix convert failed caused by NoneType 'createopts'"
Jian-feng ding [Thu, 29 Dec 2011 08:08:41 +0000 (16:08 +0800)]
Merge "full support for taring-to output: partition info save and chroot"
Gui Chen [Wed, 28 Dec 2011 02:32:59 +0000 (10:32 +0800)]
full support for taring-to output: partition info save and chroot
Signed-off-by: Gui Chen <gui.chen@intel.com>
JF Ding [Wed, 28 Dec 2011 05:29:56 +0000 (13:29 +0800)]
better blksize for optimized fileio in md5sum calc
JF Ding [Wed, 28 Dec 2011 03:37:51 +0000 (11:37 +0800)]
changes of message and coding style
Jian-feng ding [Wed, 28 Dec 2011 03:35:43 +0000 (11:35 +0800)]
Merge "fix convert and chroot issue caused by not existed image"
Gui Chen [Tue, 27 Dec 2011 08:41:17 +0000 (16:41 +0800)]
fix convert failed caused by NoneType 'createopts'
put distro_name to common section
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 27 Dec 2011 07:07:02 +0000 (15:07 +0800)]
fix convert and chroot issue caused by not existed image
Signed-off-by: Gui Chen <gui.chen@intel.com>
Zhang Qiang [Mon, 26 Dec 2011 06:23:09 +0000 (14:23 +0800)]
set proxy environ in set_proxies()
Zhang Qiang [Mon, 26 Dec 2011 03:23:29 +0000 (11:23 +0800)]
bump up version to 0.3
Qiang Zhang [Mon, 26 Dec 2011 02:56:55 +0000 (10:56 +0800)]
Merge "improve md5sum generation"
Gui Chen [Fri, 23 Dec 2011 06:28:34 +0000 (14:28 +0800)]
improve md5sum generation
Signed-off-by: Gui Chen <gui.chen@intel.com>
Jian-feng ding [Thu, 22 Dec 2011 09:12:02 +0000 (17:12 +0800)]
Merge "enable proxy support in config file"
Gui Chen [Thu, 22 Dec 2011 05:04:59 +0000 (13:04 +0800)]
enable proxy support in config file
Signed-off-by: Gui Chen <gui.chen@intel.com>
JF Ding [Mon, 19 Dec 2011 10:13:43 +0000 (18:13 +0800)]
code cleanup
Gui Chen [Mon, 19 Dec 2011 09:52:27 +0000 (17:52 +0800)]
fix arm raw image dont' hint when existed
Signed-off-by: Gui Chen <gui.chen@intel.com>
Zhang Qiang [Mon, 19 Dec 2011 08:29:48 +0000 (16:29 +0800)]
doc: Add proxy and multi-instance introduce
JF Ding [Mon, 19 Dec 2011 05:00:16 +0000 (13:00 +0800)]
shorten most of the unnecessary long lines
Zhang Qiang [Mon, 19 Dec 2011 02:48:58 +0000 (10:48 +0800)]
Set ZYPP_LOCKFILE_ROOT env variable for multi-instance support
Set ZYPP_LOCKFILE_ROOT environment before loading zypp backend.
Don't load all the plugin modules in get_plugins(), but only load
required plugins.
JF Ding [Mon, 19 Dec 2011 01:56:20 +0000 (09:56 +0800)]
Merge remote branch 'origin/master'
JF Ding [Mon, 19 Dec 2011 01:55:47 +0000 (17:55 -0800)]
Merge pull request #7 from bartosh/master
Reformatted according to PEP08. Removed unused import.
Zhang Qiang [Fri, 16 Dec 2011 10:56:35 +0000 (18:56 +0800)]
mic-test.py: root permission check
Zhang Qiang [Fri, 16 Dec 2011 10:54:59 +0000 (18:54 +0800)]
Unit test support
currently, unit test can cover plugin manager, config manager,
baseimage (yum/zypp).
run 'make test' at top dir can run unit test cases.
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Ed Bartosh [Fri, 16 Dec 2011 09:40:28 +0000 (11:40 +0200)]
Reformatted according to PEP08. Removed unused import.
Qiang Zhang [Fri, 16 Dec 2011 09:32:34 +0000 (17:32 +0800)]
Merge "conf.py: deal siteconf when set in init"
Zhang Qiang [Fri, 16 Dec 2011 09:28:23 +0000 (17:28 +0800)]
Merge "Add 47 system test case."
Zhang Qiang [Fri, 16 Dec 2011 09:38:31 +0000 (17:38 +0800)]
Add 47 system test case.
These 47 test cases can be used to test 'mic cr'.
'mic ch' and 'mic cv' test case have not been added.
Gui Chen [Fri, 16 Dec 2011 07:35:23 +0000 (15:35 +0800)]
conf.py: deal siteconf when set in init
Signed-off-by: Gui Chen <gui.chen@intel.com>
JF Ding [Fri, 16 Dec 2011 07:31:29 +0000 (23:31 -0800)]
Merge pull request #4 from saukko/master
Some updates for naming
Marko Saukko [Fri, 16 Dec 2011 07:24:46 +0000 (09:24 +0200)]
Merge branch 'master' of https://github.com/jfding/mic
Conflicts:
distfiles/mic.conf
JF Ding [Fri, 16 Dec 2011 07:18:26 +0000 (23:18 -0800)]
Merge pull request #6 from xiaoqiang0/master
Added priority/cost repo option support
Zhang Qiang [Fri, 16 Dec 2011 06:09:58 +0000 (14:09 +0800)]
Added priority and cost option for repos
backport from mic2:
https://meego.gitorious.org/meego-developer-tools/image-creator/commit/
7def0263d132d25f026a9317b53618ba1a48e943
JF Ding [Fri, 16 Dec 2011 03:37:43 +0000 (19:37 -0800)]
Merge pull request #3 from bartosh/master
Implemented repository option --ssl_verify
JF Ding [Fri, 16 Dec 2011 02:58:09 +0000 (10:58 +0800)]
cleanup all trailing spaces in code
Marko Saukko [Thu, 15 Dec 2011 11:53:55 +0000 (13:53 +0200)]
Don't create new name value as we have already done one during the config and .ks file parsing.
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
Marko Saukko [Thu, 15 Dec 2011 11:11:47 +0000 (13:11 +0200)]
Added support for name_prefix.
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
Marko Saukko [Thu, 15 Dec 2011 10:38:04 +0000 (12:38 +0200)]
Remove hardcoded distro name.
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
JF Ding [Thu, 15 Dec 2011 10:09:30 +0000 (02:09 -0800)]
Merge pull request #2 from saukko/master
some minor typos in error messages.
Marko Saukko [Thu, 15 Dec 2011 08:58:31 +0000 (10:58 +0200)]
Reintroduced the compress-disk-image option from mic2.
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
Marko Saukko [Thu, 15 Dec 2011 07:49:58 +0000 (09:49 +0200)]
Added mic/__version__.py, build/, dist/ and mic.egg-info/ to ignore list.
Removed micng/__version__.py from .gitignore.
Ed Bartosh [Wed, 14 Dec 2011 15:01:19 +0000 (17:01 +0200)]
Implemented repository option --ssl_verify
Marko Saukko [Wed, 14 Dec 2011 11:09:15 +0000 (13:09 +0200)]
Fix typos in messages.
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
JF Ding [Wed, 14 Dec 2011 05:58:40 +0000 (21:58 -0800)]
Merge pull request #1 from xiaoqiang0/master
Fix two bugs.
Zhang Qiang [Wed, 14 Dec 2011 02:46:45 +0000 (10:46 +0800)]
Show user all the availabe archs if choice more than one.
Zhang Qiang [Wed, 14 Dec 2011 02:37:39 +0000 (10:37 +0800)]
conf: fix string format issue.
JF Ding [Tue, 13 Dec 2011 07:19:43 +0000 (23:19 -0800)]
more concise plugin related expressions
JF Ding [Tue, 13 Dec 2011 03:08:19 +0000 (19:08 -0800)]
Merge remote branch 'origin/master'
Jian-feng ding [Tue, 13 Dec 2011 02:44:04 +0000 (10:44 +0800)]
Merge "msger.py: avoid the trick caused by stream default parameter"
JF Ding [Tue, 13 Dec 2011 00:55:43 +0000 (16:55 -0800)]
make the configmgr better
but still need more refination later
JF Ding [Fri, 9 Dec 2011 23:01:27 +0000 (07:01 +0800)]
more precise place for catched errmsg
output the errmsg before the next line
Gui Chen [Fri, 9 Dec 2011 07:02:03 +0000 (15:02 +0800)]
msger.py: avoid the trick caused by stream default parameter
Signed-off-by: Gui Chen <gui.chen@intel.com>
JF Ding [Thu, 8 Dec 2011 21:01:12 +0000 (05:01 +0800)]
disable ca check for https in 3rd/pykickstart/urlgrabber
Zhang Qiang [Thu, 1 Dec 2011 06:48:51 +0000 (14:48 +0800)]
Fix typo.
JF Ding [Thu, 17 Nov 2011 10:59:13 +0000 (18:59 +0800)]
style and typos
Jian-feng ding [Thu, 17 Nov 2011 11:01:59 +0000 (19:01 +0800)]
Merge "graceful hint when dir not meego chroot"