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