1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/emulators/linux_base-f10/pkg-message
Alexander Leidinger affb190b16 The port is intended to become the new default linux_base port (replaces
the current linux_base-8 port).

You should only switch to this port if you know what you are doing.
You may or may not have problems with installing other linux related
ports after switching to it. Success or failure reports welcome.

To switch:
 - echo "OVERRIDE_LINUX_BASE_PORT=fc3" >> /etc/make.conf
 - portupgrade -fo emulators/linux_base-fc3 linux_base-8

News and changes (from submitter with some small changes by me):
 - based on linux_base-8 port;
 - don't use linux rpm binary to install. The whole source tree is
   created at ${WRKDIR} and then installed (using cpio);
 - removes some files and directories (etc/passwd, etc/group,
   usr/local, ...) to ensure using FreeBSD original files;
 - introduces etc/nsswitch.conf.dist and etc/yp.conf.sample files,
   uses correct install/deinstall behaviour with etc/nsswitch.conf
   and etc/yp.conf files;
 - doesn't do [u]mounting while install/deinstall process.
   Thus it is possible to use jails while building packages.
   But since linprocfs is not automounted, special measures should be
   taken at package building for those ports which need a mounted
   linprocfs (i.e. for linux JDK building);
 - uses linux ldconfig in the pkg-install file (as opposed to using in
   the Makefile). It is needed when upgrading (i.e. when other linux
   libraries are present in the system) and when installing by packages.

Submitted by:	Boris Samorodov <bsam@ipt.ru> (some small changes by me)
2006-03-18 19:07:04 +00:00

21 lines
693 B
Plaintext

This software is based in part on the work of the FreeType Team.
See <URL:http://www.freetype.org/>.
Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).
To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:
Set your yp-server and yp-domainname in yp.conf:
domainname my.yp.domainname
ypserver my.yp.server
Let your lists for hosts, passwd and group be resolved via nsswitch.conf:
passwd: files nis
shadow: files nis
group: files nis
hosts: files dns nis