Package Details: grub-git 2.02.beta2.428.g697ecef-1

Git Clone URL: https://aur.archlinux.org/grub-git.git (read-only)
Package Base: grub-git
Description: GNU GRand Unified Bootloader (2) - GIT Version
Upstream URL: https://www.gnu.org/software/grub/
Licenses: GPL3
Conflicts: grub, grub-bios, grub-bzr, grub-common, grub-efi-, grub-emu, grub-legacy
Provides: grub=2.02.beta2.428.g697ecef, grub-bios=2.02.beta2.428.g697ecef, grub-bzr=2.02.beta2.428.g697ecef, grub-common=2.02.beta2.428.g697ecef, grub-efi-=2.02.beta2.428.g697ecef, grub-emu=2.02.beta2.428.g697ecef
Submitter: ridikulusrat
Maintainer: jpbd
Last Packager: ridikulusrat
Votes: 8
Popularity: 0.000059
First Submitted: 2013-10-22 18:55
Last Updated: 2015-06-09 00:06

Dependencies (23)

Required by (36)

Sources (9)

Latest Comments

DragonX256 commented on 2016-08-05 08:44

Added in core, finally. Yay!

ridikulusrat commented on 2016-03-23 00:05

Due to work and other life commitments, I am unable to devote time to maintain this package. Orphaned.

PedroHLC commented on 2015-09-29 12:59

configure: error: bison is not found
configure: error: flex is not found
Seems like bison and flex are a make deps...

vic-t commented on 2015-09-17 12:44

I just tried to build Grub-git on a fresh install of Arch (2015-09), using makepkg -sri. It stops after quite a long while of error-free compiling at:

^\Makefile:30885: recipe for target 'gfxmenu/gfxmenu_module_-gfxmenu.o' failed
/bin/sh: line 12: 15575 Quit (core dumped) (CDPATH= "${ZSH_VERSION+.}:" && cd $subdir && make $local_target )
make[3]: *** [gfxmenu/gfxmenu_module-gfxmenu.o] Quit (core dumped)

My C programming and even building skills are limited. Any pointers?

jiaanq commented on 2015-08-30 05:40

I am getting a error telling me "One or more PGP signatures could not be verified!". I could only continue after removing the signature file unifont-6.3.20131217.bdf.gz.sig and its check sum.

starfry commented on 2015-07-23 12:42

