meego-developer-tools:image-creator.git
6 years agoFix a regression introduced by .package format revert
Zhou Shuangquan [Mon, 23 May 2011 01:19:15 +0000 (09:19 +0800)]
Fix a regression introduced by .package format revert

Note: fix bug #17846

6 years agoUse subvolume name instead of subvolid for btrfs subvolume
Yi Yang [Wed, 18 May 2011 16:59:24 +0000 (00:59 +0800)]
Use subvolume name instead of subvolid for btrfs subvolume

Note: if the root file system is a btrfs subvolume, it won't work
to use mount option "subvol=<subvol>" to mount another subvolume to
this root file system, but "subvolid=0,subvol=<subvol>" can work for
current kernel, so we can make use of this although it doesn't make
sense.

An extra option subvolrootid is specially for this, it has been in
linus tree but not in current MeeGo kernel, we'll use
"subvolrootid=0,subvol=<subvol>" to do once it is in.

6 years agoCut release 0.24.11 0.24.11
Yi Yang [Mon, 16 May 2011 17:19:36 +0000 (01:19 +0800)]
Cut release 0.24.11

6 years agoFix string.upper use error
Yi Yang [Mon, 16 May 2011 16:41:10 +0000 (00:41 +0800)]
Fix string.upper use error

Note: fix bug #17603

6 years agofixed typo: initab -> inittab
Anas Nashif [Thu, 12 May 2011 08:17:42 +0000 (01:17 -0700)]
fixed typo: initab -> inittab

6 years agoCut release 0.24.10 0.24.10
Yi Yang [Wed, 11 May 2011 15:23:37 +0000 (23:23 +0800)]
Cut release 0.24.10

6 years agoDon't require fastinit for main repo any more
Yi Yang [Wed, 11 May 2011 15:13:48 +0000 (23:13 +0800)]
Don't require fastinit for main repo any more

Note: fastinit has been removed from the latest repo.

6 years agoUse default menu if menus is empty
Yi Yang [Thu, 28 Apr 2011 09:49:00 +0000 (17:49 +0800)]
Use default menu if menus is empty

6 years agoAllow users to customize boot menu and boot options in kickstart
Yi Yang [Thu, 28 Apr 2011 09:25:53 +0000 (17:25 +0800)]
Allow users to customize boot menu and boot options in kickstart

Note: live image's boot menus are customized, users can use
kickstart bootloader command option --menus="..." to do, many
hard code do it, for example, --menus="autoinst" will append
an automatically installation menu with hard ocde boot options,
this commit will keep compatible with the old usage way, in the
same time, it allows new way to customize boot menu and boot options
, usage way is:

  --menus="shortname1:longname1:extraoptions1;shortname2:longname2:extraoptions2;"

shortname should be a string only containing alphabet or digital or underline,
longname is a descriptive boot label users will see in boot menu screen, extraoptions
is boot options for this boot menu item.

6 years agoDepends on btrfs command only if subvolume is used
Yi Yang [Wed, 27 Apr 2011 09:09:55 +0000 (17:09 +0800)]
Depends on btrfs command only if subvolume is used

Note: fixed bug #16366

6 years agoUse "" for it if an element hasn't text atttribute in primary.xml
Zhou shuangquan [Mon, 18 Apr 2011 07:43:37 +0000 (15:43 +0800)]
Use "" for it if an element hasn't text atttribute in primary.xml

Note:  fixed bug #9663

6 years agoUse a dict to manage all the packages and their installation priorities
Zhou shuangquan [Tue, 26 Apr 2011 07:55:02 +0000 (15:55 +0800)]
Use a dict to manage all the packages and their installation priorities

Note: in order to supprot excludepkgs and includepkgs and decide
which version of some package should be installed better, we desgin
a dict to save info of all the packages, zypp will base includepkgs
and excludepkgs and package version to decide which package will be
installed, also fixed bug #14689.

