Commit Graph

63 Commits

Author SHA1 Message Date
Laura Abbott
b82da9d02c Support adding the buildid to kernel-headers
Thanks to Paul Moore for this change
2019-09-30 07:21:30 -04:00
Laura Abbott
2e8af7cdf9 Update to work with 5.x 2019-09-23 08:21:52 -04:00
Laura Abbott
932464d850 Actually fix headers scripts to account for all archs 2019-07-18 11:54:09 -04:00
Laura Abbott
e41fdfd55e Fix the headers script 2019-07-17 08:12:11 -04:00
Justin M. Forbes
2b2a5f0a2e Linux v5.1-1199-g71ae5fc87c34 2019-05-07 12:04:31 -05:00
Jeremy Cline
02d1cba5ee Fix up the rawhide-rc.sh script for 5.x 2019-03-18 14:09:10 +00:00
Laura Abbott
1bde9dbcae Linux v5.0.0 2019-03-04 07:23:36 -08:00
Laura Abbott
63d40f4c3a More fixup of the headers script 2019-01-08 15:37:03 -08:00
Laura Abbott
2971bf5fd8 Fix this one too 2019-01-08 15:20:17 -08:00
Laura Abbott
b3cedc3d7b Switch from xz -> gz
The 5.0-rc are currently using gz tarballs. Account for this.
2019-01-08 15:14:13 -08:00
Paul Bolle
b8c626ce78 Adjust grep pattern for finding Kconfig symbols
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>
2018-11-08 10:38:58 -06:00
Paul Bolle
9964dac781 Adjust glob pattern for configuration files
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>
2018-11-06 09:43:31 -06:00
Jeremy Cline
fe2c7cc7f9
Exit immediately on failure in the header tarball script
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2018-10-10 09:58:52 -04:00
Justin M. Forbes
cd3842f362 Update headers script 2018-08-27 11:19:30 -05:00
Justin M. Forbes
6f6fba1dbd Add headers tarball creation script 2018-07-27 13:36:51 -05:00
Jeremy Cline
192ccb6e5f
Download patch signatures and verify them
Before uploading the source files, verify the GPG signature is good.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2018-04-09 11:31:10 -04:00
Jeremy Cline
9126994f39
Remote the generate-perf-man.sh script
The kernel-tools package now builds these man pages in its specfile.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2018-04-04 11:44:41 -04:00
Justin M. Forbes
e33877912b Add kernel-tools reminder for rc script 2018-02-19 17:21:49 -06:00
Laura Abbott
7e1781f06a Update -rc script for new kernel.org behavior
kernel.org is no longer distributing -rc tarballs and we have to
generate them oursleves. Update the script to do this.
2017-06-05 09:24:51 -07:00
Justin M. Forbes
a04e78a581 Add kvm_stat.1 to perf-man tarball to remove asciidoc from buildreqs 2017-05-02 16:44:26 -05:00
Laura Abbott
177691df09 Add kerberos check to rawhide rc scripts
-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.
2017-03-13 09:38:44 -07:00
Laura Abbott
3d652a572b Check for kerberos tickets in rawhide snapshot script
Fedora now uses kerberos for authorization to services. Gently remind
the user to get kerberos tokens if there are none available.
2017-02-23 15:20:54 -08:00
Laura Abbott
0757590438 Update snapshot script for new sources format
The sources format switched to sha512. Update the parsing to get the
kernel version from this.
2017-02-23 15:09:44 -08:00
Justin M. Forbes
6ff43e367a Linux v4.10-rc1-17-g2d706e7 2016-12-29 09:29:39 -06:00
Laura Abbott
4894ff88ff rawhide-rc fixes
- rcrev is a %global, not a %define
- base_sublevel needs to be +1 (see comments in kernel.spec)
2016-10-24 09:09:55 -07:00
Laura Abbott
1fdea39f75 Rawhide snapshot updates
- Check for trying to snapshot a git tag
- Check for nothing to do case
- Switch to using git -C in one place instead of a pushd
2016-10-17 11:55:45 -07:00
Laura Abbott
1b957b6a4f Stable script updates
Reset the base release and use rpmdev-bumpspec for changelog entry
2016-10-17 11:55:37 -07:00
Laura Abbott
1713b6251c Fixup rawhide RC script to actually work
- 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
2016-10-17 09:49:28 -07:00
Laura Abbott
2f50aa19db Add scripts for automatically generating builds
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.
2016-10-10 16:50:38 -07:00
Miguel Flores Silverio
14ee8bf7eb Script to highlight state of patches in tree
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>
2016-08-10 17:56:05 -07:00
Miguel Flores Silverio
77180b8690 update script to add a new patch
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>
2016-08-03 05:03:59 -07:00
Miguel Flores Silverio
8571affd22 Script to generate perf man tarball.
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>
2016-07-22 09:57:02 -07:00
Miguel Flores Silverio
52c10c85bf grab-logs.sh
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>
2016-06-22 18:02:24 -07:00
Miguel Flores Silverio
1869b36cb3 removes fast-x86_64
This script has been replaced by fast-build.sh

Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
2016-06-22 17:57:06 -07:00
Miguel Flores Silverio
e43790fe84 rpmbuild combination for bare minimum custom kernel
[labbott: Tweaked comment text to clarify]
Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
2016-06-22 17:56:19 -07:00
Miguel Flores Silverio
fb65b02dcf Set LINUX_GIT in .bashrc for generate-git-snapshot.sh
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>
2016-06-22 17:53:33 -07:00
Miguel Flores Silverio
07f6c14181 Removes bumpspecfile.py
No longer needed. Use rpmdev-bumpspec instead.

Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
2016-06-14 08:30:07 -07:00
Miguel Flores Silverio
a1045b62bd Removes rediffall.sh
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>
2016-06-14 08:29:48 -07:00
Miguel Flores Silverio
4f7dd5f508 Removes allarchconfig.sh
Functionality already implemented in kernel.spec file.

Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
2016-06-14 08:29:43 -07:00
Josh Boyer
eb17d7ebff Save the full sha1sum of the commit we generate patch-4.y-*-gitN from
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.
2015-09-28 10:14:34 -04:00
Josh Boyer
a2cb465af3 Add some quick local {cross}build scripts
Simple wrappers around using rpmbuild to turn off various things.  In th arm
cases, we can't cross build perf or tools anyway.
2015-09-16 08:23:20 -04:00
Josh Boyer
3c964af1eb Make the git snapshot generator work for -git1 patches
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.
2015-09-01 10:14:49 -04:00
Josh Boyer
2e4a6e0c85 Revert "Use git format-patch for git snapshots"
This reverts commit 6c66953153.

