summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28Upgrade version to 4.14sandbox/wangbiao/rpm414_tizenbiao716.wang38-3934/+1105
Change-Id: Ifd629ba679a11ede4d831195c6aea2245efc3300 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2013-05-07Fix 32bit kernel builds by not using eu-stripWilliam Douglas1-5/+29
Right now 32bit kernel builds are failing because eu-strip is not performing safe operations. In order to work around this, use objdump as before when running a kernel build (by checking for a Kconfig file in the BUILDIR). Change-Id: I8c24eaab9e0ac1dfe21484522ce4e415d21fcb14 Signed-off-by: William Douglas <william.douglas@intel.com>
2013-03-06Keep function symbols for backtraces.William Douglas1-25/+16
In order to get minimal backtraces in gdb without installing debug-info packages strip packages with eu-strip -g. Also check for kernel modules and strip them without attempting to leave minimal function symbols in place (as this does not work correctly). Signed-off-by: William Douglas <william.douglas@intel.com>
2013-03-04update find-langAnas Nashif1-16/+30
2013-03-04Use find-lang from opensuseAnas Nashif1-47/+80
2013-02-02remove languages we do not yet supportAnas Nashif1-0/+17
2013-02-02debug linkAnas Nashif1-1/+2
2013-02-02Create a debuginfo package for each subpackage.Anas Nashif1-13/+10
Originally from opensuse rpm
2013-02-02Let debuginfo packages provide the build-idAnas Nashif1-0/+12
This patch lets debuginfo packages provide build-id like follows: debuginfo(build-id) = c63cb23876c5fa85f36beaff58f8557e1bf22517 Users can therefore ask zypper to install the correct debuginfo package with: zypper install -C "debuginfo(build-id) = c63cb23876c5fa85f36beaff58f8557e1bf22517"
2013-02-02Firmware dependenciesAnas Nashif1-0/+8
2013-02-02Do the symbolic links right in the first placeAnas Nashif1-3/+13
Since brp-symlink relinks symbolic links to enforce a certain policy we should do it right in the first place. So this patch changes find-debuginfo.sh scripts behavior to reflect that policy. Signed-off-by: Jan Blunck <jblunck@suse.de>
2013-02-02Split sources for debugging into separate -debugsource packageAnas Nashif1-3/+9
At the moment the -debuginfo package also include the sources where used to build the binary. The patches moves them into a separate package -debugsource.
2013-02-02Support a "first version wins" semantics.Anas Nashif1-1/+1
2013-02-02adding find-supplements scriptsAnas Nashif2-0/+131
2013-02-02Find debuginfoAnas Nashif1-16/+53
2013-02-02Exclude /usr/share/info/dir from check-files.Anas Nashif1-1/+3
2013-02-02brp for tizenAnas Nashif4-0/+17
2012-11-22Avoid locale issues in rpm2cpio.sh (RhBug:878363)Panu Matilainen1-0/+3
- In gawk >= 4.0.x printf() "adjusts" things according to current locale, but we need the data as it is. Forcing C locale prevents gawk from getting funny ideas about character conversions... (cherry picked from commit c0e95f1cedefd6d7522ef2cf7a2ada7c83821596)
2012-07-30Fix (well, loosen up) the valgrind suppression rulesPanu Matilainen1-4/+8
- The previous rules far too specific to glibc + gcc with certain optimization levels, eg relying on parse_auxv() getting inlined and when it does not, the suppression rules would no longer match.
2012-06-19Add valgrind suppression filePanu Matilainen2-2/+36
- valgrind is not happy about us now processing /proc/self/auxv on Linux, this can be used to suppress the false positives when running rpm under valgrind. At least until a better solution is found or valgrind is taught to treat /proc/self/auxv specially (see https://bugs.kde.org/show_bug.cgi?id=253519)
2012-04-23Fix quoting in brp-python-hardlink (patch from Jon Nelson)Panu Matilainen1-2/+2
2012-03-19Fix find-lang to correctly detect all translations for new gnome helpVincent Untz1-2/+2
This was not working for locales with a territory (fr_FR, for instance). Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2012-03-15Fix rpm2cpio.sh error exit on unrecognized compressionPanu Matilainen1-1/+1
- This is not a function so it needs to be exit, not return. Reported as a side-note in RhBug:803421.
2012-03-12Teach rpm2cpio.sh about xz compression (RhBug:674348 & others)Panu Matilainen1-0/+2
2012-03-07Teach find-lang about the new gnome help layout (RhBug:736523)Panu Matilainen1-0/+8
2012-03-07Generate debug symlinks for all filenames sharing a build-id (RhBug:641377)Jan Kratochvil1-0/+25
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2012-03-07Correctly quote tr [:blank:] in OCaml dependency scripts.Richard W.M. Jones2-3/+3
This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=796149 Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-12-14Fix brace matching on multiline constructs in perl.req (RhBug:752119)Joshua Megerman1-1/+2
- /usr/lib/rpm/perl.req scans for the opening brace type on lines, but then only scans for closing curly braces ('}') instead of the proper losing brace type when that closing brace occures on a different line. This means that any use/require statements that occur after the multi-line q{} statement but before the first closing curly brace in the file will be ignored. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-09-06Fix brp-python-bytecompile breakage from the recent whitespace patchPanu Matilainen1-1/+1
2011-09-06$RPM_BUILD_ROOT breaks brp-* scripts if it contains spaces (ticket #843)Jeff Tickle10-21/+22
- This patch adds quotes around $RPM_BUILD_ROOT in places that I noticed they were missing, and attempts to handle some of the problems that can occur when looping over the output of find. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-05-26Add -r flag to find-debuginfo.sh to invoke eu-strip --reloc-debug-sections.Mark Wielaard1-2/+11
- This is a new option to eu-strip that strips out/resolves relocations between .debug_* elf sections in ET_REL files. This can save a lot of space for kernel module. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-04-29Remove unneeded regex grouping.Ville Skyttä1-2/+2
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-04-29Comment spelling fix.Ville Skyttä1-1/+1
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-04-27Fix find-lang so that it finds *@*.qm QT i18n files (RhBug:699945)Jindrich Novy1-3/+3
2011-04-13Extract perl dependecies from "use parent qw(Foo)".Ville Skyttä1-2/+2
parent is a successor to base, with similar functionality. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-04-13Honor $TMPDIR in various scripts.Ville Skyttä3-7/+7
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-02-12Avoid emitting empty perl() module deps.Ville Skyttä1-1/+1
Test case from DOM.pm (perl-CSS-DOM 0.13): use # to keep CPANTS happy :-) strict; use # same here warnings; Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-01-28Comment spelling fix.Ville Skyttä1-1/+1
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2010-12-03Require pkg-config 0.24 for creating pkgconfig() dependenciesPanu Matilainen1-1/+6
- The support for --print-requires|provides was only upstreamed in pkg-config 0.24, prior to that it relied on distros patching their pkg-config. Rpm relying on non-upstream stuff is not good... Now that it's upstream we can make a clean break and simply not even try to generate the dependencies with anything older. - The upstreamed version behaves slightly differently from what distros were patching with, for rpm's purposes we also want --print-requires-private now.
2010-08-09Fix find-debuginfo.sh behavior on cross-directory hardlinks (RhBug:618426)Roland McGrath1-1/+1
- The find-debuginfo.sh script makes hard links of .debug files to correspond to hard links between install binaries. It can fail to create one of these .debug hard links if it's in a directory that didn't exist at that point in the script run. How this happens depends on things like the order "find" lists files, so it can be hard to reproduce off hand.
2010-08-09Create GDB index from find-debuginfo if possible (RhBug:617166)Tom Tromey1-0/+2
- Details in https://fedoraproject.org/wiki/Features/GdbIndex
2010-07-02Ugh, fix reversed condition on font-provide extractorPanu Matilainen1-1/+1
- braindamage in commit 53045d5dcdce3988e2586cb315b35e6a675a8152
2010-06-30Fix potential getOutputFrom() error on font provide extraction (RhBug:609117)Panu Matilainen1-1/+4
- if fonts are detected in the package being built but fc-query isn't present, the script exited without consuming stdin which can break getOutputFrom()
2010-06-29Extract dependencies from "use base qw"..."" and "use base qw'...'".Ville Skyttä1-2/+2
2010-05-20Search all locale dirs in find-lang.sh, not just those under share/ (#159)Till Maas1-3/+3
2010-05-04Don't process desktop files without Type=Application and Exec= linePavol Rusnak1-4/+6
2010-03-24More here-doc skipping fixes for perl.req (#128).Ville Skyttä1-2/+2
2010-03-15Lose ancient and bitrotten rpmdiff scripts (ticket #148)Panu Matilainen3-1497/+3
- More modern tools for diffing rpms exist, ones that use librpm instead of trying to parse the lowlevel header structures and tags by themselves. Nobody appears to use these scripts as they've been dysfunctional since eons ago, might as well drop them off.
2010-03-15Lose useless xinetd service stub (ticket #149)Panu Matilainen2-18/+2
- this never did anything to begin with, and BDB >= 4.8 doesn't support RPC at all so...
2010-03-01Emit highest versions of perl module deps, not first versioned ones found.Ville Skyttä1-4/+20
Requires the "version" module installed (perl >= 5.9 or separately), falls back to the previous "output first versioned one found" behavior if it is not available.