Commit Graph

39 Commits

Author SHA1 Message Date
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
Dave Jones
ac1a857eb1 some tweaks to make the changelog version more correct 2012-02-28 11:26:27 -05:00
Dave Jones
c325fa4fd0 add a script to generate the git snapshot. 2012-02-28 11:18:09 -05:00
Chuck Ebbert
5ae7978615 bumpspecfile: get user name and email from git config 2011-11-29 05:45:06 -05:00
Kyle McMartin
cb23ecf36c Drop bit-rotted scripts 2011-10-31 16:13:17 -04:00
Kyle McMartin
bf30a40f01 Prune junk from Makefile 2011-10-26 14:26:46 -04:00
Chuck Ebbert
9c94e213e1 Fix up scripts/sort-config so it works again. 2011-09-07 19:40:53 -04:00
Dave Jones
f29a760a48 make grablogs work again 2011-08-27 13:27:59 -04:00
Kyle McMartin
0ca2d8f721 update to 2.6.39-rc5-git1 2011-04-28 16:22:58 -04:00
Kyle McMartin
b2d50f49cb nuke 'FILES' use with fedpkg upload 2011-04-13 13:16:05 -04:00
Kyle McMartin
1314bc4fdb fix up scripts/rebase.sh to work in the new git world
(i started re-writing it in python, because man is it ever gash.)
2011-03-11 09:22:59 -05:00
Kyle McMartin
71f70cd13e utrace update
Conflicts:

	kernel.spec
2011-01-22 13:43:13 -05:00
Kyle McMartin
da80d72ece First pass at 2.6.36-rc1 2010-08-17 16:07:07 -04:00
Roland McGrath
11487c5358 Restore README.txt, scripts. 2010-07-29 19:24:43 -07:00