From: Linda Walsh <lkml@tlinx.org>
To: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>,
Linda Walsh <lkml@tlinx.org>
Subject: Re: Makefile targets: tar & rpm pkgs, while using O=<dir> as non-root
Date: Mon, 19 Dec 2005 14:12:27 -0800 [thread overview]
Message-ID: <43A7304B.2070103@tlinx.org> (raw)
In-Reply-To: <20051219071959.GJ13985@lug-owl.de>
Jan-Benedict Glaw wrote:
>
>I've not really used out-of-tree building for Linux, so the tar*
>targets are probably not really tested with that regard. Though I'll
>check that and see if it works (of if a patch is needed.)
>
>The RPM targets have to be tested by somebody else :)
>
---
Thanks -- the error I got for the "tar"-based images started as:
ishtar:/usr/src/linux-2.6.14.3> make V=1 INSTALL_ROOT=
../build/ast-root O=../build/ast-26143/ tarbz2-pkg
make -C /home/build/ast-26143 \
KBUILD_SRC=/usr/src/linux-2.6.14.3 \
KBUILD_EXTMOD="" -f /usr/src/linux-2.6.14.3/Makefile ../build/ast-root
make[1]: Nothing to be done for `/usr/src/linux-2.6.14.3/../build/ast-root'.
make -C /home/build/ast-26143 \
KBUILD_SRC=/usr/src/linux-2.6.14.3 \
KBUILD_EXTMOD="" -f /usr/src/linux-2.6.14.3/Makefile tarbz2-pkg
make -f /usr/src/linux-2.6.14.3/scripts/package/Makefile tarbz2-pkg
make
make -C /usr/src/linux-2.6.14.3 O=/home/build/ast-26143
Makefile:484: .config: No such file or directory
Using /usr/src/linux-2.6.14.3 as source for kernel
if [ -f /usr/src/linux-2.6.14.3/.config ]; then \
echo " /usr/src/linux-2.6.14.3 is not clean, please run 'make
mrproper'";\
echo " in the '/usr/src/linux-2.6.14.3' directory.";\
/bin/false; \
fi;
if [ ! -d include2 ]; then mkdir -p include2; fi;
mkdir: cannot create directory `include2': Permission denied
make[4]: *** [prepare3] Error 1
make[3]: *** [all] Error 2
make[2]: *** [tarbz2-pkg] Error 2
make[1]: *** [tarbz2-pkg] Error 2
make: *** [tarbz2-pkg] Error 2
==========
Briefly, the make rpm-pagage options call "make install" and
"make modules_install". Both attempt to install the kernel
for the "target" system onto the the "Build" system. This isn't
desired as the "target" kernel won't even run on the "build"
system.
I could supply error listings, but it seems unneeded as it is
so easily reproduced.
I see JanB is on the making "tar" image, but how long ago was
building of the rpm stuff done? Is it the case that the designer/writer
of that hasn't had time to make it work with the "O=" param? Is
someone still actively maintaining those targets?
Ideally it would be good to be able to make an installable kernel
package as a non-root user. The idea is to not need root-privs
except to install, right? :-)
Linda
next prev parent reply other threads:[~2005-12-19 22:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-18 23:27 Makefile targets: tar & rpm pkgs, while using O=<dir> as non-root Linda Walsh
2005-12-19 7:19 ` Jan-Benedict Glaw
2005-12-19 22:12 ` Linda Walsh [this message]
2005-12-19 22:30 ` Jan-Benedict Glaw
2005-12-20 1:48 ` Linda Walsh
2005-12-30 6:33 ` patch for "scripts/package/buildtar" to pickup "localversion" on "/boot" file objects Linda A. Walsh
2005-12-30 10:15 ` Erik Mouw
2005-12-30 20:23 ` Linda A. Walsh
2005-12-20 15:41 ` Makefile targets: tar & rpm pkgs, while using O=<dir> as non-root Nix
2005-12-20 15:58 ` Sam Ravnborg
2005-12-20 17:44 ` Nix
2005-12-20 17:37 ` Sam Ravnborg
2005-12-20 20:25 ` Al Viro
2005-12-21 7:49 ` Nix
2005-12-21 8:18 ` Al Viro
2005-12-21 11:22 ` Nix
[not found] ` <52666.10.10.10.28.1135155403.squirrel@linux1>
2005-12-21 8:56 ` Sean
2005-12-20 17:20 ` Ryan Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43A7304B.2070103@tlinx.org \
--to=lkml@tlinx.org \
--cc=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox