summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-20 21:10:27 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-20 21:11:40 (EDT)
commitd5a647cd89d392e1663a84499fb223eb4ea2d498 (patch)
tree0c3952771ebaf65d9d90e5746dedb09316eed879
parentf028e9912b86c4e5663f728d4cdce2e4cdffac54 (diff)
Add 'initscripts' binary package.
-rw-r--r--basefiles.pkg/install18
-rwxr-xr-xbuild10
-rw-r--r--initscripts.pkg/control5
-rw-r--r--initscripts.pkg/install2
4 files changed, 30 insertions, 5 deletions
diff --git a/basefiles.pkg/install b/basefiles.pkg/install
index 72e8ffc..ccc1873 100644
--- a/basefiles.pkg/install
+++ b/basefiles.pkg/install
@@ -1 +1,17 @@
-*
+/bin
+/boot
+/dev
+/etc/opt
+/home
+/lib
+/media
+/mnt
+/opt
+/proc
+/root
+/sbin
+/srv
+/sys
+/tmp
+/usr
+/var
diff --git a/build b/build
index ada894c..2fffb46 100755
--- a/build
+++ b/build
@@ -1,6 +1,8 @@
#! /usr/bin/make -f
-basefiles: basefiles.buildstamp
+PKGS = basefiles initscripts
+
+$(PKGS): basefiles.buildstamp
.SILENT: basefiles.buildstamp
basefiles.buildstamp:
@@ -34,8 +36,8 @@ basefiles.buildstamp:
cd dest && \
ln -s rc etc/init.d/rcS && \
ln -s rc etc/init.d/rcK
- oh-installfiles basefiles
+ oh-installfiles $(PKGS)
oh-installdocs basefiles
- oh-gencontrol basefiles
- oh-buildopk basefiles
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
touch basefiles.buildstamp
diff --git a/initscripts.pkg/control b/initscripts.pkg/control
new file mode 100644
index 0000000..5fe3241
--- /dev/null
+++ b/initscripts.pkg/control
@@ -0,0 +1,5 @@
+Package: initscripts
+Architecture: all
+Description: Service initialization scripts
+ This package provides the init table, boot/shutdown run control, and service
+ initialization scripts.
diff --git a/initscripts.pkg/install b/initscripts.pkg/install
new file mode 100644
index 0000000..c286205
--- /dev/null
+++ b/initscripts.pkg/install
@@ -0,0 +1,2 @@
+/etc/inittab
+/etc/init.d/