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