summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-01-16 02:16:35 +0000
committerobache <obache@pkgsrc.org>2010-01-16 02:16:35 +0000
commit8ab5ae37c6258c4ddaa54440c1e4c9fbf91ff60e (patch)
treeb1892ac7a903994a4263b6d9856e9c9f40efb432 /mk/platform
parent268086c70f9b9295810044a534112d4526e0b094 (diff)
downloadpkgsrc-8ab5ae37c6258c4ddaa54440c1e4c9fbf91ff60e.tar.gz
Add support of SSD/Linux.
* ROOT_GROUP=wheel, fixes PR#42073. * LOWER_VENDOR=ssd * adjust paths for some tools
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Linux.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index 7ae327921ac..f0c2c69ae19 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.34 2009/07/26 05:32:43 agc Exp $
+# $NetBSD: Linux.mk,v 1.35 2010/01/16 02:16:35 obache Exp $
#
# Variable definitions for the Linux operating system.
@@ -23,7 +23,11 @@ MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
NOLOGIN?= /bin/false
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
ROOT_CMD?= ${SU} - root -c
+.if exists(/etc/ssdlinux_version)
+ROOT_GROUP?= wheel
+.else
ROOT_GROUP?= root
+.endif
ROOT_USER?= root
SERIAL_DEVICES?= /dev/null
ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`