Commit Graph

189 Commits

Author SHA1 Message Date
éclairevoyant
3ed3b45658
grub2: generate manpages
This appears to add 27.8 KiB to the closure
2024-08-10 15:17:03 -04:00
Samuel Dionne-Riel
14afd33f1c grub: Drop samueldr as maintainer 2024-06-20 20:47:14 -04:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Arnout Engelen
db2b9eb139
grub2: make localization resources deterministic
by taking them from the release tarball instead
of from the (nondeterministic) translation portal.

See also https://github.com/NixOS/nixpkgs/issues/245356
Fixes https://github.com/NixOS/nixpkgs/issues/263095
2024-06-02 14:45:36 +02:00
Artturin
85ed61f0b7 grub2_xen: set to x86_64-linux and i686-linux only
from grub's configure.ac
2024-05-02 22:11:48 +03:00
K900
6963cd0de2 grub: 2.12-rc1 -> 2.12 2023-12-20 21:13:31 +03:00
Linus Heckemann
d28eb7c5fb grub: apply fixes for CVE-2023-4692 and CVE-2023-4693 2023-12-11 18:11:13 +01:00
Arnout Engelen
0e7db531df
Update grub translations 2023-10-25 12:19:51 +02:00
Sergei Trofimovich
eafc041a19 grub2: workaround parallel build failure by building .po files sequentially
Without the change `grub2` build occasionally fails as:

    https://hydra.nixos.org/log/h04imslmgy9l33z6xxsaf9v4svqsc3n2-grub-2.12-rc1.drv

    $ msgmerge --update  --lang=de de.po grub.pot
    $ msgmerge --update  --lang=de de.po grub.pot
    ...
    de.po:745: end-of-file within string
    de.po:745: missing 'msgstr' section

Here `msgmerge --update` attempts to update `de.po` from two parallel
`make` calls when translation updates are happening.

The change works around `de.po` stomping bu regenerating translations
sequentially.

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2023-08-13 21:54:17 +01:00
K900
9cf6fd8965 grub2; unstable-2023-07-03 -> 2.12-rc1
This is effectively a noop update.
2023-07-11 16:08:35 +03:00
K900
dca45ca8ea grub: revert commit that broke reading (some) files on (some) XFS filesystems
Fixes LVM installer test.
2023-07-08 16:28:57 +03:00
K900
163b243c2a grub2: 2.06 -> unstable-2023-07-03
- build from latest git
- remove all the backports
- manually forward-port + vendor the hiddenentry patch (original link was dead btw)
- vendor (and check) the exact gnulib version grub wants
2023-07-06 22:04:54 +03:00
K900
60b63941c6 grub: backport patch to fix e2fsprogs 1.47 incompatibility 2023-05-31 18:51:24 +03:00
Thomas Gerbet
48b821d2f1 grub2: remove the beta mention from the meta.description
GRUB is not considered beta anymore.
2023-05-18 18:09:27 +02:00
ajs124
96fbdcedcd trustedGrub: remove 2023-05-10 22:17:56 +02:00
ajs124
6db7450827 nixos/installer/grub1: remove 2023-05-10 21:51:26 +02:00
ajs124
a8d9014274 grub2: move file to default 2023-05-10 21:51:26 +02:00
ajs124
4233784810 grub1: remove 2023-05-10 21:51:23 +02:00
Samuel Dionne-Riel
1b0cd6bcda grub2: Pull upstream patches for flicker-free boot 2023-03-08 22:18:13 -05:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Felix Buehler
cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
misuzu
7bce426a3e grub2_pvgrub_image: fix evaluation on armv7l-linux and riscv{32,64}-linux 2023-01-30 19:21:37 +02:00
Shawn8901
133fa5f867 treewide: remove global with lib; in pkgs/tools 2023-01-24 17:41:44 +01:00
Artturi
ee5e15cf2d
Merge pull request #208614 from LeSuisse/grub2-CVE-2022-2601-CVE-2022-3775 2023-01-15 23:23:33 +02:00
Nick Cao
2ec6e40b0c
Merge pull request #184526 from dramforever/grub2-riscv
grub2: Add support for riscv{32,64}-linux
2023-01-13 14:34:15 +08:00
Thomas Gerbet
df5d6a371a grub2: apply security patches
Fixes CVE-2021-3981, CVE-2021-3695, CVE-2021-3696, CVE-2021-3697,
CVE-2022-28733, CVE-2022-28734, CVE-2022-28735, CVE-2022-28736,
CVE-2022-28737, CVE-2022-2601 and CVE-2022-3775.

