Oh yeah, I see:
if [ $? -eq 0 ]; then
mount -F zfs ${SYS_ZPOOL}/var /var
mount -F zfs ${SYS_ZPOOL}/config /etc/zones
mount -F zfs ${SYS_ZPOOL}/opt /opt
if [[ -n $(/bin/bootparams | grep '^headnode=true') ]]; then
mkdir -p /opt/smartdc/agents/smf
mount -O -F lofs /var/svc/manifest/site /opt/smartdc/agents/smf
fi
OK, since I don't yet understand how SmartOS is built, how do I rebuild the
miniroot?
Might there be a document somewhere on this?
I seem to vaguely remember Keith mentioning something along the lines of
modifying the miniroot for something a week or two ago... maybe it was USB
drivers?
A search for "miniroot" in the SmartOS wiki turns up nothing.
--
From: [email protected]
Date: Fri, 21 Mar 2014 13:24:31 -0500
Subject: Re: [smartos-discuss] Modifying /etc/opt
To: [email protected]
I think that if I were going to do this in the way you suggest - by editing the
miniroot of an image, and hacking the scripts - I'd probably choose to do it
here:
https://github.com/joyent/smartos-overlay/blob/master/lib/svc/method/fs-joyent
Which eventually ends up in /lib/svc/method/fs-joyent
--e
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com