6 years agoUse logging module to record exception with call stack dump
chengui [Thu, 21 Apr 2011 04:45:17 +0000 (12:45 +0800)]
Use logging module to record exception with call stack dump

6 years agoChange /etc/inittab only if it does exist
chengui [Mon, 25 Apr 2011 06:57:17 +0000 (14:57 +0800)]
Change /etc/inittab only if it does exist

Note: Fix BMC #12231

6 years agoRevert to the old *.package format
Yi Yang [Thu, 21 Apr 2011 10:05:39 +0000 (18:05 +0800)]
Revert to the old *.package format

Note: fix bug #15974 and ensure it is compatible with existing tools.

6 years agoinittab is not unique to meego and rc.sysinit is going away
Anas Nashif [Tue, 19 Apr 2011 07:21:19 +0000 (08:21 +0100)]
inittab is not unique to meego and rc.sysinit is going away

6 years agoCut release 0.24.9 0.24.9
Yi Yang [Fri, 15 Apr 2011 08:43:33 +0000 (16:43 +0800)]
Cut release 0.24.9

6 years agofix bind-mount failed on opensuse11.4
Mingxiu Han [Wed, 13 Apr 2011 09:44:42 +0000 (17:44 +0800)]
fix bind-mount failed on opensuse11.4

6 years agoHandle repo option '--includepkgs/--excludepkgs'
Zhou shuangquan [Fri, 15 Apr 2011 02:25:35 +0000 (10:25 +0800)]
Handle repo option '--includepkgs/--excludepkgs'

6 years agoGet package location from metadata for zypp
Yi Yang [Thu, 14 Apr 2011 07:49:23 +0000 (15:49 +0800)]
Get package location from metadata for zypp

6 years agoFix an option merge error
Yi Yang [Wed, 13 Apr 2011 07:52:27 +0000 (15:52 +0800)]
Fix an option merge error

Note: some option has value 'none', for this case, we should get it from
other option source, such as kickstart file or command line.

6 years agoEnable zypp also to support package pattern '*name' in ks file
Zhou shuangquan [Tue, 12 Apr 2011 09:27:46 +0000 (17:27 +0800)]
Enable zypp also to support package pattern '*name' in ks file

6 years agoEnable zypp to handle name.arch or name* in ks file
Zhou shuangquan [Thu, 7 Apr 2011 03:58:47 +0000 (11:58 +0800)]
Enable zypp to handle name.arch or name* in ks file

6 years agoMerge branch 'master' of gitorious.org:meego-developer-tools/image-creator
Marko Saukko [Tue, 12 Apr 2011 08:23:56 +0000 (11:23 +0300)]
Merge branch 'master' of gitorious.org:meego-developer-tools/image-creator

6 years ago- Cleanup prefix handling
Marko Saukko [Tue, 12 Apr 2011 08:23:22 +0000 (11:23 +0300)]
- Cleanup prefix handling
- Fixed prefix not working with bootstrap mode

6 years agoMerge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator
Yi Yang [Tue, 12 Apr 2011 08:05:39 +0000 (16:05 +0800)]
Merge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator

6 years agoCheck selinux status for arm image and btrfs file system
Mingxiu Han [Thu, 7 Apr 2011 03:54:23 +0000 (11:54 +0800)]
Check selinux status for arm image and btrfs file system

Note: if a user needs to create arm image or to use btrfs
file system to create an MeeGo image on Fedora, selinux
must be disabled, otherwise mic2 can't work normally,
before, mic2 disabled selinux if it is enabled, but from
now on, this should be done by the user, mic2 will exit
and tell the user how to do once it detects such situation,
also fixed bug #11182

6 years agoMerge branch 'master' of gitorious.org:meego-developer-tools/image-creator
Marko Saukko [Tue, 12 Apr 2011 07:22:39 +0000 (10:22 +0300)]
Merge branch 'master' of gitorious.org:meego-developer-tools/image-creator

