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