summaryrefslogtreecommitdiff
path: root/smf-base
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-05-26 02:30:02 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-05-26 02:30:02 +0000
commite456fc6cff4fe605e1f6f04ecf9c0c563e3a48e7 (patch)
tree06529178af59d9961168cdbc92f8ce68b2eff5ef /smf-base
parent4573be28075cb23c904e70678ece1591221247e4 (diff)
downloadillumos-packaging-e456fc6cff4fe605e1f6f04ecf9c0c563e3a48e7.tar.gz
Reworked SMF:
1. smf-init has triggers to import manifests 2. smf-tools includes only svc* tools
Diffstat (limited to 'smf-base')
-rw-r--r--smf-base/debian/changelog5
-rw-r--r--smf-base/debian/compat1
-rw-r--r--smf-base/debian/control24
-rw-r--r--smf-base/debian/docs1
-rw-r--r--smf-base/debian/install43
-rw-r--r--smf-base/debian/patches/01-mount-var-run-lock.patch10
-rwxr-xr-xsmf-base/debian/rules20
-rw-r--r--smf-base/debian/source/format1
8 files changed, 105 insertions, 0 deletions
diff --git a/smf-base/debian/changelog b/smf-base/debian/changelog
new file mode 100644
index 0000000..bd6b420
--- /dev/null
+++ b/smf-base/debian/changelog
@@ -0,0 +1,5 @@
+smf-base (5.11.0-1~3) unstable; urgency=low
+
+ * Initial release.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Sat, 26 May 2012 01:39:16 +0000
diff --git a/smf-base/debian/compat b/smf-base/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/smf-base/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/smf-base/debian/control b/smf-base/debian/control
new file mode 100644
index 0000000..48a34fd
--- /dev/null
+++ b/smf-base/debian/control
@@ -0,0 +1,24 @@
+Source: smf-base
+Section: admin
+Priority: required
+Maintainer: Igor Pashev <pashev.igor@gmail.com>
+Build-Depends:
+ debhelper ( >= 8 ),
+Standards-Version: 3.9.2
+Homepage: http://illumos.org/
+
+Package: smf-base
+Essential: yes
+Priority: required
+Section: admin
+Architecture: all
+Depends: ${misc:Depends}
+Description: service management facility (SMF): core services
+ SMF is a framework that handles system boot-up, process management, and
+ self-healing. It addresses the shortcomings of startup scripts and creates
+ an infrastructure to manage daemons after the host has booted.
+ .
+ This package includes manifests, methods, shared files for
+ core SMF services and milestones, such as mounting filesystems,
+ network configration, console login and others.
+
diff --git a/smf-base/debian/docs b/smf-base/debian/docs
new file mode 100644
index 0000000..4171555
--- /dev/null
+++ b/smf-base/debian/docs
@@ -0,0 +1 @@
+debian/tmp/lib/svc/share/README
diff --git a/smf-base/debian/install b/smf-base/debian/install
new file mode 100644
index 0000000..af5d8e4
--- /dev/null
+++ b/smf-base/debian/install
@@ -0,0 +1,43 @@
+lib/svc/share/fs_include.sh
+lib/svc/share/net_include.sh
+
+lib/svc/manifest/milestone/multi-user-server.xml
+lib/svc/manifest/milestone/multi-user.xml
+lib/svc/manifest/milestone/name-services.xml
+lib/svc/manifest/milestone/network.xml
+lib/svc/manifest/milestone/single-user.xml
+lib/svc/manifest/milestone/sysconfig.xml
+lib/svc/manifest/network/network-initial.xml
+lib/svc/manifest/network/network-install.xml
+lib/svc/manifest/network/network-loopback.xml
+lib/svc/manifest/network/network-netmask.xml
+lib/svc/manifest/network/network-physical.xml
+lib/svc/manifest/network/network-service.xml
+lib/svc/manifest/system/device/devices-audio.xml
+lib/svc/manifest/system/device/devices-local.xml
+lib/svc/manifest/system/filesystem/local-fs.xml
+lib/svc/manifest/system/filesystem/minimal-fs.xml
+lib/svc/manifest/system/filesystem/root-fs.xml
+lib/svc/manifest/system/filesystem/usr-fs.xml
+lib/svc/manifest/system/identity.xml
+lib/svc/manifest/system/rmtmpfiles.xml
+lib/svc/manifest/system/svc/global.xml
+lib/svc/manifest/system/svc/restarter.xml
+
+lib/svc/method/devices-audio
+lib/svc/method/devices-local
+lib/svc/method/fs-local
+lib/svc/method/fs-minimal
+lib/svc/method/fs-root
+lib/svc/method/fs-usr
+lib/svc/method/identity-domain
+lib/svc/method/identity-node
+lib/svc/method/net-init
+lib/svc/method/net-install
+lib/svc/method/net-loc
+lib/svc/method/net-loopback
+lib/svc/method/net-netmask
+lib/svc/method/net-physical
+lib/svc/method/net-svc
+lib/svc/method/rmtmpfiles
+
diff --git a/smf-base/debian/patches/01-mount-var-run-lock.patch b/smf-base/debian/patches/01-mount-var-run-lock.patch
new file mode 100644
index 0000000..6768c5a
--- /dev/null
+++ b/smf-base/debian/patches/01-mount-var-run-lock.patch
@@ -0,0 +1,10 @@
+--- a/lib/svc/method/fs-minimal 2011-11-13 05:56:46.000000000 +0000
++++ b/lib/svc/method/fs-minimal.new 2012-05-22 22:56:55.815215659 +0000
+@@ -66,6 +66,7 @@
+ mounted /var/run - tmpfs < /etc/mnttab
+ if [ $? != 0 ] ; then
+ mountfs -O /var/run tmpfs - swap || exit $SMF_EXIT_ERR_FATAL
++ mkdir /var/run/lock
+ fi
+
+ if [ ! -f /var/run/tzsync ] ; then
diff --git a/smf-base/debian/rules b/smf-base/debian/rules
new file mode 100755
index 0000000..03bbedd
--- /dev/null
+++ b/smf-base/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+
+%:
+ dh $@
+
+# For a while we use binary "sources"
+override_dh_auto_clean:
+override_dh_auto_configure:
+override_dh_auto_build:
+override_dh_auto_test:
+override_dh_auto_install:
+ ln -sf ../../root_i386 debian/tmp
+
+
+override_dh_install:
+ dh_install
+ cd debian/smf-base && \
+ patch -p1 < ../../debian/patches/01-mount-var-run-lock.patch
+
diff --git a/smf-base/debian/source/format b/smf-base/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/smf-base/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)