6 years agoFixed previous commit for siteconfigs. USER and GLOBAL configs should be merged if...
Marko Saukko [Tue, 12 Apr 2011 07:21:39 +0000 (10:21 +0300)]
Fixed previous commit for siteconfigs. USER and GLOBAL configs should be merged if they are present.

6 years agoMerge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator
Yi Yang [Tue, 12 Apr 2011 06:55:05 +0000 (14:55 +0800)]
Merge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator

6 years agoUse cElementTree instead of DomTree and fix issue of memory consumption
Zhou shuangquan [Wed, 6 Apr 2011 06:47:34 +0000 (14:47 +0800)]
Use cElementTree instead of DomTree and fix issue of memory consumption

6 years agoMerge branch 'master' of gitorious.org:meego-developer-tools/image-creator
Marko Saukko [Tue, 12 Apr 2011 06:32:39 +0000 (09:32 +0300)]
Merge branch 'master' of gitorious.org:meego-developer-tools/image-creator

6 years ago- Be less verbose and don't print site config content every time
Marko Saukko [Tue, 12 Apr 2011 06:27:09 +0000 (09:27 +0300)]
- Be less verbose and don't print site config content every time
- Read only one siteconfig in preferred order
- Added variable for DEFAULT_PREFIX

6 years agoEnable zypp to handle '-package'
Zhou shuangquan [Wed, 6 Apr 2011 03:18:18 +0000 (11:18 +0800)]
Enable zypp to handle '-package'

6 years agoLets not hide error messages.
Marko Saukko [Thu, 7 Apr 2011 10:54:07 +0000 (13:54 +0300)]
Lets not hide error messages.

6 years agoFix a regression introduced by subvolume support
Yi Yang [Wed, 6 Apr 2011 07:04:03 +0000 (15:04 +0800)]
Fix a regression introduced by subvolume support

Note: fix bug #15200

6 years agoMerge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator
Yi Yang [Wed, 6 Apr 2011 06:38:34 +0000 (14:38 +0800)]
Merge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator

6 years agoWe can't use repourl.find(bootstrap_target_arch) != -1 here because for example armv7...
Marko Saukko [Mon, 4 Apr 2011 13:02:31 +0000 (16:02 +0300)]
We can't use repourl.find(bootstrap_target_arch) != -1 here because for example armv7nhl architecture uses armv7hl repository URL. This is similar to iX86 uses ia32 repository URL.

6 years agoFix problem when LC_ALL is not set.
Marko Saukko [Mon, 4 Apr 2011 06:00:19 +0000 (09:00 +0300)]
Fix problem when LC_ALL is not set.

6 years agoFix liveusb image creation error with --interactive option
Zhou shuangquan [Fri, 25 Mar 2011 03:10:12 +0000 (11:10 +0800)]
Fix liveusb image creation error with --interactive option

Note: fix bug #14872

6 years agoFix another UnicodeDecodeError
Zhou shuangquan [Thu, 31 Mar 2011 07:19:42 +0000 (15:19 +0800)]
Fix another UnicodeDecodeError

Note: fix bug #15047

6 years agoSet LC_ALL before install
chengui [Sat, 2 Apr 2011 06:19:51 +0000 (14:19 +0800)]
Set LC_ALL before install

Note: set LC_ALL to 'C' before runInstall, and restore LC_ALL after it.
fixed bug #8289
Signed-off-by: chengui <gui.chen@intel.com>
6 years agoHandle traceback caused by zypperpkgmgr
chengui [Sat, 2 Apr 2011 04:48:12 +0000 (12:48 +0800)]
Handle traceback caused by zypperpkgmgr

Note: Fixed bug #12082
Signed-off-by: chengui <gui.chen@intel.com>
6 years agoCheck image format for arm
Mingxiu Han [Mon, 28 Mar 2011 07:49:37 +0000 (15:49 +0800)]
Check image format for arm

Note: livecd and liveusb image format can't support arm, once someone
does so, mic2 will exit with error message, fixed bug #14287

