Age | Commit message (Collapse) | Author | Files | Lines |
|
-Wimplicit-int
-Wimplicit-function-declaration
-Wincompatible-pointer-types
-Wint-conversion
https://gcc.gnu.org/gcc-14/porting_to.html
Change-Id: I74da101085ce85c63adec4e4bb5df92b464d746b
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
|
|
This reverts commit be0ba8d1741898ea3388c9f9008edbcbc620fe66.
Change-Id: Ic271cd93e3d78c97451da3d84808a457c748bca5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
modules package(s)"
This reverts commit f27241ce6c9fb6f7b8b6f3426dc366dc1c051b1d.
Change-Id: Iacaa2db26d4d3e927942c51305f146db371eb4bb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
package(s)
RPM currently do not properly generate ksyms Provides for kernel image in EFI COFF/uImage
formats. However, the Requires ksyms generation simply extracts symbols from ELF .ko,
resulting in uninstallable modules package (as it has Requires to ksyms that is not
provided by kernel image, see example at the end).
The problem appears not for regular modules package but for modules package that
are handled via baselibs.conf. Preciesely, it looks like RPM uses host-native
macro scripts in /usr/lib/rpms/fileattrs/* for regular packages, while packages
converted according to baselibs.conf use macros from GBS-ROOT chroot.
Regular packages:
$ rpm -qp --requires linux-tizen-modules-rpi4-7.5.0-0.aarch64.rpm
/bin/sh
arm64-rpi4-linux-kernel-modules
bash
coreutils
findutils
kmod-compat
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
$ rpm -qp --provides arm64-rpi4-linux-kernel-5.15.92-0.aarch64.rpm
arm64-rpi4-kernel-uname-r = 5.15.92-arm64-rpi4
arm64-rpi4-linux-kernel = 5.15.92-0
arm64-rpi4-linux-kernel(aarch-64) = 5.15.92-0
kernel-uname-r = 5.15.92-arm64-rpi4-v8
linux-kernel = 5.15.92-0
Packaged generated using baselibs.conf:
$ rpm -qp --provides arm64-rpi4-linux-kernel-aarch64-5.15.92-0.armv7l.rpm
arm64-rpi4-linux-kernel-aarch64 = 5.15.92-0
arm64-rpi4-linux-kernel-aarch64(x86-64) = 5.15.92-0
$ rpm -qpl --requires linux-tizen-modules-rpi4-aarch64-7.5.0-0.armv7l.rpm
/bin/sh
bash
coreutils
findutils
kmod-compat
ksym(v8:__arch_copy_from_user) = 12a4e128
ksym(v8:__arch_copy_to_user) = 6cbbfc54
ksym(v8:__bitmap_or) = a084749a
ksym(v8:__get_free_pages) = 6a5cb5ee
ksym(v8:__get_task_comm) = 451222
ksym(v8:__init_rwsem) = c22d4503
ksym(v8:__init_waitqueue_head) = 3bf4d690
ksym(v8:__kmalloc) = eb233a45
...
The ksyms() are generated by find-requires.ksyms, causing linux-tizen-modules-rpi4-aarch
package to be uninstallable.
This commit drops find-requires.ksyms and find-provides.ksyms making baselibs and
regular packages to have same set of dependencies generated automatically.
Change-Id: Ib4c16064a11f8693d5558baec49ed85e8c2d776b
|
|
We no longer need custom version of find-provides.ksyms as upstream
version of rpm already provides it.
Change-Id: I39a8d7759df790cf404e3d8c4eb765d8c60f0e56
|
|
fix msmmanifest.c svace issue: make sure ac_domain->name not NULL before sprintf()
Change-Id: I2bf7a71e478569fec4d101e41c42776d9c7916a3
Signed-off-by: wangbiao <biao716.wang@samsung.com>
|
|
Change-Id: Iebcaa7de2dd57dc740cb1f99ab4c0c505d39de56
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
|
|
|
|
|
|
Refering to https://review.tizen.org/gerrit/#/c/platform/upstream/rpm/+/290901/
Change-Id: I798a42a08b0ffaa67561a20fc44c03d98d30e002
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: Iae6213d5dc5d4e3b21c88c142a73b29a59c3122c
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
Change-Id: I05f6644bf914476880e91f4b2641e234cc23418e
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
Switching to Binutils wrappers for ar, nm and ranlib are required for proper
functioning of Link-Time Optimization features. Currently full support of LTO
plugin is not ready in Binutils, so we need to use wrappers to prevent
"undefined reference" errors:
https://gcc.gnu.org/wiki/LinkTimeOptimizationFAQ#ar.2C_nm_and_ranlib
Change-Id: I7b6cdd8d29588014d9dc1d9ea8ec91414ae95260
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
|
|
when writing multiple %files, it means they are packing for main package,
the variable will be NULL. It will happen segment fault at strncmp function.
Change-Id: I3e5bd6f9e1cb774b4d7f97a9f6522d66361009b8
Signed-off-by: wang biao <biao716.wang@samsung.com>
|
|
The macro makes it easier to prepare a separate configuration for ISU package.
Files from path %{BUILDROOT}/etc/isu/ are packed into a separate rpm
package: %{name}-isu
In addition, pattern occurrences are substituted:
#NAME# - %{name}
#VERSION# - %{version}
#ISU_CONFIG_PATH# - /etc/isu
#ISU_INSTALL_PATH# - /opt/isu
#ISU_RUN_PATH# - /run/isu
Change-Id: Ia60a964165a9a838fb3422ded0410402924c5adf
|
|
Change-Id: I172f3fada936e6af8026afe647f475b5b086c258
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: Ib0394ae94b21938a4ec886877b481d8254515c2f
|
|
Patch borrowed from OpenSUSE rpm.
Change-Id: Idf138d3b8c4f66c5c470f3d28c9f6ac238fdb545
Origin: https://build.opensuse.org/package/view_file/Base:System/rpm/auto-config-update-aarch64-ppc64le.diff
Fixes: 5bc7b1f94 ("Update autotools files on aarch64")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
I spot it while adding support for zstd compressed metadata in
URPM/urpmi, which was broken by this typo
typo introduced in commit 3684424fe297c996bb05bb64631336fa2903df12
Change-Id: Icce1987c217e638f5f3f74b4ec72b8e5e1d92d84
Origin: https://github.com/rpm-software-management/rpm/commit/c464f1ece501346da11ed7582b8d46682363a285
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
This patch is compatible with old writing way in spec file for vd projects.
in some vd project, there is such section:
%file debuginfo
XXXXX
In current logic, there is no need to write this way in rpm 4.14, it will check if
there is XXX.debug kind of files, if there is none, no debuginfo package is generated.
But in vd projects' spec, it put some files which is not XXX.debug files to debuginfo package,
this is not allowed in rpm 4.14.
Change-Id: I735bed46de8b6c67fb0730476544075d332b46b4
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I4ecc81988f64c395aef10b4f7c089fba1cc9e614
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
signature header
https://github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21
have to change something to apply this patch.
Change-Id: I7a9ca96884f5a6181bfe156b1dd59a6cf10f36f7
Signed-off-by: wang biao <biao716.wang@samsung.com>
|
|
https://github.com/rpm-software-management/rpm/commit/8f4b3c3cab8922a2022b9e47c71f1ecf906077ef
Fix CVE-2021-3521: Validate and require subkey binding signatures on PGP public keys
https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8
Change-Id: I3daeff22a4f7240923cb1eb82bc9822cd3737d86
Signed-off-by: wang biao <biao716.wang@samsung.com>
|
|
HWASan uses SIGTRAP to report an error. Do not block it.
Change-Id: I5c89ae4930a3cb2edddbc3034d430356557cddba
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
|
|
Tizen 6.5 feature supports new /hal path which including the HAL backend
packages depend on h/w device. Need the following macros for HAL backend
packages:
- %{_hal_bindir} : /hal/bin
- %{_hal_sbindir} : /hal/sbin
Change-Id: I758eec8cd2a21849f21d254f29a911cc2862b828
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Change-Id: I6492ba2f49b43470edff096685621147bdadbcfc
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: Ia689033d2c145335fcc0038651a6b6ee66dad518
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Tizen 6.5 feature[1] supports new /hal path which including the HAL backend
packages depend on h/w device. Need the following macros for HAL backend
packages.
- %{_hal_prefix} : /hal
- %{_hal_libdir} : /hal/lib64 or /hal/lib
- %{_hal_includedir} : /hal/include
- %{_hal_sysconfdir} : /hal/etc
- %{_hal_datadir} : /hal/share
- %{_hal_licensedir} : /hal/share/licenses
Change-Id: Ica958dbef37b1b23762c7b5e337161b3d8e0498b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Change-Id: Iab5438d6e4d45c937b191c03e9ef5dd3fad165c8
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
attr/xattr.h not found).
attr package's version be upgraded since Tizen 6.5
<attr/xattr.h> header; use <sys/xattr.h> instead
Change-Id: I5a6dd9a2923ec0d2a4f15f9e608219448bdaa634
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
|
|
https://code.sec.samsung.net/jira/browse/TSIX-3628
The external pointer(keyp) refers to a local variable(mi_offset),
but beyond the scope of the local variable, the pointer is still referenced.
Change-Id: I2a9ee984e3e290a8f41c7d3cf4444786e087c41b
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
|
|
find-debuginfo.sh erroneously detected files with 'debug' in name as
files which do have debuginfo sections.
Change-Id: Ie18714130f2ee315cdabf56e521eb6f63cb98e8b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
This removes errors like
cpio: glibc-2.24/csu: Cannot stat: No such file or directory
Change-Id: Ib1a710b72a44be4bc5fd2e6871ef277c66068149
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
This reverts commit 4998addba8f80a46875b84d7a9a20f4ccddff863.
From https://gcc.gnu.org/gcc-6/changes.html
The default mode for C++ is now -std=gnu++14 instead of -std=gnu++98.
Change-Id: I6a0ea547436bc22352ca15df9da52fab73de582c
|
|
|
|
1. Debug information was not connected with stripped part without .gnu_debuglink
(eu-strip creates this section automatically)
2. chmod 444 was wrongly propagated to the binaries with the same .debug.id when
we put stripped output in the initial input.
Change-Id: Ie82a46daf8d8aaea0c3f31d97e99fabc6e8bf68f
|
|
Change-Id: Ie77018682ed64f7f55eb7f40bf153578801f2a30
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
eu-strip doesn't support custom section removing other than .comment:
$ /usr/lib/rpm/find-debuginfo.sh --strip-option=--remove-section=.gnu.build.attributes ...
eu-strip: -R option supports only .comment section
find-debuginfo.sh selects strip/eu-strip based on:
if [ "$STRIP_DEFAULT_PACKAGE" != "binutils" ];
So nothing is changed without:
%define _enable_binutils_strip 1
%define _rpm_strip_option --remove-section=.gnu.build.attributes
Change-Id: Ie37c61c3ae2b91a37ab57c92b96e459bfed7a698
|
|
Change-Id: I68eca62b65b69a5535626c757a2826262a842eb0
|
|
`uname -m` command does not correctly identify the architecture to
build the package because the buildroot architecture may be different
from the kernel architecture
Change-Id: Ic88898ddd9317301305a2c5c676857186ccb96ac
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
|
|
Without setting 'rc' code packing is failed with OK message:
[ 2687s] error: Can't parse BUILDINFO tag: unknown error
[ 2687s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/tizen-locale-0.1-2.49.armv7l.rpm
As the result rpm was not wrote and process exits successfully without errors.
Change-Id: I56a2a99b4347e056f79beda21180d1013148f4b6
|
|
Change-Id: I99dcdb6bbd713eef5ce2e9c85fa6c532ac45e04a
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
This allows to change %_buildinfo tag during the package build if required and
allows customization of tag basing on build environment, e.g. for ASan builds.
Change-Id: I0104c0eed3c16ac6edccc2c7a74fb12d38fff8aa
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
The tag is intended for storage of Sanitizer build information or toolchain
details. The tag is array of strings and it can be added to .spec file using
line
BuildInfo: buildtag1 buildtag2
or by defining tag trough
%define _buildinfo buildtag1
Also the tag value can be queried using regular rpm query syntax:
rpm -qp --queryformat "[%{BUILDINFO}\n]"
The storage is intended for use at least for sanitized firmwares, but can be
reused for storing any information required for Tizen build details.
Change-Id: Icfc0c384c5a5d3b82973ee0be9345e396723174c
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
LD_AS_NEEDED env variable is not supported
Change-Id: I4727e323a3b79129e22942224366931861776a99
|
|
|
|
This reverts commit 079d890dfd09f5c175d05387c05bfdd7e47c66b4.
It results in build failure on x86_64 architecture
Change-Id: I81ffe5e19ad252c27549f3f3c2ccfd16dceed6a6
|
|
Change-Id: Id6a78df4c4683ebf348915b24d5f6fefe2b429e5
|