aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-11-15 22:43:20 +0000
committerSteve Wills <swills@FreeBSD.org>2017-11-15 22:43:20 +0000
commitbdb90155bbd6e16a5e951cffd0f46258425492b3 (patch)
tree7523667534087d6ff5d8eaeb14c46ab061892ada /net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot
parent24914bb2ca010bb343a5afd9940417864d599337 (diff)
downloadports-bdb90155bbd6e16a5e951cffd0f46258425492b3.tar.gz
ports-bdb90155bbd6e16a5e951cffd0f46258425492b3.zip
net-mgmt/triton-guesttools: create port
FreeBSD guest tools to enabled compatability with SmartOS and Triton. WWW: https://github.com/joyent/freebsd-kvm-image-builder/tree/master/triton-freebsd-guesttools
Notes
Notes: svn path=/head/; revision=454294
Diffstat (limited to 'net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot')
-rw-r--r--net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot b/net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot
new file mode 100644
index 000000000000..21c793c36b60
--- /dev/null
+++ b/net-mgmt/triton-guesttools/files/patch-lib_smartdc_firstboot
@@ -0,0 +1,23 @@
+--- lib/smartdc/firstboot.orig 2017-05-22 19:41:07 UTC
++++ lib/smartdc/firstboot
+@@ -4,16 +4,16 @@
+ # For scripts that should be run on first boot only
+
+ # load common functions and vars
+-. /lib/smartdc/common.lib
++. %%PREFIX%%/lib/smartdc/common.lib
+
+ # Set root password if root_pw is set in the image manifest
+-(/lib/smartdc/set-rootpassword)
++(%%PREFIX%%/lib/smartdc/set-rootpassword)
+
+ # Format disk
+-(/lib/smartdc/format-secondary-disk)
++(%%PREFIX%%/lib/smartdc/format-secondary-disk)
+
+ # Disable firstboot once all scripts are run
+ lib_triton_info "Disabling firstboot"
+-touch /lib/smartdc/.firstboot-complete-do-not-delete
++touch %%PREFIX%%/lib/smartdc/.firstboot-complete-do-not-delete
+
+ exit 0