FYI the floating point issue in 915resolution has been fixed upstream (http://git.savannah.gnu.org/cgit/grub-extras.git/commit/?id=60e3f37e7ba3aaf5a6f32a08f7f2a8374230c447) and this package now builds without issue.

starfry commented on 2015-07-23 12:38

FYI the floating point issue in 915resolution has been [url=http://git.savannah.gnu.org/cgit/grub-extras.git/commit/?id=60e3f37e7ba3aaf5a6f32a08f7f2a8374230c447]fixed[/url] upstream and this package now builds without issue.

starfry commented on 2015-06-12 16:45

This problem is caused by a commit to "Always add -msoft-float to avoid compiler generating float arithmetics." See http://git.savannah.gnu.org/cgit/grub.git/commit/?id=3661261fe17a8fe19681073889b5b36ec1ee823d.

The addition of the "-msoft-float" compiler option requires soft floating point routines and these are normally provided by "stdlib". Grub doesn't use stdlib so those names don't resolve.

Prior commit b8f53719 builds fine. I've reported it upstream https://savannah.gnu.org/bugs/index.php?45310

One work-around is as per cedric_tools, don't include 915resolution. I don't know what effect that has.



cedric_tools commented on 2015-03-14 02:13

Had the same error, did remove those 4 lines and get it built correctly.
--
msg "Add the grub-extra sources for bios build"
install -d "${srcdir}/grub-bios/grub-extras"
cp -r "${srcdir}/grub-extras/915resolution" "${srcdir}/grub-bios/grub-extras/915resolution"
export GRUB_CONTRIB="${srcdir}/grub-bios/grub-extras/"
--
Disclaimer: no idea what I'm doing... seems to work so far

Firefoxic commented on 2015-03-10 17:37

Identical mistake as Ahmed. And yet, how to cure it?

ahmedallibhoy commented on 2015-02-18 00:07

grub fails to build with the following error:

mv syminfo.lst.new syminfo.lst
cat syminfo.lst | sort | gawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
__adddf3 in 915resolution is not defined
__divdf3 in 915resolution is not defined
__fixdfsi in 915resolution is not defined
__floatsidf in 915resolution is not defined
__muldf3 in 915resolution is not defined
__subdf3 in 915resolution is not defined
Makefile:41695: recipe for target 'moddep.lst' failed
make[3]: *** [moddep.lst] Error 1
make[3]: Leaving directory '/home/ahmed/Downloads/grub-git/src/grub-bios/grub-core'
Makefile:23050: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/ahmed/Downloads/grub-git/src/grub-bios/grub-core'
Makefile:11571: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ahmed/Downloads/grub-git/src/grub-bios'
Makefile:3967: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Is there a workaround for this? Thanks,
Ahmed

nemesys commented on 2015-01-17 01:28

Please update your PKGBUILD and add the following under your SHA1 keys so that the unifont will pass the validation check.

validpgpkeys=(
'95D2E9AB8740D8046387FD151A09227B1F435A33' # Paul Hardy
)

ridikulusrat commented on 2014-02-09 01:15

btrfs subvolume users: Please test the updated 10_archlinux script and report any issues.

walkindude commented on 2014-01-06 19:28

@ridikulus_rat
almost fine, but always found only one initrd: /boot/initramfs-linux.img, but I have 4: /boot/initramfs-linux-fallback.img, and /boot/initramfs-linux-pf(-fallback).img

ridikulusrat commented on 2013-12-23 05:43

@walkindude: Try the updated pkg (both 10_archlinux and 60_memtest86+).

walkindude commented on 2013-12-19 14:39

why so many entries now (have only linux and linux-pf kernels)?
sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

walkindude commented on 2013-12-19 13:45

is it normal to have so much entries?

sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found initramfs image: /boot/initramfs-linux-pf.img
Found fallback initramfs image: /boot/initramfs-linux-pf-fallback.img
Found linux image: /boot/vmlinuz-linux-pf
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ image: /boot/memtest86+/memtest.bin
done


have only linux and linux-pf kernels

ridikulusrat commented on 2013-11-25 16:46

@fstirlitz: Can you post your patch at https://bugs.archlinux.org/task/37904 ?

felix.s commented on 2013-11-25 10:05

Upstream has created a GRUB_DISABLE_SUBMENU config setting. I updated the archlinux_grub_mkconfig_fixes.patch to respect it.

https://gist.github.com/fstirlitz/7639129

ridikulusrat commented on 2013-10-22 19:01

Upstream has migrated from BZR to GIT ( http://lists.gnu.org/archive/html/grub-devel/2013-10/msg00133.html ). I have uploaded https://aur.archlinux.org/packages/grub-git/ .

@buhman: I plan to maintain grub-git myself.

ridikulusrat commented on 2013-08-11 12:04

PKGBUILD with grub-emu support - http://ix.io/7cE

ridikulusrat commented on 2013-06-26 19:51

Package disowned.

ridikulusrat commented on 2013-06-26 19:20

@buhman: I have requested merge of grub-bios-bzr with grub-bzr at https://mailman.archlinux.org/pipermail/aur-general/2013-June/024059.html .

ridikulusrat commented on 2013-06-26 19:18

@ALL: I have uploaded https://aur.archlinux.org/packages/grub-bzr/ . The new pkg matches the consolidated "grub" pkg currently in [core]. Please switch over to it.

@buhman: I am not planning to maintain grub-bzr. If you want, I can orphan it.

ridikulusrat commented on 2013-06-26 19:13

@ALL: Please switch over to https://aur.archlinux.org/packages/grub-bzr/ . The new pkg matches the consolidated "grub" currently in [core].

ridikulusrat commented on 2013-06-26 14:51

@buhman: Since grub-{common,bios,efi} pkgs have been consolidated into a single "grub" pkg in [core], how should we go about grub-bios-bzr and grub-efi-x86_64-bzr in AUR?

buhman commented on 2013-03-14 21:08

At the end of your PKGBUILD,

sed "s|^\(_UEFI_ARCH\)=.*|\1=${_UEFI_ARCH}|g" -i "${startdir}/{_pkgname}.install"

I think you meant __pkgname, not _pkgname, because you didn't include grub-efi-${_UEFI_ARCH}-bzr.install, only grub-efi-bzr.install

Thanks.

ridikulusrat commented on 2013-02-24 18:49

I am disowning this package as I no longer use any BIOS based bootloader, only UEFI.

buhman commented on 2013-02-04 16:23

grub-2.00-ignore-gnulib-gets-stupidity.patch is no longer necessary as of 4611

buhman commented on 2012-12-09 14:08

a few hunks on archlinux_grub_mkconfig_fixes fail

verbatim patch: http://sprunge.us/QTQQ

aur diff: http://sprunge.us/HRaT

Thanks.

ridikulusrat commented on 2012-10-12 14:19

Why is this pkg marked out-of-date ?

Anonymous comment on 2012-08-06 11:33

I couldn't build this package due to compilation errors, this patch fixed my problems: http://lists.gnu.org/archive/html/grub-devel/2012-07/msg00007.html.

ridikulusrat commented on 2012-06-27 14:08

@ALL: I will be busy for a few days so if this package fails to build or the patch fails to apply, please correct the PKGBUILD/patch and post the pastebin link to the comments for other users to use it. Whenever I am free I will make changes to the PKGBUILD/patch.

ridikulusrat commented on 2012-06-27 14:08

@ALL: I will be busy for a few days so if this package fails to build or the patch fails to apply, please correct the PKGBUILD/patch and post the pastebin link to the comments for other users to use it. Whenever I am free I will make changes to the PKGBUILD/patch.

ridikulusrat commented on 2012-06-27 09:30

Change _UEFI_ARCH="x86_64" to _UEFI_ARCH="i386" in the PKGBUILD to compile grub-efi-i386-bzr .

ridikulusrat commented on 2012-06-26 13:56

In anticipation of http://mailman.archlinux.org/pipermail/arch-dev-public/2012-June/023148.html , I have modified and renamed the package to grub-bios-bzr https://aur.archlinux.org/packages.php?ID=60360 . Please check whether provides/replaces work properly (with both grub2-* and grub-* packages).

ridikulusrat commented on 2012-06-26 13:38

In anticipation of http://mailman.archlinux.org/pipermail/arch-dev-public/2012-June/023148.html , I have modified and renamed the package to grub-efi-x86_64-bzr https://aur.archlinux.org/packages.php?ID=60357 . Please check whether provides/replaces work properly (with both grub2-* and grub-* packages).

ridikulusrat commented on 2012-05-15 17:09

@Lucky: Patch fixed in 4339-1.

Lucky commented on 2012-05-14 16:54

patching file util/grub-mkconfig.in
patching file util/grub.d/00_header.in
patching file util/grub.d/10_linux.in
Hunk #4 FAILED at 184.
Hunk #5 succeeded at 229 (offset 11 lines).
Hunk #6 succeeded at 258 (offset 11 lines).
Hunk #7 succeeded at 274 (offset 11 lines).
1 out of 7 hunks FAILED -- saving rejects to file util/grub.d/10_linux.in.rej

jkennedy commented on 2012-03-23 02:15

I was unable to build without the flex package installed.

ridikulusrat commented on 2012-03-16 12:16

@sausageandeggs: I have never used themes with grub2 and never used burg at all. You have to ask the grub2 devs on how to use burg themes.

Anonymous comment on 2012-03-16 11:51

I was using Burg but following your suggestion to move to this package does it support theming in the same way as Burg does/did? If so can old Burg themes be modded and used? (I'm guessing it's not a drop in replacement)
Apologies if this is a silly question.

Lucky commented on 2012-03-05 01:08

patching file util/grub-mkconfig.in
Hunk #1 succeeded at 213 (offset 7 lines).
patching file util/grub.d/00_header.in
patching file util/grub.d/10_linux.in
Hunk #3 FAILED at 72.
Hunk #4 FAILED at 123.
Hunk #5 succeeded at 147 (offset 4 lines).
Hunk #6 succeeded at 173 (offset 10 lines).
Hunk #7 FAILED at 205.
3 out of 7 hunks FAILED -- saving rejects to file util/grub.d/10_linux.in.rej

ridikulusrat commented on 2012-03-04 11:07

DO NOT UPGRADE TO r4106. IT FAILS TO LOAD THE KERNEL WITH "premature end of file" ERROR.

ridikulusrat commented on 2012-03-04 11:07

DO NOT UPGRADE TO r4106. IT FAILS TO LOAD THE KERNEL WITH "premature end of file" ERROR.

ridikulusrat commented on 2012-03-04 11:06

DO NOT UPGRADE TO r4106. IT DOES NOT LOAD KERNEL WITH "premature end of file" ERROR.

ridikulusrat commented on 2012-03-04 11:06

DO NOT UPGRADE TO r4106. IT DOES NOT LOAD KERNEL WITH "premature end of file" ERROR.

ridikulusrat commented on 2012-03-04 11:06

DO NOT UPGRADE. IT DOES NOT LOAD KERNEL WITH "premature end of file" ERROR.

ridikulusrat commented on 2012-03-04 10:07

r4106 contains some patches that (might) solve Asus UEFI boot issues. Please test it and report the issues to bug-grub ML.

GutenYe commented on 2012-03-04 08:58

build error:

patching file util/grub-mkconfig.in
patching file util/grub.d/00_header.in
patching file util/grub.d/10_linux.in

patching file include/grub/i386/linux.h
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file include/grub/i386/linux.h.rej
==> ERROR: A failure occurred in build().
Aborting...

ridikulusrat commented on 2012-03-03 11:54

I have completely removes program_transform_name and added conflicts and provides for grub2-common and grub2-efi-${UEFI_ARCH} packages.

ridikulusrat commented on 2012-02-27 09:01

Due to upstream changes, program_transform_name has been disabled in r4008 PKGBUILD update.

ridikulusrat commented on 2012-01-04 17:10

@Thar: Fixed.

ridikulusrat commented on 2012-01-04 16:33

Fixed in 3732-2.

Thar commented on 2012-01-04 16:18

Seems like this specific changeset came with rev 3714. Maybe this changelog will be helpful to you:

http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/3714

Thar commented on 2012-01-04 16:11

Patching errors with revision 3732.

First one is minor: grub2_automake_1.11.2_pkglib_to_pkgdata.patch fails on patching ChangeLog.
Second one seems more important: archlinux_grub2_mkconfig_fixes.patch fails with first hook on util/grub-mkconfig.in. The problem is that it matches against grub_mkdevicemap definition, which is no longer there. I don't know if it's removed or moved somewhere else (didn't found it, not under this name at least), so I'm unable to propose a fix. Hope you'll make it soon :)

ridikulusrat commented on 2011-10-09 12:31

@kurisutian: grub2 bzr rev 3436 supports lzo compression in BTRFS. Test it and report any issues upstream.

Anonymous comment on 2011-09-01 18:20

@kurisutian: You might have to use http://bzr.savannah.gnu.org/lh/grub/people/janc/lzo/changes branch . Better to ask in #grub in irc.freenode.net.

Anonymous comment on 2011-09-01 09:52

@skodabenz: Is it possible to add those patches so people using lzo compression would get a running version of grub2? If not, where can I find them? Thanks! :-)

Anonymous comment on 2011-08-31 11:37

@kurisutian: May be Ubuntu patches its grub2 package with lzo-btrfs patches. As of now, those patches have not been merged into bzr trunk or experimental branch.

Anonymous comment on 2011-08-31 09:20

Does this version support booting from lzo compressed btrfs partitions yet? The grub2 package doesn't so right now I had to install ubuntu's current grub2 which amazingly does boot from lzo btrfs partitions.... I wonder what they do different...

altkrall commented on 2011-07-31 16:03

thanks. I thought the bzr protocol would be faulty.

altkrall commented on 2011-07-31 15:55

ok. But please add the http method as an additional option.

Anonymous comment on 2011-07-31 13:43

http is worse, it will download the entire .bzr dir even if there is only a one-line change in the source (does not use diffs). I guess bzr smart server in savannah is not working like before. Use the launchpad mirrors of bzr repo instead. Uncomment

# _bzrtrunk="lp:XXXXXXXXXXXXXXXXXX"

stuff in the PKGBUILD. The launchpad mirrors syncs once every 6 hours.

altkrall commented on 2011-07-31 12:36

you needn't change anything else. Bzr works also with http. Grub even mention this method:
https://www.gnu.org/software/grub/grub-download.en.html

altkrall commented on 2011-07-31 12:36

you needn't to change anything else. Bzr works also with http. Grub even mention this method:
https://www.gnu.org/software/grub/grub-download.en.html

altkrall commented on 2011-07-31 12:31

I found the problem:
the bzr protocol isn't good. Use http:
http://bzr.savannah.gnu.org/r/grub/branches/experimental/
http://bzr.savannah.gnu.org/r/grub/trunk/grub/
instead
bzr://bzr.savannah.gnu.org/grub/branches/experimental/
bzr://bzr.savannah.gnu.org/grub/trunk/grub/

altkrall commented on 2011-07-30 09:51

I always get the error after a certain time downloading:
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.

cedeel commented on 2011-06-11 13:18

Broken again.

rm -r "${srcdir}/${_bzrmod}_build" || true
Broke the script for me, had to comment the line.

cp -r "${srcdir}/${_bzrmod} ${srcdir}/${_bzrmod}_build"
should be
cp -r "${srcdir}/${_bzrmod}" "${srcdir}/${_bzrmod}_build"

Anonymous comment on 2011-04-19 07:50

@kurisutian: Patch updated. Next time please post it in pastebin.com and not inline in comments. I had to manually make the changes and re-create the patch.

Anonymous comment on 2011-04-18 21:32

Also the new version with the fix that allows to boot from btrfs should be available within the next few minutes according to phcoder. Je just needs to review the changes and will merge it to the trunk!

Anonymous comment on 2011-04-18 20:28

Can you update the version. Also I talked to one of the grub2 developers and her said that the archlinux_grub2_mkconfig_fixes.patch should look something like that:

=== modified file 'util/grub.d/10_linux.in'
--- util/grub.d/10_linux.in 2011-04-13 11:57:26 +0000
+++ util/grub.d/10_linux.in 2011-04-18 19:41:38 +0000
@@ -48,7 +48,7 @@
|| uses_abstraction "${GRUB_DEVICE}" lvm; then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
- LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
+ LINUX_ROOT_DEVICE=/dev/disk/by-uuid/${GRUB_DEVICE_UUID}
fi

if [ "x`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`" = xbtrfs ]; then
@@ -121,11 +121,11 @@

case x`uname -m` in
xi?86 | xx86_64)
- list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
+ list=`for i in /boot/vmlinuz* /vmlinuz* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
*)
- list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-* /boot/kernel-* ; do
+ list=`for i in /boot/vmlinuz* /boot/vmlinux* /vmlinuz* /vmlinux* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
esac
@@ -148,7 +148,8 @@
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
- "initramfs-genkernel-${alt_version}"; do
+ "initramfs-genkernel-${alt_version}" \
+ "${basename/vmlinuz/kernel}.img"; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break

Maybe you can update that one again! Thanks!

Anonymous comment on 2011-04-12 07:42

grub2 bzr mainline/trunk rev 3210 onwards BTRFS is supported. No need for butter branch.

Anonymous comment on 2011-04-10 12:52

I did totally miss that option.... sorry.... ^^

Anonymous comment on 2011-04-10 10:06

@kurisutian: For that use bzr experimental branch. Uncomment '# pkgname=grub2-bios-bzr-exp' in the PKGBUILD and makepkg will build the experimental branch, which contain btrfs plus other fixes which are not yet committed in to bzr mainline/trunk. Note that btrfs booting is still considered experimental and use it with caution. Please report any issues to bug-grub or grub-devel mailing list, not here. I don't use btrfs so i cant help you there.

Anonymous comment on 2011-04-10 09:46

Thank you.... it worked right away..... unfortunately it does not have btrfs booting capabilities... would it be possible to include those from here: http://bzr.sv.gnu.org/r/grub/branches/butter/

I'm not to good with the PKGBUILD creation otherwise I would have adjusted it myself. ;-)
Thank you!

Anonymous comment on 2011-04-07 15:53

Ok found the issue. Delete /home/christian/tmp/grub2-bios-bzr/ and use the new PKGBUILD. Thanks for reporting.

Anonymous comment on 2011-04-07 15:00

I still get the same error as before using makepkg.
'/home/christian/tmp/grub2-bios-bzr/src/grub2_build/autogen.sh' seems to be wrong since the autogen.sh script is in `/home/christian/tmp/grub2-bios-bzr/src/grub/autogen.sh'.
But even when changing that path there are several other issues appearing....

Anonymous comment on 2011-04-07 12:21

It doesn't compile.... got the following error right away:

cp: cannot stat `/tmp/yaourt-tmp-christian/aur-grub2-bios-bzr/src/grub2_build/autogen.sh': No such file or directory

Seems like several things have changed with the paths.

cedeel commented on 2011-02-23 11:45

Package does not build

patching file util/grub-mkconfig.in
patching file util/grub.d/00_header.in
patching file util/grub.d/10_linux.in
Hunk #1 FAILED at 31.
1 out of 5 hunks FAILED -- saving rejects to file util/grub.d/10_linux.in.rej


10_linux.in.rej:

--- util/grub.d/10_linux.in
+++ util/grub.d/10_linux.in
@@ -31,8 +31,8 @@
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
- OS="${GRUB_DISTRIBUTOR} GNU/Linux"
- CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]' | cut -d' ' -f1) ${CLASS}"
+ OS="${GRUB_DISTRIBUTOR}"
+ CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]' | tr -d ' ') ${CLASS}"
fi

# loop-AES arranges things so that /dev/loop/X can be our root device, but

Anonymous comment on 2011-02-22 05:44

@ungraven: For any package to be built by makepkg, base-devel is assumed to be installed (see the comment by falconindy) and therefore base-devel is not explicitly mentioned as make-depends. Also 'patch' is a part of base-devel.

As for the patch, I copied it from the official grub2-common package (the 1.99~rc1 package) which was actually taken from grub2-bzr (so the credit should go to grub2-bzr maintainer). Since upstream development is in a constant flux, the patch may have diverged. The hunk error is not a fault of bzr repo, rather its our fault in not rebasing the patch to the current bzr revision. I am busy right now with exams so i may not update the patch until my exams finish. If you can provide an updated patch, it would be most helpful.

Till then just disable applying the patch if you are not a user of grub-mkconfig (to create /boot/grub/grub.cfg) . The liblzma error might occur if you built this package with xz 4.x but later upgraded xz to 5.x .

To replace sha256sums with md5sums, just replace 'sha256sums=' with 'md5sums=' in the PKGBUILD and re-run 'makepkg -g' . It will generate md5sums instead of sha256sums then.

Anonymous comment on 2011-02-22 01:22

Couple of other pointers. Build this in chroot from arch installer so it links correctly against xz or else grub-installer won't work (liblzma error).
Hopefully we can get the patch updated. Copying that sha256sum into my PKGBUILD was annoying.
I will let know if it works.

