wangbiao [Tue, 28 May 2024 05:46:00 +0000 (14:46 +0900)]
fix mic create image error: Rpmdb checksum is invalid: dCDPT(pkg checksums)
rebuild rpmdb before run intall package transaction.
Change-Id: Ib76b0748bb540f03f3cce4737ec71959e0f8758b
Signed-off-by: wangbiao <biao716.wang@samsung.com>
xuhy [Fri, 19 Apr 2024 01:20:36 +0000 (09:20 +0800)]
Bump up to release 2.0.2
Change-Id: Ida4d6c0c2651c4281d3fd36f80269ada65f1570f
zhouhao [Tue, 16 Apr 2024 02:33:42 +0000 (10:33 +0800)]
Fix the issue that mic lost dependency file in docker
Change-Id: I4c4b580de7b1fb2b949e6c28e078651e0b430460
Signed-off-by: zhouhao <haozhou.zhou@samsung.com>
xuhy [Thu, 21 Mar 2024 17:09:07 +0000 (01:09 +0800)]
Merge branch 'master' into sandbox/xuhy/devel-riscv-py3
Change-Id: Ie02e963c8512870e0da161205f61b76a10b89764
Signed-off-by: xuhy <huayong.xu@samsung.com>
zhang zhigang [Wed, 6 Mar 2024 08:16:44 +0000 (08:16 +0000)]
Merge "Fix the mic can't create image into specified folder which defined in default mic config." into devel
wanchao-xu [Wed, 28 Feb 2024 07:50:02 +0000 (15:50 +0800)]
Fix the mic can't create image into specified folder which defined in default mic config.
Change-Id: I8d21b047ea864227662bb208e820b3343943dc75
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
wanchao-xu [Tue, 6 Feb 2024 08:09:47 +0000 (16:09 +0800)]
Add the error message while no qemu for mic chroot.
Change-Id: Ib2753d3a45d23f63586e158ca307a490060cf40e
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
wangbiao [Fri, 2 Feb 2024 06:45:51 +0000 (15:45 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I3dc21a7b54c767e1044ba8182fc9df4bf3591717
wangbiao [Wed, 31 Jan 2024 02:53:04 +0000 (11:53 +0900)]
Adjust the format of Notification
Change-Id: I607645610ed91a6c43699e584a176930ff330947
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wangbiao [Mon, 29 Jan 2024 07:16:57 +0000 (16:16 +0900)]
bump up to release 2.0.1
Change-Id: I9572c62ecab21a773eb215ec0cb8a3e083e09ce4
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wangbiao [Mon, 29 Jan 2024 07:10:59 +0000 (16:10 +0900)]
Add notification message for v2.0.1
Change-Id: I44ae544e94d7e9b494cf206fa1a61e897533bc1b
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wangbiao [Tue, 19 Dec 2023 05:43:09 +0000 (14:43 +0900)]
don't copy mic code on host pc to mic-bootstap if mic in bootstrap is py2
Change-Id: I075eef851090747551ae0d0500943a5fc3cb5d51
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wangbiao [Wed, 1 Nov 2023 08:53:13 +0000 (17:53 +0900)]
bump up to release 0.29.1
Change-Id: Id99f761ec019a9ea0c26c0ad03949cc4d8621e0d
Signed-off-by: wangbiao <biao716.wang@samsung.com>
biao716.wang [Thu, 3 Aug 2023 07:53:41 +0000 (16:53 +0900)]
fix mic install error on opensuse15.x distro
Change-Id: I2daa04580d68518b32c765c05dcdf6b814ce2e18
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 11 Aug 2023 09:53:15 +0000 (18:53 +0900)]
fix pylint error for 3rd-party with python3.x
Change-Id: I3f4e1ab34cbdcda4615fed0dd5ecd1351a9822b4
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 10 Aug 2023 03:30:53 +0000 (12:30 +0900)]
fix run error during output errmsg
Change-Id: I67c04a0dd9970ba34d4504e6099d00bfba33dbd9
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 28 Jul 2023 05:51:59 +0000 (14:51 +0900)]
merge some os source for urlgrabber-4.1.0
Change-Id: I03519e2b2445768ca47d44640d962502cae54489
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 21 Jul 2023 06:53:38 +0000 (15:53 +0900)]
enable global arguament '-d' '-i' '-v' to mic create subcommands
Change-Id: Ife1550c3740a62b15b39fbea3b5cd79c010153ab
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 20 Jul 2023 09:35:12 +0000 (18:35 +0900)]
revert fix mic create help info
Change-Id: I667d0b8522d9dbb5b7b90f75e2af078abab3c94b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 20 Jul 2023 08:46:49 +0000 (17:46 +0900)]
fix mic create help info
change from
usage: mic create [-h] {auto,fs,loop,qcow,raw} ...
mic create: error: the following arguments are required: subcommand
to
usage: mic create [-h] {auto,fs,loop,qcow,raw} ...
mic create: error: the following arguments are required: {auto,fs,loop,qcow,raw}
Change-Id: Ibbe2f7958fe6576ed9ec0adbec2334e73bdcc3f3
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 12 Jul 2023 08:20:27 +0000 (17:20 +0900)]
covert the captured error info to string
Change-Id: I7c93fdb36085b8bcfc79f4fcd447329474746921
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 10 Jul 2023 10:52:52 +0000 (19:52 +0900)]
include dependency packages to mic source code
Change-Id: I26475c497e8a635d913fefbe2d9e124dda2f3740
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 27 Jun 2023 06:41:13 +0000 (15:41 +0900)]
fix mic run error in mic-bootstrap
The related code is changed in python3.10 in ubuntu22.04 for loggigng module.
once using --logfile=xxx option, it will show error: AttributeError: 'MicFileHandler' object has no attribute '_builtin_open'
this attribute is in FileHanderler, should declare it in child class MicFileHandler. Because in it, it use Handler to initialize.
Change-Id: I6eda4c1adadc73adc888262909fc825138c3af76
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 21 Jun 2023 08:38:38 +0000 (17:38 +0900)]
fix run error in mic-bootstrap
Change-Id: Iadabbd7a5eedf2b1189e1b851801b18c6e59b9fe
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
wang biao [Sat, 6 May 2023 06:57:28 +0000 (14:57 +0800)]
remove unsued variable
Change-Id: Ie31783cc00b4c87eaecbaeee81fba7944761da7e
Signed-off-by: wang biao <biao716.wang@samsung.com>
wang biao [Sat, 6 May 2023 06:36:22 +0000 (14:36 +0800)]
fix nostestest3 run error case
Change-Id: Ifb252ddccfb5fac27ad481f803a368b0aa62aea3
Signed-off-by: wang biao <biao716.wang@samsung.com>
wang biao [Sat, 6 May 2023 02:41:51 +0000 (10:41 +0800)]
replace getiterator() by iter():Method geiterator() has been removed in py3.8
Change-Id: Ibe0f92dfd9e9a5bc5cd4f26dc507e8f6830251d9
Signed-off-by: wang biao <biao716.wang@samsung.com>
biao716.wang [Fri, 5 May 2023 09:03:09 +0000 (18:03 +0900)]
fix pylint error
1.change file() to open() to open a file.
2.fix Value 'filter(lambda r: r.name == name, self.repos)' is unsubscriptable
Change-Id: Ieec8e179a9b54a5acbd0edaedcb9ed1595ba5f1e
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 5 May 2023 03:25:41 +0000 (12:25 +0900)]
merge code form orgin/devel
Change-Id: Ic26d15e8eaf5d5a651f5eaf46bf8bdf0fcaa6024
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 13 Apr 2023 07:27:28 +0000 (16:27 +0900)]
bump up to release 0.28.19
Change-Id: Id52b39bb8a0dec06b7563b34392daa6da1cc9c3d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 12 Apr 2023 09:38:15 +0000 (18:38 +0900)]
fix mic create image error issue
This issue happend if %prepackages %packages sections are both in ks files.
Refering the change in https://github.com/rpm-software-management/rpm/commit/
51b306686c46dfa67f6f9d16f0190c99f55339dd
Initialize plugins much earlier, it is initialized in AddInstall funciton not run(),
Before in rpm 4.11, once ts_pre run(), it will re-initialize plugins.
But now for rpm 4.14, after ts_pre.run() finish, msm handler is freed, so in ts.run(), when checking msm
handler, because it is NULL, this error will come.
So should call ts.AddInstall() after ts_pre.run().
error: Device security policy is missing. Unable to proceed
error: Plugin msm: hook tsm_pre failed
Change-Id: Iddd7c3c1c942960724c554926c444720d067f0bb
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 12 Jan 2023 09:37:30 +0000 (18:37 +0900)]
bump up to release 0.28.18
Change-Id: Ia162b5055db14f0c286caa338cf9f863b1490df4
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Marek Pikuła [Fri, 23 Dec 2022 14:19:10 +0000 (15:19 +0100)]
Add support for riscv64
Change-Id: I4ead58bcabeffbb08e89f2984e0af2e913452a40
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
biao716.wang [Tue, 29 Nov 2022 08:00:37 +0000 (17:00 +0900)]
modify mic help message
Change-Id: Icdfbe2ceb0d8e44da58bb359394562b9040d162a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 17 Aug 2022 12:30:10 +0000 (21:30 +0900)]
fix run error:name 'file' is not defined
About correct python interpreter, now we use python3 interpreter directly without correct anymore.
Change-Id: Ic3ae325727fb98d4ab60f0e7022863eb684d6cba
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 17 Aug 2022 10:09:06 +0000 (19:09 +0900)]
fix p.communicate() return bytes not text issue
Change-Id: I9f72892dbd86ad01913bf0d709b55f5dfca0aa7c
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 08:53:42 +0000 (17:53 +0900)]
fix warning:'Namespace' object is not iterable
kickstart: allow partitions without mount points
https://review.tizen.org/gerrit/gitweb?p=tools/mic.git;a=commit;h=
86d6bfc99a34380e4f9576bbd4c6d332ccd15f0c
Change-Id: I1be64d0ecec6f69e126a90dde5c84add9bd699ab
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 08:28:52 +0000 (17:28 +0900)]
Add block-recommends option to choose if install recommmended packages
Change-Id: I13988a0c1545438af4e378619864d9478ddde6d7
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 08:24:07 +0000 (17:24 +0900)]
Add postscripts-maxruntime option to set the max run time for post scripts
example: sudo mic create auto test.ks --postscripts-maxruntime=500
mean the max run time for post scripts is 500 minutes.
without this option, default max run time is 120 minutes.
Change-Id: I4fb90477307e75901b17e7ae92777e984fdd8743
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 08:17:44 +0000 (17:17 +0900)]
Fix pylint error, reimport glob
Change-Id: I7530711a3f484b538e541c1f866ee2283580bcad
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 08:16:37 +0000 (17:16 +0900)]
encrypt user password with SHA512 instead of MD5
and for root account, need to add it to certain groups if there exist userconfig.groups
Change-Id: I21078f303344c26d8475ceb949940ab7de507a1d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 08:13:01 +0000 (17:13 +0900)]
add squashfsoptions_maxsize option for squashfs file system
Change-Id: I5abad6e41f85055399e5a1681734c64feb32071f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 07:30:49 +0000 (16:30 +0900)]
Support f2fs option and check if kernel support f2s
Change-Id: I4aa333d961296073661e27c24593f651f7d372bc
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 16 Aug 2022 05:59:56 +0000 (14:59 +0900)]
import missing module in pykickstarter
Change-Id: Id228ac6263b35026cf395d74e559f53889532e7b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 15 Aug 2022 09:54:59 +0000 (18:54 +0900)]
change add_option to add_argument
Change-Id: Ib72744de0f70c0c476dee942d3a4df0d397e88db
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 15 Aug 2022 08:33:58 +0000 (17:33 +0900)]
change metaclass with python3 style
Change-Id: Icc022572d61129607de63e04b4b79cd07594c46b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 15 Aug 2022 08:00:46 +0000 (17:00 +0900)]
Merge related patch for the latest pykickstarter
Change-Id: I9508c38fd6b21f040e2f817c754f00b5236da782
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 12 Aug 2022 08:55:01 +0000 (17:55 +0900)]
use the latest pykickstart 3th party code
Change-Id: Ie300706abc8628500e4d1be4bda8b19d4a0d0a67
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 10 Aug 2022 03:14:20 +0000 (12:14 +0900)]
bump up to release 0.28.17
Change-Id: I3e39b60aa94077ae13418ec1b17f18199fce9783
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 9 Aug 2022 06:15:00 +0000 (15:15 +0900)]
Add block-recommends option to choose if install recommmended packages
Change-Id: I6bd836f647fba0071ad42607b9ce6395364b84d1
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 26 Jul 2022 09:19:24 +0000 (18:19 +0900)]
apply python3 as interpreter
Change-Id: I4c3c99132c7cfa8751fdcbc9742335e573c84b36
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 10 Feb 2022 06:23:31 +0000 (15:23 +0900)]
bump up to release 0.28.16
Change-Id: I26023eebe01ca402c8d96503b40bdb10c51dc799
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 8 Feb 2022 03:47:40 +0000 (12:47 +0900)]
Add postscripts-maxruntime option to set the max run time for post scripts
example: sudo mic create auto test.ks --postscripts-maxruntime=500
mean the max run time for post scripts is 500 minutes.
without this option, default max run time is 120 minutes.
Change-Id: Ib58e5200ac7c75b1708a86b58eec3c682f0d6e2e
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 6 Jul 2021 14:37:22 +0000 (23:37 +0900)]
bump up to release 0.28.15
Change-Id: I4fb3511f1429ad40b8df27c3e415e44f758342b6
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 2 Jul 2021 06:59:17 +0000 (15:59 +0900)]
Don't install recommended packages in mic
Change-Id: I6c332292cc136932eaf2db561dda230cc1bbbe4d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 14 May 2021 03:36:52 +0000 (12:36 +0900)]
bump up to release 0.28.14
Change-Id: Ia5e333c693c9adca8c39ff5bc539a90bee0a40f6
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 27 Apr 2021 03:03:09 +0000 (12:03 +0900)]
Fix pylint error, reimport glob
Change-Id: I84fc60078a1a96e9881c608014ee00667d9d017f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 12 Apr 2021 11:11:25 +0000 (20:11 +0900)]
encrypt user password with SHA512 instead of MD5
and for root account, need to add it to certain groups if there exist userconfig.groups
Change-Id: I76eb7f32bc4cfab8f12d3c64f3dcc250cfa44cbf
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 8 Apr 2021 01:47:12 +0000 (10:47 +0900)]
Change the mic version to 0.28.13
Change-Id: Ie401368942493c77dea1bd0ad93f535c3dc3c856
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 23 Mar 2021 05:45:15 +0000 (14:45 +0900)]
bump up to release 0.28.13
Change-Id: Id1d33157a3780c752c9bc3e9bdb164185fbcbdd3
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 17 Mar 2021 05:22:55 +0000 (14:22 +0900)]
change squashfsopts2 name to squashfsoptions_maxsize
Change-Id: I934d9b2ea558644d8a3330193e14665e47008fc6
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 8 Mar 2021 07:39:17 +0000 (16:39 +0900)]
add squashfsopts2 option for squashfs file system.
If squashfs image size is larger than squashfsoptions2, mic will stop.
How to use in ks files
"part /mnt/initrd --size=14 --ondisk mmcblk0p --fstype=squashfs --label=ramdisk --squashfsoptions2=4"
Change-Id: Ib55511137e178aea4a00fceb13619b8476925638
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 5 Feb 2021 05:54:46 +0000 (14:54 +0900)]
bump up to release 0.28.12
Change-Id: I2ea0cb503d68c34cb7234ad93a00f2c0f724b4f0
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 15 Jan 2021 08:18:39 +0000 (17:18 +0900)]
Support f2fs option and check if kernel support f2s
Change-Id: I785462a0f4a6a81c4ad45451dd010686e88aeed6
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Chunhua Liu [Fri, 15 Jan 2021 05:29:10 +0000 (05:29 +0000)]
Merge "Support f2fs file system" into devel
biao716.wang [Wed, 23 Dec 2020 13:33:53 +0000 (22:33 +0900)]
Support f2fs file system
Change-Id: I54013ce3ca4d0322ee6a488ef7c00bbefd7fd288
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 12 Nov 2020 05:12:55 +0000 (14:12 +0900)]
Fix install error because of wrong format
Change-Id: Ibcc6ae5e08c38dae40c1483e3187b5e3c7b8b53a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 11 Nov 2020 07:50:22 +0000 (16:50 +0900)]
replace pykickstart directory by the directory from open source, the open source code is python3 version
Change-Id: Ibd3531a38a311a2ab8d513eedece23fb5a4a0108
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 10 Nov 2020 08:45:00 +0000 (17:45 +0900)]
remove urlgrabber directory from mic
There is python-urlgrabber package in Tools, use it instead of it in mic.
Change-Id: I64fde0066180281d7ded0c16c2e4f5c08a84b681
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 5 Nov 2020 07:38:53 +0000 (16:38 +0900)]
bump up to release 0.28.11
Change-Id: I36c56ef4091ccacc73f0bc99a201b917ce3191b6
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 30 Oct 2020 06:03:50 +0000 (15:03 +0900)]
Fix pylint error: before createrepo depends on yum, yum will be installed, but createrepo is removed, so add dependece for yum directly
Change-Id: Ie1da951cd9917f499c38e9ba143a5418f26e82ea
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 15 Oct 2020 11:11:29 +0000 (20:11 +0900)]
fix run error issue for parser repomd.xml when here is group type
Change-Id: I85eacfa800bf85f63773b0a049b38d8432475aa2
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 16 Sep 2020 12:46:46 +0000 (21:46 +0900)]
Refine code: remove duplicated code
Change-Id: I697231e7ad5eb02bf8fde1213f615a4f4338043a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 4 Sep 2020 02:51:02 +0000 (11:51 +0900)]
Separate qcow plugin scripts
Change-Id: Ieb7d4e761b7847ae218dbe9724996f54daf78070
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 21 Jul 2020 03:08:04 +0000 (12:08 +0900)]
bump up to release 0.28.10
Change-Id: I5dd81dac4c601dbf482208712dde59eee2874c04
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Chunhua Liu [Tue, 21 Jul 2020 02:48:33 +0000 (02:48 +0000)]
Merge "Create btrfs images with the metadata single option"
Junghoon Kim [Mon, 13 Jul 2020 03:57:05 +0000 (12:57 +0900)]
Create btrfs images with the metadata single option
Tizen product and reference targets embed the NAND flash device as the
primary storage. The btrfs filesystem uses the metadata single option as
default if a NAND storage is detected. For this, create btrfs images
with the metadata single option.
Change-Id: I99a3ad08589e51cd7ff8cb6e0275aa03ecdad035
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
biao716.wang [Thu, 2 Jul 2020 09:40:52 +0000 (18:40 +0900)]
refine code with SAM check
Change-Id: Id28233d710f227697a93672f2ea5e614dc1c7d4f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
yan11.meng [Wed, 17 Jun 2020 08:08:59 +0000 (16:08 +0800)]
bump up to release 0.28.9
Change-Id: I12f8a9fcbc568a8a7be6e53903ebf230ab3e8cf4
Jungwoo [Tue, 16 Jun 2020 06:29:12 +0000 (15:29 +0900)]
Fix the bug that truncates existing inittab file
In case of python, open file with 'w' mode truncates a file.
To open a file without truncation, it shouldn't be opened with 'w' mode.
Since it already checked file's existence, set mode as 'r+'.
This patch makes script works as expected.
This bug comes from commit '
2af16b806d7b9e76b534c1df150438bf9c62e68c'
"fix pylint errors for mic"
Change-Id: I633c13a77f01de74f7eb73a171611f14c135f192
Chunhua Liu [Thu, 11 Jun 2020 08:00:43 +0000 (08:00 +0000)]
Merge "fix build error with Typeerror" into devel
yan11.meng [Thu, 4 Jun 2020 10:03:40 +0000 (18:03 +0800)]
fix build error with Typeerror
Change-Id: Ia04aec6a394bee0ca53e5cee83259cac42ad6734
Jungwoo [Wed, 13 May 2020 12:09:10 +0000 (21:09 +0900)]
Increase max loop device number upto 255
According to loop manual,
kernel provides the /dev/loop-control device since Linux 3.1,
which permits an application to dynamically find a free device,
and to add and remove loop devices from the system.
The limit is the maximum number of minor devices for a single major
device(since loop has a single major, block 7), which is limited by
MINORBITS which is located in kdev_t.h file of Linux.
Therefore, it actually 2 to the power of 20, just over a million.
In result, Linux could support lots number of loop devices.
To use more than 100 loop devices,
increase max loop device number in mic.
Change-Id: I2e763f3c70c5aa919e67621bc54d37c0def9d07b
yan11.meng [Wed, 13 May 2020 03:07:23 +0000 (11:07 +0800)]
bump up to release 0.28.8
Change-Id: I29c0957f742f39deb644ac954a4ed43dd71b94bd
yan11.meng [Tue, 14 Apr 2020 05:22:33 +0000 (13:22 +0800)]
remove /etc/fstab file, https://bugs.tizen.org/browse/DEVT-399
Change-Id: Ie7a3e0b84a7a15a41e42d7265ecd4109351987b9
yan11.meng [Tue, 18 Feb 2020 06:11:21 +0000 (14:11 +0800)]
bump up to release 0.28.7
Change-Id: I6fefe7a3100d360300496c76cfb4d772455977cf
yan11.meng [Thu, 19 Dec 2019 02:23:08 +0000 (10:23 +0800)]
skip set hosts by mic when /etc/hosts exists or add option to skip
Change-Id: Ic9c63103fdde12ead58fbef676952a575e97daed
yan11.meng [Tue, 10 Dec 2019 06:50:19 +0000 (14:50 +0800)]
add option for mic to skip set hosts when create
https://bugs.tizen.org/browse/DEVT-394
Change-Id: I4c9877b265e615e8f5e1d4ce2b52f4b93da0aed4
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
biao716.wang [Tue, 26 Nov 2019 05:36:40 +0000 (13:36 +0800)]
fix all pylint error for mic
Change-Id: I04e63b3e77052f4350acc8202fd7a84a58baeeac
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
yan11.meng [Wed, 23 Oct 2019 05:30:05 +0000 (13:30 +0800)]
fix pylint errors for mic
Change-Id: Idda5347f96b9034daec0f57d4cfbc16ca13b0883
Signed-off-by: yan11.meng <yan11.meng@samsung.com>
jin.xiao [Wed, 13 Mar 2019 01:29:46 +0000 (09:29 +0800)]
Merge branch 'master' into devel
Change-Id: I21c800342bf4767a3d67bec95fe492b53720cb58
jin.xiao [Wed, 27 Feb 2019 08:52:27 +0000 (16:52 +0800)]
bump up to release 0.28.6
Change-Id: I15ec77f8d9ebe2b128a4d53849b9b4076ce09ec6
Xiao Jin [Thu, 25 Oct 2018 06:00:17 +0000 (14:00 +0800)]
bump up to release 0.28.5
Change-Id: I0919283e5f717d58e64afa708207bd2d767787eb
Xiao Jin [Thu, 25 Oct 2018 06:00:17 +0000 (14:00 +0800)]
bump up to release 0.28.5
Change-Id: I0919283e5f717d58e64afa708207bd2d767787eb
Slava Barinov [Wed, 17 Oct 2018 06:28:03 +0000 (09:28 +0300)]
Add %env section support
Kickstart file now may have section for environment variables setup.
Section should look like
%env
VARIABLE1=0x1000
VARIABLE2="value"
%end
This environment is set up for mic process and propagated into child processes
during firmware build.
Change-Id: Ida45e768781faf277438e3fb591d9bd931a09a1f
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Slava Barinov [Wed, 17 Oct 2018 06:28:03 +0000 (09:28 +0300)]
Add %env section support
Kickstart file now may have section for environment variables setup.
Section should look like
%env
VARIABLE1=0x1000
VARIABLE2="value"
%end
This environment is set up for mic process and propagated into child processes
during firmware build.
Change-Id: I22cd45a4b3c2ff7c4c7d27abe1ef1936d4d350f9
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Xiao Jin [Wed, 26 Sep 2018 01:41:05 +0000 (09:41 +0800)]
bump up to release 0.28.4
Change-Id: I9e4e5d7275a20a1663ac8eef29d1a33f7b6feb5a
Xiao Jin [Tue, 25 Sep 2018 08:37:36 +0000 (16:37 +0800)]
add new option --fslabel in part section
Change-Id: I0ef3de0c99f23a971b4a862cce2ed38c5fc65a4b
Xiao Jin [Wed, 26 Sep 2018 01:41:05 +0000 (09:41 +0800)]
bump up to release 0.28.4
Change-Id: I9e4e5d7275a20a1663ac8eef29d1a33f7b6feb5a
Xiao Jin [Tue, 25 Sep 2018 08:37:36 +0000 (16:37 +0800)]
add new option --fslabel in part section
Change-Id: I0ef3de0c99f23a971b4a862cce2ed38c5fc65a4b