Add change log and release information for Release 0.27.1
[tools/mic.git] / ChangeLog
1 Release 0.27.1 - Wed May 25 2016 - Jianzhong Fang <jz.fang@samsung.com>
2 =====================================================================
3   * new distribution support: Ubuntu 16.04, Fedora 23
4   * add raw image format support
5   * bug fix:
6     - Remove BmapCreate and Filemap source code from MIC (#DEVT-151)
7
8 Release 0.27 - Mon Mar 28 2016 - Jianzhong Fang <jz.fang@samsung.com>
9 =====================================================================
10   * new distribution support: CentOS 7, Debian 8, Fedora 21, 
11     Fedora 22, openSUSE 13.2
12   * generate manifest file to describe image information
13   * refactor archive and compress module
14   * support sparse handle for tar command
15   * replace system V with systemd on locale setting
16   * add qcow2 image format support
17   * add strict mode for package installing
18   * enable ssl_verify option in config file
19   * enhance checksums of outputs: md5sum, sha1sum, sha256sum (#DEVT-224)
20   * drop mic-native support (#DEVT-248)
21   * update mount option
22   * revert bind mount config file to instroot
23   * drop liveusb, livecd and raw image formats support (#DEVT-243, #DEVT-263)
24   * use argparse module to parse the cmd line (#DEVT-52)
25
26
27   * bug fix:
28     - fix logfile incomplete in release option
29     - fix config file disappear in bootstrap
30     - fix aarch64 bin_format
31     - fix pylint
32     - fix real path of device mapper causing initrd failure
33     - fix qemu arm and arm64 issues
34     - fix AttributeError in zypp backend
35     - fix 'python-xml' depends used by cElements
36     - fix xml requirements
37     - fix logfile not in release of '--release' when creation failed
38     - fix copyright missing issue
39     - fix syslinux installation path issue in Arch Linux
40     - fix priority option of ks file not apply (#DEVT-254)
41     - fix need to check loop device after excute 'losetup --find'
42     - fix check scriptlet error file on /tmp/.postscript/error/
43     - fix broken tar archive
44
45 Release 0.24 - Tue Mar 11 2014 - Gui Chen <gui.chen@intel.com>
46 =====================================================================
47   * enhance to handle password with special characters
48   * change python-zypp require to python-zypp-tizen
49   * add --repo comand option for local build
50   * add --user and --password option for %repo directive of ks file
51   * clean up some codes relevant to EULA agreement
52   * add hostname showing in log
53   * bug fix:
54     - fix chroot failed by space in image not enough
55     - fix obsolete packages incorrect handling
56     - fix yum backend failed to cache packages
57     - fix bare ip in no_proxy not working
58     - fix repeated log showing with yum backend
59     - fix loop device latency timing
60     - fix zypp failed to download by changing 'cachedir'
61     - fix 'mkfs' not working caused by mic-bootstrap install failed
62
63 Release 0.23 - Fri Dec 12 2013 - Gui Chen <gui.chen@intel.com>
64 =====================================================================
65   * new distribution support: Ubuntu 13.10 and OpenSUSE 13.1
66   * split requirements to subpackage 'mic-native' to reduce mic's dependencies
67   * support arm64 architecture image creation in native mode
68   * new option '--interactive'/'--non-interactive' to enable/disable interaction 
69   * new option '--uuid' for 'part' in ks file to set filesystem uuid
70   * export more variables related to installer framework for loop format
71   * bug fix:
72     - fix bootstrap handling if bootstrap package failed
73     - fix 'mapper_device' key error
74     - fix detailed error messages missing in mounting
75     - fix version comparing issue of urlgrabber in Fedora
76
77 Release 0.22 - Thu Oct 24 2013 - Gui Chen <gui.chen@intel.com>
78 =====================================================================
79   * use __version__ variable instead of VERSION file
80   * refactor msger module to ulitize logging module
81   * refine error class module
82   * improve installation in virtualenv
83   * add bash completion support
84   * add zsh completion support
85   * export mapper device related to installer framework
86   * update BmapCreate to the latest version
87   * bug fix:
88     - fix customized plugin_dir not work in bootstrap
89     - fix packing process exit on Ubuntu
90     - fix loop device alloaction failed on openSUSE
91     - fix incorrect number showing during installing
92     - set owner of cacheidr/outdir to SUDO_USER
93     - correct project url in setup.py
94     - fix mic not work when mic.conf disappear
95
96 Release 0.21 - Mon Aug 26 2013 - Gui Chen <gui.chen@intel.com>
97 =====================================================================
98   * new distribution support: Fedora 19
99   * refactor chroot module to correct the logic
100   * add an alias for installerfw - installerfw_plugins
101   * remove fuser dependency to avoid some unmount issue
102   * enable proxy setting with authentication
103   * don't get proxy info from /etc/sysconfig/proxy ever
104   * kill processes inside chroot after post script running
105   * reload device mapper using 'dmsetup' utility
106   * bug fix:
107     - fix bootloader options omitted
108     - warn failed boot partition flags set
109     - fix wrong file descriptor issue
110     - fix some requires
111
112 Release 0.20 - Mon Jul 01 2013 - Gui Chen <gui.chen@intel.com>
113 =====================================================================
114   * new distribution support: CentOS 6
115   * drop image creation if checked packages not present in image
116   * introduce 'installerfw' command in kickstart to customize configuration
117   * improve output message of post scripts
118   * bug fix:
119     - fix rpm not support 'VCS' tag traceback
120
121 Release 0.19 - Thu May 16 2013 - Gui Chen <gui.chen@intel.com>
122 =====================================================================
123  * new distribution support: Ubuntu 13.04 and openSUSE 12.3
124  * introduce '--part-type' to handle GPT partition
125  * copy bmap creation from bmap-tools
126  * update some depends and fix depends issue
127  * bug fix:
128    - fix bug autologinuser always set
129    - fix symlink bind mount left issue
130    - fix '/var/lock' non-existent throw traceback
131
132 Release 0.18 - Mon Apr 03 2013 - Gui Chen <gui.chen@intel.com>
133 =====================================================================
134  * put build_id before image name for release option
135  * mount build directory as tmpfs to speed up
136  * enable --priority in ks to set priority
137  * upgrade qemu (mic's depends) to 1.4.0
138  * bug fix:
139    - fix debuginfo rpm swig attribute lost
140    - fix release option failure with slash
141    - fix man page lost in some distros
142    - fix bmap file packed to tarball
143  * code cleanup:
144    - unify import statements to absolute import
145    - clean up many undefined in partitionfs.py/loop.py/livecd.py
146    - clean up some useless try and raise blocks
147    - clean up some bad indentations
148    - improve some error messages
149
150 Release 0.17 - Tue Feb 28 2013 - Gui Chen <gui.chen@intel.com>
151 =====================================================================
152  * support new distribution Fedora 18
153  * enable to handle more than 3 partitions
154  * support partitions without mount point
155  * move vcs infomation from .vcs to .packages
156  * clean up some mess in utils/misc.py
157  * bug fix:
158    - fix failure when symbolic link vmlinuz in single disk
159    - fix incorrect alignment handling
160    - fix requires squashfs in opensuse
161    - fix unicode error in myurlgrab
162  * code cleanup:
163    - clean up some mess in utils/misc.py
164    - clean up pylint issue in creator.py
165
166 Release 0.16.3 - Wed Feb 06 2013 - Gui Chen <gui.chen@intel.com>
167 =====================================================================
168  * fix no key 'HOME' in environ variable failure
169  * remove suffix when release specified
170  * roll back to original naming for release
171
172 Release 0.16 - Wed Jan 30 2013 - Gui Chen <gui.chen@intel.com>
173 =====================================================================
174  * add GPT support for UEFI format
175    - add --ptable=gpt option in kickstart to enable GPT
176    - add simple GPT parser to parse PARTUUID
177    - use PARTUUID in syslinux.cfg if gpt required
178    - clean up the mess code and improve readability
179  * improve alignment to reduce unused space
180    - add interface add_disks for PartitionedMount
181    - clean up the mess code in partitionfs.py
182  * append timestamp suffix to image name by default
183  * add a new option --nocache in kickstart to disable caching rpm
184  * add a new value 'vcs' for --record-pkgs to save VCS info
185  * add a new option --fstab-entry for raw image to set fstab entry
186  * introduce a new option '--install-pkgs' in mic
187    - valid values imagined: source, debuginfo, debugsource
188    - enable 'debuginfo' to install '-debuginfo' rpm in the meantime
189  * improve loop device generating and cleaning mechanism
190  * code cleanup:
191    - update documentation
192    - rename MANIFEST to MD5SUM
193    - clean up moblin stuff in kickstart
194    - clean mic tests and keep only unittest
195    - sepreate the download related as independent module
196  * bug fix:
197    - cleanup zypp credential file to fix conflicts during installing
198    - fix the issue that outdir/cachedir is not dir
199    - recalculate package content recording
200    - refactor try except statement in baseimager
201    - fix existing loop images overwritten
202
203 Release 0.15.3 - Wed Jan 23 2013 - Gui Chen <gui.chen@intel.com>
204 =====================================================================
205  * urgent bug fix:
206    - fix loop device not cleaned issue
207    - fix bootstrap dirs not unmounted issue
208    - fix mic failed in kvmic issue
209    - fix binfmt register in bootstrap incorrect
210    - fix rpm path incorrect when local repo and sslverify used
211  * other bug fix:
212    - fix x86_64 image conflicts installing x86_64 and x86 rpm
213    - verify if logfile is a file
214    - fix type error when calling mknod
215    - fix the failure if ks under / dir
216    - clean up the mess 'directory not empty'
217    - fix type error when calling mknod
218
219 Release 0.15 - Tue Dec 13 2012 - Gui Chen <gui.chen@intel.com>
220 =====================================================================
221  * adapt new mechanism for bootstrap mode
222    - create 'mic-bootstrap-x86-arm' by obs build
223    - publish 'mic-bootstrap-x86-arm' into server repo
224    - use 'mic-bootstrap-x86-arm' as bootstrap env for x86 and arm image
225  * filesystem parameter support for ext[234] fs
226    - sample in ks: part / --size 1000 --fstype=ext3 --extoptions="-I 256"
227    - other filesystem will ignore option '--extoptions'
228  * update the documentation and man page
229  * multiple bootstrap path to support multi-instance mic
230  * use 'pkgmgr=auto' to select available backend in conf file
231  * improve loop device creation algorithm and create loop device by 'mknod'
232  * bug fix:
233    - bear unexpected checksum type when getting metadata
234    - avoid traceback when loopback is NoneType
235    - lseek limit to 2G in 32bit env
236    - split out username and password in zypp repo file
237    - use rpm real path instead of 'cp' if it's local repo
238    - fix local repo unavailable in bootstrap
239    - fix traceback when failed to unmap kpartx device
240    - fix timestamp incorrect issue in logfile
241
242 Release 0.14.2 - Wed Nov 14 2012 - Gui Chen <gui.chen@intel.com>
243 =====================================================================
244  * support dracut for live image
245  * update bmap version to 1.1
246
247 Release 0.14.1 - Fri Oct 15 2012 - Gui Chen <gui.chen@intel.com>
248 =====================================================================
249  * support bmap file for ivi flashing tool
250  * just warning in chroot when not Tizen/MeeGo chroot dir
251  * fix logfile lost in bootstrap mode
252  * clean mounts in bootstrap when exiting
253  * bug fix:
254    - fix https proxy issue in yum backend
255    - avoid traceback when loop instance is NoneType
256
257 Release 0.14 - Thu Aug 02 2012 - Gui Chen <gui.chen@intel.com>
258 =====================================================================
259  * use cached metadata when checksum is not changed
260  * skip non-fatal error in ks file and prompt user to handle
261  * prompt user to handle when failed to apply img configure
262  * replace hard name with device uuid in etc/fstab
263  * enhance extlinux cfg file for symbolic kernel like IVI
264  * support label assign for raw image
265  * bug fix:
266    - fix live image create failure when label assigned
267    - avoid traceback when converting unsupported type
268    - fix mic --version ugly output
269
270 Release 0.13 - Wed Jul 12 2012 - Gui Chen <gui.chen@intel.com>
271 =====================================================================
272  * create logfile as default when --release specifid
273  * use 'gzip' and 'bzip2' to pack image instead of python
274  * automatically detect path of 'env' for chroot
275  * record version and os info in build log and logfile
276  * bug fix:
277    - fix popup message in ubuntus
278    - fix unicode issue for logfile
279    - better fix for 'chroot raw' issue
280
281 Release 0.12 - Wed Jun 20 2012 - Gui Chen <gui.chen@intel.com>
282 =====================================================================
283  * use default value when @BUILD_ID@ and @ARCH@ not specified
284  * enhance proxy support in attachment retrieve
285  * add new --shrink opt for loop image to control img shrinking
286  * avoid invalid literal for loop device generation
287  * relocate and refactor selinux_check func
288  * remove prefix for make install
289  * bug fix:
290    - fix compres image in raw image
291    - fix src pkgs download failed issue
292    - fix convert failed issue
293
294 Release 0.11 - Fri Jun 08 2012 - Gui Chen <gui.chen@intel.com>
295 =====================================================================
296  * support new subcmd 'auto' to handle magic line in ks
297  * enhance the handle of authentication url and https proxy
298  * support packing images together and support compressed file format
299  * reset LD_PRELOAD for chroot env
300  * centralized interface to check existing images
301  * avoid live image creating when using multi-partitions
302  * resolve the depends of python-urlgrabber
303  * bug fix:
304    - fix logfile context lost issue
305    - fix attachment package url handling
306    - fix mic ch raw failed issue
307
308 Release 0.10 - Tue May 15 2012 - Gui Chen <gui.chen@intel.com>
309 =====================================================================
310  * container support using '%attachment' section in ks
311  * add --compress-to option to support zip format in loop image
312  * auto-detect config and plugindir to meet virtualenv and customized install
313  * remove all hardcoded info in setup.py and use sys.prefix for installing
314  * tolerate some OS errors in the image configurations stage
315  * extra patch:
316    - fix zypp missing password when using username passwd
317    - some fixes to enhance authentication url
318    - refine repostr structure to fix comma issue in baseurl
319
320 Release 0.9 - Fri Apr 13 2012 - Gui Chen <gui.chen@intel.com>
321 =====================================================================
322  * support pre-install package with zypp backend
323  * sync /etc/mic/mic.conf to bootstrap
324  * enhance sorting for version comparsion in zypp
325  * rewrite chroot tar image using xml format mount point file
326  * fix the incorrect number showing in fs src pkgs download
327  * remove tests directory for dist in Makefile
328  * fix liveusb parted mkpart failure, revert mbr size expand in raw
329  * cleanup /tmp/repolic* dir in the EULA checking
330
331 Release 0.8 - Mon Mar 26 2012 - Gui Chen <gui.chen@intel.com>
332 =====================================================================
333  * partition alignment support
334  * remove bootloader option 'quiet vga' for raw
335  * update dist files in git source
336  * update unittest, add cases for chroot, msger, runner
337  * add 40 system test case for help
338  * rewrite loop device allocation mechanism
339
340 Release 0.7 - Fri Mar 02 2012 - Gui Chen <gui.chen@intel.com>
341 =====================================================================
342  * zypp backend: fixed a fatal issue of unreleasable loop devs
343  * zypp backend: more friendly output message
344  * backend: share cached rpm files between yum and zypp
345  * enhancement for multiple partition loop format
346  * make msger to accept Unicode string
347  * fixed a regression of compress option for FS format
348  * fixed issues in openSUSE12.1
349  * new written man page
350
351 Release 0.6 - Thu Feb 16 2012 - Gui Chen <gui.chen@intel.com>
352 =====================================================================
353  * give hint when converted image existed
354  * conf.py: proxy scheme check
355  * space check before copy image
356  * zypp: abort with error msg for repo resolver issues
357  * runner.py refinement
358  * ks file syntax check for '%post' without '%end'
359  * support more compression formats than only bzip2
360  * fix msg NoneType issue, causing exit after install
361  * bootstrap:
362    - catch creator error when retrieving bootstrap metadata
363    - correct matching .metadata file in bootstrap
364
365 Release 0.5 - Mon Feb 06 2012 - Gui Chen <gui.chen@intel.com>
366 =====================================================================
367  * Rewrite the algorithm of checking free space for download and install
368  * Add --shell option for convert to recreate image modified by internal shell
369  * Add -s option for chroot to unpack image
370  * Introduce --copy-kernel option for creator
371  * Remove the hardcoded default args for bootloader
372  * Disable logstderr and flush message buffer in disable_logstderr
373  * Deal with yum.conf inside yum backend by itself
374  * Bug fix:
375    - Fix rpmdb error in yum and zypp to avoid bad file descriptor message
376    - Fix MANIFEST syntax to be compliant with md5sum
377    - Correct dependencies for mic in bootstrap
378
379 Release 0.4 - Fri Jan 06 2012 - Gui Chen <gui.chen@intel.com>
380 =====================================================================
381  * Support bootstrap mode, run with '--runtime=bootstrap'
382  * Full support for taring-to output, use 'mic ch x.tar'
383  * Break dependency between backend and baseimage
384  * Check valid repos in ks file
385  * Space check update and catch no space exception
386  * Fix no prompt when cv and ch no existed image
387  * Fix NoneType 'createopts' when convert
388  * Fix no existed local_pkgs_path
389
390 Release 0.3 - Mon Dec 26 2011 - Gui Chen <gui.chen@intel.com>
391 =====================================================================
392  * Unit test support, run 'make test'
393  * Enable proxy support in config file
394  * Refine configmgr and pluginmgr
395  * Support multi instance with different cache dir
396  * Add 47 system test case
397  * Improve md5sum generation
398  * Add repo option --ssl_verify
399  * Add option --name_prefix
400  * Reformatted code according to PEP08
401  * Backport from mic2:
402    - Add priority and cost option for repos
403    - Reinstroduced compress-disk-image option
404
405 Release 0.2 - Tue Nov 29 2011 - Gui Chen <gui.chen@intel.com>
406 =====================================================================
407  * Support btrfs and ext4 fstype for creator, convertor, and chroot
408  * Append distfiles and Makefile
409  * Check arch type from repo data
410  * Set rpm dbpath to fix 'rpm -qa' issue
411  * Fix chroot issue caused by image size
412  * Improve setup.py and make it compatible with python 2.5
413  * Disable ca check for https
414  * Change default output dir name to ./mic-output
415  * untrack mic/__version__.py
416  * Fix some minor issues
417
418 Release 0.1 - Thu Oct 27 2011 - Gui Chen <gui.chen@intel.com>
419 =====================================================================
420  * Support three subcommand: create, convert, chroot
421  * Support five image types: fs, loop, raw, livecd, liveusb
422  * Support two package manager backend: yum and zypp
423  * Support the following global command line options:
424    - --verbose
425    - --debug
426  * Creator subcommand support the following command line options:
427    - --logfile=LOGFILE
428    - -c CONFIG, --config=CONFIG
429    - -k CACHEDIR, --cachedir=CACHEDIR
430    - -o OUTDIR, --outdir=OUTDIR
431    - -A ARCH, --arch=ARCH
432    - --release=RID
433    - --record-pkgs=RECORD_PKGS
434    - --pkgmgr=PKGMGR
435    - --local-pkgs-path=LOCAL_PKGS_PATH
436