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