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