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