Moved /etc/post_install to /boot/common/boot and the fresh_install marker
file to /boot/common/settings. Repackaged OpenSSH accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25335 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7c8ddc9795
commit
46f2d5ea88
@ -338,11 +338,14 @@ SEARCH on $(networkSettingsFiles)
|
||||
AddFilesToHaikuImage common settings network : $(networkSettingsFiles) ;
|
||||
|
||||
# post install scripts and fresh install indicator file
|
||||
local postInstallFiles = fresh_install mime_update.sh ;
|
||||
local postInstallFiles = mime_update.sh ;
|
||||
postInstallFiles = $(postInstallFiles:G=post-install) ;
|
||||
SEARCH on $(postInstallFiles)
|
||||
= [ FDirName $(HAIKU_TOP) data etc post_install ] ;
|
||||
AddFilesToHaikuImage beos etc post_install : $(postInstallFiles) ;
|
||||
= [ FDirName $(HAIKU_TOP) data common boot post_install ] ;
|
||||
SEARCH on <post-install>fresh_install
|
||||
= [ FDirName $(HAIKU_TOP) data common settings ] ;
|
||||
AddFilesToHaikuImage common boot post_install : $(postInstallFiles) ;
|
||||
AddFilesToHaikuImage common settings : <post-install>fresh_install ;
|
||||
|
||||
# boot loader
|
||||
AddFilesToHaikuImage beos system : zbeos ;
|
||||
|
@ -167,8 +167,8 @@ if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
|
||||
Echo "No optional package OpenSSH available for gcc4" ;
|
||||
} else {
|
||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04
|
||||
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04.zip
|
||||
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04-1
|
||||
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04-1.zip
|
||||
:
|
||||
;
|
||||
|
||||
|
@ -139,8 +139,8 @@ if [ "$SAFEMODE" != "yes" ]; then
|
||||
fi
|
||||
|
||||
# Check for fresh install and run post install scripts.
|
||||
postInstallDir=/boot/beos/etc/post_install
|
||||
freshInstallIndicator=$postInstallDir/fresh_install
|
||||
postInstallDir=/boot/common/boot/post_install
|
||||
freshInstallIndicator=/boot/common/settings/fresh_install
|
||||
if [ -e $freshInstallIndicator ]; then
|
||||
# wait a moment for things to calm down a bit
|
||||
sleep 3
|
||||
|
Loading…
Reference in New Issue
Block a user