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