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