summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/conffiles1
-rw-r--r--debian/control2
-rw-r--r--debian/directory-list16
-rw-r--r--debian/links4
-rwxr-xr-xdebian/rules8
5 files changed, 26 insertions, 5 deletions
diff --git a/debian/conffiles b/debian/conffiles
index 9d31221..6e588fc 100644
--- a/debian/conffiles
+++ b/debian/conffiles
@@ -1,5 +1,4 @@
/etc/debian_version
/etc/dpkg/origins/debian
-/etc/host.conf
/etc/issue
/etc/issue.net
diff --git a/debian/control b/debian/control
index b5452b9..3cba756 100644
--- a/debian/control
+++ b/debian/control
@@ -15,5 +15,5 @@ Breaks: initscripts (<< 2.88dsf-13.3)
Description: Debian base system miscellaneous files
This package contains the basic filesystem hierarchy of a Debian system, and
several important miscellaneous files, such as /etc/debian_version,
- /etc/host.conf, /etc/issue, /etc/motd, /etc/profile, /etc/nsswitch.conf,
+ /etc/issue, /etc/motd, /etc/profile, /etc/nsswitch.conf,
and others, and the text of several common licenses in use on Debian systems.
diff --git a/debian/directory-list b/debian/directory-list
index 862be7d..12d0efa 100644
--- a/debian/directory-list
+++ b/debian/directory-list
@@ -1,32 +1,44 @@
-bin
boot
dev
+devices
etc
etc/default
+etc/devices
+etc/dfs
etc/profile.d
etc/skel
home
+kernel
lib
+media
mnt
+opt
+platform
proc
root
-run
sbin
+system
+system/contract
+system/object
tmp
usr
usr/bin
usr/games
usr/include
+usr/kernel
usr/lib
+usr/platform
usr/sbin
usr/share
usr/share/common-licenses
usr/share/dict
+usr/share/doc
usr/share/info
usr/share/man
usr/share/misc
usr/src
var
+var/adm
var/backups
var/cache
var/lib
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..2d04a59
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,4 @@
+. usr/ccs
+. usr/gnu
+usr/bin bin
+var/run run
diff --git a/debian/rules b/debian/rules
index 3848b05..820e819 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,11 @@ endif
ifeq ($(DEB_HOST_GNU_SYSTEM),gnu)
OSNAME=GNU/Hurd
endif
+ifeq ($(DEB_HOST_ARCH_OS),illumos)
+ OSNAME=Illumos
+endif
-VENDORFILE = debian
+VENDORFILE = dyson
VERSION = $(shell cat etc/debian_version)
@@ -28,6 +31,9 @@ binary-arch: build
install -d debian/tmp/DEBIAN $(docdir) debian/tmp/etc/dpkg/origins
cp -a origins/* debian/tmp/etc/dpkg/origins
cd debian/tmp && install -d usr/share/$(package)
+ cd debian/tmp && cat ../links | while read l; do \
+ ln -sf $$l; \
+ done
install -p -m 644 debian/changelog debian/README \
debian/README.FHS $(docdir)
cat debian/copyright.in | sed -e "s&#OSNAME#&$(OSNAME)&g" \