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