Re: [PATCH] Add convenience TARGET_CROSS

2024-06-04 Thread Mike Gilbert
On Thu, May 16, 2024 at 3:07 PM Vladimir Serbinenko wrote: > > This allows to set up cross environment with just 3 parameters: target, > platform and TARGET_CROSS I wonder if it would make sense to use the AC_CHECK_TARGET_TOOL[S] macros instead of AC_CHECK_TOOL[S]? https://www.gnu.org/savannah-c

Re: How Linus distro like Fedora named all utilities binary file prefixed with grub2-*

2023-09-26 Thread Mike Gilbert
On Tue, Sep 26, 2023 at 12:56 PM document via Grub-devel wrote: > > Hi, > > Anyone teach me how grub 2 build from source but all utilities binary file > will prefixed with grub2-*, > e.g /usr/bin/grub-mkimage will installed as /usr/bin/grub2-mkimage, yes, > Fedora did it. > > I've checked some w

Re: [PATCH v1] readd build dependency for startup_raw.S

2023-08-17 Thread Mike Gilbert
On Thu, Aug 17, 2023 at 4:21 PM Glenn Washburn wrote: > What version of automake are you using? I'm on 1.16.3-2 from Debian 11. > rs_decoder.h is ending up in BUILT_SOURCES, so it should get built > before anything is compiled. Can you check BUILT_SOURCES? For me > rs_decoder.h is included via a f

Re: [PATCH v1] readd build dependency for startup_raw.S

2023-08-16 Thread Mike Gilbert
On Wed, Aug 16, 2023 at 3:33 PM Glenn Washburn wrote: > > Hi Olaf, > > There's an extra 'd' in read in the subject line. > > On Wed, 16 Aug 2023 11:55:01 +0200 > Olaf Hering wrote: > > > startup_raw.S includes a generated file, and used to have a dependency > > in the Makefile to make sure the ge

Re: [PATCH] util/grub.d/25_bli.in: Change shebang from /usr/bin/sh to /bin/sh

2023-07-27 Thread Mike Gilbert
On Thu, Jul 27, 2023 at 6:20 AM Julian Andres Klode wrote: > > This fixes an error reported by Debian's lintian program. A similar patch was sent to the list on July 11 and has already been reviewed. ___ Grub-devel mailing list Grub-devel@gnu.org https

Re: clang appends an extra string to Grub2 making it not work with MBR systems

2023-01-17 Thread Mike Gilbert
On Tue, Jan 17, 2023 at 12:50 PM Daniel Kiper wrote: > > On Tue, Jan 03, 2023 at 01:15:46AM +, Immolo via Grub-devel wrote: > > Using Gentoo with clang on a MBR system I have come across an extra string > > the > > content /lib/ld-linux.so.2 is being added to > > /usr/lib/grub/i386-pc/diskbo

Re: [Regression] efi: Don't display a uefi-firmware entry if it's not supported

2022-08-30 Thread Mike Gilbert
On Tue, Aug 30, 2022 at 4:16 PM Robbie Harwood wrote: > Why doesn't grub on the MBR get updated when you install a new grub > package? That seems like the real issue here - what am I missing? I think the grub project tries to maintain config file compatibility with older versions so that users c

Re: [PATCH] configure.ac: warn if stack-protector not allowed

2022-07-08 Thread Mike Gilbert
On Fri, Jun 24, 2022 at 2:12 PM Nicholas Vinson wrote: > > On 6/24/22 12:28, Daniel Kiper wrote: > > Adding Chris... > > > > On Tue, Jun 14, 2022 at 06:19:00PM -0400, Nicholas Vinson wrote: > >> Previous version of configure.ac would error out when > >> --enable-stack-protector was given and a sel

Re: [PATCH v2] Fix build error in binutils 2.36

