summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--src/profile/proteanos.sh4
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index a6469e2..9e19e63 100644
--- a/NEWS
+++ b/NEWS
@@ -41,6 +41,9 @@ Error handling and bug fixes:
* The dependency solver now solves dependencies of packages whose
names contain ":" (such as coinstallable library development
packages in ProteanOS).
+ * The foreign installation service initialization script is now
+ scheduled to run before any other initialization scripts on a newly
+ installed system.
ProteanOS Development Kit version 2.0.1
---------------------------------------
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index bec35ed..30e20f4 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -320,8 +320,8 @@ prof_proteanos_configure_system_foreign()
shift 3
printf '%s' "${_PROF_PROTEANOS_INSTALL_SERVICE}" \
- >"${root}/etc/rc.d/S10install"
- chmod -- 0755 "${root}/etc/rc.d/S10install"
+ >"${root}/etc/rc.d/S00install"
+ chmod -- 0755 "${root}/etc/rc.d/S00install"
printf 'proteanos\n' >"${root}/etc/hostname"
[ -e "${root}/etc/passwd" ] || printf \
'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd"