|
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)
Notes:
svn path=/head/; revision=157591
|