tools/mic.git
7 years agouse registered qemu emulator filename if already registered. 98/129398/4
Dohyung Kim [Mon, 5 Jun 2017 05:49:23 +0000 (14:49 +0900)]
use registered qemu emulator filename if already registered.

1. preserve-argv[0] flag is enabled
   copy both qemu-XXX and qemu-XXX-binfmt and use them.
2. flag is disabled and the copied qemu and the registered qemu are different
   create symlink as the registered qemu emulator filename and use symlink

Change-Id: I3f9050a01cc3bd0431b37a2c1e29729ef15ee765
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
7 years agobump up to release 0.27.7 92/151592/1
yuhuan.yang [Mon, 11 Sep 2017 13:40:28 +0000 (21:40 +0800)]
bump up to release 0.27.7

Change-Id: I86dd1072241fae911f6f1fbcb6e79a0583c75947

7 years agoTimezone setting change 91/151591/1
yuhuan.yang [Tue, 29 Aug 2017 11:33:16 +0000 (19:33 +0800)]
Timezone setting change

Change-Id: I90bdc068430589f04ab148b3b8b9b31d8b197613

7 years agoRun certain script before creation of tar.gz image. 80/151580/1
xiaojuan.mao [Tue, 8 Aug 2017 10:27:18 +0000 (18:27 +0800)]
Run certain script before creation of tar.gz image.

Change-Id: Id6efc3334dc19e9198251aa79b1d6b965d3df0d1

7 years agoLocally built mic-bootstrap using gbs cannot be used in mic. 76/151576/1
xiaojuan.mao [Tue, 8 Aug 2017 08:26:19 +0000 (16:26 +0800)]
Locally built mic-bootstrap using gbs cannot be used in mic.

Change-Id: I9fe14df33b74670321ca302d1783f647e87c216d

7 years agoAdd new option of tpk_install. 38/151538/1
yangyuhuan [Thu, 21 Sep 2017 15:20:23 +0000 (23:20 +0800)]
Add new option of tpk_install.

Change-Id: I125160ded7533efa8758b1985d514c8933bb617c

7 years agoAmend mic cr option of run_script. 24/151524/2
yangyuhuan [Thu, 21 Sep 2017 15:04:29 +0000 (23:04 +0800)]
Amend mic cr option of run_script.

Change-Id: Ifbf6569ead73a10390f883cf47ba22abba90a4c3

7 years agoAdd new option of --run_script. 14/151514/2
yangyuhuan [Thu, 21 Sep 2017 14:41:37 +0000 (22:41 +0800)]
Add new option of --run_script.

Change-Id: I16ccc176477f1087d0f6aff0b2e29c3616297dd7

7 years agofix the bug that modify the order of generating image by cpio. 95/151495/1
xiaojuan.mao [Thu, 21 Sep 2017 05:59:41 +0000 (13:59 +0800)]
fix the bug that modify the order of generating image by cpio.

Change-Id: Id42e661dd4b6ef2907bd27f406ed350b0289c65e

7 years agoModify the order of generating image by cpio. 89/151489/1
xiaojuan.mao [Thu, 21 Sep 2017 05:47:26 +0000 (13:47 +0800)]
Modify the order of generating image by cpio.

Change-Id: If2ce4df88b067cb4883d66b7d3f869aadb314ae3

7 years agobump up to release 0.27.6 65/151465/2
xiaojuan.mao [Thu, 21 Sep 2017 04:09:43 +0000 (12:09 +0800)]
bump up to release 0.27.6

Change-Id: I39a9d1c726ede30428e092d7a11cfd9185df1a76

7 years agoChange the order of generating image by cpio. 60/151160/2
xiaojuan.mao [Mon, 12 Jun 2017 12:18:06 +0000 (20:18 +0800)]
Change the order of generating image by cpio.

Change-Id: Ia1d2cc22b9a6e695a6f905574f8081c5910f0e8b

7 years agoSolve issue:mic has error when env no_proxy is 165.xx.xxx... 77/150877/1
yuhuan.yang [Tue, 23 May 2017 15:33:47 +0000 (23:33 +0800)]
Solve issue:mic has error when env no_proxy is 165.xx.xxx...

Change-Id: I76abf3db3854b8d6a2db369a762650712efd14df

7 years agoSolve mic hang issue, add timeout to show failure. 29/150829/1
yuhuan.yang [Mon, 22 May 2017 13:55:23 +0000 (21:55 +0800)]
Solve mic hang issue, add timeout to show failure.

Change-Id: If1d554455ff6d159789cd0aebae88ed3bdf2451b

7 years agoModify the arguments that use cpio to generate image. 69/150669/1
xiaojuan.mao [Mon, 22 May 2017 02:10:44 +0000 (10:10 +0800)]
Modify the arguments that use cpio to generate image.

Change-Id: Ieb9dc524fedd056d0ff61bd2ec139a44395d1daf

7 years agoUse cpio gzip in mic. 28/150628/3
xiaojuan.mao [Wed, 26 Apr 2017 08:16:49 +0000 (16:16 +0800)]
Use cpio gzip in mic.

Change-Id: Ic7b3512b153ec5c92cd47a281bab8341f01acaf0

7 years agobump up to release 0.27.5 55/150655/1
yuhuan.yang [Wed, 12 Jul 2017 14:01:56 +0000 (22:01 +0800)]
bump up to release 0.27.5

Change-Id: I054fb5ae41f452c49aa8fc32f9cc5b9bf92a6bec

7 years agoSolve image not clean after created 40/150640/1
yangyuhuan [Mon, 18 Sep 2017 14:49:43 +0000 (22:49 +0800)]
Solve image not clean after created

Change-Id: I6ec4fb51ee0e0e32211bdcadb108cdabe0338e0e

7 years agoMerge "display filesystem size of each images" into devel
park [Thu, 1 Jun 2017 09:50:18 +0000 (09:50 +0000)]
Merge "display filesystem size of each images" into devel

7 years agoMerge "print package name, before install" into devel
park [Thu, 1 Jun 2017 09:49:03 +0000 (09:49 +0000)]
Merge "print package name, before install" into devel

7 years agoMerge "support multiple mic execution at same time" into devel
park [Thu, 1 Jun 2017 09:42:22 +0000 (09:42 +0000)]
Merge "support multiple mic execution at same time" into devel

7 years agoMerge "change tpk install error message format" into devel
park [Thu, 1 Jun 2017 09:40:09 +0000 (09:40 +0000)]
Merge "change tpk install error message format" into devel

7 years agoMerge "add SIGTERM handler for exit gracefully" into devel
park [Thu, 1 Jun 2017 09:39:18 +0000 (09:39 +0000)]
Merge "add SIGTERM handler for exit gracefully" into devel

7 years agoMerge "display all rpm debug messages in debug mode" into devel
park [Thu, 1 Jun 2017 09:37:53 +0000 (09:37 +0000)]
Merge "display all rpm debug messages in debug mode" into devel

7 years agoMerge "print warning message for detecting rpm post script failed" into devel
park [Thu, 1 Jun 2017 09:24:03 +0000 (09:24 +0000)]
Merge "print warning message for detecting rpm post script failed" into devel

7 years agoMerge "change installed package name length from 20 to 50" into devel
park [Thu, 1 Jun 2017 09:17:39 +0000 (09:17 +0000)]
Merge "change installed package name length from 20 to 50" into devel

7 years agoMerge "fix corrupted log messages in log file" into devel
park [Thu, 1 Jun 2017 09:16:48 +0000 (09:16 +0000)]
Merge "fix corrupted log messages in log file" into devel

7 years agoMerge "Fix bug when http:// parsed in ip proxy input" into devel
park [Thu, 1 Jun 2017 09:12:39 +0000 (09:12 +0000)]
Merge "Fix bug when  parsed in ip proxy input" into devel

7 years agoprint package name, before install 79/130579/1
Dohyung Kim [Fri, 4 Sep 2015 12:31:52 +0000 (21:31 +0900)]
print package name, before install

Change-Id: I30f52998b86b8a0d86cd2a633b6d51cfbf5890c2
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
7 years agochange tpk install error message format 43/129543/1
Dohyung Kim [Mon, 13 Feb 2017 05:20:37 +0000 (14:20 +0900)]
change tpk install error message format

- old message format:
  The error install package info:
  org.tizen.browser
  org.tizen.call
  ...

- new message format:
  The error install package info: org.tizen.browser
  The error install package info: org.tizen.call
  ...

Change-Id: I017c5765894ffb8a4bd6a3507486dd159f2dae38
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
7 years agosupport multiple mic execution at same time 97/129397/1
Dohyung Kim [Tue, 16 May 2017 06:39:02 +0000 (15:39 +0900)]
support multiple mic execution at same time

do not unregister qemu emulator before image creation
keep DEVICE_LOCKFILE to prevent a race condition

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: I5714194ef6b48f80812b2f8b534d83fc27a663e4

7 years agoadd SIGTERM handler for exit gracefully 80/129280/1
Dohyung Kim [Fri, 12 May 2017 02:17:27 +0000 (11:17 +0900)]
add SIGTERM handler for exit gracefully

