From 3ccdebb1f273782ebcc09837bf5fa59e2c231d59 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 19 Nov 2012 14:58:41 +0000 Subject: Add minimal /etc/services The full list is between 188 and 750KB, which is too much to be in foundation. The current file is what is required for nfs to work, which would ideally go in the nfs stratum, but since we can't merge files in /etc I have put it here in fhs-dirs to avoid confusion when we add other network services. --- fhs-dirs.morph | 1 + services | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 services diff --git a/fhs-dirs.morph b/fhs-dirs.morph index 169cca1..fcf3bf9 100644 --- a/fhs-dirs.morph +++ b/fhs-dirs.morph @@ -11,6 +11,7 @@ "install -m 644 group \"$DESTDIR/etc/group\"", "install -m 644 ld.so.conf \"$DESTDIR/etc/ld.so.conf\"", "install -m 644 issue \"$DESTDIR/etc/issue\"", + "install -m 644 services \"$DESTDIR/etc/services\"", "echo baserock > \"$DESTDIR\"/etc/hostname" ] } diff --git a/services b/services new file mode 100644 index 0000000..b40befd --- /dev/null +++ b/services @@ -0,0 +1,13 @@ +# Minimal services file +# +# The traditional full list of services, available from this package: +# http://sethwklein.net/iana-etc +# is 188KB completely stripped, and doesn't belong in /etc anyway. +# +# This file is not in Baserock right now, but could happily live in +# its own chunk, installed to /usr/share (this might require some +# libc patching to work correctly). + +sunrpc 111/tcp portmapper rpcbind +sunrpc 111/udp portmapper rpcbind + -- cgit v1.2.1