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