[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[augeas-devel] Bug#522056: augeas-lenses: The patch for Debian's grub could be replaced by an additional lens



Package: augeas-lenses
Version: 0.5.0-0hebex1
Severity: wishlist


There is currently a patch in the Debian augeas package so that the
grub.aug lens looks into /boot/grub/menu.lst instead of /etc/grub.conf
for grub's configuration. 

This patch has to be applied every time, and it has to be adapted when
grub.aug changes (which happens, especially lately).

Instead of doing this, it could be easier to ship an additional lens in
augeas-lenses, called for example grub_debian.aug, with the following
code :


module Grub_Debian =
  autoload xfm
      let xfm = transform Grub.lns (incl "/boot/grub/menu.lst")


There would be no need for a patch anymore, and no need to maintain a
patch.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]