mic exit abnormally when it get SIGTERM from kill command or jenkins cancel.
mouned directories reamin. it should be umount.

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: I71d40bc409ffaed13f2c78ccfd6b03059a934a95

7 years agodisplay filesystem size of each images 34/128034/1
Dohyung Kim [Thu, 4 May 2017 06:42:12 +0000 (15:42 +0900)]
display filesystem size of each images

  ...
  filesystem size of dzImage : 5378048 bytes
  filesystem size of modules.img : 12582912 bytes
  filesystem size of rootfs.img : 759287808 bytes
  filesystem size of system-data.img : 75726848 bytes
  filesystem size of user.img : 71839744 bytes
  ...

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: I5f75ba76205b9cfcfcfbb10d9df49c2f7ae673b3

7 years agodisplay all rpm debug messages in debug mode 11/128011/1
Dohyung Kim [Thu, 4 May 2017 01:44:08 +0000 (10:44 +0900)]
display all rpm debug messages in debug mode

  - debug mode: RPMLOG_DEBUG
  - non-debug mode: RPMLOG_NOTICE(default)

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: Ibb01112e556ee99127001faeb9dc2a2c0827f70b

7 years agoprint warning message for detecting rpm post script failed 07/128007/1
Dohyung Kim [Thu, 4 May 2017 01:19:10 +0000 (10:19 +0900)]
print warning message for detecting rpm post script failed

  ...
  [05/04 01:13:18 UTC] Installing: libstdc++
  [05/04 01:13:18 UTC] (libstdc++) Post script failed
  ...

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: I8efc466b3a18e9c9f2bde05ad26d058178cf90b8

7 years agochange installed package name length from 20 to 50 77/127577/1
Dohyung Kim [Fri, 28 Apr 2017 02:33:06 +0000 (11:33 +0900)]
change installed package name length from 20 to 50

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: If521e359f5bf13893dcd3f9c6885c8cdce0f8667

7 years agofix corrupted log messages in log file 90/126990/1
Dohyung Kim [Tue, 25 Apr 2017 07:36:43 +0000 (16:36 +0900)]
fix corrupted log messages in log file

os.ftruncate() won't reset the file pointer
os.lseek(fd, 0, os.SEEK_SET) is needed after os.ftruncate(fd, 0)

Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: I94bdd3993afccee2ea2d8903aa29505fec13c957

7 years agoUse cpio gzip in mic. 24/124624/1
xiaojuan.mao [Fri, 7 Apr 2017 07:08:40 +0000 (15:08 +0800)]
Use cpio gzip in mic.

Change-Id: Ifce99807698d3a35fd3dddcdf8f9d60f4c2bb22c

7 years agobump up to release 0.27.4
SoonKyu Park [Tue, 4 Apr 2017 10:50:58 +0000 (19:50 +0900)]
bump up to release 0.27.4

Change-Id: I2610a237daec485f2b24c8e942e3b0d847d929aa

7 years agoShow logs inside 'Running scripts' in mic.
xiaojuan.mao [Tue, 14 Mar 2017 02:13:13 +0000 (10:13 +0800)]
Show logs inside 'Running scripts' in mic.

Change-Id: I6be708a8c791911d96d903063401a156bc23c138

7 years agoCopy ks setting lang to file /etc/config/mic_language for other use
yyh [Mon, 13 Mar 2017 10:14:23 +0000 (18:14 +0800)]
Copy ks setting lang to file /etc/config/mic_language for other use

Change-Id: Iaa62e8a2cc74bd868043044636b2ff1172036d0d

7 years agoReplace 'copy' to 'symbolic link' in timeznoe setting inside mic.
xiaojuan.mao [Fri, 3 Mar 2017 08:40:44 +0000 (16:40 +0800)]
Replace 'copy' to 'symbolic link' in timeznoe setting inside mic.

Change-Id: Idea80f05b7e31ec0cbc34ab627d90977b517527f

7 years agoMerge add mipsel register on binfmt_misc && Add support of qemu-mipsel patch
Jun Wang [Fri, 3 Mar 2017 07:56:24 +0000 (15:56 +0800)]
Merge add mipsel register on binfmt_misc && Add support of qemu-mipsel patch

Change-Id: I6df917f19662ecfeb8ef5810b9ce2c9765018326

7 years agoProvide alternative for deprecated package
MyungJoo Ham [Wed, 1 Feb 2017 10:10:46 +0000 (19:10 +0900)]
Provide alternative for deprecated package