6 years agoUse 'cp -af' to preserve file and directory attributes of fs image
chengui [Wed, 30 Mar 2011 02:12:34 +0000 (10:12 +0800)]
Use 'cp -af' to preserve file and directory attributes of fs image

Note: shutil.move can't preserve file and directory attributes,
fixed bug #14892

6 years agoMerge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator
Yi Yang [Sat, 2 Apr 2011 01:56:56 +0000 (09:56 +0800)]
Merge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator

6 years agopython-pykickstart >= 0.96
Yi Yang [Fri, 1 Apr 2011 07:27:10 +0000 (15:27 +0800)]
python-pykickstart >= 0.96

6 years agopython-pykickstart >= 0.96
Yi Yang [Fri, 1 Apr 2011 07:27:10 +0000 (15:27 +0800)]
python-pykickstart >= 0.96

6 years agoSupport subvolume for btrfs and enbale chroot to support subvolume
Yi Yang [Fri, 1 Apr 2011 07:11:35 +0000 (15:11 +0800)]
Support subvolume for btrfs and enbale chroot to support subvolume

6 years agoCut release 0.24.8 0.24.8
Yi Yang [Fri, 25 Mar 2011 02:26:06 +0000 (10:26 +0800)]
Cut release 0.24.8

6 years agoUpdate debian packaging stuff
Yi Yang [Fri, 25 Mar 2011 02:18:49 +0000 (10:18 +0800)]
Update debian packaging stuff

Note: from Fathi Boudra

6 years agoFix version issue in case of using 'sudo python setup.py install'
Yi Yang [Fri, 25 Mar 2011 02:02:59 +0000 (10:02 +0800)]
Fix version issue in case of using 'sudo python setup.py install'

Note: fixed bug #14809

6 years agoClear the nessy characters caused by 'mkfs.ext3'
chengui [Tue, 22 Mar 2011 05:43:58 +0000 (13:43 +0800)]
Clear the nessy characters caused by 'mkfs.ext3'

6 years agoCorrect an error in commit 00644cb34bea3730d2072da82b0fb2523de85793
Zhou shuangquan [Mon, 21 Mar 2011 05:53:59 +0000 (13:53 +0800)]
Correct an error in commit 00644cb34bea3730d2072da82b0fb2523de85793

6 years agoShort "Downloading..." and "Installing..." messages for bootstrap
Yi Yang [Mon, 21 Mar 2011 05:22:25 +0000 (13:22 +0800)]
Short "Downloading..." and "Installing..." messages for bootstrap

6 years agoCall get_default_pkg_manager() instead of using function handler
Yi Yang [Mon, 21 Mar 2011 04:15:33 +0000 (12:15 +0800)]
Call get_default_pkg_manager() instead of using function handler

6 years agoFix fs image creation issue
Zhou shuangquan [Mon, 21 Mar 2011 03:22:23 +0000 (11:22 +0800)]
Fix fs image creation issue

Note: fixed Bug #14685

6 years agoCut release 0.24.7 0.24.7
Yi Yang [Wed, 16 Mar 2011 09:15:52 +0000 (17:15 +0800)]
Cut release 0.24.7

6 years agoadd a storage controller for virtualbox vm
Zhou shuangquan [Wed, 16 Mar 2011 08:49:40 +0000 (16:49 +0800)]
add a storage controller for virtualbox vm

6 years agoUnset all the proxy environment variables before calling urlgrabber
Yi Yang [Wed, 16 Mar 2011 06:06:30 +0000 (14:06 +0800)]
Unset all the proxy environment variables before calling urlgrabber

Note: on some systems, there are many proxy environment variables
exported, including http_proxy, https_proxy, ftp_proxy, all_proxy
and no_proxy as well as their uppercase words, urllib2 will still
parse these even if proxy argument is delivered explicitly, so
for this case, we have to unset them fully before calling urlgrabber.

