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