[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestions to GRUB2
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: Suggestions to GRUB2 |
Date: |
Sun, 03 Oct 2010 00:23:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 |
On 10/02/2010 07:11 PM, Joerg Schiermeier wrote:
> Guten Abend address@hidden,
>
> I would like to increase the verbosity of 'grub-mkconfig' during the
> build proccess of 'grub.cfg' in 'grub/grub.cfg' by adding
> either an other commandline switch or by setting an internal variable.
>
>
Isn't sh -x `whereis grub-mkconfig` enough?
> With this aim in mind I now send a patch like this
>
> ---<patch>---
> *** grub-mkconfig.ORIG 2010-09-20 01:29:00.000000000 +0200
> --- grub-mkconfig 2010-10-02 18:56:58.000000000 +0200
> ***************
> *** 17,22 ****
> --- 17,24 ----
> # You should have received a copy of the GNU General Public License
> # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
>
> + verbose=1
> +
> transform="s,x,x,"
>
> prefix=/usr
> ***************
> *** 304,309 ****
> --- 306,312 ----
> *~) ;;
> *)
> if grub_file_is_not_garbage "$i" && test -x "$i" ; then
> + test ${verbose} -ne 0 && echo "Proccessing now $i ..." >&2
> echo
> echo "### BEGIN $i ###"
> "$i"
> ---</patch>---
>
> Thanks for your attention!
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
- Suggestions to GRUB2, Joerg Schiermeier, 2010/10/02
- Re: Suggestions to GRUB2,
Vladimir 'φ-coder/phcoder' Serbinenko <=