Bruce Dubbs wrote these words on 12/15/05 10:12 CST:

> Perhaps we should also do what DJ did for the Java binary install:
> 
> ...
> FOP_BUILD_DIR=$(pwd) &&
> mkdir -v -p bin &&
> ln -v -sf /bin/true bin/more &&
> cd $JAVA_HOME &&
> yes | PATH=$FOP_BUILD_DIR/bin:$PATH \
>    $FOP_BUILD_DIR/../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
> ...
> 
> which would automate the install.

I am against the whole concept of that automation. Sun puts the
'more' in there for a reason. They want you to read the license
agreement. I don't think it's prudent for BLFS to use techniques
that violate and bypass that.

I use redirection to the "yes | command" and it automates it
just fine (bypasses the requirement to hit a key when the file
is 'more'd).  To me, it would be better to explain to use
redirection, then it is to make it where you don't see the
license agreement.

Here is my reasoning.

We use the "yes" command, but it is fully explained what we are
doing. By using that command, and having explanatory text that
says they are agreeing to the license, our bases are covered in
that we aren't bypassing the reading, and agreeing to the license.

Secondly, by using redirection to a log file, the license
agreement (in entirety) is written in the log file, with a thing
at the bottom (in the log) that shows the user agreed to the
license.

To me, this is a better way to do it. I'd like to see the binary
JDK done this way as well.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
10:24:00 up 81 days, 19:48, 3 users, load average: 0.24, 0.56, 0.62
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to