2021-09-27 Thread Mike Gilbert
On Mon, Sep 27, 2021 at 5:41 AM Michael Chang via Grub-devel wrote: > It is also worth mentioning that binutils upstream apparently doesn't > seem to consider this as a bug [2] and proposed to use > -Wl,-Ttext-segment,0 which's not fruitful as what has been tested by > gentoo [3]. > ... > [2] Ref:

Re: [PATCH] Fix build error in binutils 2.36

2021-09-14 Thread Mike Gilbert
On Mon, Aug 9, 2021 at 12:37 AM Michael Chang via Grub-devel wrote: > > On Thu, Aug 05, 2021 at 03:07:21PM +0200, Daniel Kiper wrote: > > On Mon, Aug 02, 2021 at 05:41:15PM +0800, Michael Chang via Grub-devel > > wrote: > > > The xen build fails on binutils 2.36 with the following error. > > > >

Re: GRUB 2.06

2021-04-20 Thread Mike Gilbert
On Tue, Apr 20, 2021 at 2:21 PM Bruce Dubbs wrote: > > On 4/20/21 12:50 PM, Mike Gilbert wrote: > > On Tue, Apr 20, 2021 at 1:34 PM Didier Spaier wrote: > >> So, it's hard to understand for many end users that: > >> > >> 1. The issue appeared a

Re: GRUB 2.06

2021-04-20 Thread Mike Gilbert
On Tue, Apr 20, 2021 at 1:34 PM Didier Spaier wrote: > So, it's hard to understand for many end users that: > > 1. The issue appeared after gcc-10 began to be used, well after the > release of grub 2.04. > 2. It has been fixed long ago. > 3. But for the fix to be effective one of these conditions

Re: [PATCH 01/17] configure: Add Ubuntu dejavu font path.

2020-07-30 Thread Mike Gilbert
On Wed, Jul 29, 2020 at 6:08 PM David Michael wrote: > > On Wed, Jul 29, 2020 at 5:52 PM wrote: > > From: Glenn Washburn > > > > Signed-off-by: Glenn Washburn > > --- > > configure.ac | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/configure.ac b/configure.ac > >

Re: [PATCH] btrfs: disable zstd support for i386-pc

2020-06-23 Thread Mike Gilbert
On Tue, Jun 23, 2020 at 2:32 AM Michael Chang wrote: > > On Mon, Jun 22, 2020 at 10:16:49PM -0400, Mike Gilbert wrote: > > On Sun, Jun 21, 2020 at 2:56 PM Eli Schwartz > > wrote: > > > But anyway this isn't true. There are valid reasons to reinstall grub on >

Re: [PATCH] btrfs: disable zstd support for i386-pc

2020-06-22 Thread Mike Gilbert
On Sun, Jun 21, 2020 at 2:56 PM Eli Schwartz wrote: > But anyway this isn't true. There are valid reasons to reinstall grub on > old systems, in which case you are most likely not benefiting from zstd > support one way or another, but in this case, rerunning grub-install > destroys the working boo

Re: [PATCH] btrfs: disable zstd support for i386-pc

2020-06-22 Thread Mike Gilbert
On Sun, Jun 21, 2020 at 2:56 PM Eli Schwartz wrote: > > On 6/21/20 2:26 PM, Mike Gilbert wrote: > > On Thu, Jun 11, 2020 at 6:58 PM Eli Schwartz > > wrote: > >> > >> On 11/7/19 12:08 AM, Vladimir 'phcoder' Serbinenko wrote: > >>> On Wed

Re: [PATCH] btrfs: disable zstd support for i386-pc

2020-06-21 Thread Mike Gilbert
On Thu, Jun 11, 2020 at 6:58 PM Eli Schwartz wrote: > > On 11/7/19 12:08 AM, Vladimir 'phcoder' Serbinenko wrote: > > On Wed, 6 Nov 2019, 20:55 Michael Chang, wrote: > > > >> On Wed, Nov 06, 2019 at 11:15:04AM -0800, Vladimir 'phcoder' Serbinenko > >> wrote: > >>> Please don't do it this way. The