dh-python is available from Ubuntu 14.04 and
python-support is deprecated.

Change-Id: I0c181e0371327d483bc0e0ca35bd8124ef2c8c56
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFixup changelog that causes errors.
MyungJoo Ham [Tue, 24 Jan 2017 05:25:48 +0000 (14:25 +0900)]
Fixup changelog that causes errors.

This fixes the following Debian git-build-recipe error:

RUN ['git-build-recipe', '--safe', '--no-build', '--manifest', '/home/buildd/build-RECIPEBRANCHBUILD-1302092/chroot-autobuild/home/buildd/work/tree/manifest', '--distribution', 'xenial', '--allow-fallback-to-native', '--append-version', '~ubuntu16.04.1', '/home/buildd/build-RECIPEBRANCHBUILD-1302092/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-RECIPEBRANCHBUILD-1302092/chroot-autobuild/home/buildd/work/tree']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/deb_util.py", line 139, in add_autobuild_changelog_entry
    substitute_changelog_vars(base_branch, None, cl)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/deb_version.py", line 172, in substitute_changelog_vars
    base_branch.deb_version = debupstream_var.replace(base_branch.deb_version)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 101, in replace
    return value.replace(self.name, self.get())
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/deb_version.py", line 59, in get
    "No previous changelog to take the upstream version from")
gitbuildrecipe.recipe.SubstitutionUnavailable: Substitution for {debupstream} not available: No previous changelog to take the upstream version from

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/git-build-recipe", line 9, in <module>
    load_entry_point('git-build-recipe==0.1', 'console_scripts', 'git-build-recipe')()
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/main.py", line 147, in main
    append_version=args.append_version)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/deb_util.py", line 143, in add_autobuild_changelog_entry
    "%s was used: %s: %s." % (e.name, e.reason, reason))
Exception: No previous changelog to take the upstream version from as {debupstream} was used: No previous changelog to take the upstream version from: debian/changelog didn't contain any parseable stanzas.
resource.struct_rusage(ru_utime=1.7839999999999998, ru_stime=1.116, ru_maxrss=33232, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=25805, ru_majflt=41, ru_nswap=0, ru_inblock=12560, ru_oublock=18536, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=1382, ru_nivcsw=290)
RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'RECIPEBRANCHBUILD-1302092']
Scanning for processes to kill in build /home/buildd/build-RECIPEBRANCHBUILD-1302092/chroot-autobuild...
RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'RECIPEBRANCHBUILD-1302092']
Unmounting chroot for build RECIPEBRANCHBUILD-1302092...
RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'RECIPEBRANCHBUILD-1302092']
Removing build RECIPEBRANCHBUILD-1302092

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix bug when http:// parsed in ip proxy input 96/111796/1
Kyungwook Tak [Tue, 24 Jan 2017 04:33:09 +0000 (13:33 +0900)]
Fix bug when http:// parsed in ip proxy input

ValueError exception occured when parse proxy ip when protocol comes at
the fromt of ip string

File "/usr/bin/mic", line 37, in <module>
  from mic.conf import configmgr
File "/usr/lib/pymodules/python2.7/mic/conf.py", line 287, in <module>
  configmgr = ConfigMgr()
File "/usr/lib/pymodules/python2.7/mic/conf.py", line 108, in __init__
  self._siteconf = siteconf
File "/usr/lib/pymodules/python2.7/mic/conf.py", line 124, in __set_siteconf
  self._parse_siteconf(siteconf)
File "/usr/lib/pymodules/python2.7/mic/conf.py", line 183, in _parse_siteconf
  proxy.set_proxies(self.create['proxy'], self.create['no_proxy'])
File "/usr/lib/pymodules/python2.7/mic/utils/proxy.py", line 169, in set_proxies
  _set_noproxy_list()
File "/usr/lib/pymodules/python2.7/mic/utils/proxy.py", line 120, in _set_noproxy_list
  ip = _ip_to_int(needle)
File "/usr/lib/pymodules/python2.7/mic/utils/proxy.py", line 80, in _ip_to_int
  ipint |= int(dec) << shift
ValueError: invalid literal for int() with base 10: 'http:'

Change-Id: Ib7f7e83ff0ae6eea5db128871130a680e04448c3
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agobump up to release 0.27.3
Jiankang Fan [Mon, 19 Dec 2016 03:02:45 +0000 (11:02 +0800)]
bump up to release 0.27.3

Change-Id: Idaa905f768ea684920d4b94223095e6fed9204ca
Signed-off-by: Jiankang Fan <jiankang.fan@samsung.com>
Conflicts:
ChangeLog
packaging/mic.changes

