T.R | Title | User | Personal Name | Date | Lines |
---|
699.1 | Re: How do I do a build install? | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Tue Apr 19 1994 21:54 | 42 |
| Date Of Receipt: 19-APR-1994 20:40:28.75
From: FLUME::"[email protected]" "Grant Van Dyck"
To: decwet::jdaddamio (JOHN D'Addamio)
CC: [email protected], decwet::jdaddamio
Subj: Re: How do I do a build install?
If you want to change ownership and permissions as well, you'll need to do a
workon as root which will require a .sandboxrc as well as EDITOR and PRINCIPAL
environment variables set for root. Otherwise you can just do this as yourself.
We'll assume csh here, adapt syntax for your shell.
setenv TOSTAGE path_to_top_of_install_tree
cd src/dir_of_choice
build install_all
or
build install_sometarget
Hope this helps.
>
> I need to do a build install for some testing I'm doing. (Don't worry. I'm
> doing it to a private disk.)
>
> I can't find any documentation about build install. I've tried reading
> the Makefile and tried TOSTAGE=default, TOSTAGE=alpha, and TOSTAGE=/hard/path.
>
> Can I get a couple hints? What I want to do is take a kernel I've built
> and install it on a private disk.
>
> thanks
> John
>
--
Grant Van Dyck enet: [email protected]
Release Engineering
|
699.2 | Re: How do I do a build install? | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Tue Apr 19 1994 23:57 | 10 |
| Date Of Receipt: 19-APR-1994 22:12:25.96
From: FLUME::jmcg "Jim McGinness"
To: decwet::jdaddamio
CC: FLUME::odehelp
Subj: Re: How do I do a build install?
You also need to be sure to use disklabel to apply bootblocks to the disk
and to ensure that osf_boot exists on the target disk.
-- jmcg
|
699.3 | Re: How do I do a build install? | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Wed Apr 20 1994 10:11 | 34 |
| Date Of Receipt: 20-APR-1994 08:21:49.84
From: FLAMBE::johnf "John Flanagan USG Test Johnf Tools Group 20-Apr-1994 0821"
To: JOHN D'Addamio <decwet::jdaddamio>
CC: [email protected], johnf@DEC:.zko.flambe
Subj: Re: How do I do a build install?
First, you need to be root when you're in the workon for the install
phase to work correctly.
Next, you need to set aside a place to be the top of the install tree.
Perhaps /usr/install_tree [make sure that directory exists]
In your workon, you want to type [in this example at least]:
setenv TOSTAGE /usr/install_tree
and then:
build install_target
If you're testing a kernel install, things don't work the same. I have not
had much luck getting single parts of the kernel to install. The way the
build does it is the same as above in terms of setting up the install area
and the TOSTAGE variable, but when it goes to install, it does the
following:
cd kernel; make -ckEF install
Good luck!
John
|
699.4 | Re: How do I do a build install? | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Wed Apr 20 1994 12:24 | 20 |
| Date Of Receipt: 20-APR-1994 10:40:34.32
From: FLAMBE::jmf "Joshua M. Friedman ULTRIX SDE"
To: decwet::jdaddamio, [email protected]
CC:
Subj: Re: How do I do a build install?
John, one more tip which makes things easier. Since 'build' tries
to track down your sandbox rc_files, making a symbolic link
from /.sandboxrc to your own ~/.sandboxrc will make it so that
root's sandboxes will be the same as your own; otherwise you
need to add the ''-rc rcfile'' argument to the build; so do the
following on your system, as root:
# ln -s /usr/users/jdaddamio/.sandboxrc /
for example, then /.sandboxrc will allow root to always work as
if it were you.
-josh
|