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