Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I929aa3c676c041e6ab361c3b6dd5a2613ed6cd0d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
This reverts commit 7db9b0c91a5b26f96a86ec10dfad261a7d781f3b.
Change-Id: Iaa242d65fd7fb14c379fff0f268ac1607005169e
|
|
- Call BaseImager.copy_attachment() after BaseImager.configure()
Post scripts on configure() cannot access attachment files which come from install_root.
So call copy_attachment() after running post scripts.
- Move attachment files not copy.
If copying attachment files from install_root, then attachment files remain in install_root.
So use mv instead of cp for deduplication.
Change-Id: Ie7a1d516331e29eaba975bc186b9644b96c17fbc
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
Change-Id: Ibe2f1cfaa7625ab1ea938feda5df6406beb267e6
|
|
local pkgs.
Change-Id: I249c2b42a54bd311bb09296a787ffe7d2f03379d
|
|
Change-Id: Ib088fb9d56b08c9aeae01908827f5507d972cdec
|
|
Change-Id: I7c2d194ba3bcc4e8fc78073bc922f6e7eb853821
|
|
Change-Id: I90cb12a4d68f6989af25318b6181a2ed9e9ebe88
|
|
Change-Id: Ia1d2cc22b9a6e695a6f905574f8081c5910f0e8b
|
|
Change-Id: Ic7b3512b153ec5c92cd47a281bab8341f01acaf0
|
|
Change-Id: Ifce99807698d3a35fd3dddcdf8f9d60f4c2bb22c
|
|
Change-Id: I2752f5c804f215ba96b5cfbabfefb1c383bb5803
|
|
Conflicts:
plugins/imager/loop_plugin.py
|
|
Change-Id: Ia5f0f14131463f1eb20bbfe8a7159dfe1307f215
Conflicts:
plugins/imager/raw_plugin.py
|
|
Change-Id: I22032747185fb6f2344c4a88ca227503d9369823
|
|
Change-Id: I48e2f647b8278107bd4ce84c0c9c0237dec8b948
|
|
Change-Id: Iaec1eb7817b05a0eacdef3c1aafe248eeaade538
|
|
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
|
|
Change-Id: I5d357a162b2227beaff35f4a5ef913d36a2a6972
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Change-Id: I22021ebea6bd2db34150c15f588289c18929d63a
|
|
Fixes: #2081
Change-Id: Id780d02d38cbfccf6d4bb6e9eb37d709db0dd336
|
|
Fixes: #2056
Change-Id: I4858a52364189d5985c90b4bc6a0d435507be758
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
|
|
actually the modified 'item' should be PoolItem, which has 'status',
instead of Package
Change-Id: Ib29bc770281a5d32773a2165c65cc6c4431cb51b
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Change-Id: Id451840526902cbca9e5dd6a4cd0b730bb2bebfa
|
|
Change-Id: I11879de8063534eb5a59b80edbfcd9a73aefdc5d
|
|
Change-Id: Ic0ec2d5ed9cefbc90d8a4b1149ecb7d984ad1e9f
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Change-Id: I1a9007e9b3d8abfa91091ab063f75bb1f6cd3808
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
C:139,8:Zypp._zyppQueryPackage: Comma not followed by a space
query.addAttribute(zypp.SolvAttr.name,pkg)
^^
C:146,8:Zypp._splitPkgString: Comma not followed by a space
sp = pkg.rsplit(".",1)
^^
C:213,12:Zypp.selectPackage: Comma not followed by a space
q.addAttribute(zypp.SolvAttr.name,pattern)
^^
C:217,12:Zypp.selectPackage: Comma not followed by a space
q.addAttribute(zypp.SolvAttr.name,name)
^^
C:221,12:Zypp.selectPackage: Comma not followed by a space
q.addAttribute(zypp.SolvAttr.name,pkg)
^^
W: 19,0: Unused import sys
W: 35,0: Unused import BaseImageCreator
W: 20,0: Unused import re
Change-Id: Ie6bdff4de495e93b0dd534c276cb77d5270db114
Conflicts:
plugins/imager/raw_plugin.py
|
|
The manifest file stores important infomation such as image file name,
package format, compress format, partitions or disks. So when another program
want to parse image files, it can get the infomation more easily by reading
manifest file. There are two important kinds of format, see bellow:
loop:
{
"format": "loop",
"version": "0.24",
"loop": {
"image_files": [
"whole_rd_210-201403211800.tar.gz"
],
"pack": ".tar.gz",
"partitions": {
"/opt": "data",
"/opt/usr": "ums",
"/": "platform"
}
},
"created": "2014-03-21 18:02:07"
}
raw:
{
"raw": {
"image_files": [
"ivi-201403211803-sda.raw.bz2",
"ivi-201403211803-sdb.raw.bz2"
],
"disks": [
"sda",
"sdb"
],
"compress": "bz2",
"sda": {
"image": "ivi-201403211803-sda.raw.bz2",
"bmap": "ivi-201403211803-sda.bmap"
},
"sdb": {
"image": "ivi-201403211803-sdb.raw.bz2",
"bmap": "ivi-201403211803-sdb.bmap"
}
},
"format": "raw",
"version": "0.24",
"created": "2014-03-21 18:06:10"
}
Change-Id: Ie9682bad79337319d1c1e6534b3cd4db25271124
Fixes: #1583
|
|
Fixes: #1382
Change-Id: I663a80703ba02091f87fa9aca23be9ec5ba0d1b9
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
If we changed all configuration in '/etc/mic/mic.conf' to other dirs
like '/home/build/xx' instead of '/var/tmp/xx', mic wouldn't mount
or create '/var/tmp' any more, then it would result in zypp can't download
packages, becuase zypp will use '/var/tmp' to build cache as default
Fixes: #1623
Change-Id: I6f69c4a6f9655f70d3cbfa6670756255bca171a4
|
|
When download attachment packages by using yum pkgmgr, the url
variable below is a unicode instead of SafeURL object.
Traceback (most recent call last):
......
File "/home/huanghao/workspace/mic/plugins/imager/loop_plugin.py", line 127, in do_create
creator.install()
File "/usr/local/lib/python2.7/dist-packages/mic/imager/baseimager.py", line 1051, in install
self.__attachment_packages(pkg_manager)
File "/usr/local/lib/python2.7/dist-packages/mic/imager/baseimager.py", line 966, in __attachment_packages
fpath = grabber.myurlgrab(url.full, fpath, proxies, None)
AttributeError: 'unicode' object has no attribute 'full'
Change-Id: Ib5c03ef053b8cf22f1b8ef1868ad244427df7cc6
|
|
Change-Id: I81fba9c393a7fd13b0ce22c5c9e8027fa14bf315
Fixes: #1547
|
|
Since SafeURL implementation depends on lib zypp which provided
by python-zypp package. This package will not be installed when
only install "mic" package instead of "mic-native". Then import
zypp will raise exception of "No module named _zypp".
Change-Id: If8232b0ee77166eadc04f016cd2cda722c7ff23e
Fixed: 1568
|
|
If user has special characters like '@' in his/her password, it
can be write as encode form embeded into url. By using zypp.Url
class which is already support encoded password, it by default
hide password part, so we also gain the feature that password
won't be printed to console.
Fix: 1499
Change-Id: I4243f36df491cb6eb80f04334962a2ed6030acbe
|
|
this EULA (End User Licence Agreemnt) is not neccessary now,
remove it to clean up the code
Change-Id: I300e494992e355c1bff811fba3dd7744733fab67
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Break the long lines, remove the deprecated content, etc.
BTW, other minor changes include:
* move the cmdln completion scripts to more proper places
* file permission checking
Change-Id: I063d99119156b45279a387c24280723ae70f4eb2
Signed-off-by: Jianfeng Ding <jian-feng.ding@intel.com>
|
|
Change-Id: I48500314b2f7de0187beb92b7ec8877d9874dc36
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
mic uses too many msger.error to exit the program directly,
it's not safe, except main loop, other logic should raise
error as possible
Change-Id: I4fa0c05998b78c3bb9b12148e7dfd6c04bad8251
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
as new version of rpm can handle file handlers correctly in most time,
we don't repeat it in mic itself
Change-Id: I48b413e2a3aaf823f306c35e66dcfca7e002306e
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Always set 'proxy' query paramer to disable using proxy from
/etc/sysconfig/proxy.
Fixes: #1093
Change-Id: I6a75c9e61bb2b2142c8401036ddd21b85886fa28
|
|
If password contains special char ':' which should be replaced with
its' quoted char '%3A'.
Fixes: #541
Change-Id: I12575208c7c337f0bad3a40bac0988e17b160819
|
|
check the given package list, if it will be installed, remove it
from the checking list. when check done, it proves some given
packages won't be installed to the image, mic should abort
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Change-Id: Idaeabdd0c340f6f9f8f5eddae6eb17478115d11c
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
Change-Id: Icd9b2eeac10e5f8265445d96cc9ceb1a5116d158
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
standard criterion:
- arch compatibility with highest priority
- repo priority
- package version have lowest priority
Change-Id: I86dcb35a568ddc0162e6145b6871dc2502c3d24f
|
|
when adding debuginfo rpm, the PoolItem doesn't
convert to Solvable
Change-Id: I221760667217421235849536def6bbcfd94199c2
Signed-off-by: Gui Chen <gui.chen@intel.com>
|
|
differences in python-zypp between swig 1.3 and swig 2.0 built
make the original code not work, this patch trys to fix this
compatiblity issue
Change-Id: Ie0a16182463886e9cf89f6fa1c63756e4d50c02d
Signed-off-by: Gui Chen <gui.chen@intel.com>
|