[haiku-commits] haiku: hrev49626 - build/jam/images/definitions data/settings/network

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 9 Sep 2015 16:39:41 +0200 (CEST)

hrev49626 adds 1 changeset to branch 'master'
old head: fb956f25618a1fc6a3dc990b0902e572b1ff7e8b
new head: 635fe4746dfe24151e8645d0f7e94675216b0e94
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=635fe4746dfe+%5Efb956f25618a

----------------------------------------------------------------------------

635fe4746dfe: network: Add missing hosts configuration file

* Provides localhost define to the network kit
* Resolves #12260 and others

[ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49626
Commit: 635fe4746dfe24151e8645d0f7e94675216b0e94
URL: http://cgit.haiku-os.org/haiku/commit/?id=635fe4746dfe
Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date: Wed Sep 9 14:30:18 2015 UTC

Ticket: https://dev.haiku-os.org/ticket/12260

----------------------------------------------------------------------------

2 files changed, 10 insertions(+), 1 deletion(-)
build/jam/images/definitions/minimum | 4 +++-
data/settings/network/hosts | 7 +++++++

----------------------------------------------------------------------------

diff --git a/build/jam/images/definitions/minimum
b/build/jam/images/definitions/minimum
index 04c2b8d..604b476 100644
--- a/build/jam/images/definitions/minimum
+++ b/build/jam/images/definitions/minimum
@@ -272,7 +272,9 @@ SEARCH on $(driverSettingsFiles)
AddFilesToHaikuImage home config settings kernel drivers
: $(driverSettingsFiles) ;

-local networkSettingsFiles = <network-settings>services ;
+local networkSettingsFiles = <network-settings>services
+ <network-settings>hosts ;
+
SEARCH on $(networkSettingsFiles)
= [ FDirName $(HAIKU_TOP) data settings network ] ;
AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
diff --git a/data/settings/network/hosts b/data/settings/network/hosts
new file mode 100644
index 0000000..2d587a9
--- /dev/null
+++ b/data/settings/network/hosts
@@ -0,0 +1,7 @@
+#
+# Haiku's static hostname lookup table
+#
+
+127.0.0.1 localhost.localdomain localhost
+::1 localhost.localdomain localhost
+


Other related posts:

  • » [haiku-commits] haiku: hrev49626 - build/jam/images/definitions data/settings/network - kallisti5