Mercurial > gub
changeset 5421:82260ec25d20
linux-headers: oops, do not [silently] depend on patch. Self-hosting fix.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Sun, 26 Jul 2009 23:24:31 +0200 |
parents | e7516c7a6674 |
children | c2e391c0b5ed |
files | gub/specs/linux-headers.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/linux-headers.py Sun Jul 26 23:07:33 2009 +0200 +++ b/gub/specs/linux-headers.py Sun Jul 26 23:24:31 2009 +0200 @@ -15,8 +15,11 @@ def get_subpackage_names (self): return [''] def patch (self): + self.file_sub ([('[.] [.]config-is-not', '. ./.config-is-not'),], + '%(srcdirs)/scripts/Configure') self.system (''' -cd %(srcdir)s && patch -p1 < %(patchdir)s/linux-headers-2.4.34-posix-fix.patch +#let's not use patch, and certainly not circumventing patch mechanism +#cd %(srcdir)s && patch -p1 < %(patchdir)s/linux-headers-2.4.34-posix-fix.patch cd %(srcdir)s && yes yes | make ARCH=%(linux_arch)s oldconfig symlinks include/linux/version.h cd %(srcdir)s && rm -f include/asm cd %(srcdir)s && mv include/asm-%(linux_arch)s include/asm