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>
We save off the top commit into a new file called 'gitrev'. This will help
us automate exploded tree creation by providing a simple file to read to
get the exact upstream commit to use as the base.
Before it would just error out because it was only looking at the patch-
listings in the sources file. So now we let it do that, and if the VER
variable is null after we just assume it's the first git snapshot of the
merge window and figure out the version from the linux- tarball.
Why I didn't fix this sooner, I have no idea. Probably because it only
happens 4 times a year and laziness wins the day.
There are two reasons for this. The first is that there is much more
context around the changes. The second is that this will make automating
an exploded git tree much easier to manage.