Re: [PATCH] Don't run f2fs test on systems with PAGE_SIZE > 4KB

2020-04-25 Thread Mike Gilbert
On Thu, Apr 23, 2020 at 5:10 AM Anatoly Pugachev wrote: > > On Tue, Jul 30, 2019 at 3:10 PM Anatoly Pugachev wrote: > > > > On Tue, Jul 30, 2019 at 1:00 PM John Paul Adrian Glaubitz > > wrote: > > > On 7/30/19 10:11 AM, Anatoly Pugachev wrote: > > > > don't run f2fs test on systems with PAGE_SIZ

Re: [PATCH 1/3] configure: Enforce gnu99 C language standard

2020-04-02 Thread Mike Gilbert
On Thu, Apr 2, 2020 at 1:38 PM Leif Lindholm wrote: > > On Thu, Apr 02, 2020 at 19:08:21 +0200, Daniel Kiper wrote: > > > > -# Optimization flag. Allow user to override. > > > > +if test "x$BUILD_CFLAGS" = x; then > > > > + BUILD_CFLAGS='-std=gnu99' > > > > +fi > > > > + > > > > +if test "x$HOST

Re: Build RISC-V 32-bit UEFI target fails with kernel.org riscv64 toolchain

2020-03-28 Thread Mike Gilbert
On Fri, Mar 27, 2020 at 7:45 PM Bin Meng wrote: > > On Fri, Mar 27, 2020 at 10:51 PM Daniel Kiper wrote: > > > > Adding Alex... > > > > On Fri, Mar 27, 2020 at 03:01:15PM +0800, Bin Meng wrote: > > > Hi, > > > > > > I tried to build RISC-V 32-bit UEFI target using kernel.org riscv64 > > > toolch

Re: are posix-shell-compliant continuation lines valid/supported, or not, in /etc/default/grub ?

2020-03-19 Thread Mike Gilbert
On Thu, Mar 19, 2020 at 5:19 PM PGNet Dev wrote: > > a recent grub package update, in ubuntu 18LTS, is breaking /etc/default/grub > by mangling/overwriting users' entries, in the specific case of using > continuation lines in the file/config. and, subsequently, the upgrade process > on these se

[PATCH] Enable the datetime module for the emu platform

2020-03-05 Thread Mike Gilbert
Fixes a build failure: grub-core/commands/date.c:49: undefined reference to `grub_get_weekday_name' grub-core/commands/ls.c:155: undefined reference to `grub_unixtime2datetime' Bug: https://bugs.gentoo.org/711512 Signed-off-by: Mike Gilbert --- grub-core/Makefile.core.def | 1 - 1 fi

[PATCH] po: fix replacement of %m in sed programs

2020-03-02 Thread Mike Gilbert
quot; Mimic the workaround used for "%s" by reversing the replacement of "%m" at the end of the sed programs. Signed-off-by: Mike Gilbert --- po/arabic.sed | 1 + po/cyrillic.sed | 1 + po/greek.sed| 1 + po/hebrew.sed | 1 + 4 files changed, 4 insertions(+) diff --

Re: GRUB 2.06 release

2020-02-28 Thread Mike Gilbert
On Fri, Feb 28, 2020 at 6:46 AM Daniel Kiper wrote: > > On Tue, Feb 25, 2020 at 02:15:16PM +0100, John Paul Adrian Glaubitz wrote: > > Hi! > > > > On 2/20/20 9:46 AM, John Paul Adrian Glaubitz wrote: > > > On 2/19/20 4:01 PM, Daniel Kiper wrote: > > >> As I told during my FOSDEM 2020 presentation

[PATCH v3] build: Use AC_HEADER_MAJOR to find device macros

2016-04-19 Thread Mike Gilbert
Depending on the OS/libc, device macros are defined in different headers. This change ensures we include the right one. sys/types.h - BSD sys/mkdev.h - Sun sys/sysmacros.h - glibc (Linux) glibc currently pulls sys/sysmacros.h into sys/types.h, but this may change in a future release. https://sou