8 years agoShow pkgid when install pkg error
Jiankang Fan [Tue, 20 Dec 2016 00:53:00 +0000 (08:53 +0800)]
Show pkgid when install pkg error

Change-Id: I8bb5737b82f956a6eeccbc994c6a8c48ecde002a
Signed-off-by: Jiankang Fan <jiankang.fan@samsung.com>
8 years agosupport vdfs and squashfs image creation
Jiankang Fan [Mon, 19 Dec 2016 12:59:12 +0000 (20:59 +0800)]
support vdfs and squashfs image creation

Change-Id: Ife64b311bfece1e2f3b2a231062a9a2b9e69d897
Signed-off-by: Jiankang Fan <jiankang.fan@samsung.com>
8 years agobump up to release 0.27.2
SoonKyu Park [Mon, 26 Sep 2016 05:23:01 +0000 (14:23 +0900)]
bump up to release 0.27.2

Change-Id: I8040f7786af0b31c02fe169a1f7f626fc7a99fd0

8 years agoAdd subcommand option parameters(-v, -d, -i) for fixing tizen2.4 mobile issue 47/89347/1
jianzhong.fang [Sun, 18 Sep 2016 03:04:42 +0000 (11:04 +0800)]
Add subcommand option parameters(-v, -d, -i) for fixing tizen2.4 mobile issue

Change-Id: I18f0667bc7537aaf1e8eee5ec3320f1b52058071
Signed-off-by: jianzhong.fang <jz.fang@samsung.com>
8 years agoAdd exclude-from-image option to exclude specific images 44/89344/1
jianzhong.fang [Fri, 19 Aug 2016 00:27:03 +0000 (08:27 +0800)]
Add exclude-from-image option to exclude specific images

Change-Id: I5651efc10e3b250af0f31f5224f9dca40a5d7124

8 years agoMerge branch 'master' into devel
SoonKyu Park [Wed, 27 Jul 2016 01:38:24 +0000 (10:38 +0900)]
Merge branch 'master' into devel

Change-Id: I09830eca415172d1e381ea737ab833ac0c757e43

8 years agoAdd change log and release information for Release 0.27.1
SoonKyu Park [Thu, 16 Jun 2016 09:14:38 +0000 (18:14 +0900)]
Add change log and release information for Release 0.27.1

Change-Id: I620035d4871df6cb31fe94121f060db6b17f2833

8 years agobump up to release 0.27.1
jianzhong.fang [Wed, 25 May 2016 07:01:28 +0000 (15:01 +0800)]
bump up to release 0.27.1

Change-Id: I3dba1b42fae23a1dbe37d8ff668fc97dd3ed76a4

8 years agoRemove BmapCreate and Filemap source code from MIC
jianzhong.fang [Tue, 17 May 2016 06:33:26 +0000 (14:33 +0800)]
Remove BmapCreate and Filemap source code from MIC

Change-Id: I1bcd94008d785fb82cb807b8678ce960cb6f1145

8 years agoRevert "Drop mic raw image format support"
jianzhong.fang [Tue, 17 May 2016 01:19:07 +0000 (09:19 +0800)]
Revert "Drop mic raw image format support"

Change-Id: I2752f5c804f215ba96b5cfbabfefb1c383bb5803

8 years agobump up to release 0.27
SoonKyu Park [Sat, 11 Jun 2016 11:48:55 +0000 (20:48 +0900)]
bump up to release 0.27

Change-Id: I84c32980894184dde260a4b101ec13ee29324fb6

8 years agofix broken tar archive
jianzhong.fang [Mon, 28 Mar 2016 10:58:45 +0000 (18:58 +0800)]
fix broken tar archive

Change-Id: I971b256f3e47212dd54b2f5b9232a8ade212a405

8 years agocheck scriptlet error file on /tmp/.postscript/error/
jianzhong.fang [Thu, 17 Mar 2016 02:34:48 +0000 (10:34 +0800)]
check scriptlet error file on /tmp/.postscript/error/

Change-Id: I26c09e1bfc2c7ef9090b8e9218ce06880072398a

8 years agoneed to check whether the loop device exists after excute losetupcmd --find
jianzhong.fang [Thu, 17 Mar 2016 02:28:28 +0000 (10:28 +0800)]
need to check whether the loop device exists after excute losetupcmd --find

Change-Id: I0611a6b52f6e8a5ecc17f1fbc12044a0f7167326

8 years agoRevert "Add lzop compress format"
jianzhong.fang [Thu, 17 Mar 2016 01:37:52 +0000 (09:37 +0800)]
Revert "Add lzop compress format"