6 years agoInstalled 'mtd-utils-ubi' to support ubifs in bootstrap
Zhou shuangquan [Wed, 16 Mar 2011 03:43:57 +0000 (11:43 +0800)]
Installed 'mtd-utils-ubi' to support ubifs in bootstrap

6 years agoFix an UnicodeDeocde error
Yi Yang [Tue, 15 Mar 2011 08:09:26 +0000 (16:09 +0800)]
Fix an UnicodeDeocde error

Note: fixed bug #14398

6 years agoFixed the issue about 'usermod'
Zhou shuangquan [Mon, 14 Mar 2011 06:16:54 +0000 (14:16 +0800)]
Fixed the issue about 'usermod'

6 years agoMore precisely order bind mount points
Yi Yang [Fri, 11 Mar 2011 07:27:19 +0000 (15:27 +0800)]
More precisely order bind  mount points

Note: if there are many local repos used, plus cache dir, temporary
dir and output dir, in case of bootstrap mode, bind mount pionts will
be many, mount order is very critical if some of them have the same
ancestor directory, for examle, repo A is file:///storage/localrepo/A,
output dir is /storage, the old ordering algorithm can't order them
correctly because it just counts the direct parent directory of a bind
mount point, the new algorithm will consider all the ancestor
directories and smarter :-)

6 years agoEnable zypp to support local repos
Yi Yang [Fri, 11 Mar 2011 07:24:07 +0000 (15:24 +0800)]
Enable zypp to support local repos

6 years agoResolve groups on demand
Yi Yang [Fri, 11 Mar 2011 07:04:59 +0000 (15:04 +0800)]
Resolve groups on demand

Note: in some cases, repo isn't ready for the given package manager
, for example, some repos only have comps but don't have patterns,
but we want to use zypp as the default package manager, zypp doesn't
recognize group in comps, so we have to replace it with package list
before starting installation, for yum, there is also a similiar case,
for example, some repos only have patterns but don't have comps, yum
can't recognize group in patterns, so we also have to replace it with
package list before starting installation. In order to handle such cases,
we introduce an funtion resolve_groups which will replace the group
the given package manager can't recognize with its package list
defined in comps or patterns.

If both comps and patterns are there, option use_comps can be used
to indicate which one to be used, if use_comps is equal to 0/False, mic2
will assume to use pattenrs for both yum and zypp, but if some group
can't be found in patterns, mic2 will try to find it in available comps.
In the same way, if use_comps is equal to 1/True, mic2 will assume to
use comps for yum and zypp, but if some group can't be found in comps,
mic2 will try to find it in available patterns.

So the value of use_comps and package manager will significantly
impact on mic2's behaviour and the installed packages in image unless
comps and patterns are completely consistent in repos.

6 years agoUse full path for tmpdir and outdir before they are into convertor
Yi Yang [Fri, 11 Mar 2011 06:46:16 +0000 (14:46 +0800)]
Use full path for tmpdir and outdir before they are into convertor

6 years agoLimit download progress line width equal or less than terminal width
Yi Yang [Fri, 11 Mar 2011 06:28:53 +0000 (14:28 +0800)]
Limit download progress line width equal or less than terminal width

6 years agoCompletely support option --fsoptions of kickstart command part
Yi Yang [Thu, 10 Mar 2011 03:46:09 +0000 (11:46 +0800)]
Completely support option --fsoptions of kickstart command part

Note: option --fsoptions of kickstart command part can be used to
set mount options for a partition in /etc/fstab, this is very
helpful to btrfs, via this option, users can specify more mount
options but it is very flexible. Currently mic2 used compress
option for btrfs, but current syslinux (4.0x) can't recognize
compressed btrfs so that raw or netbook image can't boot normally.
With this, users can decide to use what options for it in kickstart
file, by default, compress option isn't provided, so users can play
btrfs using MeeGo raw or live images.

This commit also fixed bug #142888 and #10660.

6 years agoMake sure an image file system includes syslinux
Zhou shuangquan [Wed, 9 Mar 2011 09:59:52 +0000 (17:59 +0800)]
Make sure an image file system includes syslinux