Re: [PATCH v2] build: Use AC_HEADER_MAJOR to find device macros

2016-04-18 Thread Mike Gilbert
On Sun, Apr 17, 2016 at 2:27 PM, Mike Gilbert wrote: > Depending on the OS/libc, device macros are defined in different > headers. > > sys/mkdev.h - BSD, Sun > sys/sysmacros.h - glibc (Linux) It seems I was wrong about BSD; it is defined directly in sys/types.h on FreeBSD a

[PATCH v2] build: Use AC_HEADER_MAJOR to find device macros

2016-04-17 Thread Mike Gilbert
Depending on the OS/libc, device macros are defined in different headers. sys/mkdev.h - BSD, Sun sys/sysmacros.h - glibc (Linux) glibc currently pulls sys/sysmacros.h into sys/types.h, but this may change in a future release. https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html --- config

Re: [PATCH] build: Use AC_HEADER_MAJOR to find device macros

2016-04-17 Thread Mike Gilbert
On Sun, Apr 17, 2016 at 1:53 AM, Andrei Borzenkov wrote: > 17.04.2016 00:34, Mike Gilbert пишет: >> Depending on the OS/libc, device macros may be found in 3 places: >> > > Mentioning OS and libc versions that have problem would be helpful. > I am really only famil

[PATCH] build: Use AC_HEADER_MAJOR to find device macros

2016-04-16 Thread Mike Gilbert
Depending on the OS/libc, device macros may be found in 3 places: sys/types.h sys/mkdev.h sys/sysmacros.h glibc currenctly defines the major/minor/makedev macros in sys/sysmacros.h and includes this from sys/types.h. Based on mailing list discussion, this may be removed from sys/types.h in a futu

[PATCH] [2.02] 10_linux: Fix grouping of tests for GRUB_DEVICE

2016-03-05 Thread Mike Gilbert
Commit 7290bb562 causes GRUB_DISABLE_LINUX_UUID to be ignored due to mixing of || and && operators. Add some parens to help with that. --- util/grub.d/10_linux.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index 5a78513..de

Re: C.UTF-8 may not be present resulting in failed build

2015-11-02 Thread Mike Gilbert
On Mon, Nov 2, 2015 at 1:47 PM, Andrei Borzenkov wrote: > Extra catalogs added in da0d5b3f explicitly require C.UTF-8 locale. This > locale may not be present (e.g. openSUSE does not have it). I think it is specific to Debian-derived distros actually. We don't have it on Gentoo either. _

Re: grub-install no bootsector

2015-02-03 Thread Mike Gilbert
On Tue, Feb 3, 2015 at 2:35 PM, Chris Murphy wrote: > Are these two equivalent, or identical? And if so, which is preferred? > > grub2-install --no-bootsector > grub2-install --grub-setup=/bin/true > Yes, they are equivalent. --no-bootsector is preferred for new usage. http://git.savannah.gnu.

Re: [PATCH] bash-completion: Remove obsolete usage of 'have' function

2014-12-07 Thread Mike Gilbert
On Sat, Dec 6, 2014 at 1:59 AM, Andrei Borzenkov wrote: > В Fri, 5 Dec 2014 22:22:23 -0500 > Mike Gilbert пишет: > >> Recent versions of bash-completion do not provide the 'have' function. > > It still does as of today GIT. Right, sorry. I should have

[PATCH] bash-completion: Remove obsolete usage of 'have' function

2014-12-05 Thread Mike Gilbert
hanged, 17 insertions(+), 53 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9ed5aa..3554467 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-05 Mike Gilbert + * util/bash-completion.d/grub-completion.bash.in: Remove references to + 'have' function. +

Re: building grub2 on a Mac, possible bug