Anonymous comment on 2011-02-22 00:04

It was the archlinux_grub2_mkconfig_fixes.patch causing the problem. Perhaps that's obvious to some, but wasn't for me at first. I removed the hunk @line 31. It didn't look necessary anymore as upstreams had changed and I assume been improved.
Additionally autoreconf and alocal etc is required which is in base-devel, so really base-devel should be a makedepends imo.

Finally, after a couple of days it now built.

Anonymous comment on 2011-02-20 23:09

Even after about 10 attempts I still couldn't get this to build. I kept getting "Hunk #1 FAILED at 31. 1 out of 5 hunks FAILED..." errors. The grub2-bzr package fails with the same error though so I can only assume it's the fault of the bzr repo? I don't know, but it'd be nice if someone could figure it out :)

Anonymous comment on 2011-02-20 22:04

This is very much a pain to build from the current Arch installer (fresh btrfs install). For example following this guide:
https://wiki.archlinux.org/index.php/Installing_on_Btrfs_root
Off the top of my head:
Don't over-write xz-utils with xz when it askes (this is the xz on the installer media and will break pacman if done).
Needs "patch" in makedepends I think, or at least, patch installed.

Anonymous comment on 2010-12-13 15:36

Done. Left 'autogen' just in case. grub2-efi-bzr also corrected.

