Bug#633812: grub2 should include a possibility to add command line options for kfreebsd kernels
Arno Töll
debian at toell.net
Wed Jul 13 23:16:06 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: grub-common
Severity: wishlist
Tags: patch
User: debian-bsd at 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-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_kfreebsd_commandline.patch
Type: text/x-diff
Size: 2168 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110714/f3e28311/attachment.patch>
More information about the Pkg-grub-devel
mailing list