Debian Bug report logs - #633812
grub2 should include a possibility to add command line options for kfreebsd kernels

Package: grub-common; Maintainer for grub-common is GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>; Source for grub-common is src:grub2.

Reported by: Arno Töll <debian@toell.net>

Date: Wed, 13 Jul 2011 23:21:02 UTC

Severity: wishlist

Tags: patch

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#633812; Package grub-common. (Wed, 13 Jul 2011 23:21:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arno Töll <debian@toell.net>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 13 Jul 2011 23:21:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Arno Töll <debian@toell.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub2 should include a possibility to add command line options for kfreebsd kernels
Date: Thu, 14 Jul 2011 01:16:06 +0200
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: grub-common
Severity: wishlist
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd


As Linux (and other systems), also the kfreebsd kernel supports command
line switches, the user might want to append upon boot through grub. See
[1] for a list of recognized boot options.

Therefore I'd like to suggest to add support for command line switches
through the Debian /etc/default/grub mechanism, namely
GRUB_CMDLINE_KFREEBSD and GRUB_CMDLINE_KFREEBSD_DEFAULT.

To achieve this, not only 10_kfreebsd.in needs to be patched, but also
grub-mkconfig.in. I attached a patch enabling support for the variables
above, which work very similar to the way of their LINUX counterparts.

Note I didn't test the result binary package, because building the grub2
binary package does not work in a pbuilder chroot and I didn't want to
trash my system with build dependencies of it. However I did test the
final scripts and they seem to work.

[1] http://www.freebsd.org/cgi/man.cgi?query=boot
- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOHic1AAoJEMcrUe6dgPNtIiMQAI2Cb6yVGBrDB1lNyrvJA+0B
Ns45x9mVVoy5wB+wFBGsTaBqTj2nVTFwLfN53HN8gLd5vuJLZ62zbgOZ0cfNXYsW
QILdDmyh9YLabZJwX6Jdb3ZLm0uG7uboEDN3Ps+O2Anq4Up+bunxdjj13rxM2WEU
/xruNELgfbKomb5lRI06xfJKUBpToYc87JS35Hg9mrkd6fGTbo9hULGs3aQwqF9X
ZvjIKb+yLAMMsEgd280D28lmAFCYSG0Q/kDi6i0mjXyDg2UGj0BbxDmqJKaSBqdu
aX/7erNeDfiYw2v/UN59+vkzJfn/wutA4mUKhwX/VIs7OPqEqydtN1OGnhBJhlZr
pQbLqgm38//+43BNqmQzKP/NExnbUiGfN4mAJTBfmhuHW4cSEzlVqJIF94k03B+R
SvtslJcSks1Dl2vvPGY6Y0u6K/bQRMhWTfovVXrvk+jbjAoEg1C/qBKwkTNl2894
h1osRFlbt95unRdvZVGX275c4nsRJXbxjP0AvytWOO2i3Pw2V481ILWE9S0qaq6K
LNcOX0g8oCD7Kq2mIzX4BjYfwrGR8loRd6DrZPZOCHthe7fhWHyupd5lD40+AJL7
moZuMj9EsrdnEmc3WmUFVmq2AZOA6EilXP/6jWmUkGIEbC20uEYUfI3cH1sXszXh
gdCHNlmWxMRJTc2pmR8K
=B+pe
-----END PGP SIGNATURE-----
[add_kfreebsd_commandline.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 07:51:36 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.