Change-Id: If63177dbb1ae2a8f1a2fc1cbb849cd51fc1ea957

8 years agoFix unit test cases for CentOS_6
Rong Jinhui [Wed, 4 Nov 2015 11:48:42 +0000 (19:48 +0800)]
Fix unit test cases for CentOS_6

Change-Id: Idf5d4c3fb493468272374760ca9d8a507036fc40
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
8 years agoUpdate the mic doc
jianzhong.fang [Wed, 4 Nov 2015 06:01:03 +0000 (14:01 +0800)]
Update the mic doc

Change-Id: Id17882b91640f5390198c17bbf3bc2fdb8699668

8 years agoUsing argparse module to parse the cmd line
yyh [Tue, 26 Jan 2016 10:21:34 +0000 (18:21 +0800)]
Using argparse module to parse the cmd line

Conflicts:
plugins/imager/loop_plugin.py

Conflicts:
plugins/imager/loop_plugin.py

Change-Id: I19facc99768379c75f1794045d7faf0246000169

8 years agoDrop mic raw image format support
jianzhong.fang [Mon, 28 Sep 2015 03:04:05 +0000 (11:04 +0800)]
Drop mic raw image format support

Change-Id: Ia5f0f14131463f1eb20bbfe8a7159dfe1307f215

Conflicts:
plugins/imager/raw_plugin.py

Conflicts:
plugins/imager/raw_plugin.py

8 years agoDrop MIC livecd image format support.
jianzhong.fang [Thu, 17 Sep 2015 08:24:12 +0000 (16:24 +0800)]
Drop MIC livecd image format support.

Change-Id: I22032747185fb6f2344c4a88ca227503d9369823

8 years agoDrop MIC liveusb image format support
jianzhong.fang [Tue, 8 Sep 2015 02:58:19 +0000 (10:58 +0800)]
Drop MIC liveusb image format support

Change-Id: I48e2f647b8278107bd4ce84c0c9c0237dec8b948

8 years agocleanup the code related with mic-native
jianzhong.fang [Wed, 2 Sep 2015 01:20:10 +0000 (09:20 +0800)]
cleanup the code related with mic-native

Change-Id: Iaec1eb7817b05a0eacdef3c1aafe248eeaade538

8 years agoUpdate Change Logs and RELEASE_NOTES for 0.27 release-20160411
SoonKyu Park [Tue, 3 May 2016 05:28:00 +0000 (14:28 +0900)]
Update Change Logs and RELEASE_NOTES for 0.27

Change-Id: Ic14019a86c4efd1c302ea123579d9c1747785a91

8 years agoModify change logs and release notes not to release Fedora 23
SoonKyu Park [Mon, 18 Apr 2016 08:29:49 +0000 (17:29 +0900)]
Modify change logs and release notes not to release Fedora 23

Change-Id: Icb3a15056eb26c48b57730a06e952a2898cb97ab

8 years agoHandle conflicts from git merge release-20160315
SoonKyu Park [Mon, 11 Apr 2016 06:24:24 +0000 (15:24 +0900)]
Handle conflicts from git merge release-20160315

8 years agobump up to release 0.27 71/65371/1 release-20160315
jianzhong.fang [Mon, 28 Mar 2016 11:49:27 +0000 (19:49 +0800)]
bump up to release 0.27

Change-Id: I1c8861e517686047368a3941f678b56d173056fb

8 years agofix broken tar archive 70/65370/1
jianzhong.fang [Mon, 28 Mar 2016 10:58:45 +0000 (18:58 +0800)]
fix broken tar archive

Change-Id: I971b256f3e47212dd54b2f5b9232a8ade212a405

8 years agocheck scriptlet error file on /tmp/.postscript/error/ 69/65369/1
jianzhong.fang [Thu, 17 Mar 2016 02:34:48 +0000 (10:34 +0800)]
check scriptlet error file on /tmp/.postscript/error/

Change-Id: I26c09e1bfc2c7ef9090b8e9218ce06880072398a

8 years agoneed to check whether the loop device exists after excute losetupcmd --find 68/65368/1
jianzhong.fang [Thu, 17 Mar 2016 02:28:28 +0000 (10:28 +0800)]
need to check whether the loop device exists after excute losetupcmd --find

Change-Id: I0611a6b52f6e8a5ecc17f1fbc12044a0f7167326

8 years agoRevert "Add lzop compress format" 67/65367/1
jianzhong.fang [Thu, 17 Mar 2016 01:37:52 +0000 (09:37 +0800)]
Revert "Add lzop compress format"

