Gui Chen [Tue, 4 Dec 2012 08:20:44 +0000 (16:20 +0800)]
show dumpe2fs when debug
Signed-off-by: Gui Chen <gui.chen@intel.com>
Huanhuan Li [Thu, 8 Nov 2012 20:13:27 +0000 (15:13 -0500)]
fix logfile specified a directory
when run mic with options '--logfile=dir', traceback shows
Huanhuan Li [Thu, 8 Nov 2012 19:43:25 +0000 (14:43 -0500)]
fix lost variable in warning msg
Signed-off-by: Huanhuan Li <huanhuanx.li@intel.com>
Gui Chen [Mon, 3 Dec 2012 07:56:57 +0000 (15:56 +0800)]
update doc/RELEASE_NOTES
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 3 Dec 2012 07:56:27 +0000 (15:56 +0800)]
typo fix
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 3 Dec 2012 07:54:27 +0000 (15:54 +0800)]
fix local repo metadata override issue
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 29 Nov 2012 06:44:35 +0000 (14:44 +0800)]
bump up to 0.15pre3
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 29 Nov 2012 06:52:34 +0000 (14:52 +0800)]
add RELEASE_NOTES
Signed-off-by: Gui Chen <gui.chen@intel.com>
jobol [Mon, 19 Nov 2012 07:49:59 +0000 (08:49 +0100)]
improved loop creation
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 29 Nov 2012 06:21:48 +0000 (14:21 +0800)]
sync time and zone setting to bootstrap env
Signed-off-by: Gui Chen <gui.chen@intel.com>
Huanhuan Li [Mon, 22 Oct 2012 19:06:58 +0000 (15:06 -0400)]
fix timestamp in logfile uncorrected with 'EDT'
lhh [Tue, 9 Oct 2012 19:18:46 +0000 (15:18 -0400)]
update README.rst
Signed-off-by: lhh <huanhuanx.li@intel.com>
Gui Chen [Fri, 30 Nov 2012 03:21:35 +0000 (11:21 +0800)]
some case don't need to mount parent folder
bind mounting parent folder has potential issue in some case, make it optinal
some dirs like 'outdir' 'logfile' which will be created by mic is not existed
before chroot, create them to avoid left them inside chroot
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 28 Nov 2012 06:29:04 +0000 (14:29 +0800)]
don't drop when failed to unmap kpartx device
just warn the failure, no need to drop here
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 28 Nov 2012 05:51:14 +0000 (13:51 +0800)]
use 'mknod' instead to create loop device
in some distros, if loop device is not created by 'mknod',
losetup can't use them correctly
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Fri, 30 Nov 2012 02:34:51 +0000 (10:34 +0800)]
bump up to 0.15pre2
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 28 Nov 2012 06:07:41 +0000 (14:07 +0800)]
backport bmap patch from devel
Signed-off-by: Gui Chen <gui.chen@intel.com>
Anas Nashif [Fri, 9 Nov 2012 18:03:38 +0000 (10:03 -0800)]
Add dracut support to livecd/liveusb images
This adds support to initrd images using dracut and enables systemd
and udev and other plugins that will be used to boot pc-style systems.
The previous initrd method was last used in MeeGo and is currently not
supported in in Tizen, so it is obsolete and does work with new udev
and systemd booting.
Anas Nashif [Tue, 2 Oct 2012 20:54:17 +0000 (13:54 -0700)]
Do not show password in debug messages
Anas Nashif [Tue, 2 Oct 2012 20:23:25 +0000 (13:23 -0700)]
point to tizen repo, not meego
Change-Id: I50e62f957dbdbfbc178558598881e041fe0f1643
Gui Chen [Fri, 30 Nov 2012 02:32:09 +0000 (10:32 +0800)]
bump to 0.15pre1
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 26 Nov 2012 08:05:16 +0000 (16:05 +0800)]
fix local repo unavailable in bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 26 Nov 2012 08:04:03 +0000 (16:04 +0800)]
return filename directly if local repo specified
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 26 Nov 2012 07:15:21 +0000 (15:15 +0800)]
Revert "decide uniq arch when one repo only has one uniq arch"
This reverts commit
55e3c24997204f0c6ad2bb29701f2e5de0b79266.
Gui Chen [Mon, 26 Nov 2012 06:59:28 +0000 (14:59 +0800)]
append filesystem parameter for ext[2/3/4] filesystem
in ks file, specify --extoptions can pass ext filesystem parameter to mkfs:
part / --size 1000 --ondisk sda --fstype=ext3 --extoptions="-I 256 -E nodiscard"
other filesystem will ignore this option
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 26 Nov 2012 03:23:56 +0000 (11:23 +0800)]
default to no scriptlets trigger
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Fri, 23 Nov 2012 03:17:08 +0000 (11:17 +0800)]
raise when creating bootstrap failed
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Fri, 23 Nov 2012 03:15:46 +0000 (11:15 +0800)]
need not to check 'passwd'
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 22 Nov 2012 02:57:48 +0000 (10:57 +0800)]
fix minor bug
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 22 Nov 2012 02:52:01 +0000 (10:52 +0800)]
multiple bootstrap path to support multi-instance mic
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 19 Nov 2012 11:20:39 +0000 (19:20 +0800)]
adapt for new mechanism of bootstrap
also fix arm image creation performance issue
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Sat, 22 Sep 2012 15:00:40 +0000 (23:00 +0800)]
decide uniq arch when one repo only has one uniq arch
the arch detection is changed: when one uniq arch is found in a repo,
this arch should be detected arch now.
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Sat, 22 Sep 2012 10:41:13 +0000 (18:41 +0800)]
fix version comparison for bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Sat, 22 Sep 2012 10:39:58 +0000 (18:39 +0800)]
fix extlinux not found issue
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Fri, 21 Sep 2012 13:17:49 +0000 (21:17 +0800)]
fix syntax warning for USAGE.rst
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 20 Sep 2012 06:56:50 +0000 (14:56 +0800)]
add bootstrap defined path to PATH variable
env variable PATH should be defined in bootstrap,
and they should be append to PATH when chroot
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 18 Sep 2012 13:51:33 +0000 (21:51 +0800)]
split out username and password in zypp repo file
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 18 Sep 2012 13:24:38 +0000 (21:24 +0800)]
add --repourl for BOSS to replace baseurl in zypp repo file
for BOSS, the baseurl in zypp repo file should be corrected.
to enable it, append the option like below:
--repourl="Tizen-main=http://download.example.com/x/y/z/"
--repourl="Tizen-base=http://download.example.com/z/y/x/"
Signed-off-by: Gui Chen <gui.chen@intel.com>
Change-Id: I9e7d395de15fed6b8f89899ff0721d3eb515ff45
Gui Chen [Mon, 17 Sep 2012 06:51:47 +0000 (14:51 +0800)]
update usage.rst for man page
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 12 Sep 2012 02:54:09 +0000 (10:54 +0800)]
avoid traceback when loopback is NoneType
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 12 Sep 2012 02:51:30 +0000 (10:51 +0800)]
lseek limit to 2G in 32bit env
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 11 Sep 2012 08:35:55 +0000 (16:35 +0800)]
chmod mic script inside bootstrap to executable
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 11 Sep 2012 08:34:23 +0000 (16:34 +0800)]
add optional packages which can be skiped for bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 11 Sep 2012 08:05:03 +0000 (16:05 +0800)]
fix rpm install failed for arm in bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 10 Sep 2012 13:02:00 +0000 (21:02 +0800)]
proxy setting to be compatible with old version of yum
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 10 Sep 2012 11:14:03 +0000 (19:14 +0800)]
fix help command incorrect issue
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 10 Sep 2012 02:10:15 +0000 (10:10 +0800)]
add more packages for tizen bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 30 Aug 2012 03:12:04 +0000 (11:12 +0800)]
add some packages to tizen bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 29 Aug 2012 09:38:15 +0000 (17:38 +0800)]
just warning when dir is not valid tizen/meego chroot
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 29 Aug 2012 09:33:42 +0000 (17:33 +0800)]
resolve proxy issue in yum backend
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 29 Aug 2012 09:32:34 +0000 (17:32 +0800)]
refine parsing bootstrap.conf
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 29 Aug 2012 09:31:14 +0000 (17:31 +0800)]
relocate macro substitution in ks file
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 29 Aug 2012 09:29:36 +0000 (17:29 +0800)]
find the real path of binary script firstly
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 29 Aug 2012 09:28:42 +0000 (17:28 +0800)]
set default pkgmgr to auto and preferred to use zypp
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 28 Aug 2012 13:32:06 +0000 (21:32 +0800)]
Merge branch 'bootstrap' into devel
Conflicts:
mic/creator.py
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 15:36:27 +0000 (23:36 +0800)]
support meego boostrap with meego packages list
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 15:31:01 +0000 (23:31 +0800)]
auto selecting backend with 'pkgmgr=auto'
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 15:29:01 +0000 (23:29 +0800)]
handle logfile to record bootstrap output when specified
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 07:04:39 +0000 (15:04 +0800)]
correct return value from subprocess
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 06:58:45 +0000 (14:58 +0800)]
support multi udev rules.d path to detect proper one
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 06:52:35 +0000 (14:52 +0800)]
correct arch support in misc.get_package and bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 06:28:04 +0000 (14:28 +0800)]
clean mounts in bootstrap.cleanup
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 06:16:19 +0000 (14:16 +0800)]
detect python site dir inside bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 21 Aug 2012 06:06:35 +0000 (14:06 +0800)]
refine safecopy in rt_util
Signed-off-by: Gui Chen <gui.chen@intel.com>
Jian-feng Ding [Mon, 20 Aug 2012 08:40:13 +0000 (01:40 -0700)]
Merge "better handling to check arguments before cmd running" into devel
Gui Chen [Thu, 16 Aug 2012 15:20:48 +0000 (08:20 -0700)]
minor change to befit opensuse
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 16 Aug 2012 11:56:30 +0000 (19:56 +0800)]
use cached rpm if integrated for creating bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 16 Aug 2012 07:10:44 +0000 (15:10 +0800)]
add preinstall and postinstall scripts handling
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 16 Aug 2012 06:29:28 +0000 (14:29 +0800)]
implement Bootstrap.run to do bootstrap stuff
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 16 Aug 2012 06:21:04 +0000 (14:21 +0800)]
touch distro file to present bootstrap using
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 15:45:06 +0000 (23:45 +0800)]
clear message when chrooting bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 15:30:12 +0000 (23:30 +0800)]
make source installation workable with bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 15:28:40 +0000 (23:28 +0800)]
make proper for python interpreter in bootstrap mic
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 13:36:35 +0000 (21:36 +0800)]
skip non-existent rpm
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 13:33:49 +0000 (21:33 +0800)]
call bootstrap_mic to do the bootstrap work
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 13:33:04 +0000 (21:33 +0800)]
provide bootstrap.conf to handle bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 13:29:51 +0000 (21:29 +0800)]
new rt_utils to handle mic running in bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Wed, 15 Aug 2012 13:29:07 +0000 (21:29 +0800)]
new bootstrap.py to handle bootstrap creating
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 14 Aug 2012 13:53:51 +0000 (21:53 +0800)]
bear unexpected checksum type when getting metadata
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Tue, 14 Aug 2012 13:52:35 +0000 (21:52 +0800)]
better handling to check arguments before cmd running
Signed-off-by: Gui Chen <gui.chen@inte .com>
Gui Chen [Tue, 14 Aug 2012 03:36:39 +0000 (11:36 +0800)]
better handling to check arguments before cmd running
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 13 Aug 2012 07:31:06 +0000 (15:31 +0800)]
bear unexpected checksum type when getting metadata
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Mon, 13 Aug 2012 07:25:26 +0000 (15:25 +0800)]
better handling to check arguments before cmd running
Signed-off-by: Gui Chen <gui.chen@inte-.com>
Gui Chen [Fri, 3 Aug 2012 10:18:16 +0000 (18:18 +0800)]
bump up version to 0.14
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Fri, 3 Aug 2012 10:16:26 +0000 (18:16 +0800)]
make swap part with label and uuid
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 2 Aug 2012 07:17:16 +0000 (15:17 +0800)]
fix live img create failure when label assigned
and clean some trailing space
Signed-off-by: Gui Chen <gui.chen@intel.com>
Gui Chen [Thu, 2 Aug 2012 07:11:27 +0000 (15:11 +0800)]
avoid traceback of converting live img to fs/loop/raw
Signed-off-by: Gui Chen <gui.chen@intel.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
JF Ding [Fri, 27 Jul 2012 08:06:28 +0000 (01:06 -0700)]
Merge "fixed wrong usage of rstrip in loop.py"
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>
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
Gui Chen [Tue, 17 Jul 2012 01:18:28 +0000 (09:18 +0800)]
typo fix
Signed-off-by: Gui Chen <gui.chen@intel.com>