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