Change-Id: If63177dbb1ae2a8f1a2fc1cbb849cd51fc1ea957

8 years agoFix unit test cases for CentOS_6
Rong Jinhui [Wed, 4 Nov 2015 11:48:42 +0000 (19:48 +0800)]
Fix unit test cases for CentOS_6

Change-Id: Idf5d4c3fb493468272374760ca9d8a507036fc40
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
8 years agoUpdate the mic doc
jianzhong.fang [Wed, 4 Nov 2015 06:01:03 +0000 (14:01 +0800)]
Update the mic doc

Change-Id: Id17882b91640f5390198c17bbf3bc2fdb8699668

8 years agoUsing argparse module to parse the cmd line
yyh [Tue, 26 Jan 2016 10:21:34 +0000 (18:21 +0800)]
Using argparse module to parse the cmd line

Conflicts:
plugins/imager/loop_plugin.py

8 years agoDrop mic raw image format support
jianzhong.fang [Mon, 28 Sep 2015 03:04:05 +0000 (11:04 +0800)]
Drop mic raw image format support

Change-Id: Ia5f0f14131463f1eb20bbfe8a7159dfe1307f215

Conflicts:
plugins/imager/raw_plugin.py

8 years agoDrop MIC livecd image format support.
jianzhong.fang [Thu, 17 Sep 2015 08:24:12 +0000 (16:24 +0800)]
Drop MIC livecd image format support.

Change-Id: I22032747185fb6f2344c4a88ca227503d9369823

8 years agoDrop MIC liveusb image format support
jianzhong.fang [Tue, 8 Sep 2015 02:58:19 +0000 (10:58 +0800)]
Drop MIC liveusb image format support

Change-Id: I48e2f647b8278107bd4ce84c0c9c0237dec8b948

8 years agocleanup the code related with mic-native
jianzhong.fang [Wed, 2 Sep 2015 01:20:10 +0000 (09:20 +0800)]
cleanup the code related with mic-native

Change-Id: Iaec1eb7817b05a0eacdef3c1aafe248eeaade538

8 years agoDon't check disk size during rpm transaction when creating multiple partitions
Yeongil Jang [Thu, 22 Jan 2015 06:01:47 +0000 (15:01 +0900)]
Don't check disk size during rpm transaction when creating multiple partitions

rpm check only "/" partition size before installing packages

Change-Id: Ic00e937530f926f58ee4099f7a079c640fc721a5
Signed-off-by: Yeongil Jang <yg0577.jang@samsung.com>
8 years ago--priority option of *.ks file in mic does not apply
Gyeoungmin Kim [Wed, 20 May 2015 00:43:10 +0000 (09:43 +0900)]
--priority option of *.ks file in mic does not apply

I confirm that  --priority option of *.ks file in mic does not apply
When creating an image file using ks file, Priority is determined by repo name

If you check the logs of the mic by applying the repo name below to see what the results are different

repo --name=mobile-wayland_arm64 ...
repo --name=prerelease ... --priority 1
..............................................
repo --name=2mobile-wayland_arm64 ...
repo --name=1prerelease ... --priority 1

Change-Id: I53bb8e96bc8eb06e8075294e56b0cbb4f35afd6b

8 years agoUpdate tar command option
Lihong Sun [Thu, 11 Dec 2014 06:56:25 +0000 (01:56 -0500)]
Update tar command option

List whole files to the tar command instead of giving a dir

Change-Id: I1916924eaf63876c9d4fe0bcfa64f4f8e142a42e

8 years agoDrop mic native support
Lihong Sun [Wed, 25 Mar 2015 02:53:24 +0000 (22:53 -0400)]
Drop mic native support

mic option --runtime=native has been broken for more than one year,
maintain this mode requires more effort for new distribution support,
so drop this mode without risk.

Fixes: #DEVT-248
Change-Id: Iaee916889fabfe62f6a507781f9ca1c3d01ee5a2

8 years agoMount option is modified to be more general
Gyeoungmin Kim [Wed, 3 Dec 2014 05:43:52 +0000 (14:43 +0900)]
Mount option is modified to be more general
Supporting for using command line tools as toybox, busybox.

Fixes: #2359
Change-Id: I3b5935609d83601900f03c978e48e95490559143
Signed-off-by: Gyeoungmin Kim <g5.kim@samsung.com>
8 years agoPut log file in 'release' output always.
Lihong [Tue, 11 Nov 2014 03:26:44 +0000 (22:26 -0500)]
Put log file in 'release' output always.