https://lists.gnu.org/archive/html/grub-devel/2022-06/msg00035.html
https://lists.gnu.org/archive/html/grub-devel/2022-11/msg00059.html
2023-01-06 20:13:52 +01:00
José Romildo
adb14b1722 grub2: fix initrd in menu entries for probed systems
Fix an issue where initrd images are separated by ^ instead of
space. This was ocurring with menu entries for probed linux operating
systems.

See https://savannah.gnu.org/bugs/?47681
2022-09-05 09:51:04 -03:00
dramforever
a77366a266 grub2: Add support for riscv{32,64}-linux 2022-08-01 16:56:34 +08:00
Robin Gloster
272829bc54
grub2: rename patch confusing vulnix 2022-07-25 12:58:12 +02:00
William Johansson
10598526b0 grub2: fix build on pvgrub 2022-07-15 23:14:10 +02:00
Guillaume Girol
7a32e42b96 grub2: separateDebugInfo = true 2022-05-14 12:00:00 +00:00
Felix Buehler
c0e4a932cd trustedGrub: switch to fetchFromGitHub 2022-03-14 19:32:49 +01:00
Sandro
64a3fb4713
Merge pull request #146927 from trofi/fix-grub2-on-binutils-2.36 2022-02-08 03:16:24 +01:00
Robert Schütz
d5cceedbd1 python,pythonPackages: make aliases
Since aliases are disallowed in nixpkgs, this makes usage of Python 2
which is EOL more explicit.
2022-01-16 18:39:59 +00:00
github-actions[bot]
941a6593c8
Merge master into staging-next 2021-11-30 00:01:51 +00:00
Artturin
8191c8e226 grub2: fix buildPackage bash shebang 2021-11-27 06:19:49 +02:00
Artturin
76e515cb26 grub2: switch to release tarball
for the localization files
2021-11-27 05:41:34 +02:00
Sergei Trofimovich
65c327d4b6 grub2_xen: pull upstream fix for binutils-2.36
Without the change linkage on binutils-2.36 fails as:

    ld: section .note.gnu.property VMA [0000000000400158,0000000000400187]
      overlaps section .bss VMA [000000000000f000,000000000041e1b7]
2021-11-21 21:06:53 +00:00
Victor Engmark
57b496ea98 misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
2021-11-14 16:04:46 +13:00
github-actions[bot]
c435b0e35f
Merge master into staging-next 2021-09-11 18:01:16 +00:00
Sergei Trofimovich
1d7917e64e trustedGrub, trustedGrub-for-HP: apply upstream fix for fresh glibc 2021-09-11 13:19:47 +01:00
Felix Buehler
999758f9e6 grub: replace name with pname&version 2021-08-01 23:48:52 +02:00
ajs124
bc9027b3dc
Merge pull request #126585 from helsinki-systems/upd/grub2
grub2: 2.06-rc1 -> 2.06
2021-07-15 20:57:04 +02:00
gfrascadorio
7128fc621d grub: latest gnulib requires autoconf 2.64 2021-07-13 10:44:23 -06:00
ajs124
963b0a1dbf grub2: 2.06-rc1 -> 2.06
* GCC 10 support.
* clang 10 support.
* SBAT support.
* LUKS2 support.
* Drop small MBR gap support.
* Xen Security Modules (XSM/FLASK) support.
* The lockdown mechanism similar to the Linux kernel one.
* Disable the os-prober by default.
* Many backports of GRUB distros specific patches.
* BootHole and BootHole2 fixes.
* XFS bigtime support.
* ...and tons of other fixes and cleanups...
2021-06-11 12:56:08 +02:00
Samuel Dionne-Riel
ebe8b87ae7 grub2: Add support for armv7l-linux 2021-05-04 19:37:48 -04:00
Samuel Dionne-Riel
d999e2544b grub2: Add support for hiddenentry
The iso image will use this to allow switching to the text console.
2021-05-01 17:43:00 -04:00
Samuel Dionne-Riel
c89ff38c8b
Merge pull request #119711 from delroth/grub2-cross
grub2_efi: fix cross-compilation
2021-05-01 17:39:41 -04:00
Pierre Bourdon
4df002c432 grub2_efi: fix cross-compilation 2021-05-01 17:01:50 -04:00
Samuel Dionne-Riel
6be41a3545 grub2: Add samueldr as maintainer 2021-04-25 20:07:35 -04:00