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