[ -n ] doesn't work on unquoted variables. The variable either needs to
get quoted or use [[ ]]. Without this the script always defines buildid.
Signed-off-by: Jeremy Cline <jcline@redhat.com>
This script detects unknown Kconfig symbols by checking whether the
Kconfig macros used in the various *.config files have a corresponding
Kconfig symbol in the tree. Its core test is done with grep().
It turns out that match pattern used in grep() is too broad. For
instance, it doesn't report CONFIG_ACPI_PROCFS as unknown because there
is a Kconfig entry for ACPI_PROCFS_POWER in the tree. Make the pattern
match Kconfig symbols exactly to correct this.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
With the introduction of the new method of configuration generation the
names of the shipped kernel configuration files changed too. Adjust the
glob pattern in the check-configs.pl script to those changed names.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
-rcs come out on Sunday night which means they get added to rawhide on
Monday. How anyone remembers anything on a Monday morning is completely
beyond me so add a hint to the rc script checking for Kerberos.
- Drop some debug output
- Make fixup-bumpspec executable
- copy kernel.spec.tmp back to kernel.spec
- Typo in grep command
- Increment base properly
- Actually grab/upload tarball
Many of the steps for day-to-day updates still require a lot of
manual steps which can lead to typos. Add a series of scripts to
make automate the manual steps and hopefully reduce errors. These
are a work in progress because having them in tree makes it easier
to work out issues.
The intent for this script is to make easier patch management
and documentation.
[labbott: Tweak help text]
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
It enables the builid macro and uses the name of the patch as
label instead of using rpmdev-bumpspec.
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
By default the scritp uses the kernel version of the upstream tree
set in LINUX_GIT. In the given case the the upstream tree and the
current tree do not have the same version use the --version=x.y
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
Download the build logs for a list of architectures. Only
downloads the logs if they are present in the server. Logs
are saved in logs directory within the source tree.
By default looks at build logs for i686, x86_64, noarch and
armv7hl.
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
The script requires LINUX_GIT to be set, preferably, in your
local .bashrc. I added a quick check to see if .bashrc exists
and check it first to see if LINUX_GIT is set there.
[labbott: Tweaked commit text]
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
After dicussing with Kernel Development team arrived to
the conclusion that this is an old script and not needed
anymore.
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>