Don't transform PACKAGE_TARNAME following a discussion on autoconf
mailing list. * util/grub-install.in: Don't transform PACKAGE_TARNAME. * util/grub-kbdcomp.in: Likewise. * util/grub-mkconfig.in: Likewise. * util/grub-mkconfig_lib.in: Likewise. * util/grub-mknetdir.in: Likewise. * util/grub-mkrescue.in: Likewise. * util/grub-mkstandalone.in: Likewise. * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
This commit is contained in:
parent
47454da510
commit
fc847818fc
11 changed files with 43 additions and 27 deletions
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2012-02-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Don't transform PACKAGE_TARNAME following a discussion on autoconf
|
||||
mailing list.
|
||||
|
||||
* util/grub-install.in: Don't transform PACKAGE_TARNAME.
|
||||
* util/grub-kbdcomp.in: Likewise.
|
||||
* util/grub-mkconfig.in: Likewise.
|
||||
* util/grub-mkconfig_lib.in: Likewise.
|
||||
* util/grub-mknetdir.in: Likewise.
|
||||
* util/grub-mkrescue.in: Likewise.
|
||||
* util/grub-mkstandalone.in: Likewise.
|
||||
* util/grub-reboot.in: Likewise.
|
||||
* util/grub-set-default.in: Likewise.
|
||||
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
|
||||
|
||||
2012-02-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Remove GRUB_PREFIX.
|
||||
|
|
|
@ -32,10 +32,10 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
|||
target_cpu=@target_cpu@
|
||||
platform=@platform@
|
||||
host_os=@host_os@
|
||||
pkglibdir="${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`"
|
||||
pkglibdir="${libdir}/${PACKAGE_TARNAME}/${target_cpu}-${platform}"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
localedir="@datadir@/locale"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ bindir="@bindir@"
|
|||
datarootdir="@datarootdir@"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
|
||||
grub_mklayout="${bindir}/`echo grub-mklayout | sed ${transform}`"
|
||||
|
|
|
@ -32,7 +32,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
|||
host_os=@host_os@
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
grub_cfg=""
|
||||
grub_mkconfig_dir="${sysconfdir}"/grub.d
|
||||
|
|
|
@ -22,7 +22,7 @@ datarootdir="@datarootdir@"
|
|||
datadir="@datadir@"
|
||||
bindir="@bindir@"
|
||||
sbindir="@sbindir@"
|
||||
pkgdatadir="${datadir}/`echo "@PACKAGE_TARNAME@" | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
|
||||
if test "x$grub_probe" = x; then
|
||||
grub_probe="${sbindir}/`echo grub-probe | sed "${transform}"`"
|
||||
|
|
|
@ -31,7 +31,7 @@ host_os=@host_os@
|
|||
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
|
||||
self=`basename $0`
|
||||
|
@ -46,13 +46,13 @@ recheck=no
|
|||
debug=no
|
||||
debug_image=
|
||||
subdir=`echo /boot/grub | sed ${transform}`
|
||||
pc_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-pc"
|
||||
ppc_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/powerpc-ieee1275"
|
||||
sparc_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/sparc64-ieee1275"
|
||||
i386_ieee1275_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-ieee1275"
|
||||
efi32_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-efi"
|
||||
efi64_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/x86_64-efi"
|
||||
itanium_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/ia64-efi"
|
||||
pc_dir="${libdir}/${PACKAGE_TARNAME}/i386-pc"
|
||||
ppc_dir="${libdir}/${PACKAGE_TARNAME}/powerpc-ieee1275"
|
||||
sparc_dir="${libdir}/${PACKAGE_TARNAME}/sparc64-ieee1275"
|
||||
i386_ieee1275_dir="${libdir}/${PACKAGE_TARNAME}/i386-ieee1275"
|
||||
efi32_dir="${libdir}/${PACKAGE_TARNAME}/i386-efi"
|
||||
efi64_dir="${libdir}/${PACKAGE_TARNAME}/x86_64-efi"
|
||||
itanium_dir="${libdir}/${PACKAGE_TARNAME}/ia64-efi"
|
||||
|
||||
. "${pkgdatadir}/grub-mkconfig_lib"
|
||||
|
||||
|
|
|
@ -31,18 +31,18 @@ PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
|||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
||||
|
||||
self=`basename $0`
|
||||
|
||||
multiboot_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-multiboot"
|
||||
coreboot_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-coreboot"
|
||||
qemu_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-qemu"
|
||||
pc_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-pc"
|
||||
efi32_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/i386-efi"
|
||||
efi64_dir="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/x86_64-efi"
|
||||
multiboot_dir="${libdir}/${PACKAGE_TARNAME}/i386-multiboot"
|
||||
coreboot_dir="${libdir}/${PACKAGE_TARNAME}/i386-coreboot"
|
||||
qemu_dir="${libdir}/${PACKAGE_TARNAME}/i386-qemu"
|
||||
pc_dir="${libdir}/${PACKAGE_TARNAME}/i386-pc"
|
||||
efi32_dir="${libdir}/${PACKAGE_TARNAME}/i386-efi"
|
||||
efi64_dir="${libdir}/${PACKAGE_TARNAME}/x86_64-efi"
|
||||
rom_directory=
|
||||
override_dir=
|
||||
grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`"
|
||||
|
|
|
@ -32,7 +32,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
|||
pkglib_DATA="moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
|
||||
self=`basename $0`
|
||||
|
@ -58,7 +58,7 @@ usage () {
|
|||
printf " -v, --version %s\n" "$(gettext "print the version information and exit")"
|
||||
printf " -o, --output=%-11s%s\n" "$(gettext FILE)" "$(gettext "save output in FILE [required]")"
|
||||
# TRANSLATORS: platform here isn't identifier. It can be translated.
|
||||
dir_msg="$(gettext_printf "use images and modules under DIR [default=%s/<platform>]" "${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})")"
|
||||
dir_msg="$(gettext_printf "use images and modules under DIR [default=%s/<platform>]" "${libdir}/${PACKAGE_TARNAME}")"
|
||||
printf " -d, --directory=%-8s%s\n" \
|
||||
"DIR" "$dir_msg"
|
||||
printf " -O, --format=%-11s%s" "$(gettext "FORMAT")" "$(gettext "generate an image in format")"; echo
|
||||
|
@ -155,7 +155,7 @@ if [ "x$source_directory" = x ] ; then
|
|||
mips-loongson)
|
||||
cpu=mipsel ;;
|
||||
esac
|
||||
source_directory="${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})/$cpu-$platform"
|
||||
source_directory="${libdir}/${PACKAGE_TARNAME}/$cpu-$platform"
|
||||
fi
|
||||
|
||||
. "${source_directory}"/modinfo.sh
|
||||
|
|
|
@ -27,7 +27,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
|||
datarootdir="@datarootdir@"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
|
||||
self=`basename $0`
|
||||
|
|
|
@ -27,7 +27,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
|||
datarootdir="@datarootdir@"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
|
||||
self=`basename $0`
|
||||
|
|
|
@ -29,11 +29,11 @@ PACKAGE_TARNAME=@PACKAGE_TARNAME@
|
|||
PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||
target_cpu=@target_cpu@
|
||||
platform=@platform@
|
||||
pkglibdir=${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`
|
||||
pkglibdir="${libdir}/${PACKAGE_TARNAME}/${target_cpu}-${platform}"
|
||||
datarootdir="@datarootdir@"
|
||||
datadir="@datadir@"
|
||||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
|
||||
pkgdatadir="${datadir}/@PACKAGE_TARNAME@"
|
||||
fi
|
||||
|
||||
self=`basename $0`
|
||||
|
|
Loading…
Reference in a new issue