When image creation failed, log created by '--release' will be
located under 'outdir' instead of 'release_dir'. Also put the
log file under 'release_dir' when image creation failed.

mic-appliance create images through executing '/etc/init.d/mic'
script in the appliance. 'time mic cr auto $extra /media/out/$ks'
is called, and '--release' option is used when creating images.

In the past, 3 points about the logfile created by '--release':
1. Create logfile in default 'out_dir' which is specified in
'/etc/mic/mic.conf'. 2. Before creating images, check whether the
'release_dir' exists, if it exists, remove the whole directory. 3.
After the image creation finished, copy the logfile to the final
'release_dir' where the images located. So when the image creation
failed, no logfile found in 'release_dir', the logfile is under default
'out_dir'.

If directly change the 'out_dir' to 'dest_dir' in conf.py, the image
creation will fail if there already exist a same 'release_dir', because
this existed 'release_dir' will be removed when creating images, but the
logfile use this dir at the time, so it cannot be removed, then mic will
fail and exit. So right now, if 'release_dir' already existed, just remove
the files under it except the newly created logfile, and remain the dir.

Fixes: #2212
Change-Id: Ibdc9af3d0e03ca966517d05b1e519d4d9fb3ad43

8 years agoAdd copyright to files that miss copyright
Lihong Sun [Fri, 12 Dec 2014 05:45:00 +0000 (00:45 -0500)]
Add copyright to files that miss copyright

Fixes: #2250
Change-Id: I4e1fa970229b460053671c325ba469a542f83806

8 years agoUpdata manual page in /doc
Gyeoungmin.kim [Thu, 6 Nov 2014 05:41:01 +0000 (14:41 +0900)]
Updata manual page in /doc

Change-Id: I7144355d94a6c4b02a6d9fe47178c8bdd38d6691
Signed-off-by: Gyeoungmin.kim <g5.kim@samsung.com>
Signed-off-by: Lihong Sun <lihongx.sun@intel.com>
8 years agoFix syslinux installation path issue in Arch Linux
Junchun Guan [Thu, 23 Oct 2014 03:27:57 +0000 (11:27 +0800)]
Fix syslinux installation path issue in Arch Linux

isolinux.bin and mbr.bin is installed to /usr/lib/syslinux/bios in arch linux

Change-Id: Iaa737b7fb277b5b7dee0ebb97a2523722f60e65d
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
8 years agobump up to release 0.26
Gui Chen [Tue, 14 Oct 2014 22:58:08 +0000 (22:58 +0000)]
bump up to release 0.26

Change-Id: Ic291b2c7fbe8c09a1bdf341d35740f9f639cc5cf
Signed-off-by: Gui Chen <gui.chen@intel.com>
8 years agobump up to 0.26 rc1
Gui Chen [Tue, 14 Oct 2014 04:26:07 +0000 (04:26 +0000)]
bump up to 0.26 rc1

Change-Id: I47f65df512e74b7ba82efcaf0b81b75f9795bcea
Signed-off-by: Gui Chen <gui.chen@intel.com>
8 years agoadd qcow image support
Gui Chen [Mon, 29 Sep 2014 03:50:20 +0000 (03:50 +0000)]
add qcow image support

Change-Id: I5d357a162b2227beaff35f4a5ef913d36a2a6972
Signed-off-by: Gui Chen <gui.chen@intel.com>
8 years agochange __imgdir to protect member
Gui Chen [Mon, 29 Sep 2014 04:59:59 +0000 (04:59 +0000)]
change __imgdir to protect member

Change-Id: I2da8fc9d549374877f00c51924df4f7d0425d2c7
Signed-off-by: Gui Chen <gui.chen@intel.com>
8 years agoAdd 'ValueError' exception.
lihongsx [Thu, 28 Aug 2014 09:42:45 +0000 (17:42 +0800)]
Add 'ValueError' exception.

Change-Id: I22021ebea6bd2db34150c15f588289c18929d63a

8 years agoAdd 'get_VcsInfo' function part to yumpkgmgr.py
lihongsx [Tue, 26 Aug 2014 06:54:17 +0000 (14:54 +0800)]
Add 'get_VcsInfo' function part to yumpkgmgr.py

Fixes: #2081
Change-Id: Id780d02d38cbfccf6d4bb6e9eb37d709db0dd336

8 years agofix static qemu-arm failed issue
Gui Chen [Mon, 18 Aug 2014 03:31:20 +0000 (23:31 -0400)]
fix static qemu-arm failed issue

Change-Id: I44a2c69f4292306405857a0b8545d231f2b635f3
Signed-off-by: Gui Chen <gui.chen@intel.com>