mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
FreeBSD guest tools to enabled compatability with SmartOS and Triton. WWW: https://github.com/joyent/freebsd-kvm-image-builder/tree/master/triton-freebsd-guesttools
21 lines
597 B
Text
21 lines
597 B
Text
--- lib/smartdc/common.lib.orig 2017-05-22 19:41:07 UTC
|
|
+++ lib/smartdc/common.lib
|
|
@@ -3,15 +3,15 @@
|
|
#
|
|
# Copyright (c) 2016 Joyent Inc., All rights reserved.
|
|
#
|
|
-# Common variables used by scripts in /lib/smartdc
|
|
+# Common variables used by scripts in %%PREFIX%%/lib/smartdc
|
|
|
|
# location of binaries that functions use
|
|
LOGGER=/usr/bin/logger
|
|
-MDATA_GET='/usr/sbin/mdata-get'
|
|
+MDATA_GET='%%PREFIX%%/sbin/mdata-get'
|
|
|
|
set -o xtrace
|
|
|
|
-# Common functions used by scripts /lib/smartdc
|
|
+# Common functions used by scripts %%PREFIX%%/lib/smartdc
|
|
|
|
lib_triton_fatal() {
|
|
echo "(fatal) - $0 - $@"
|