falconindy commented on 2010-12-13 15:17

makedepends are a bit overpopulated:

bison, autoconf, automake, flex are all satisifed by the implicit base-devel requirement.

binutils is a dependency of gcc, which is part of base-devel.

Anonymous comment on 2010-11-27 13:42

dont use any proxy either, but while reading the links you provided i just thought id try it again and now it worked.. i guess there was some trouble at the launchpad-end.
Thank you for your work on the package!

Anonymous comment on 2010-11-27 05:48

Must be some problem with launchpad, use the official location (but updating the bzr repo from the official location is a pain). I personally use the launchpad mirrors. I use bzr for grub2 only (since the upstream uses it). Otherwise I would prefer git. BZR has many network related problems.

Check this out

https://bugs.launchpad.net/launchpad-code/+bug/607895
http://old.nabble.com/Unable-to-pull-bzr.dev-td22023331.html

May be due to http proxy (I don't use any proxy) - http://web.archiveorange.com/archive/v/LLXmLCgzgvXAUDqQuyDA .

Anonymous comment on 2010-11-27 00:18

Cant seem to build it, getting a bazaar error:
==> Determining latest bzr revision...
bzr: ERROR: Connection error: while sending POST /bazaar/: [Errno 0] Error

never worked with bazaar so i dont really know how to proceed..
edit:
just tested to checkout (branch) the official version from bzr.savannah.gnu.org which worked fine (just to make sure theres no problems with the bzr-installation or internet connection on my side).

rwd2 commented on 2010-11-23 23:33

in addition to my earlier comment

"An example config file is available at /boot/grub2_efi_x86_64_bzr/grub.cfg.example."

is not correct. I do see a grub.cfg.example in /etc/grub.d/ however

rwd2 commented on 2010-11-23 23:16

the install scrip is not very clear:
it states:

cd /usr/lib/grub2_efi_x86_64_bzr/x86_64-efi/

sudo cp lua.mod zfs.mod zfsinfo.mod <EFI_SYSTEM_PARTITION>/efi/grub2/
sudo cp unifont.pf2 ascii.pf2 <EFI_SYSTEM_PARTITION>/efi/grub2/

but there is no grub2 folder, only grub2_efi_x86_64_bzr . Also unifont.pf2 ascii.pf do not exist in /usr/lib/grub2_efi_x86_64_bzr/x86_64-efi/

Anonymous comment on 2010-10-23 17:28

autogen is already in makedepends. Also python2 (not python 3) is needed.

Anonymous comment on 2010-10-21 15:31

Hi :) Thanks for you package. I found out that "autogen" is another makedependancy, you might want to add it :)

Anonymous comment on 2010-08-26 20:20

This is a dummy package. Please edit the PKGBUILD and uncomment the appropriate pkgname as per your UEFI arch and the grub2 bzr branch you want to compile.