6 years agoCut release 0.24.6 0.24.6
Yi Yang [Wed, 9 Mar 2011 09:20:32 +0000 (17:20 +0800)]
Cut release 0.24.6

6 years agoMerge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator
Yi Yang [Wed, 9 Mar 2011 09:16:18 +0000 (17:16 +0800)]
Merge branch 'master' of git@gitorious.org:meego-developer-tools/image-creator

6 years agoCorrect an error in commit 4a15d1376d923cc318b91a4669558808239bda8a again
Zhou shuangquan [Wed, 9 Mar 2011 07:21:04 +0000 (15:21 +0800)]
Correct an error in commit 4a15d1376d923cc318b91a4669558808239bda8a again

6 years agoSet MBR after image is unmounted and device mapper is closed
Yi Yang [Wed, 9 Mar 2011 09:03:24 +0000 (17:03 +0800)]
Set MBR after image is unmounted and device mapper is closed

Note: on Fedora 13, we found the converted liveusb image can't
be mounted and chrooted, the root cause is that mic2 set MBR
when image is mounted and device mapper is using it.

This commit fixed bug #14165.

6 years agoMerge branch 'master' of gitorious.org:meego-developer-tools/image-creator
Marko Saukko [Wed, 9 Mar 2011 06:29:10 +0000 (08:29 +0200)]
Merge branch 'master' of gitorious.org:meego-developer-tools/image-creator

6 years agoAdded mtd-utils package to the bootstrap to fix BMC#14282.
Marko Saukko [Wed, 9 Mar 2011 06:28:21 +0000 (08:28 +0200)]
Added mtd-utils package to the bootstrap to fix BMC#14282.

6 years agoCorrect cached packages statistics for yum
Yi Yang [Tue, 8 Mar 2011 07:14:23 +0000 (15:14 +0800)]
Correct cached packages statistics for yum

6 years agoSleep to try to avoid any dm shenanigans and make sure tmpdir and outdir exists
Zhou shuangquan [Mon, 7 Mar 2011 07:55:34 +0000 (15:55 +0800)]
Sleep to try to avoid any dm shenanigans and make sure tmpdir and outdir exists

6 years agoUse stronger package integrity check way
Yi Yang [Tue, 8 Mar 2011 04:09:09 +0000 (12:09 +0800)]
Use stronger package integrity check way

Note: checkSig in yum is weak, it fails to verify non-rpm-header
damage, "rpm --checksig --nogpg <pkg>" is the best way for this,
rpm-python didn't provide such check method.

6 years agoMerge branch 'master' of gitorious.org:meego-developer-tools/image-creator
Marko Saukko [Mon, 7 Mar 2011 14:21:24 +0000 (16:21 +0200)]
Merge branch 'master' of gitorious.org:meego-developer-tools/image-creator

6 years agoFixed typo.
Marko Saukko [Mon, 7 Mar 2011 14:21:05 +0000 (16:21 +0200)]
Fixed typo.

6 years agoFix clean-up error in case image can't be mounted
Yi Yang [Mon, 7 Mar 2011 03:01:35 +0000 (11:01 +0800)]
Fix clean-up error in case image can't be mounted

6 years agoModify commit 938ccc8055077323700bd3a41ef222606f507453 for commonality
Zhou shuangquan [Fri, 4 Mar 2011 10:00:46 +0000 (18:00 +0800)]
Modify commit 938ccc8055077323700bd3a41ef222606f507453 for commonality

6 years agoReadded the get_extension_name function.
Marko Saukko [Sat, 5 Mar 2011 09:03:13 +0000 (11:03 +0200)]
Readded the get_extension_name function.

6 years agoRemoved functions: get_extension_name, copyowngrp, oldmycopytree and mycopytree as...
Marko Saukko [Fri, 4 Mar 2011 11:52:10 +0000 (13:52 +0200)]
Removed functions: get_extension_name, copyowngrp, oldmycopytree and mycopytree as they are not used anymore.

