Package Details: grub-silent 2.06-6

Git Clone URL: https://aur.archlinux.org/grub-silent.git (read-only, click to copy)
Package Base: grub-silent
Description: GNU GRand Unified Bootloader (2) [without welcome and kernel messages]
Upstream URL: https://www.gnu.org/software/grub/
Keywords: boot booting grub hide loading message silent
Licenses: GPL3
Conflicts: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu, grub-git, grub-legacy
Provides: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu
Submitter: ozgursarier
Maintainer: drlorente97
Last Packager: drlorente97
Votes: 26
Popularity: 0.001809
First Submitted: 2017-11-12 13:41 (UTC)
Last Updated: 2023-10-18 19:34 (UTC)

Dependencies (17)

Required by (313)

Sources (10)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »

dedguy21 commented on 2021-11-20 00:13 (UTC)

@tarkh

Which line is the correct line first or second? "ro" or "rw"

tarkh commented on 2021-11-20 00:07 (UTC)

@drlorente97 found mistake that cause error during build preparation in 06-maybe_quiet.patch line 318:

linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}

and 10_linux.in has:

linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} rw ${args}

after manual edit of 06-maybe_quiet.patch build process went ok. Can you please fix this?

tarkh commented on 2021-11-19 19:44 (UTC) (edited on 2021-11-19 19:44 (UTC) by tarkh)

@dedguy21 it fails to compile on Arch Linux @ MacBookPro Late 2014 in my case, which is Intel.

dedguy21 commented on 2021-11-19 17:36 (UTC)

Is this now only going to work on intel machines?, I see a refrence to intel-microcode in the prepare(), I don't see anything for AMD, might that be the issue here.

This code is failing in the prepare()

dedguy21 commented on 2021-11-19 17:32 (UTC)

I just did a clean install of grub-silent. I'm still getting the below error to and it's not compiling.

tarkh commented on 2021-11-19 15:38 (UTC)

also tried manual install, same result. I'm on Arch Linux.

