Age | Commit message (Collapse) | Author | Files | Lines |
|
Since it is required to keep dlog-internal.h when the build profile is
'tv', rootstrap generating scripts are modified:
* If the profile is 'tv', then the "including statement of
dlog-internal.h" is not removed.
* If the build profile is not 'tv', then dlog-internal.h file is not
required, so it is removed when the build profile is not 'tv'.
Change-Id: I52c24e8260b17e829f2d6c715821735e6775e859
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Scripts about api filters are removed, since they are not valid for hal
rootstrap.
* api_filter:
It filters symbols in the EFL headers.
* api_filter_gdbus:
It filters symbols in the glib headers, which is invalid for hal
rootstrap.
Some hal backends are failed to build using hal rootstrap filtered
with this script.
Also, script/whitelist is removed since it is not used by anyone.
Change-Id: Ica853ce316c94712e6453bd3aeb5151d614111be
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A class PkgConfig that manages the contents of .pc file is used to
increase readability and maintainability.
Also, parsing part and modification parts are separated to make them
more maintainable. As parsing part is separated, some datas are moved to
the .pc.in files to make the module more data-independent.
Change-Id: I2855a862d8dfb7d4dc2af8af1d22addc02785f5c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Previously, some line which starts with '#' was not ignored.
Consequently, the resulting hal-rootstrap.pc file was modified
incorrectly.
To solve this issue, modify_pc.py script is modified to ignore lines
which start with '#'.
Change-Id: I9d71a889412cc64902c853f009c74f12b09f9b52
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Modifications of scripts to make it run with python3:
1. Shebang modified from python2 to python3:
"#!/usr/bin/python2" -> "#!/usr/bin/python3"
2. Escape sequences in the regular expressions are fixed:
escape sequences which are not for the string literal should be
started with '\\', not '\' to distinguish them from the escape
sequence characters of string literal(like '\t').
3. Add parentheses to the print functions:
In the python2, no parentheses are used for print function.
Thus, for example, `print("hello")` should be translated as
`print(("hello"))`.(`print("hello")` is interpreted by the python
2 as printing a tuple which contains a string "hello")
Change-Id: I53a62dd6154cbebf740af23aeac0d20ec2aab24c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
In build for arch x86_64, the below pkgconfig from libdrm-rs.xml is
processed.
<pkgconfig>
<file>libdrm.pc</file>
<file>libdrm_exynos.pc</file>
<file>libdrm_vc4.pc</file>
<file>libdrm_vigs.pc</file>
</pkgconfig>
Unfortunately, there is no libdrm_vc4.pc and script emits the below log.
[rootstrap_gen_1.0_64.sh:153] + no pkgconfig file(//usr/lib64/pkgconfig/libdrm_vc4.pc)
This gives up the remaining process, and as a result, the libdrm_vigs.pc
will be missing. Therefore, fix it to continue the remaining process.
Change-Id: I6077707008e0883089cd6ab734bfe95307cd26c7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
The hal-rootstrap-checker should have worked for every rpmbuild. But
packages from Tizen-Base project cannot have build dependency to
packages of Tizen-Unified project, making them unable to locate
hal-rootstrap-checker. Therefore, move hal-rootstrap-checker sources
to the Tizen-Base project, platform/hal/backend/rootstrap-checker.
Change-Id: I383c6ca9588242c1a5653f9d77974e00562448b1
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
To prevent hal-rootstrap-headed be included to image automatically,
disabling auto package dependency(AutoReqProv) is added.
Change-Id: I8a5d6cbd7a94faf73079c840693468c583784be8
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Instead of making symlink of hal-rootstrap-checker-rpmmacros to the
rpm macro lookup path, /etc/rpm/macros.*, install the file on the
lookup path. Moveover, changed the filename to the rpmbuild identifiable
format, macros.hal-rootstrap-checker.
Change-Id: I53c0a15333bd110b11d1fe2fd6c596924f86952c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
The package name of "hal-rootstrap-common" is renamed as
"hal-rootstrap-data-common" to distinguish it from names like
"hal-rootstrap-headed".
Change-Id: I3e680e6dabcd56daf495673d074fb06e133b9c9c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Since the headless image does not have some packages compared to the
headed image, it is required to separate these packages from hal
rootstrap.
To separate headed-only packages, hal rootstrap will be created like
below:
* rootstrap for common packages:
Package name: hal-rootstrap
Directory: /opt/data/hal-rootstrap/common
* rootstrap for headed-only packages:
Package name: hal-rootstrap-headed
Directory: /opt/data/hal-rootstrap/headed
Speaking of hal backend packages, they should do "BuildRequires" like:
* If backend package requires headed packages, do "BuildRequires"
for both hal-rootstrap and hal-rootstrap-headed.
* If backend package does not use any headed packages, do
"BuildRequires" for hal-rootstrap only.
Change-Id: I0b0576a73299d3dd92cc404cc547b295ff9a0355
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Change-Id: I37f1cc44c4ff6c22cecbe4b93ddf34d8e2f9ee98
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Add legacy hal-backend pacakge name into target_package_name.
Change-Id: Iaa2fa807eb7c30cdbe19ccfe82ae23c1216a18a0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
allowed_buildrequires/buildconflicts
kernel-header packages depends on hardware. So that it needs to allow
the kernel header packages for each hardware device.
But, Tizen provides the standard kernel header package as
linux-glibc-devel. In order to prevent the conflict between
linux-glibc-devel and kernel-headers-[soc or vendor] package,
add kernel header packages to buildconflicts.
Change-Id: Ib2e57e451484c20420d281b0f9ae94716cbd08c9
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Change-Id: I7d4fd5efb37b88d2b4fff641a1d565c5fd1a725b
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: Ic14319f594b5330735995fe06290fc73b9620fd7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
The hal-rootstrap-checker is mainly for screening packages out from
build that have dependencies to unmanaged, especially ABI incompatible,
packages. It operates after every %install stage of rpmbuild, aided by
rpm macro. Those managed/unmanaged packages can be configured by yaml
file described below.
The rpm package has implemented empty macro,
%{__hal_rootstrap_checker_install_post}
and the rpmbuild has gained 'Requires' dependency to the
hal-rootstrap-checker, making the hal-rootstrap-checker overwrite the
macro with its macro, executing hal-rootstrap-checker.sh. See
hal-rootstrap-checker-rpmmacros.
The hal-rootstrap-checker.sh can be configured by yaml file with the
same name. The default one is
/etc/hal/rootstrap/hal-rootstrap-checker.yaml.
And there can be another one,
/etc/hal/rootstrap/rules.d/hal-rootstrap-checker.yaml,
which shades the default configuration, and it gives a way for applying
custom defined configuration.
For those details about configuration attributes, see the yaml file.
Change-Id: I354f154fa6ac670c2e95fc09b947dbc4ecfaf229
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
profile build"
This reverts commit 5f703890697b243d25698669ec2e6920cf351343.
There are no hal-rootstrap-tv pacakge. It causes the build break on TV
profile build. After creating hal-rootstrap-tv package, will restore it.
Change-Id: I0af8e811f913c5c3468b750c5f745681038e0fc9
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Conditions:
1. The .xml files are separated as another repository and its install
location is under /tmp.
2. The convert32.sh and convert64.sh scripts convert paths in the .xml
files as their architecture(ex: /usr/lib -> /usr/lib64) and they
searchs .xml files under its abuild directory.
According to conditions above, it is unable to convert architecture
specific paths of .xml files. Thus, some files are not copied.
To solve this problem, .xml files under /tmp are copied to abuild
directory. (manipulating .xml files under /tmp directory causes
permission problem, so they should be copied beforehand)
Change-Id: Iedc303c1720e41e33b2970b765630f7b5080054d
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Generate hal-rootstrap including the packages maintained in
hal-rootstrap-tv when TV profile build.
Change-Id: Iad74a2e3a847b225ddb97766086629a579fe20d0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
hal-rootstrap-[profile] will install the rs_resource files into
/tmp/rs_resource path and then hal-rootstrap.git will get the xml of
package information under /tmp/rs_resource/ directory.
Change-Id: I7d83b9abc7c987cfa141bce71cbb18a9b9c1c6b7
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Separate the package maintenance from hal-rootstrap generation
script/config in order to add/remove/update the packages included in
hal-rootstrap according to GBM policy. So that move all package
information to hal-rootstrap-common.git.
hal-rootstrap-*.rpm is composed with hal-rootstrap.git, hal-rootstrap-common.git
and hal-rootstrap-[profile].git to make HAL rootstrap.
hal-rootstrap.git contains only scripts and configuraiton to make HAL
rootstrap and doesn't contain the any detailed package information.
All pacakge information should be maintained on hal-rootstrap-[profile].git.
hal-rootstrap-common.git includes the maintained packages by public Tizen
and each hal-rootstrap-[profile].git is able to handle the GBM packages.
For example of combination of hal-rootstrap packages,
hal-rootstrap + hal-rootstrap-common
hal-rootstrap + hal-rootstrap-common + hal-rootstrap-tv
hal-rootstrap + hal-rootstrap-common + hal-rootstrap-tv + hal-rootstrap-ballie
hal-rootstrap + hal-rootstrap-common + hal-rootstrap-da
Change-Id: Id794588b646bbe65b8df1fd4a5e092a995c26bcb
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Before this patch, there were omitted several types header files.
It caused build fails, thus hal-api-device module types header is added.
Change-Id: Id6384a9d0a8e29c0124c1a049d4f5517e623f28e
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
<file_riscv64> tag is added to the xml files and the files are modified
if there is riscv64-specific files.
Change-Id: I0611d0acee3b79068a7ccc7d5a135fd16a167d6f
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Since the files are downloaded in one location, files are mixed together
and unable to know which file is belongs to a package.
To distinguish files for each package, the actual file paths are
specified.
Change-Id: I66c1ab5db2cf55cbf3c88c9cd4a30b33f9b2a89f
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Change-Id: I80cd1083012b23d4e4234f8e80b4299c6f120933
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A new package is added: platform/core/uifw/libtpl-egl
Change-Id: Ib97780d6a6cba1aa735f9156191e3be821165733
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
There are some scripts/files that useless/meaningless to use in hal
rootstrap.
These scripts are removed.
Change-Id: Iad384436fe0b00bf4a9f71384a992e0e59ad09d3
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
The '\s' in the regex for python means whitespace. Also, '\' is used for
escape sequence, so '\s' is ambiguous.
In python, to remove this ambiguity, '\\s' is used for whitespace.
In modify_pc.py script, '\s' is used so python raises warning. To remove
this warning, '\s' is replaced with '\\s'.
Change-Id: Ic879fa46d5919082a4b6ab8a3294dff19e61a0dc
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
In the .xml files, necessary files are specified and they are copied to
the final .rpm product. These files are depends on the architecture
being built.
Previously, necessary files are separated with only 32-bit and 64-bit,
but there are differences of necessary files between other
architectures, like x86_64 and i686.
Thus, tags below are added to distinguish them:
* <file_arm> for armv7l and armv7hl
* <file_aarch64> for aarch64
* <file_i686> for i686
* <file_x86_64> for x86_64
Change-Id: I9f7537b396e48036f4f73a366c15e4c3ccb5bd59
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Finding the parameters for the postlinker was not working since the
finding location was ${DEST}, which is useless variable.
It is fixed with ${GBS_BUILDROOT}.
Change-Id: I393227cfc605335ee4a7bc015be6fcc21151724a
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A new package is added: platform/core/system/tizen-platform-config
Change-Id: I799de105bbbb4bfcdd0152974914791783f34e02
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Change-Id: I7a049c0544cff2544b5fdf11de2a95a848cec901
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
header
Change-Id: I74874e0406a09bffebc468e67236946374466360
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
A new package is added: platform/upstream/libdrm
Change-Id: Icd942fb9da352190594409f9df3310e6d0bda295
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A new package is added: platform/core/api/peripheral-io
Change-Id: I901b93abfa00d34133c02cb8a61e55e13c0fb372
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Change-Id: Ifcd4fc8c04c5078fd6d45348c834493d6c4d84a3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
The name of xml was 'trace' and it is renamed as 'ttrace'.
Also, the name of .pc file(ttrace.pc) is written explicitly.
Change-Id: I687c67a4bc5fa7f76862ece64872582910002733
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A new package is added: platform/upstream/systemd (libudev only)
Among the files in the systemd, only libudev package will be included.
Change-Id: I4eb54b78d131d99927b88834db42f3138fe770dd
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Previously, the <necessary> section of json-glib-rs.xml was just an
asterisk("*"), which cannot be used in hal rootstrap.
To make hal rootstrap include the files of json-glib, necessary files
are added to the <necessary> list.
Also, the BuildRequire for json-glib is changed to use 'pkgconfig'.
Change-Id: Ia1672b140f966a3ee9c51d0bb8e9c1bcd652e403
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A new package is added: platform/upstream/libusb
Change-Id: I96ec2de0b124d773479cff68311e55facbcfceeb
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
A new package is added: platform/upstream/alsa-lib
Change-Id: I7f72a62941c909debe1d030e98418a8ee863baca
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Change-Id: I046f9806e0caaef0bd847482d065929743f5aec0
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
hal-api-common has created the libhalcc.so. But, it is not used anymore
and then is removed from hal-api-common.
Change-Id: I87049c0aad8e2f502e26c879402bdc3cb46c6d3b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Change-Id: I509c779ac924cb125f04c257f965208f35cd8234
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Change-Id: Ie83c2fe3078dcd716330a584fd607792930fc0b3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Change-Id: If85dda009888c8b7cc657bfe59a0388f731acd0f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
In the error handling codes, allocated resources were not freed
correctly.
To fix this, resource free codes like fclose and free are added.
In addition, memory allocation failure checking code is added right
after the malloc.
Also, 'return 0;' is added to the main function of postlinker_64.c since
it did not have it.
Change-Id: I9ea6dc96267c7760596b9260ef9f0d27f1a79b19
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
Unused / unnecessary / useless codes from postlinker source code are
removed. They don't affect the original functionalities of postlinker.
Also, postlinker is built during the gbs build, the pre-built binaries
(postlinker and postlinker_64) can be removed.
Change-Id: If5567459ceb7461bc7072145997aec7eb2ab62d4
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|
|
For the readability of postlinker.c and postlinker_64.c, indentations
and arrangements are modified.
Change-Id: Ic8073bc29bc4c4626fad3703ab786d2af987efd5
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
|