Go to file
Anthony PERARD db1faedccd templates/linux_xen: Fix XSM entries generation
It turns out that setting $xen_version in linux_entry_xsm() override
$xen_version in the loop over $reverse_sorted_xen_list. This means
that only one entry per Xen version is going to enable XSM, but all
further entries are going to have "(XSM enabled)" in their titles
without enabling XSM.

When a "xenpolicy-$xen_version" file was found for the current
$xen_version, it would overwrite $xen_version to add "(XSM enabled)" to
the menu entry title. Once updated, the next call to linux_entry_xsm()
would also have this modified $xen_version and would look for the file
"xenpolicy-*(XSM enabled)" and fail.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-09-22 18:38:36 +02:00
asm-tests asm-tests/i386-pc: Check that movl is 5 bytes. 2016-09-28 20:31:04 +03:00
conf configure: Add -DGRUB_HAS_PCI when compiling C/C++ files on targets that support PCI 2022-10-04 15:40:48 +02:00
docs docs: Add menu to prevent older makeinfo versions from failing 2023-08-31 17:16:32 +02:00
grub-core loader/efi/linux: Implement x86 mixed mode using legacy boot 2023-09-22 18:38:36 +02:00
include loader/efi/linux: Implement x86 mixed mode using legacy boot 2023-09-22 18:38:36 +02:00
po po: Un-transliterate the %zu format code 2022-03-14 23:05:00 +01:00
tests tests/util/grub-shell-luks-tester: Allow setting timeout 2023-08-31 17:09:04 +02:00
themes/starfield Starfield theme. 2012-02-23 17:21:38 +01:00
unicode * unicode: Import Unicode 6.0 data. 2011-12-25 16:17:25 +01:00
util templates/linux_xen: Fix XSM entries generation 2023-09-22 18:38:36 +02:00
.gitattributes gitattributes: Mark po/exclude.pot as binary so git won't try to diff nonprintables 2019-09-23 13:17:15 +02:00
.gitignore gitignore: Ignore python bytecode files 2023-07-03 13:41:32 +02:00
.travis.yml travis: Run bootstrap to fix build 2020-09-18 22:31:30 +02:00
AUTHORS 2005-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2005-09-03 16:54:27 +00:00
BUGS * BUGS: New file. 2011-01-11 00:06:01 +01:00
COPYING 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
INSTALL INSTALL: Use exfat-utils package instead of exfatprogs 2023-05-17 18:19:02 +02:00
MAINTAINERS SECURITY: Add SECURITY file 2021-06-08 14:24:34 +02:00
Makefile.am Makefile: Make grub_fstest.pp depend on config-util.h 2022-08-10 14:24:46 +02:00
Makefile.util.def tests: Add serial_test 2023-08-31 16:55:41 +02:00
NEWS Release 2.06 2021-06-08 16:28:15 +02:00
README SECURITY: Add SECURITY file 2021-06-08 14:24:34 +02:00
SECURITY SECURITY: Add SECURITY file 2021-06-08 14:24:34 +02:00
THANKS 2009-12-11 Robert Millan <rmh.grub@aybabtu.com> 2009-12-11 22:44:47 +00:00
TODO TODO: Remove obsolete link 2016-02-12 17:51:52 +01:00
acinclude.m4 configure: Replace -Wl,-r,-d with -Wl,-r and add -fno-common 2022-03-07 15:05:22 +01:00
autogen.sh autogen.sh: Detect python 2021-09-06 17:00:53 +02:00
bootstrap gnulib: Update gnulib version and drop most gnulib patches 2022-03-21 19:14:54 +01:00
bootstrap.conf gnulib: Update gnulib version and drop most gnulib patches 2022-03-21 19:14:54 +01:00
config.h.in gnulib: Provide abort() implementation for gnulib 2022-10-27 16:14:14 +02:00
configure.ac loongarch: Eliminate cmodel compilation warnings 2023-09-22 18:38:36 +02:00
coreboot.cfg * coreboot.cfg: Add missing file. 2013-11-20 00:52:23 +01:00
geninit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
gentpl.py gentpl.py: Ensure output is deterministic 2023-06-13 14:08:09 +02:00
linguas.sh linguas: Don't skip ko.po. 2017-02-04 00:06:57 +01:00


This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

See the file MAINTAINERS for information about the GRUB maintainers, etc.

If you found a security vulnerability in the GRUB please check the SECURITY
file to get more information how to properly report this kind of bugs to
the maintainers.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.

More extensive documentation is available in the Info manual,
accessible using 'info grub' after building and installing GRUB 2.

There are a number of important user-visible differences from the
first version of GRUB, now known as GRUB Legacy. For a summary, please

  info grub Introduction 'Changes from GRUB Legacy'