Date: Thu, 20 Dec 2001 02:09:04 +0100 (CET) From: BOUWSMA Beery <freebsd-user@netscum.dyndns.dk> To: questions@freebsd.org Subject: sysinstall and DESTDIR Message-ID: <200112200109.fBK194c00338@crotchety.newsbastards.org>
index | next in thread | raw e-mail
[replies sent directly to me may timeout and bounce, since I'm not
online as often as I should be, but I'll check the list archives]
Howdy
This is concerning 4.4-STABLE; it looks as if sysinstall has
moved elsewhere in current and I haven't looked around there
Should the installation of src/release/sysinstall recognize
DESTDIR if defined? If so, the following patch seemed to be
needed when I wanted to install it somewhere other than /stand
--- /usr/local/system/src/release/sysinstall/Makefile Mon Dec 17 09:32:33 2001
+++ /usr/local/source-hacks/release/sysinstall/Makefile Tue Dec 18 21:51:24 2001
@@ -108,8 +108,8 @@
mv keymap.tmp keymap.h
beforeinstall:
- @if [ ! -d ${BINDIR}/ ]; then \
- mkdir -p ${BINDIR}; \
+ @if [ ! -d ${DESTDIR}${BINDIR}/ ]; then \
+ mkdir -p ${DESTDIR}${BINDIR}; \
fi
.include <bsd.prog.mk>
Nextly, I was installing onto a different disk, and /stand on
that disk looked rather different from /stand on a normally-
installed system. As far as I could tell in a quick look,
* none of the hard links one normally finds in /stand exist
* none of the documentation called up by the function keys
in sysinstall is available
So, what is the proper and suggested way in -stable to populate
/stand with sysinstall and anything else needed?
Also, I see that in the -current installation I have, the
/stand directory no longer exists, with sysinstall existing
dynamically-linked in /usr/sbin, but I haven't checked that
out at all...
thanks
barry bouwsma
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112200109.fBK194c00338>