Turns out this is a bad idea.  It doesn't accomplish what I wanted
and it seems to confuse git-am.
2015-07-24 08:26:40 -04:00
Josh Boyer
6c66953153 Use git format-patch for git snapshots
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.
2015-07-23 11:11:21 -04:00
Josh Boyer
8985cfb689 Add check-configs.pl script from Paul Bolle
We can run this once per RC (or somewhat frequently) to keep the split
config-* files clean of dead Kconfig options
2014-11-11 09:57:11 -05:00
Kyle McMartin
5fda1eb42c generate-git-snapshot.sh: warn if $LINUX_GIT dir is unset 2013-07-18 20:14:24 -04:00
Josh Boyer
79b876cd70 Make generate-git-snapshot.sh work for merge window trees
Use sed to drop anything ending in -git.*.  That allows us to grab the version
information for the main tree while -rc* will still work later.
2012-07-31 16:18:04 -04:00
Josh Boyer
1f83f3a235 Drop CONFIG_USER_NS
Upstream e1c972b681bf118fcedb9fe2ed7a73de983aa5ef makes it depend on
UIDGID_CONVERTED which is only set when all of the subsystems have been
converted to be user namespace safe.  That defaults to Y whenever it happens,
so we'll set this after that point.
2012-05-25 16:14:15 -04:00
Dave Jones
384fed008d Move the 'prep all configs' to a separate script.
This cuts make prep time down from 53s to 10s on my desktop.
A full run across all archs can be done from within a source
tree by running ../../scripts/allarchconfig.sh
2012-03-19 17:30:04 -04:00
Dave Jones
80fb791180 auto-generate the gitN rev 2012-02-28 11:51:25 -05:00