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