Merge branch 'release-0.19' into devel
[tools/mic.git] / ChangeLog
1 Release 0.19 - Thu May 16 2013 - Gui Chen <gui.chen@intel.com>
2 =====================================================================
3  - new distribution support: Ubuntu 13.04 and openSUSE 12.3
4  - introduce '--part-type' to handle GPT partition
5  - copy bmap creation from bmap-tools
6  - update some depends and fix depends issue
7  - bug fix:
8    - fix bug autologinuser always set
9    - fix symlink bind mount left issue
10    - fix '/var/lock' non-existent throw traceback
11
12 Release 0.18 - Mon Apr 03 2013 - Gui Chen <gui.chen@intel.com>
13 =====================================================================
14  * put build_id before image name for release option
15  * mount build directory as tmpfs to speed up
16  * enable --priority in ks to set priority
17  * upgrade qemu (mic's depends) to 1.4.0
18  * bug fix:
19    - fix debuginfo rpm swig attribute lost
20    - fix release option failure with slash
21    - fix man page lost in some distros
22    - fix bmap file packed to tarball
23  * code cleanup:
24    - unify import statements to absolute import
25    - clean up many undefined in partitionfs.py/loop.py/livecd.py
26    - clean up some useless try and raise blocks
27    - clean up some bad indentations
28    - improve some error messages
29
30 Release 0.17 - Tue Feb 28 2013 - Gui Chen <gui.chen@intel.com>
31 =====================================================================
32  * support new distribution Fedora 18
33  * enable to handle more than 3 partitions
34  * support partitions without mount point
35  * move vcs infomation from .vcs to .packages
36  * clean up some mess in utils/misc.py
37  * bug fix:
38    - fix failure when symbolic link vmlinuz in single disk
39    - fix incorrect alignment handling
40    - fix requires squashfs in opensuse
41    - fix unicode error in myurlgrab
42  * code cleanup:
43    - clean up some mess in utils/misc.py
44    - clean up pylint issue in creator.py
45
46 Release 0.16.3 - Wed Feb 06 2013 - Gui Chen <gui.chen@intel.com>
47 =====================================================================
48  * fix no key 'HOME' in environ variable failure
49  * remove suffix when release specified
50  * roll back to original naming for release
51
52 Release 0.16 - Wed Jan 30 2013 - Gui Chen <gui.chen@intel.com>
53 =====================================================================
54  * add GPT support for UEFI format
55    - add --ptable=gpt option in kickstart to enable GPT
56    - add simple GPT parser to parse PARTUUID
57    - use PARTUUID in syslinux.cfg if gpt required
58    - clean up the mess code and improve readability
59  * improve alignment to reduce unused space
60    - add interface add_disks for PartitionedMount
61    - clean up the mess code in partitionfs.py
62  * append timestamp suffix to image name by default
63  * add a new option --nocache in kickstart to disable caching rpm
64  * add a new value 'vcs' for --record-pkgs to save VCS info
65  * add a new option --fstab-entry for raw image to set fstab entry
66  * introduce a new option '--install-pkgs' in mic
67    - valid values imagined: source, debuginfo, debugsource
68    - enable 'debuginfo' to install '-debuginfo' rpm in the meantime
69  * improve loop device generating and cleaning mechanism
70  * code cleanup:
71    - update documentation
72    - rename MANIFEST to MD5SUM
73    - clean up moblin stuff in kickstart
74    - clean mic tests and keep only unittest
75    - sepreate the download related as independent module
76  * bug fix:
77    - cleanup zypp credential file to fix conflicts during installing
78    - fix the issue that outdir/cachedir is not dir
79    - recalculate package content recording
80    - refactor try except statement in baseimager
81    - fix existing loop images overwritten
82
83 Release 0.15.3 - Wed Jan 23 2013 - Gui Chen <gui.chen@intel.com>
84 =====================================================================
85  * urgent bug fix:
86    - fix loop device not cleaned issue
87    - fix bootstrap dirs not unmounted issue
88    - fix mic failed in kvmic issue
89    - fix binfmt register in bootstrap incorrect
90    - fix rpm path incorrect when local repo and sslverify used
91  * other bug fix:
92    - fix x86_64 image conflicts installing x86_64 and x86 rpm
93    - verify if logfile is a file
94    - fix type error when calling mknod
95    - fix the failure if ks under / dir
96    - clean up the mess 'directory not empty'
97    - fix type error when calling mknod
98
99 Release 0.15 - Tue Dec 13 2012 - Gui Chen <gui.chen@intel.com>
100 =====================================================================
101  * adapt new mechanism for bootstrap mode
102    - create 'mic-bootstrap-x86-arm' by obs build
103    - publish 'mic-bootstrap-x86-arm' into server repo
104    - use 'mic-bootstrap-x86-arm' as bootstrap env for x86 and arm image
105  * filesystem parameter support for ext[234] fs
106    - sample in ks: part / --size 1000 --fstype=ext3 --extoptions="-I 256"
107    - other filesystem will ignore option '--extoptions'
108  * update the documentation and man page
109  * multiple bootstrap path to support multi-instance mic
110  * use 'pkgmgr=auto' to select available backend in conf file
111  * improve loop device creation algorithm and create loop device by 'mknod'
112  * bug fix:
113    - bear unexpected checksum type when getting metadata
114    - avoid traceback when loopback is NoneType
115    - lseek limit to 2G in 32bit env
116    - split out username and password in zypp repo file
117    - use rpm real path instead of 'cp' if it's local repo
118    - fix local repo unavailable in bootstrap
119    - fix traceback when failed to unmap kpartx device
120    - fix timestamp incorrect issue in logfile
121
122 Release 0.14.2 - Wed Nov 14 2012 - Gui Chen <gui.chen@intel.com>
123 =====================================================================
124  * support dracut for live image
125  * update bmap version to 1.1
126
127 Release 0.14.1 - Fri Oct 15 2012 - Gui Chen <gui.chen@intel.com>
128 =====================================================================
129  * support bmap file for ivi flashing tool
130  * just warning in chroot when not Tizen/MeeGo chroot dir
131  * fix logfile lost in bootstrap mode
132  * clean mounts in bootstrap when exiting
133  * bug fix:
134    - fix https proxy issue in yum backend
135    - avoid traceback when loop instance is NoneType
136
137 Release 0.14 - Thu Aug 02 2012 - Gui Chen <gui.chen@intel.com>
138 =====================================================================
139  * use cached metadata when checksum is not changed
140  * skip non-fatal error in ks file and prompt user to handle
141  * prompt user to handle when failed to apply img configure
142  * replace hard name with device uuid in etc/fstab
143  * enhance extlinux cfg file for symbolic kernel like IVI
144  * support label assign for raw image
145  * bug fix:
146    - fix live image create failure when label assigned
147    - avoid traceback when converting unsupported type
148    - fix mic --version ugly output
149
150 Release 0.13 - Wed Jul 12 2012 - Gui Chen <gui.chen@intel.com>
151 =====================================================================
152  * create logfile as default when --release specifid
153  * use 'gzip' and 'bzip2' to pack image instead of python
154  * automatically detect path of 'env' for chroot
155  * record version and os info in build log and logfile
156  * bug fix:
157    - fix popup message in ubuntus
158    - fix unicode issue for logfile
159    - better fix for 'chroot raw' issue
160
161 Release 0.12 - Wed Jun 20 2012 - Gui Chen <gui.chen@intel.com>
162 =====================================================================
163  * use default value when @BUILD_ID@ and @ARCH@ not specified
164  * enhance proxy support in attachment retrieve
165  * add new --shrink opt for loop image to control img shrinking
166  * avoid invalid literal for loop device generation
167  * relocate and refactor selinux_check func
168  * remove prefix for make install
169  * bug fix:
170    - fix compres image in raw image
171    - fix src pkgs download failed issue
172    - fix convert failed issue
173
174 Release 0.11 - Fri Jun 08 2012 - Gui Chen <gui.chen@intel.com>
175 =====================================================================
176  * support new subcmd 'auto' to handle magic line in ks
177  * enhance the handle of authentication url and https proxy
178  * support packing images together and support compressed file format
179  * reset LD_PRELOAD for chroot env
180  * centralized interface to check existing images
181  * avoid live image creating when using multi-partitions
182  * resolve the depends of python-urlgrabber
183  * bug fix:
184    - fix logfile context lost issue
185    - fix attachment package url handling
186    - fix mic ch raw failed issue
187
188 Release 0.10 - Tue May 15 2012 - Gui Chen <gui.chen@intel.com>
189 =====================================================================
190  * container support using '%attachment' section in ks
191  * add --compress-to option to support zip format in loop image
192  * auto-detect config and plugindir to meet virtualenv and customized install
193  * remove all hardcoded info in setup.py and use sys.prefix for installing
194  * tolerate some OS errors in the image configurations stage
195  * extra patch:
196    - fix zypp missing password when using username passwd
197    - some fixes to enhance authentication url
198    - refine repostr structure to fix comma issue in baseurl
199
200 Release 0.9 - Fri Apr 13 2012 - Gui Chen <gui.chen@intel.com>
201 =====================================================================
202  * support pre-install package with zypp backend
203  * sync /etc/mic/mic.conf to bootstrap
204  * enhance sorting for version comparsion in zypp
205  * rewrite chroot tar image using xml format mount point file
206  * fix the incorrect number showing in fs src pkgs download
207  * remove tests directory for dist in Makefile
208  * fix liveusb parted mkpart failure, revert mbr size expand in raw
209  * cleanup /tmp/repolic* dir in the EULA checking
210
211 Release 0.8 - Mon Mar 26 2012 - Gui Chen <gui.chen@intel.com>
212 =====================================================================
213  * partition alignment support
214  * remove bootloader option 'quiet vga' for raw
215  * update dist files in git source
216  * update unittest, add cases for chroot, msger, runner
217  * add 40 system test case for help
218  * rewrite loop device allocation mechanism
219
220 Release 0.7 - Fri Mar 02 2012 - Gui Chen <gui.chen@intel.com>
221 =====================================================================
222  * zypp backend: fixed a fatal issue of unreleasable loop devs
223  * zypp backend: more friendly output message
224  * backend: share cached rpm files between yum and zypp
225  * enhancement for multiple partition loop format
226  * make msger to accept Unicode string
227  * fixed a regression of compress option for FS format
228  * fixed issues in openSUSE12.1
229  * new written man page
230
231 Release 0.6 - Thu Feb 16 2012 - Gui Chen <gui.chen@intel.com>
232 =====================================================================
233  * give hint when converted image existed
234  * conf.py: proxy scheme check
235  * space check before copy image
236  * zypp: abort with error msg for repo resolver issues
237  * runner.py refinement
238  * ks file syntax check for '%post' without '%end'
239  * support more compression formats than only bzip2
240  * fix msg NoneType issue, causing exit after install
241  * bootstrap:
242    - catch creator error when retrieving bootstrap metadata
243    - correct matching .metadata file in bootstrap
244
245 Release 0.5 - Mon Feb 06 2012 - Gui Chen <gui.chen@intel.com>
246 =====================================================================
247  * Rewrite the algorithm of checking free space for download and install
248  * Add --shell option for convert to recreate image modified by internal shell
249  * Add -s option for chroot to unpack image
250  * Introduce --copy-kernel option for creator
251  * Remove the hardcoded default args for bootloader
252  * Disable logstderr and flush message buffer in disable_logstderr
253  * Deal with yum.conf inside yum backend by itself
254  * Bug fix:
255    - Fix rpmdb error in yum and zypp to avoid bad file descriptor message
256    - Fix MANIFEST syntax to be compliant with md5sum
257    - Correct dependencies for mic in bootstrap
258
259 Release 0.4 - Fri Jan 06 2012 - Gui Chen <gui.chen@intel.com>
260 =====================================================================
261  * Support bootstrap mode, run with '--runtime=bootstrap'
262  * Full support for taring-to output, use 'mic ch x.tar'
263  * Break dependency between backend and baseimage
264  * Check valid repos in ks file
265  * Space check update and catch no space exception
266  * Fix no prompt when cv and ch no existed image
267  * Fix NoneType 'createopts' when convert
268  * Fix no existed local_pkgs_path
269
270 Release 0.3 - Mon Dec 26 2011 - Gui Chen <gui.chen@intel.com>
271 =====================================================================
272  * Unit test support, run 'make test'
273  * Enable proxy support in config file
274  * Refine configmgr and pluginmgr
275  * Support multi instance with different cache dir
276  * Add 47 system test case
277  * Improve md5sum generation
278  * Add repo option --ssl_verify
279  * Add option --name_prefix
280  * Reformatted code according to PEP08
281  * Backport from mic2:
282    - Add priority and cost option for repos
283    - Reinstroduced compress-disk-image option
284
285 Release 0.2 - Tue Nov 29 2011 - Gui Chen <gui.chen@intel.com>
286 =====================================================================
287  * Support btrfs and ext4 fstype for creator, convertor, and chroot
288  * Append distfiles and Makefile
289  * Check arch type from repo data
290  * Set rpm dbpath to fix 'rpm -qa' issue
291  * Fix chroot issue caused by image size
292  * Improve setup.py and make it compatible with python 2.5
293  * Disable ca check for https
294  * Change default output dir name to ./mic-output
295  * untrack mic/__version__.py
296  * Fix some minor issues
297
298 Release 0.1 - Thu Oct 27 2011 - Gui Chen <gui.chen@intel.com>
299 =====================================================================
300  * Support three subcommand: create, convert, chroot
301  * Support five image types: fs, loop, raw, livecd, liveusb
302  * Support two package manager backend: yum and zypp
303  * Support the following global command line options:
304    - --verbose
305    - --debug
306  * Creator subcommand support the following command line options:
307    - --logfile=LOGFILE
308    - -c CONFIG, --config=CONFIG
309    - -k CACHEDIR, --cachedir=CACHEDIR
310    - -o OUTDIR, --outdir=OUTDIR
311    - -A ARCH, --arch=ARCH
312    - --release=RID
313    - --record-pkgs=RECORD_PKGS
314    - --pkgmgr=PKGMGR
315    - --local-pkgs-path=LOCAL_PKGS_PATH
316