forgot to add genpartmaplist.sh
This commit is contained in:
parent
58cd3d85e0
commit
5325687fc6
2 changed files with 22 additions and 0 deletions
1
DISTLIST
1
DISTLIST
|
@ -24,6 +24,7 @@ genkernsyms.sh.in
|
||||||
genmk.rb
|
genmk.rb
|
||||||
genmoddep.awk
|
genmoddep.awk
|
||||||
genmodsrc.sh
|
genmodsrc.sh
|
||||||
|
genpartmaplist.sh
|
||||||
gensymlist.sh.in
|
gensymlist.sh.in
|
||||||
install-sh
|
install-sh
|
||||||
mkinstalldirs
|
mkinstalldirs
|
||||||
|
|
21
genpartmaplist.sh
Normal file
21
genpartmaplist.sh
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2005, 2008 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This script is free software; the author
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
# Read source code from stdin and detect partmap names.
|
||||||
|
|
||||||
|
module=$1
|
||||||
|
|
||||||
|
# For now, this emits only a module name, if the module registers a partition map.
|
||||||
|
if grep -v "^#" | grep '^ *grub_partition_map_register' >/dev/null 2>&1; then
|
||||||
|
echo $module
|
||||||
|
fi
|
Loading…
Reference in a new issue