2014-10-27 Thread Mike Gilbert
On Sun, Oct 26, 2014 at 11:24 PM, Andrei Borzenkov wrote: > В Sun, 26 Oct 2014 21:00:18 -0600 > Chris Murphy пишет: > >> This is on a macbookpro9,2, running Fedora 20, and I've git cloned from >> git://git.savannah.gnu.org/grub.git and I'm in master branch. >> >> $ ./configure >> checking build

[PATCH] 10_linux: Default gfxpayload=keep only when booting using efi

2014-10-16 Thread Mike Gilbert
changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 190d19d..dff8342 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-10-17 Mike Gilbert + + * util/grub.d/10_linux.in: Default gfxpayload=keep only when booting + using efi. vesafb seems to be unrel

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Mike Gilbert
On Sun, Jul 27, 2014 at 2:48 PM, Andrey Borzenkov wrote: > В Sun, 27 Jul 2014 20:42:36 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 27.07.2014 20:39, Andrey Borzenkov wrote: >> > В Sun, 27 Jul 2014 14:24:07 -0400 >> > Mike Gilbert пиш

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Mike Gilbert
On Sun, Jul 27, 2014 at 2:10 PM, Vladimir 'phcoder' Serbinenko wrote: > > On 27 Jul 2014 20:07, "Mike Gilbert" wrote: >> >> On Wed, Jul 23, 2014 at 3:41 AM, Vladimir 'φ-coder/phcoder' Serbinenko >> wrote: >> > On 03.04.2014 20:01,

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Mike Gilbert
On Wed, Jul 23, 2014 at 3:41 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 03.04.2014 20:01, Andrey Borzenkov wrote: >> I noticed that host flags are not propagated to gnulib. This does not >> feel right; in particular I noticed it because attempt to enable >> debugging for host tools (HOS

Re: [PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Mike Gilbert
On Sun, Jan 26, 2014 at 12:16 AM, Andrey Borzenkov wrote: > В Sat, 25 Jan 2014 20:41:00 -0500 > Mike Gilbert пишет: > >> * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect >> /dev/loopX as being the parent of /dev/loopXpY. > > Those devices are

[PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Mike Gilbert
c93f11f..d5c5c3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-26 Mike Gilbert + grub-install: Improve support for partitioned loop devices. + + * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect + /dev/loopX as being the parent of /dev/loopXpY

[PATCH] Makefile.util.def: Link grub-ofpathname with zfs libs

2013-12-31 Thread Mike Gilbert
/ChangeLog @@ -1,3 +1,7 @@ +2014-01-01 Mike Gilbert + + * Makefile.util.def: Link grub-ofpathname with zfs libs. + 2013-12-30 Andrey Borzenkov * grub-core/Makefile.core.def: strip .eh_frame section for arm64-efi. diff --git a/Makefile.util.def b/Makefile.util.def index 985e76c..9bfe47e

Re: rijndael.c warning (was Re: grub-2.02~beta1 happened)

2013-12-23 Thread Mike Gilbert
On Thu, Dec 19, 2013 at 7:39 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 19.12.2013 06:43, Bruce Dubbs wrote: >> Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> Hello, all. I've just uploaded 2.02~beta1. This also means that we're >>> now in freeze. I'm willing to consider exceptions on

Re: [PATCH] Replace print statement with sys.stdout.write for python3 compatibility

2013-12-04 Thread Mike Gilbert
On Wed, Dec 4, 2013 at 5:12 AM, Colin Watson wrote: > On Tue, Dec 03, 2013 at 08:14:09PM -0500, Mike Gilbert wrote: >> Gmail likes to mangle patches, so I'm attaching it. > > Could we please use the clearer bilingual form of "from __future__ > import print_function&quo

[PATCH] Replace print statement with sys.stdout.write for python3 compatibility

2013-12-03 Thread Mike Gilbert
Gmail likes to mangle patches, so I'm attaching it. From 1ac0d1f8feda7cbbe3e706074aebcc805e4f3667 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 3 Dec 2013 20:06:07 -0500 Subject: [PATCH] Replace print statement with sys.stdout.write for python3 compatibility --- ChangeLo

Re: Minor documentation issue

2012-06-29 Thread Mike Gilbert
On Fri, Jun 29, 2012 at 11:32 AM, Bruce Dubbs wrote: > By the way, the html is not well formed.  There are many missing tags. HTML 4 and earlier do not require closing tags for . ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mai

Re: [PATCH] Increase flexibility of kernel naming, allow non-versioned kernels.

2012-04-29 Thread Mike Gilbert
On 04/29/2012 12:28 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 29.04.2012 06:46, Mike Gilbert wrote: >> I am relaying a patch by Robin Johnson, one of the core infrastructure >> staff at Gentoo Linux. In the process of building some Gentoo servers >> uti

[PATCH] Increase flexibility of kernel naming, allow non-versioned kernels.

2012-04-28 Thread Mike Gilbert
I am relaying a patch by Robin Johnson, one of the core infrastructure staff at Gentoo Linux. In the process of building some Gentoo servers utilizing GRUB 2, he has made some changes to 10_linux that should make grub-mkconfig "out of the box" for additional users. I did a little work to clean up

Re: Improve support for genkernel in 10_linux

2012-04-18 Thread Mike Gilbert
2012/4/18 Vladimir 'φ-coder/phcoder' Serbinenko : > On 18.04.2012 17:06, Mike Gilbert wrote: >> 2012/4/18 Vladimir 'φ-coder/phcoder' Serbinenko : >>> On 15.04.2012 04:21, Mike Gilbert wrote: >>>> On 04/11/2012 11:52 AM, Mike Gilbert wrote: >

Re: Improve support for genkernel in 10_linux

2012-04-18 Thread Mike Gilbert
2012/4/18 Vladimir 'φ-coder/phcoder' Serbinenko : > On 15.04.2012 04:21, Mike Gilbert wrote: >> On 04/11/2012 11:52 AM, Mike Gilbert wrote: >>> 2012/4/11 Vladimir 'φ-coder/phcoder' Serbinenko : >>>> On 11.04.2012 04:56, Mike Gilbert wrote

Re: Improve support for genkernel in 10_linux

2012-04-14 Thread Mike Gilbert
On 04/11/2012 11:52 AM, Mike Gilbert wrote: > 2012/4/11 Vladimir 'φ-coder/phcoder' Serbinenko : >> On 11.04.2012 04:56, Mike Gilbert wrote: >>> On 04/07/2012 05:54 PM, Mike Gilbert wrote: >>>> Secondly, genkernel looks for the "real_root" ker

Re: Improve support for genkernel in 10_linux

2012-04-11 Thread Mike Gilbert
2012/4/11 Vladimir 'φ-coder/phcoder' Serbinenko : > On 11.04.2012 04:56, Mike Gilbert wrote: >> On 04/07/2012 05:54 PM, Mike Gilbert wrote: >>> Secondly, genkernel looks for the "real_root" kernel command line option >>> to determine the root fi

Re: Improve support for genkernel in 10_linux

2012-04-10 Thread Mike Gilbert
On 04/07/2012 05:54 PM, Mike Gilbert wrote: > Secondly, genkernel looks for the "real_root" kernel command line option > to determine the root filesystem. This is a holdover from the days when > we used true initrd images and we needed to use root=/dev/ram0. > It was brough

Improve support for genkernel in 10_linux

2012-04-07 Thread Mike Gilbert
Gentoo Linux maintains its own kernel builder and initramfs generation utility called "genkernel". It looks like some attempt was made to make 10_linux compatible with initiramfs images created by genkernel. However, this support is currently broken. There are two problems. Firstly, genkernel in

Re: grub-mkconfig_lib fails to detect sort -V option

2012-03-20 Thread Mike Gilbert
On Mon, Mar 19, 2012 at 4:46 PM, Piscium wrote: > On 13 March 2012 03:32, Mike Gilbert wrote: >> With the release of linux-3.2.10, I found grub-mkconfig is improperly >> sorting my kernels. >> >> Generating grub.cfg ... >> Found linux image: /boot/vmlinuz-

grub-mkconfig_lib fails to detect sort -V option

2012-03-12 Thread Mike Gilbert
With the release of linux-3.2.10, I found grub-mkconfig is improperly sorting my kernels. Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.9 Found linux image: /boot/vmlinuz-3.2.9.old Found linux image: /boot/vmlinuz-3.2.8 Found linux image: /boot/vmlinuz-3.2.8.old Found linux image: /

[PATCH] Don't install empty starfield directory

2012-03-05 Thread Mike Gilbert
If the starfield theme is disabled, the build system currently creates an empty directory when you run make install. This confuses grub-install, which simply checks for -d $pkgdatadir/themes/starfield. The attached patch avoid creating the empty directory by moving the definition of starfielddir t

Segfault in grub_find_root_devices_from_btrfs

2012-02-27 Thread Mike Gilbert
grub-probe is segfaulting in grub_find_root_devices_from_btrfs. Back trace attached. The variable "j" is being used as an array offset. However, j is never initialized or set to any value. Starting program: /home/floppym/src/grub/build1/grub-probe --target=device / [Thread debugging using libthrea

Re: Fix for pkgdatadir grub-mkconfig_lib in all util scripts and grub.d scripts

2012-02-26 Thread Mike Gilbert
2012/2/26 Vladimir 'φ-coder/phcoder' Serbinenko : > On 21.02.2012 00:57, Grégoire Sutre wrote: >> >> On 02/20/2012 06:47 PM, Keshav P R wrote: >>> >>> Hi, >>>     Attached patch fixes runtime error due to sed transform used in >>> pkgdatadir >> >> >> Maybe we should apply the sed transform to grub-

Infinite loop in __argp_get_display_len

2012-02-26 Thread Mike Gilbert
Running grub-mkimage --help triggers an infinite loop in __argp_get_display_len. Backtrace attached. The following change seems to resolve it; I wonder if it should be applied to the other functions in argp-fmtstream.c? === modified file 'grub-core/gnulib/argp-fmtstream.c' --- grub-core/gnulib/ar

Re: disable-libzfs configure flag (Re: Freeze on 27 February)

2012-02-25 Thread Mike Gilbert
2012/2/25 Vladimir 'φ-coder/phcoder' Serbinenko : > On 25.02.2012 19:44, Mike Gilbert wrote: >> >> +if test x"$libzfs_excuse" = x ; then >> +  # Only check for system headers if libzfs support has not been >> disabled. >> +  AC_CHECK_HEADERS(l

Re: disable-libzfs configure flag (Re: Freeze on 27 February)

2012-02-25 Thread Mike Gilbert
2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko : > On 21.02.2012 20:04, Mike Gilbert wrote: >> >> 2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko: >>> >>> Hello, it's to announce that from 27th of February the GRUB will be >>> f

Re: Fix for pkgdatadir grub-mkconfig_lib in all util scripts and grub.d scripts

2012-02-24 Thread Mike Gilbert
2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko : > On 21.02.2012 17:36, Keshav P R wrote: >> >> 2012/2/21 Grégoire Sutre: >>> >>> On 02/20/2012 06:47 PM, Keshav P R wrote: Hi,     Attached patch fixes runtime error due to sed transform used in pkgdatadir >>> >>> >>> Maybe we sh

Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]

2012-02-21 Thread Mike Gilbert
On Tue, Feb 21, 2012 at 10:01 PM, Daniel Kahn Gillmor wrote: >  make install >  make uninstall > > That appears to have left a few files in /usr/local that i think it > shouldn't have. This is why I use my package manger (portage) to install *everything*.

Re: failed to build bzr head on powerpc (ieee1275)

2012-02-21 Thread Mike Gilbert
On Tue, Feb 21, 2012 at 6:38 PM, Daniel Kahn Gillmor wrote: > In trying to test phcoder's patch for http://bugs.debian.org/611588 , i > pulled the bzr head and built it (using --disable-werror to work around > several remaining warnings about loop unrolling).  I'm running into a > failure with the

Re: disable-libzfs configure flag (Re: Freeze on 27 February)

2012-02-21 Thread Mike Gilbert
2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko : > On 21.02.2012 20:04, Mike Gilbert wrote: >> >> 2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko: >>> >>> Hello, it's to announce that from 27th of February the GRUB will be >>> f

disable-libzfs configure flag (Re: Freeze on 27 February)

2012-02-21 Thread Mike Gilbert
2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko : > Hello, it's to announce that from 27th of February the GRUB will be frozen > for 2.00 release. From that date on, no new features will be committed only > bugfixes. > If you have a patch which you think should be included in 2.00 you can ping > me

Re: Fix for pkgdatadir grub-mkconfig_lib in all util scripts and grub.d scripts

2012-02-20 Thread Mike Gilbert
On 02/20/2012 06:57 PM, Grégoire Sutre wrote: > On 02/20/2012 06:47 PM, Keshav P R wrote: >> Hi, >> Attached patch fixes runtime error due to sed transform used in >> pkgdatadir > > Maybe we should apply the sed transform to grub-mkconfig_lib's > installation directory, i.e., install grub-mkc

Re: [MERGE] Add a --disable-zfs configure flag.

2012-02-04 Thread Mike Gilbert
On 02/04/2012 10:40 PM, Darik Horn wrote: > On Sat, Feb 4, 2012 at 16:36, Mike Gilbert wrote: >> >> 1. grub's configure is failing to detect libnvpair due to some breakage >> upstream. See https://github.com/zfsonlinux/zfs/issues/560 . >> > > Please try the

Re: [MERGE] Add a --disable-zfs configure flag.

2012-02-04 Thread Mike Gilbert
Here's a new bundle including a --without-libzfs flag, and a fix for my build issue. # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: flop...@gentoo.org-20120205010752-empg4oxbegj3fepe # target_branch: http://bzr.savannah.gnu.org/r/grub/trunk/grub/ # testament_sha1: 3de5f3713591cd8770

Re: [MERGE] Add a --disable-zfs configure flag.

2012-02-04 Thread Mike Gilbert
On 02/04/2012 03:46 PM, Mike Gilbert wrote: > I have the libzfs headers in /usr/include/libzfs, which is where the ZFS > on Linux build system puts them. My best guess is that it isn't finding > libzfs.h, but I haven't really dug in. > As it turns out, there are a few th

Re: [MERGE] Add a --disable-zfs configure flag.

2012-02-04 Thread Mike Gilbert
On Sat, Feb 4, 2012 at 4:41 PM, Richard Laager wrote: > Additionally in the case of libzfs specifically: >  A) There have been compatibility breakages in the past and it's not >    versioned. >  B) GRUB has an alternate method of working with ZFS (using the >    command-line tools). > > I support*

Re: [MERGE] Add a --disable-zfs configure flag.

2012-02-04 Thread Mike Gilbert
On 02/04/2012 03:06 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.02.2012 20:56, Mike Gilbert wrote: >> I happen to have the ZFS libraries installed on my machine, but I don't >> want my boot loader to use them. It seems to be broken for me at the >>

[MERGE] Add a --disable-zfs configure flag.

2012-02-04 Thread Mike Gilbert
I happen to have the ZFS libraries installed on my machine, but I don't want my boot loader to use them. It seems to be broken for me at the moment in any case. I'm new to bazaar and this is my first submission to this mailing list, so please let me know if I've done something incorrectly. # Bazaa