Dohyung Kim [Tue, 21 Nov 2017 07:36:14 +0000 (16:36 +0900)]
Add 'UmountScripts' templete which support '%post-umount' section
Change-Id: If5c94ef67305bd04c6919e65ea7e3bd6a8e4e594
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Dongkyun Son [Tue, 4 Dec 2018 10:44:10 +0000 (19:44 +0900)]
Fix build error
Some #directives are missing their corresponding #end ___ tag: if
Change-Id: I044cdc347c2db990dbc597dcc42a5d1589291fee
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Slava Barinov [Tue, 4 Dec 2018 07:02:40 +0000 (10:02 +0300)]
Add condition for %env section backward compatibility
Change-Id: I5281f4ec6359f0e3f582ad1cfc6939da4ff134a3
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Slava Barinov [Wed, 17 Oct 2018 07:11:05 +0000 (10:11 +0300)]
Add support for %env section
Env-scripts support are required for building certain firmware configurations,
e.g. sanitized firmwares and can be used for setting up environment variables
for firmware build.
Change-Id: I95b3443132fd7087728cd257da7f84dc0aee1677
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Katarzyna Gorska [Tue, 29 Aug 2017 12:02:11 +0000 (14:02 +0200)]
Add possibility to parse list of partition files
Kickstarter was not able to correctly parse config files that contained
a list of partition files in "Part" section. Now it is possible to add
several partition files in that section.
Change-Id: Idcb22bd6bcb17061b9c7b5af8dea222283216e2c
Signed-off-by: Katarzyna Gorska <k.gorska@samsung.com>
SoonKyu Park [Thu, 24 Aug 2017 06:00:18 +0000 (15:00 +0900)]
Add 'Runscript' templete which support script running between 'each img creation' and 'tar.gz creation'
Image creation order :
Create *.img, *.bin - Runscript - Create xxxx.tar.gz
Change-Id: Ia77c05072283ca8cde5b95a127a0cbb28c8edba7
Junghyun Kim [Tue, 30 Aug 2016 10:09:21 +0000 (19:09 +0900)]
Do not print timestamp in python-Cheeta by setting an argument.
- PROBLEM
We use OBS to build packages in Tizen.
There is a mechanism not to rebuild if 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.
This package uses python-Cheeta package.
This python-Cheeta package prints code generation time like below:
[ 49s] -__CHEETAH_genTime__ =
1471828672.098387
[ 49s] -__CHEETAH_genTimestamp__ = 'Mon Aug 22 01:17:52 2016'
[ 49s] +__CHEETAH_genTime__ =
1471844774.503833
[ 49s] +__CHEETAH_genTimestamp__ = 'Mon Aug 22 05:46:14 2016
This timelog is not printed if we insert settings parameter:
$(CHEETAH) compile --settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $<
Change-Id: Ie81694a9244974b41d2cfa4d9d8bf91641648515
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Junghyun Kim [Mon, 29 Aug 2016 10:46:59 +0000 (19:46 +0900)]
Use a sorted list of files in kickstarter to avoid unnecessary rebuilds.
- 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>
Stephane Desneux [Tue, 5 Aug 2014 17:47:01 +0000 (19:47 +0200)]
Raise an error when a script is specified and not found
This allows to break the build for image-configurations when
there's an inconstency in the YAML definitions in the meta-<profile> package
Change-Id: I76f0f4554ca23494b79d82cfc3498dfb23eead74
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Chanho Park [Thu, 7 Aug 2014 12:37:04 +0000 (05:37 -0700)]
Revert "fix potential error since added %suse_version"
This reverts commit
e972e2e05274efdcbdf4c37beaf05873d098214e.
Change-Id: I85d4874217f19fe545aa2374eafadecf8a86bebd
Chanho Park [Wed, 6 Aug 2014 11:58:29 +0000 (20:58 +0900)]
fix potential error since added %suse_version
This patch fixes potential 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: I743c16856b0d76fd544d064b8dbcf0cf825afbda
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
JF Ding [Mon, 16 Jun 2014 08:09:41 +0000 (16:09 +0800)]
Enabled images filtering by specifying build target
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>
Artem Bityutskiy [Wed, 18 Sep 2013 05:08:39 +0000 (08:08 +0300)]
packaging: update changelog (installerfw_plugins)
Change-Id: I6989c544940ced7bbbd11031f117b27c572b0033
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Wed, 18 Sep 2013 05:04:42 +0000 (08:04 +0300)]
kickstart.tmpl: stop using depricated "installerfw" keyword
We renamed the "installerfw" installer framework keyword to
"installerfw_plugins" in MIC. MIC still supports both, but the intention is to
remove the old one.
Lets start using "installerfw_plugins" keyword from now on.
This should fix the following MIC warning:
"please, use 'installerfw_plugins' instead of 'installerfw', the latter is
obsolete and will be removed in future releases"
Change-Id: I21911db1a17581a8afdab934c7f7fb0a2e1852c9
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Graydon, Tracy [Mon, 8 Jul 2013 18:32:14 +0000 (11:32 -0700)]
Merge commit 'refs/changes/42/5542/2' of ssh://review.tizen.org:29418/platform/upstream/kickstarter into tizen
Anas Nashif [Fri, 5 Jul 2013 15:03:34 +0000 (11:03 -0400)]
Support installer framework plugins
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Change-Id: I97eda60c201ceb00c43ad4f0817cccca0d5a4317
Alexandru Cornea [Fri, 28 Jun 2013 22:25:24 +0000 (01:25 +0300)]
resetting manifest requested domain to floor
Patrick McCarty [Fri, 3 May 2013 19:13:11 +0000 (12:13 -0700)]
Remove requirement for a default root password
Change-Id: I6f52a49d3d7b0bca9f7c09ac8231af3fc11182c8
Anas Nashif [Wed, 10 Apr 2013 08:32:49 +0000 (01:32 -0700)]
Support ks files without default user
Anas Nashif [Thu, 15 Nov 2012 20:15:36 +0000 (12:15 -0800)]
up version
Anas Nashif [Thu, 15 Nov 2012 20:14:28 +0000 (12:14 -0800)]
Support custom groups
And use a new path for scripts and partitioning, removed the 'custom'
path.
Anas Nashif [Fri, 9 Nov 2012 23:54:08 +0000 (15:54 -0800)]
check for external configs
Anas Nashif [Fri, 9 Nov 2012 23:37:04 +0000 (15:37 -0800)]
support external configs via command line
check for external configs
Anas Nashif [Fri, 9 Nov 2012 23:22:49 +0000 (15:22 -0800)]
accept multiple repo arguments
Anas Nashif [Fri, 9 Nov 2012 21:30:37 +0000 (13:30 -0800)]
up version
JF Ding [Thu, 23 Aug 2012 01:39:46 +0000 (09:39 +0800)]
added workable spec and manifest file
JF Ding [Wed, 22 Aug 2012 09:36:02 +0000 (17:36 +0800)]
remove meego stuff inside spec
Anas Nashif [Sun, 22 Jul 2012 06:30:55 +0000 (07:30 +0100)]
r -> repos
Change-Id: I36fdc4e76f1728ba4b3145464e1a391f584c0abd
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Anas Nashif [Sat, 21 Jul 2012 14:20:01 +0000 (15:20 +0100)]
merge
Change-Id: I07c00e71dfc2fc65fc107cfe2222d60a0edc85a7
Anas Nashif [Sat, 2 Jun 2012 22:28:41 +0000 (23:28 +0100)]
support user/password in repo
Anas Nashif [Sat, 2 Jun 2012 21:13:31 +0000 (22:13 +0100)]
rename single char variable
Anas Nashif [Thu, 31 May 2012 11:25:28 +0000 (12:25 +0100)]
remove debugging code
Anas Nashif [Thu, 31 May 2012 11:23:46 +0000 (12:23 +0100)]
resolved conflict
Gui Chen [Thu, 31 May 2012 03:11:37 +0000 (11:11 +0800)]
add '%attachment' section for mic container
Signed-off-by: Gui Chen <gui.chen@intel.com>
JF Ding [Wed, 30 May 2012 02:05:22 +0000 (10:05 +0800)]
update sample configs under demo/
JF Ding [Wed, 30 May 2012 02:03:53 +0000 (10:03 +0800)]
fixed the bug of getting path of configs
Anas Nashif [Thu, 24 May 2012 14:12:01 +0000 (15:12 +0100)]
make things work with pomo
JF Ding [Wed, 16 May 2012 09:55:48 +0000 (17:55 +0800)]
update setup.py to apply VERSION in installation
JF Ding [Thu, 3 May 2012 07:42:10 +0000 (15:42 +0800)]
rename README to README.md and update it as markdown
JF Ding [Wed, 18 Apr 2012 14:55:16 +0000 (22:55 +0800)]
update version for development
Anas Nashif [Wed, 16 May 2012 09:21:21 +0000 (10:21 +0100)]
up version
Anas Nashif [Tue, 15 May 2012 12:08:14 +0000 (13:08 +0100)]
set distro
Anas Nashif [Sun, 6 May 2012 12:58:18 +0000 (13:58 +0100)]
fixed pathes
Anas Nashif [Thu, 3 May 2012 15:35:45 +0000 (16:35 +0100)]
relative external path
Anas Nashif [Thu, 26 Apr 2012 13:58:33 +0000 (14:58 +0100)]
moved spec to packaging
Anas Nashif [Thu, 26 Apr 2012 06:14:18 +0000 (07:14 +0100)]
modularize
Anas Nashif [Sun, 22 Apr 2012 22:00:22 +0000 (23:00 +0100)]
move everything to a module
Anas Nashif [Sun, 22 Apr 2012 21:25:33 +0000 (22:25 +0100)]
create own module of KSWriter
Anas Nashif [Sun, 22 Apr 2012 21:04:21 +0000 (22:04 +0100)]
create individual ks files
create individual ks files and add support for returning list of
packages and groups to be installed
JF Ding [Wed, 18 Apr 2012 14:45:13 +0000 (22:45 +0800)]
support empty passwd to be specified
JF Ding [Wed, 18 Apr 2012 14:30:04 +0000 (22:30 +0800)]
support new kickstart directive "prepackages"
Using corresponding yaml keyword "PrePackages" to specify
the packages which will be "pre-installed" by mic in the pre
stage of image creations.
JF Ding [Wed, 29 Feb 2012 08:47:32 +0000 (16:47 +0800)]
bump version to 0.14
JF Ding [Wed, 29 Feb 2012 08:39:33 +0000 (16:39 +0800)]
no default '--save' for adobe repo
Anas Nashif [Tue, 5 Jul 2011 09:43:00 +0000 (10:43 +0100)]
new version
Li Yi [Thu, 9 Jun 2011 11:27:11 +0000 (19:27 +0800)]
enable/disable image generation with 'Active' key (BMC#18692)
Li Yi [Tue, 3 May 2011 07:38:18 +0000 (15:38 +0800)]
minor fix BMC#16397: accept only .yaml when create xml
Anas Nashif [Fri, 27 May 2011 23:13:42 +0000 (16:13 -0700)]
better support bootloader options
Anas Nashif [Wed, 18 May 2011 17:37:55 +0000 (18:37 +0100)]
support bootloader options
Anas Nashif [Fri, 6 May 2011 19:52:39 +0000 (15:52 -0400)]
check for scripts before reading them
Anas Nashif [Mon, 2 May 2011 19:37:06 +0000 (20:37 +0100)]
bump
Marko Saukko [Thu, 21 Apr 2011 14:14:09 +0000 (17:14 +0300)]
Added possibility to set repository specific options (BMC#15938)
Marko Saukko [Thu, 21 Apr 2011 13:45:33 +0000 (16:45 +0300)]
Accept only .yaml files from external configs directory (BMC#16397).
Marko Saukko [Thu, 21 Apr 2011 13:27:53 +0000 (16:27 +0300)]
Minor whitespace cleanup.
Marko Saukko [Thu, 21 Apr 2011 13:23:22 +0000 (16:23 +0300)]
Ignore the created files by default.
Marko Saukko [Thu, 21 Apr 2011 13:23:04 +0000 (16:23 +0300)]
Cleanup all the created files and dirs.
Anas Nashif [Thu, 7 Apr 2011 22:16:00 +0000 (23:16 +0100)]
try xml parser alternatives
Anas Nashif [Thu, 7 Apr 2011 22:06:20 +0000 (23:06 +0100)]
fixed README
Anas Nashif [Thu, 7 Apr 2011 22:05:33 +0000 (23:05 +0100)]
fixed README
Anas Nashif [Sat, 2 Apr 2011 12:44:58 +0000 (13:44 +0100)]
bump
Anas Nashif [Fri, 1 Apr 2011 03:48:41 +0000 (04:48 +0100)]
check for inline configs
Anas Nashif [Thu, 31 Mar 2011 23:54:32 +0000 (00:54 +0100)]
support index file again
Anas Nashif [Thu, 31 Mar 2011 22:28:50 +0000 (23:28 +0100)]
support index file again
Anas Nashif [Thu, 31 Mar 2011 22:20:41 +0000 (23:20 +0100)]
Merge branch 'master' of gitorious.org:meego-developer-tools/kickstarter
Anas Nashif [Thu, 31 Mar 2011 14:46:42 +0000 (07:46 -0700)]
add external files
Anas Nashif [Thu, 31 Mar 2011 14:08:16 +0000 (07:08 -0700)]
add architecture to image-configs.xml
Li Yi [Sat, 26 Mar 2011 14:08:19 +0000 (22:08 +0800)]
add a new keyword 'FileSystem', based on the updated static '.ks' file
furthormore, just one '\n' there enough
Anas Nashif [Fri, 25 Mar 2011 13:29:43 +0000 (06:29 -0700)]
we do not need auth anymore
Li Yi [Thu, 24 Mar 2011 09:54:47 +0000 (17:54 +0800)]
fix the kickstart.tmpl and kickstarter, import additional options.
now it supports kickstart magic; on top the line evaluated by mic2
Signed-off-by: Li Yi <yix.li@intel.com>
Anas Nashif [Sat, 19 Mar 2011 10:34:42 +0000 (10:34 +0000)]
schedule testing script fixes
Anas Nashif [Fri, 18 Mar 2011 07:29:01 +0000 (07:29 +0000)]
bump version
Anas Nashif [Fri, 18 Mar 2011 07:28:31 +0000 (07:28 +0000)]
add test tools to fetch ks files from repo
Anas Nashif [Thu, 17 Mar 2011 07:32:34 +0000 (07:32 +0000)]
bump
Anas Nashif [Thu, 17 Mar 2011 07:31:51 +0000 (07:31 +0000)]
schedule now has cron style syntax
Anas Nashif [Wed, 16 Mar 2011 03:23:07 +0000 (03:23 +0000)]
produce index file
Anas Nashif [Wed, 16 Mar 2011 01:14:27 +0000 (01:14 +0000)]
make sure we have a kernel defined
Anas Nashif [Sat, 12 Feb 2011 10:52:14 +0000 (10:52 +0000)]
update TODO
Anas Nashif [Wed, 26 Jan 2011 19:12:38 +0000 (11:12 -0800)]
rename module
Anas Nashif [Wed, 26 Jan 2011 19:09:35 +0000 (11:09 -0800)]
rename module
Anas Nashif [Wed, 26 Jan 2011 19:09:17 +0000 (11:09 -0800)]
rename module
Anas Nashif [Wed, 26 Jan 2011 17:37:47 +0000 (09:37 -0800)]
reorg files
Anas Nashif [Thu, 20 Jan 2011 12:41:21 +0000 (12:41 +0000)]
add spec, Makefile and VERSION
Anas Nashif [Thu, 20 Jan 2011 12:38:38 +0000 (12:38 +0000)]
add spec, Makefile and VERSION
Anas Nashif [Thu, 20 Jan 2011 12:25:22 +0000 (12:25 +0000)]
add ivi
Anas Nashif [Thu, 20 Jan 2011 11:12:15 +0000 (11:12 +0000)]
add handset-armv7l-n900-devel
Anas Nashif [Thu, 20 Jan 2011 11:06:59 +0000 (11:06 +0000)]
add handset-ia32-mtf-devel
Anas Nashif [Thu, 20 Jan 2011 10:25:08 +0000 (10:25 +0000)]
more fixes, enhancements
Anas Nashif [Thu, 20 Jan 2011 10:23:39 +0000 (10:23 +0000)]
more fixes, enhancements
Anas Nashif [Thu, 20 Jan 2011 09:59:26 +0000 (09:59 +0000)]
more fixes, enhancements
Anas Nashif [Wed, 19 Jan 2011 12:15:58 +0000 (12:15 +0000)]
add handset
Anas Nashif [Wed, 19 Jan 2011 11:29:32 +0000 (11:29 +0000)]
update with latest repos