From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ObhHA-00053F-GQ for mharc-grub-devel@gnu.org; Wed, 21 Jul 2010 17:56:28 -0400 Received: from [140.186.70.92] (port=34517 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObhH7-00050q-CX for grub-devel@gnu.org; Wed, 21 Jul 2010 17:56:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObhH6-0004Ma-4i for grub-devel@gnu.org; Wed, 21 Jul 2010 17:56:25 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:36063) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObhH5-0004LQ-UN for grub-devel@gnu.org; Wed, 21 Jul 2010 17:56:24 -0400 Received: by mail-fx0-f41.google.com with SMTP id 20so4392609fxm.0 for ; Wed, 21 Jul 2010 14:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=fCJwwIIXvvoelfMgUQhVd43p+4iFFHs8VwhRRqs+SpQ=; b=XgvkAsLhGNX9ZcgTA92r+7xH1u6C1UTO8Sa1Xgs7G23gnEnJfCgKNpG55QXMtRvzFT f2/locKonMfKnHvYtSjxQiNgcCkGmnu2RjKQPOIxWMHkkwOlOAE86dmdsrbREucWAV7c eaumLwF7CoYG3H0K275HT765kcDXKqVO9De08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=E9FuLup5SgO1IYSxu2QOBdi/ItIgjhCXBGV99Zwydcg0Uc9V18m2IhT75xDgDA0tVY eQcLYvDkBPob6Hvh8n3lc/cq7S9w/LRjsNOOFs/yd8jhY0JgyJBaEyUoAzRHuQAeWLYG aTYxcHQj5F/Px9pCSv2n9EJLx3xF8LRlHOgxs= Received: by 10.223.113.12 with SMTP id y12mr1024485fap.36.1279749383354; Wed, 21 Jul 2010 14:56:23 -0700 (PDT) Received: from debian.bg45.phnet (vpn-global-dhcp2-123.ethz.ch [129.132.209.123]) by mx.google.com with ESMTPS id k15sm3048208fai.40.2010.07.21.14.56.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Jul 2010 14:56:22 -0700 (PDT) Message-ID: <4C468189.9010106@gmail.com> Date: Wed, 21 Jul 2010 07:11:37 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4C083DF0.6080508@gmail.com> In-Reply-To: <4C083DF0.6080508@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig46F2AC950381DEB87C125CC4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] File name transformations (split into 7 diffs) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2010 21:56:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46F2AC950381DEB87C125CC4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/04/2010 01:42 AM, Gr=C3=A9goire Sutre wrote: > +pkglibrootdir=3D${libdir}/`echo ${PACKAGE_TARNAME} | sed "${program_tr= ansform_name}"` > + > +case "$host_os" in > +netbsd* | openbsd*) > + # Because /boot is used for the boot block in NetBSD and OpenBSD, = use /grub > + # instead of /boot/grub. > + defaultbootdir=3D > + ;; > +*) > + # Use /boot/grub by default. > + defaultbootdir=3D/boot > + ;; > +esac > =20 /boot isn't transformed + # XXX hard-coded /boot (use ${grubdir} or ${defaultbootdir} ?) $grub_mkimage ${config_opt} -f ${font} -d ${pkglibdir} -O ${mkimage_= target} --output=3D/boot/grub.elf --prefix=3D${prefix_drive}${relative_gr= ubdir} $modules || exit 1 Should have been ${grubdir}/grub.elf + # XXX hard-coded /boot (use ${grubdir} or ${defaultbootdir} ?) $grub_mkimage -O ${mkimage_target} ${config_opt} -d ${pkglibdir} --o= utput=3D/boot/multiboot.img --prefix=3D${prefix_drive}${relative_grubdir}= $modules || exit 1 Same. +# GRUB_DIR should be set before sourcing this file, but let's be safe. +if test "x${GRUB_DIR}" !=3D "x"; then + if test -e "${GRUB_DIR}/device.map"; then + grub_probe=3D"${grub_probe} --device-map=3D${GRUB_DIR}/device.map" + fi +fi This would be a separate patch and the problem is that scripts assume tha= t currently loaded kernel is the kernel which will be loaded or similar (= look e.g. at uuid check). This would be a separate patch. + file-name-transformations_3.diff go ahead for trunk file-name-transformations_4.diff go ahead for trunk file-name-transformations_5.diff Transforming names in manual may be cumbersome and conflicts with Colin's= patch. file-name-transformations_6.diff: - $(INSTALL_DATA) $$dir$$file $(DESTDIR)/$(datadir)/locale/$$lang/LC_ME= SSAGES/$(PACKAGE).mo; \ + dest=3D"`echo $(PACKAGE).mo | sed 's,.*/,,' | sed '$(transform)'`"; \= + $(INSTALL_DATA) $$dir$$file $(DESTDIR)$(datadir)/locale/$$lang/LC_MES= SAGES/$$dest; \ Why don't you transform locale and LC_MESSAGES? file-name-transformations_7.dif Go ahead for trunk --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig46F2AC950381DEB87C125CC4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAkxGgYkACgkQNak7dOguQgn/jQEApQZKKsOEnxLF/8GXJxTBkfO4 1rwuvxworE29X3hfLpEA/3wNj/agjcnt4kmm476AMtkkupxPIkb9s1NBe8iGUffJ =kaXf -----END PGP SIGNATURE----- --------------enig46F2AC950381DEB87C125CC4--