Commit graph

25 commits

Author SHA1 Message Date
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
d9b4391717 grub: disable stackprotector hardening 2016-02-24 22:54:34 +00:00
Robin Gloster
53b389327e refactor to use autoreconfHook where possible
Close #12446.
2016-01-18 10:45:31 +01:00
Eelco Dolstra
2ed5c2bd6b Set some meta.platforms
Also fix meta.platform -> meta.platforms in a few places.
2015-03-20 20:04:42 +01:00
Bob van der Linden
decf15fd57 grub: make sure grub builds again (close #6774) 2015-03-12 23:05:54 +01:00
Shea Levy
0d80ab2dd9 Fix grub1 support 2015-02-08 22:28:42 -05:00
Longrin Wischnewski
6e7de2155b change md5sum to sha256sum for a few packages 2014-10-12 16:13:21 +02:00
Peter Simons
938486848e grub: fix download URL for grub-0.97-once.patch 2013-04-07 23:33:20 +02:00
Eelco Dolstra
2ebf8df601 * Apply the latest Gentoo patches to Grub 1.
svn path=/nixpkgs/trunk/; revision=31720
2012-01-19 21:08:33 +00:00
Eelco Dolstra
6021bcf0dc * Updated the GRUB 0.97 patchset from Gentoo to 1.10.
svn path=/nixpkgs/trunk/; revision=23715
2010-09-10 12:21:43 +00:00
Eelco Dolstra
808027219d * Provide support for the "savedefault --once" command in the Grub
shell.  KDE uses this to allow rebooting into a non-default
  entry.  To enable, do "nixos-rebuild switch --install-grub".

svn path=/nixpkgs/trunk/; revision=17341
2009-09-21 19:06:48 +00:00
Lluís Batlle i Rossell
b510addf20 Enabling by default the grub support for buggy BIOSes on CD boot.
Two of two, raskin and me, voted for this change.

svn path=/nixpkgs/trunk/; revision=16361
2009-07-14 18:23:53 +00:00
Lluís Batlle i Rossell
3a8a3c91f7 Adding a patch for grub, so livecds with grub can still boot with buggy bioses,
as those of Acer 292LMi or Airis N990. This allows booting the NixOS ISO releases.
I made it optional, not included by default. I don't think it would harm at all enabling
it always - let it be decided on forum.

svn path=/nixpkgs/trunk/; revision=16341
2009-07-13 16:57:33 +00:00
Eelco Dolstra
dda1e103fc * Latest Grub patches from Gentoo. In particular adds support for
booting from ext4.

svn path=/nixpkgs/trunk/; revision=13741
2009-01-12 12:39:16 +00:00
Eelco Dolstra
35cc272d07 * Handle symlinks such as /dev/disk/by-label/bla. Previously
Grub installation barfed.

svn path=/nixpkgs/trunk/; revision=12877
2008-09-18 09:43:31 +00:00
Eelco Dolstra
7d1ba0ace0 * gcc-wrapper: use the right dynamic linker when -m32 is used.
* An attribute `stdenv_32bit' that returns a stdenv capable of
  building 32-bit binaries.
* grub: build on x86_64-linux.

svn path=/nixpkgs/trunk/; revision=12211
2008-06-29 16:13:02 +00:00
Eelco Dolstra
8245a813fe * Latest Gentoo patches for Grub. Includes a fix for booting from
ext3 filesystems with 256-byte inodes (created by mke2fs >= 1.40.5
  by default).

svn path=/nixpkgs/trunk/; revision=11775
2008-05-08 10:40:17 +00:00
Eelco Dolstra
7cc6713bdd * Remove the Reiser4 patch from Gentoo, it broke Grub, with
a message like

    Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,5)/boot/grub/stage /boot/grub/menu.lst"... failed
    Error 15: File not found


svn path=/nixpkgs/trunk/; revision=10497
2008-02-04 14:35:15 +00:00
Eelco Dolstra
42e974a9fe * Apply all patches from Gentoo.
svn path=/nixpkgs/trunk/; revision=10175
2008-01-16 13:26:57 +00:00
Eelco Dolstra
7a3501953c * Grub: patch for splashimage support.
svn path=/nixpkgs/trunk/; revision=10062
2008-01-03 16:56:03 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1c4dd40460 * Grub requires a 32-bit Glibc. So use the i686-linux Grub on
x86_64.  (This fails to build unless Nix knows an i686-linux machine
  or it can get the Grub binary from a channel.)  Very nasty.

svn path=/nixpkgs/trunk/; revision=7757
2007-01-22 19:57:12 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
8c62c8966d add grub bootloader
svn path=/nixpkgs/trunk/; revision=3352
2005-07-18 09:18:07 +00:00