6 years agoUse 'blkid' instead of 'vol_id' and fix bug 8405 and bug 10999 note: udev removed...
Zhou shuangquan [Fri, 4 Mar 2011 07:08:29 +0000 (15:08 +0800)]
Use 'blkid' instead of 'vol_id' and fix bug 8405 and bug 10999 note: udev removed 'vol_id' and converted to using 'blkid'

6 years agoCorrect an error in commit 4a15d1376d923cc318b91a4669558808239bda8a
Yi Yang [Fri, 4 Mar 2011 03:58:27 +0000 (11:58 +0800)]
Correct an error in commit 4a15d1376d923cc318b91a4669558808239bda8a

6 years agoFix some regressions introduced by directory layout changes
Yi Yang [Fri, 4 Mar 2011 03:42:35 +0000 (11:42 +0800)]
Fix some regressions introduced by directory layout changes

6 years agoMove mic/cmdln.py to mic/utils/cmdln.py
Yi Yang [Fri, 4 Mar 2011 03:00:50 +0000 (11:00 +0800)]
Move mic/cmdln.py to mic/utils/cmdln.py

6 years agoFix bug caused by the moving of files to utils dir.
Marko Saukko [Thu, 3 Mar 2011 17:39:57 +0000 (19:39 +0200)]
Fix bug caused by the moving of files to utils dir.

6 years agoMake sure dir exists before using dir.
Marko Saukko [Thu, 3 Mar 2011 12:54:00 +0000 (14:54 +0200)]
Make sure dir exists before using dir.

6 years agoFixed make clean not working with the new utils dir.
Marko Saukko [Thu, 3 Mar 2011 11:57:53 +0000 (13:57 +0200)]
Fixed make clean not working with the new utils dir.

6 years agoMoved misc.py and debug.py from imgcreate to utils.
Marko Saukko [Thu, 3 Mar 2011 11:33:16 +0000 (13:33 +0200)]
Moved misc.py and debug.py from imgcreate to utils.

6 years agoMerge branch 'master' of gitorious.org:meego-developer-tools/image-creator into arm... 24
Marko Saukko [Thu, 3 Mar 2011 09:01:53 +0000 (11:01 +0200)]
Merge branch 'master' of gitorious.org:meego-developer-tools/image-creator into arm-bootstrap

6 years agoMoved bootstrap.py from imgcreate to utils dir.
Marko Saukko [Wed, 2 Mar 2011 13:54:31 +0000 (15:54 +0200)]
Moved bootstrap.py from imgcreate to utils dir.

6 years agoPrompt some infomations about X environment in more friendly way and fix for bug...
Zhou shuangquan [Wed, 2 Mar 2011 08:21:47 +0000 (16:21 +0800)]
Prompt some infomations about X environment in more friendly way and fix for bug 10908 and bug 11000

6 years agohandle nonascii string and fix bug 4944
Zhou shuangquan [Wed, 2 Mar 2011 08:01:32 +0000 (16:01 +0800)]
handle nonascii string and fix bug 4944

6 years agoFix no_proxy parsing issue in case whitespace is included
Yi Yang [Wed, 2 Mar 2011 16:30:15 +0000 (00:30 +0800)]
Fix no_proxy parsing issue in case whitespace is included

Note: on some systems, there are whitespaces included in no_proxy
environment variable, it looks like:

    export no_proxy="127.0.0.0/8, .xxx.com, 192.168.0.0 / 24 "

this commit enables mic2 parse such format correctly.

6 years agoFix an error in case of --arch=i*86
Yi Yang [Wed, 2 Mar 2011 15:33:45 +0000 (23:33 +0800)]
Fix an error in case of --arch=i*86

6 years agoFixed the kickstart copy.
Marko Saukko [Wed, 2 Mar 2011 13:05:27 +0000 (15:05 +0200)]
Fixed the kickstart copy.