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