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