[~/Dev]$ git clone https://aur.archlinux.org/grub-silent.git
Cloning into 'grub-silent'...
remote: Enumerating objects: 94, done.
remote: Counting objects: 100% (94/94), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 94 (delta 45), reused 78 (delta 33), pack-reused 0
Unpacking objects: 100% (94/94), 60.80 KiB | 75.00 KiB/s, done.
[~/Dev]$ cd grub-silent/
[~/Dev/grub-silent]$ makepkg -s
==> Making package: grub-silent 2.06-4 (Fri 19 Nov 2021 06:35:36 PM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading grub-2.06.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6427k  100 6427k    0     0   219k      0  0:00:29  0:00:29 --:--:--  215k
  -> Downloading grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1009k    0 1009k    0     0   163k      0 --:--:--  0:00:06 --:--:--  252k
  -> Found 01-intel-ucode.patch
  -> Found 02-linux-detect-archlinux-initramfs.patch
  -> Found 03-add-GRUB_COLOR_variables.patch
  -> Found 04-gettext_quiet.patch
  -> Found 05-sleep_shift.patch
  -> Found 06-maybe_quiet.patch
  -> Found 07-quick_boot.patch
  -> Found grub.silent
==> Validating source files with sha256sums...
    grub-2.06.tar.xz ... Passed
    grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz ... Passed
    01-intel-ucode.patch ... Passed
    02-linux-detect-archlinux-initramfs.patch ... Passed
    03-add-GRUB_COLOR_variables.patch ... Passed
    04-gettext_quiet.patch ... Passed
    05-sleep_shift.patch ... Passed
    06-maybe_quiet.patch ... Passed
    07-quick_boot.patch ... Passed
    grub.silent ... Passed
==> Extracting sources...
  -> Extracting grub-2.06.tar.xz with bsdtar
  -> Extracting grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz with bsdtar
==> Starting prepare()...
==> Patch to load Intel microcode
patching file util/grub.d/10_linux.in

==> Patch to detect of Arch Linux initramfs images by grub-mkconfig
patching file util/grub.d/10_linux.in

==> Patch to enable GRUB_COLOR_* variables in grub-mkconfig
patching file util/grub-mkconfig.in
patching file util/grub.d/00_header.in

==> Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme
==> Fix mkinitcpio 'rw' FS#36275
==> Fix OS naming FS#33393
==> Applying Ubuntu patches for making GRUB silent
patching file grub-core/gettext/gettext.c
patching file grub-core/commands/sleep.c
patching file grub-core/normal/menu.c
patching file config.h.in
patching file configure.ac
patching file grub-core/boot/i386/pc/boot.S
patching file grub-core/boot/i386/pc/diskboot.S
patching file grub-core/kern/main.c
patching file grub-core/kern/rescue_reader.c
patching file grub-core/normal/main.c
patching file grub-core/normal/menu.c
patching file util/grub.d/10_linux.in
Hunk #2 FAILED at 141.
1 out of 2 hunks FAILED -- saving rejects to file util/grub.d/10_linux.in.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

tarkh commented on 2021-11-19 13:36 (UTC)

@drlorente97 I've cleared all cache from pacman and yay, and I do install grub-silent-2.06-4:

yay
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 -> Flagged Out Of Date AUR Packages:  dunst-git
:: 1 Packages to upgrade.
1  aur/grub-silent  2.06-3 -> 2.06-4
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==> 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  grub-silent-2.06-4

:: (1/1) Downloaded PKGBUILD: grub-silent
  1 grub-silent                              (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: grub-silent
==> Making package: grub-silent 2.06-4 (Fri 19 Nov 2021 04:32:50 PM MSK)
==> Retrieving sources...
  -> Downloading grub-2.06.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6427k  100 6427k    0     0   181k      0  0:00:35  0:00:35 --:--:--  135k
  -> Downloading grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1009k    0 1009k    0     0   149k      0 --:--:--  0:00:06 --:--:--  234k
  -> Found 01-intel-ucode.patch
  -> Found 02-linux-detect-archlinux-initramfs.patch
  -> Found 03-add-GRUB_COLOR_variables.patch
  -> Found 04-gettext_quiet.patch
  -> Found 05-sleep_shift.patch
  -> Found 06-maybe_quiet.patch
  -> Found 07-quick_boot.patch
  -> Found grub.silent
==> Validating source files with sha256sums...
    grub-2.06.tar.xz ... Passed
    grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz ... Passed
    01-intel-ucode.patch ... Passed
    02-linux-detect-archlinux-initramfs.patch ... Passed
    03-add-GRUB_COLOR_variables.patch ... Passed
    04-gettext_quiet.patch ... Passed
    05-sleep_shift.patch ... Passed
    06-maybe_quiet.patch ... Passed
    07-quick_boot.patch ... Passed
    grub.silent ... Passed
==> Making package: grub-silent 2.06-4 (Fri 19 Nov 2021 04:33:34 PM MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found grub-2.06.tar.xz
  -> Found grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz
  -> Found 01-intel-ucode.patch
  -> Found 02-linux-detect-archlinux-initramfs.patch
  -> Found 03-add-GRUB_COLOR_variables.patch
  -> Found 04-gettext_quiet.patch
  -> Found 05-sleep_shift.patch
  -> Found 06-maybe_quiet.patch
  -> Found 07-quick_boot.patch
  -> Found grub.silent
==> Validating source files with sha256sums...
    grub-2.06.tar.xz ... Passed
    grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz ... Passed
    01-intel-ucode.patch ... Passed
    02-linux-detect-archlinux-initramfs.patch ... Passed
    03-add-GRUB_COLOR_variables.patch ... Passed
    04-gettext_quiet.patch ... Passed
    05-sleep_shift.patch ... Passed
    06-maybe_quiet.patch ... Passed
    07-quick_boot.patch ... Passed
    grub.silent ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting grub-2.06.tar.xz with bsdtar
  -> Extracting grub-extras-8a245d5c1800627af4cefa99162a89c7a46d8842.tar.gz with bsdtar
==> Starting prepare()...
==> Patch to load Intel microcode
patching file util/grub.d/10_linux.in

==> Patch to detect of Arch Linux initramfs images by grub-mkconfig
patching file util/grub.d/10_linux.in

==> Patch to enable GRUB_COLOR_* variables in grub-mkconfig
patching file util/grub-mkconfig.in
patching file util/grub.d/00_header.in

==> Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 files for starfield theme
==> Fix mkinitcpio 'rw' FS#36275
==> Fix OS naming FS#33393
==> Applying Ubuntu patches for making GRUB silent
patching file grub-core/gettext/gettext.c
patching file grub-core/commands/sleep.c
patching file grub-core/normal/menu.c
patching file config.h.in
patching file configure.ac
patching file grub-core/boot/i386/pc/boot.S
patching file grub-core/boot/i386/pc/diskboot.S
patching file grub-core/kern/main.c
patching file grub-core/kern/rescue_reader.c
patching file grub-core/normal/main.c
patching file grub-core/normal/menu.c
patching file util/grub.d/10_linux.in
Hunk #2 FAILED at 141.
1 out of 2 hunks FAILED -- saving rejects to file util/grub.d/10_linux.in.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: grub-silent

drlorente97 commented on 2021-11-19 12:39 (UTC)

@tarkh Please download the new version of grub-silent (release 4). That's the error that I have found yesterday, I made a new patch at night. That's weird, the package compiles ok to me, even the previous version.

dedguy21 commented on 2021-11-19 10:46 (UTC)

I'm getting the same error as below, AMD machine if that matters.