From: Rolf Eike Beer <[email protected]> "mkdir -p" does not only mean not to complain if the directory already exists, but also to create the parent directories if needed. This patch removes "lib" from the list of directories to create as we will also create "lib/modules". Signed-off-by: Rolf Eike Beer <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> --- scripts/package/mkspec | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package/mkspec b/scripts/package/mkspec index df89284..ffd61fe 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -63,9 +63,9 @@ fi echo "%install" echo "%ifarch ia64" -echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules' +echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib/modules' echo "%else" -echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules' +echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib/modules' echo "%endif" echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make %{_smp_mflags} modules_install' -- 1.4.1 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [PATCH 1/28] kconfig: support DOS line endings
- From: [email protected]
- [PATCH 2/28] kbuild: consistently decide when to rebuild a target
- From: [email protected]
- [PATCH 3/28] kbuild: add unifdef
- From: [email protected]
- [PATCH 4/28] kbuild: replace use of strlcpy with a dedicated implmentation in unifdef
- From: [email protected]
- [PATCH 5/28] kbuild: use in-kernel unifdef
- From: [email protected]
- [PATCH 6/28] remove RPM_BUILD_ROOT from asm-offsets.h
- From: [email protected]
- [PATCH 7/28] kconfig: linguistic fixes for Documentation/kbuild/kconfig-language.txt
- From: [email protected]
- [PATCH 8/28] kbuild: linguistic fixes for Documentation/kbuild/modules.txt
- From: [email protected]
- [PATCH 9/28] kbuild: linguistic fixes for Documentation/kbuild/makefiles.txt
- From: [email protected]
- [PATCH 10/28] kbuild: ignore references from ".pci_fixup" to ".init.text"
- From: [email protected]
- [PATCH 11/28] kbuild: modpost on vmlinux regardless of CONFIG_MODULES
- From: [email protected]
- [PATCH 12/28] kbuild: make V=2 tell why a target is rebuild
- From: [email protected]
- [PATCH 13/28] kbuild: make -rR is now default
- From: [email protected]
- [PATCH 14/28] kbuild: preperly align SYSMAP output
- From: [email protected]
- [PATCH 15/28] kbuild: add missing return statement in modpost.c:secref_whitelist()
- From: [email protected]
- [PATCH 16/28] kbuild: create output directory for hostprogs with O=.. build
- From: [email protected]
- [PATCH 17/28] kbuild: remove debug left-over from Makefile.host
- From: [email protected]
- [PATCH 18/28] kbuild: fail kernel compilation in case of unresolved module symbols
- From: [email protected]
- [PATCH 19/28] kbuild: update help in top level Makefile
- From: [email protected]
- [PATCH 21/28] kbuild: clarify "make C=" build option
- From: [email protected]
- [PATCH 22/28] kbuild: fix for some typos in Documentation/makefiles.txt
- From: [email protected]
- [PATCH 23/28] kbuild: Extend kbuild/defconfig tags support to exuberant ctags
- From: [email protected]
- [PATCH 24/28] kbuild: fixup Documentation/kbuild/modules.txt
- From: [email protected]
- [PATCH 25/28] kbuild: correct and clarify versioning info in Makefile
- From: [email protected]
- [PATCH 1/28] kconfig: support DOS line endings
- Prev by Date: [PATCH 18/28] kbuild: fail kernel compilation in case of unresolved module symbols
- Next by Date: Re: 2.6.1[78] page allocation failure. order:3, mode:0x20
- Previous by thread: [PATCH 25/28] kbuild: correct and clarify versioning info in Makefile
- Next by thread: [PATCH 27/28] dontdiff: add utsrelease.h
- Index(es):