summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-08-29Use a sorted list of files in kickstarter to avoid unnecessary rebuilds.submit/tizen/20160831.230944accepted/tizen/common/20160901.143249Junghyun Kim1-1/+1
- PROBLEM We use OBS to build packages in Tizen. There is a mechanism not to rebuild when the result binary is the same. For example, there is a dependency graph: A->B->C. If A is modified, B would be built. If the result RPM of B is not changed, OBS does not trigger a build of C. To effectively use this mechanism, each packages make sure that the result binary should be the same if the input source is the same. There is a reason we found is that the file list given by python(os.walk(), os.listdir()), widely used executable(find), and system call(readdir()) is unordered. In this case, different OBS workers can make different results because of the file list in different order. The same thing happens in kickstarter. tools/kickstarter uses os.listdir() which returns an unordered list of files. - SOLUTION Use sorted(os.listdir()). We can obtain a sorted list of files when using sorted(). Change-Id: I9047ca08f748a938557ced46e350c24c378d439d Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
2014-07-14Enabled images filtering by specifying build targetsubmit/tizen/20140714.092215accepted/tizen/common/20140715.085520JF Ding1-6/+14
Current problem is the kickstart definitions have no target identification information in meta-* packages, which cause the generated images in product for each snapshot will be duplicated among the different targets. To resolve it, we need three modifications together: 1. Added the definition of relationship with images and targets, in meta-* packages. Sample as below: /profile/ivi/meta-ivi:/ivi-targets.yaml -> """ Targets: - Name: atom Images: - ivi-efi-i586.yaml - ivi-mbr-i586.yaml - Name: emulator Images: - ivi-mbr-i586-emul.yaml """ 2. In the building of image-configurations: add extra command line options for kickstarter command: kickstarter ... --targetdef .../%{_profile}-targets.yaml \ --target %{_repository} 3. This patch: to provide the new --targetdef and --target options. 3.1 --targetdef to specify the YAML file of targets definition 3.2 --target to specify the dedicated build target to filter images The final result will be: nothing changed to Jenkins jobs and BOSS, and the image-configuration*.rpm will not their name but will only contain the build target corresponding ks files. To keep the compatibility of all the changes, rule-1st is: The order of change integration to product server will NOT break current work as most as possible. So the integration order can be: {1, 3} -> {2}, change-2 should be the last step. Change-Id: Ie4fb251c8e6442880cb3b5386bd0dd9f4bd3adbe Signed-off-by: JF Ding <jian-feng.ding@intel.com>
2012-11-09check for external configsAnas Nashif1-5/+5
2012-11-09support external configs via command lineAnas Nashif1-3/+8
check for external configs
2012-11-09accept multiple repo argumentsAnas Nashif1-1/+3
2012-04-22move everything to a moduleAnas Nashif1-55/+3
2012-04-22create own module of KSWriterAnas Nashif1-105/+6
2012-04-22create individual ks filesAnas Nashif1-8/+28
create individual ks files and add support for returning list of packages and groups to be installed
2012-02-29no default '--save' for adobe repoJF Ding1-0/+0
2011-06-22enable/disable image generation with 'Active' key (BMC#18692)Li Yi1-5/+12
2011-06-22minor fix BMC#16397: accept only .yaml when create xmlLi Yi1-1/+1
2011-05-18support bootloader optionsAnas Nashif1-1/+0
2011-05-06check for scripts before reading themAnas Nashif1-8/+14
2011-04-21Added possibility to set repository specific options (BMC#15938)Marko Saukko1-0/+2
2011-04-21Accept only .yaml files from external configs directory (BMC#16397).Marko Saukko1-1/+3
2011-04-21Minor whitespace cleanup.Marko Saukko1-19/+16
2011-04-07try xml parser alternativesAnas Nashif1-2/+20
2011-04-07fixed READMEAnas Nashif1-2/+0
2011-04-07fixed READMEAnas Nashif1-0/+2
2011-04-01check for inline configsAnas Nashif1-6/+8
2011-04-01support index file againAnas Nashif1-1/+2
2011-03-31support index file againAnas Nashif1-49/+47
2011-03-31Merge branch 'master' of gitorious.org:meego-developer-tools/kickstarterAnas Nashif1-4/+17
2011-03-31add external filesAnas Nashif1-0/+8
2011-03-31add architecture to image-configs.xmlAnas Nashif1-0/+5
2011-03-26add a new keyword 'FileSystem', based on the updated static '.ks' fileLi Yi1-2/+2
furthormore, just one '\n' there enough
2011-03-24fix the kickstart.tmpl and kickstarter, import additional options.Li Yi1-2/+2
now it supports kickstart magic; on top the line evaluated by mic2 Signed-off-by: Li Yi <yix.li@intel.com>
2011-03-19schedule testing script fixesAnas Nashif1-2/+8
2011-03-18add test tools to fetch ks files from repoAnas Nashif2-2/+23
2011-03-17schedule now has cron style syntaxAnas Nashif1-6/+6
2011-03-16produce index fileAnas Nashif1-0/+54
2011-01-26reorg filesAnas Nashif1-0/+140