summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-19clean spec filetizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20141007.444444submit/tizen_common/20140929.110645accepted/tizen/ivi/20141009.080622accepted/tizen/common/20140930.171013tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonRonan Le Martret1-8/+50
- improve rpmlint score - remove duplicate files Change-Id: Ia647d4b3010cab5f85e002cfdbd7cbdcc338d02b Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-08-07Revert "packaging: remove dependency of suse_version"submit/tizen_ivi/20140818.000001submit/tizen_ivi/20140818.000000submit/tizen/20140807.133029submit/tizen/20140807.124405Chanho Park1-0/+13
This reverts commit d341c9076b828511e7153b7b9b36e617393f793a. Change-Id: I966255f05e30b02103fbdc57cf53af6bba75eac8
2014-08-06packaging: remove dependency of suse_versionsubmit/tizen/20140806.115507accepted/tizen/common/20140806.130839Chanho Park1-13/+0
This patch fixes build error[1] since we adds %suse_version macro[2]. [1]: https://bugs.tizen.org/jira/browse/TC-1474 [2]: https://review.tizen.org/gerrit/#/c/25292/ Change-Id: Idc6282fdf3c9b969ae4d023d58f51a8ca0f8db61 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2013-07-21remove record file to fix duplicated manifesttizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi_genivi/20140131.030134submit/tizen/20130912.090439submit/tizen/20130724.021930submit/tizen/20130721.233543ivi_oct_m2accepted/tizen/ivi/genivi/20140131.034756accepted/tizen/20130912.195308accepted/tizen/20130912.191143accepted/tizen/20130912.153124accepted/tizen/20130724.121631tizen_ivi_genivitizen_3.0.m14.2_iviaccepted/tizen_genericaccepted/tizen/ivi/stableaccepted/tizen/ivi/geniviGui Chen1-1/+0
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-07-01resetting manifest requested domain to floorsubmit/tizen/20130710.133255accepted/tizen/20130710.215457Alexandru Cornea2-0/+8
2013-06-06Fixed run time requirementssubmit/tizen/20130606.050039accepted/tizen/20130606.122032Anas Nashif2-6/+9
2013-06-03rpm-python->python-rpmsubmit/tizen/20130603.114216accepted/tizen/20130603.185841Anas Nashif1-1/+1
2013-05-20Merge branch 'release-0.19'upstream/0.190.19upstreamGui Chen17-272/+987
Conflicts: VERSION debian/changelog packaging/mic.dsc packaging/mic.spec
2013-05-20bump up to release 0.19Gui Chen4-4/+4
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-17bump up to 0.19-0.rc2Gui Chen3-3/+3
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-17fix empty value in max built-inGui Chen1-0/+3
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-17try to wait for mapping device mapperGui Chen1-0/+4
a delay for setup multipath device will throw error: /dev/loop0X: No such file or directory Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-17gpt_parser: bugfix: correctly update alternate GPT headerArtem Bityutskiy1-1/+3
This patch is a bug-fix which fixes the --part-type option. The sysmptom of the issue was the following warning from kpartx: GPT: partition_entry_array_crc32 values don't match: 0xa24d9e34 != 0xc4e77ef0 GPT: Use GNU Parted to correct GPT errors. The reason of the issue was that we did not update the alternate partition array. The root-cause is that we cannot rely on the 'offs' element of the partition entry dictionary because it points to the primary prition array offset, while we needed the alternate. Instead, we have to calculate the offset ourselves. Change-Id: Iec35ebefa28ba8f7a65c414177c909747b6512ed Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-05-16bump up to 0.19-0.rc1Gui Chen3-3/+3
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-16update release dateGui Chen4-22/+12
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-16fix OSError caused by symlink removingGui Chen1-3/+2
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-15bump up to 0.19-0.rcGui Chen5-47/+80
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-15fix symlink bind mount dirnameGui Chen1-1/+2
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-15fix relative symbolic link in bind mountGui Chen1-0/+2
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-15typo fixGui Chen1-1/+1
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-15fix '/var/lock' non-existent throw tracebackGui Chen2-2/+9
Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-15fix symlink bind mount left issueGui Chen1-3/+12
when bind mount point is symbolic link, the umount will make it left when clean up Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-05-10raw: use bmap creation code from bmap-toolsArtem Bityutskiy3-128/+559
This patch copies the bmap creation code from the bmap-tools project to mic. Hopefully, at some point we can just make mic package depend on bmap-tools and directly invoke bmap creation functions from bmap-tools. However, mid maintainers have issues with this at this point, so we just copy the code. Unlike the old mic implementation which uses FIBMAP ioctl, bmap-tools use the FIEMAP ioctl, which is better and also works on btrfs. Change-Id: I8807ac32d3fcb31e9d410250348318fd04a63275 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-05-07misc: add get_block_size helper functionArtem Bityutskiy1-0/+12
It returns file-system block size. Change-Id: Idc512a90c58d76925e46f3bd3782093f2c102d5e Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-05-02fix some depends and add tizen requiresGui Chen2-2/+4
tizen-python-zypp is provided by 'python-zypp' maintained by tizen tools, the provide is different with upstream Signed-off-by: Gui Chen <gui.chen@intel.com>
2013-04-19gpt_parser: update class commentaryArtem Bityutskiy1-4/+2
We now support CRC checking and partition table changing, so update commentaries. Change-Id: Id3acd1699d2da2752d6d05c4400404361a3e5634 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19partitinedfs.py: implement the --part-type optionArtem Bityutskiy2-5/+23
Implement the --part-type option for GPT partitions. In case of MBR partitions - just error out and say that the option is not implemented, but if someone needs it for the MBR case in the future - it may be implemented. Change-Id: I7f45db71df85bd36850d1379a38a84fe73532de6 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19partition.py: add --part-type optionArtem Bityutskiy1-1/+6
Add a kickstart file partition option for specifying partition type. In case of GPT partitions, this is an UUID which is stored at offset 0 of the partition entry in the partition table. In case of MBR partitions, this will be the 1-byte partition type which is stored at offset 4 of the partition entry in the partition table. Change-Id: I8d03c2414b8e8c555b18f9f94f60a9e0f7742536 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: add parition modification functinalityArtem Bityutskiy1-1/+74
Add a 'change_partition()' method which allows changing partition records. Change-Id: I29c103f856a51aab4ce11d60126128e3770906be Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: introduce more useful dict keysArtem Bityutskiy1-23/+51
Add some more useful information to the GPT header and partition entry dictionaries. Change-Id: I5ab5ff309d8a926c317d1bf22d2797e0f08539f2 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: rename the parts_cnt dict keyArtem Bityutskiy1-31/+31
The 'parts_cnt' header dictionary key is named poorly because this is actually the number of available partition table entries, not the number of partitions. Thus, rename it to 'entries_cnt'. Change-Id: I565ac7b700ab5ae3b1bb7c8aa503585465588db9 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: implement partition table CRC checkingArtem Bityutskiy1-9/+22
Introduce a new helper function for checking partition table CRC32 checksum and use it in 'get_partitions()' to validate the table. Change-Id: I1bba90d174a5e146403c1eeff6188426ab7066a2 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: improve naming some moreArtem Bityutskiy1-9/+9
Use "raw_" prefix for the on-disk data to make the code more readable. Change-Id: I644f6250ddc3f6483910b94242f06c49c64b5e75 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: add 'primary' dictionary keyArtem Bityutskiy1-2/+8
Add another key to the GPT header and parition record dictionaries to indicate whether it belongs to the primary or to the backup parition. Change-Id: I0292badb61cf279a0fd9ac8c1f5bad47c05c1537 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: return a dict from get_partitionsArtem Bityutskiy2-15/+18
This makes the code more redable. Change-Id: I1b41de463d108937ace8b9ce46f08deb0a4d6081 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: return a dict from read_headersArtem Bityutskiy1-26/+35
Use a dictionary instead of a tuple because it makes it possible to write more readable code. Indeed, header['hdr_crc'] is more readable than header[3]. Change-Id: Ia488d61580a9b1d848421a6abc462870418daa34 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: spelling fixesArtem Bityutskiy1-4/+4
A couple of spelling fixes. Change-Id: I7807b071af34ce360bc274d9d0ffa8a7fd12a00b Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: use _read_disk helper in get_partitionsArtem Bityutskiy1-5/+6
Use the helper which we just introduced, because it does errors checking. Also, introduce a helper _GPT_ENTRY_SIZE constant. Change-Id: I496933f46292f31987ff37fdc9dabc8c5bd150c6 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: introduce a helpful _GPT_HEADER_SIZE constantArtem Bityutskiy1-6/+5
Change-Id: Ieaf8a4f916dde383cfeb8a7191cce7bcc72617c3 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: introduce a _disk_read helperArtem Bityutskiy1-15/+22
It is useful because we can encapsulate all the error checking in a single function. Change-Id: I0aac2d2223bc75113b43994db39df71f2ed7cf89 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: add an index element to the partition recordArtem Bityutskiy2-10/+15
Add an 'index' element to the partition record returned by the 'get_partitions()' method. This is very useful to have when one wants to change a partition record, which will be implemented in one of the following patches. Change-Id: I04b560a7d1e8a97470eea5c221cba7d3e039a501 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parse: use _ prefix for private class membersArtem Bityutskiy1-8/+8
Change-Id: Iaccffd75f77bbca172d9a328a9fba42c4e25ad57 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: add backup partition table reading supportArtem Bityutskiy1-3/+7
Change-Id: I6c1aeda0b54dc5f3e4b3c1bfe69b4d005231c1e0 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: harmonize naming a bitArtem Bityutskiy1-24/+24
Use 'raw_hdr' for raw header and 'header' for the header dictionary. This makes the code easier to read because you always know what you deal with from the variable name. Change-Id: Iae0420ec149861067a455bb62276cb50fc6ba719 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: add backup GPT header reading supportArtem Bityutskiy1-3/+18
Change-Id: Ie496acd5b8020a2a48a4c905be2467dda338cf12 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: move the GPT header validation to a separate functionArtem Bityutskiy1-22/+27
Change-Id: I5d6b088ee8d41bed77f576f39c529914c581eef5 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: validate GPT header CRC32Artem Bityutskiy1-0/+17
Change-Id: I2837d64600876b3fcca187dd112db4590eb96ffe Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: validate header sizeArtem Bityutskiy1-1/+6
Change-Id: I7cb08dff3421f3390525c0fc4c5188d15ce90e53 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: validate GPT header revisionArtem Bityutskiy1-2/+11
We only support revision 1.0. Change-Id: If44c27053186e77329681bdda387dc0f6d92c893 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2013-04-19gpt_parser: use _ for private variablesArtem Bityutskiy1-6/+6
The standard convention in python that all the internal variables in a module start with an underscore symbol. Change-Id: I38e4ed6d9fc749c43f8c4909320b0415ba3ebba9 Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>