freebsd-ports/emulators/linux_base-c6/pkg-message
Alexander Leidinger bb4ac8066a After repocopy (by marcus@) from linux_base-f10:
Add linux_base-c6 port. This is a linux_base port based upon CentOS 6.
CentOS 6 is supported upstream (so far) until November 30, 2020.

Compared to the port as submitted in the PR, I added most SRC_DISTFILES
and set the maintainer to emulation@ (discussed with the submitter).

Not connected to the ports collection (emulation/Makefile) yet, first I want
to find the missing src RPMs (compat-*, stdc++, ...). The port is committed
anyway, so that people can help with the TODO list (in the Makefile).

WARNING: it is highly experimental to use this port instead of the default
linux_base port. You need to set compat.linux.osrelease to 2.6.18, so watch
out for unimplemented syscalls (most recent 8-stable / 9-stable or -current
is recommended for this).

Submitted by:	Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
PR:		165900
2012-04-22 09:24:51 +00:00

35 lines
1.2 KiB
Text

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).
----------------------
You should enable Linux mode with the linux_enable variable of rc.conf(5)
and use compat.linux.osrelease=2.6.18 in sysctl.conf(5).
This is highly experimental!
----------------------
If you want to use shared memory in Linux applications, you need to set up
a link from /dev/shm to a suitable place, e.g. by adding the following line
to /etc/devfs.conf (takes effect on each boot):
link /tmp shm
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
WARNING: doing work which needs to chroot into the linux base may not work.
In such cases (e.g. cross-development) you are better suited with a linux_dist
port.