X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=macos%2Fbuild-dmg.sh;h=3e813d9f279e4e34be89d268430a39475c27558f;hp=aa82588d60e61403f537ad105b175b7f085940f0;hb=cdff851fa265da6a9e368e02ee466ca77f46a831;hpb=1790ec67340d64652164e895f1c7620580b40019 diff --git a/macos/build-dmg.sh b/macos/build-dmg.sh index aa82588..3e813d9 100755 --- a/macos/build-dmg.sh +++ b/macos/build-dmg.sh @@ -12,7 +12,7 @@ # the script expects the taglevels for both sfa and sface, # in order to retrieve the corresponding code and to label the resulting package properly # alternatively, a build-dir and tags file can be used instead -# Should have the folowing tools installed +# Should have the following tools installed # git: to retrieve code # rpm: to retrieve the version numbers in specfiles @@ -171,8 +171,8 @@ Also make sure to trash the current one before retrying" make -C $temp/sface VERSIONTAG="${sface_tag}" SCMURL="${sface_GITPATH}" version # copy sfa/ and sface/ subdirs in image - rm -rf "$img_mnt"/$resource_path/{sfa,sface} - tar -C $temp/sfa -cf - sfa | tar -C "$img_mnt"/$resource_path/ -xf - + rm -rf "$img_mnt"/$resource_path/{sfa,clientbin,sface} + tar -C $temp/sfa -cf - sfa clientbin | tar -C "$img_mnt"/$resource_path/ -xf - tar -C $temp/sface -cf - sface | tar -C "$img_mnt"/$resource_path/ -xf - # copy binaries from sface to the bin dir @@ -187,6 +187,7 @@ Also make sure to trash the current one before retrying" cp $temp/sface/macos/graphic-install-background.png "$img_mnt"/.background/background.png cp $temp/sface/macos/graphic-sfa.icns "$img_mnt"/$resource_path/appIcon.icns cp $temp/sface/macos/graphic-sfa.png "$img_mnt"/$resource_path/sface/images + cp $temp/sface/macos/graphic-sfa64.png "$img_mnt"/$resource_path/sface/images # the volume icons won't work - who cares # cp $temp/sface/macos/graphic-vol-sface.icns "$img_mnt"/.background/volumeIcon.icns # cp $temp/sface/macos/graphic-vol-sface.png "$img_mnt"/.background/volumeIcon.png @@ -212,7 +213,7 @@ Also make sure to trash the current one before retrying" echo "==================================================" echo "Install image ready in $img_dmg" echo "You may publish it by running e.g." - echo "rsync -av $img_dmg root@build.onelab.eu:/build/sface" + echo "rsync -av $img_dmg root@build.onelab.eu:/build/sface-macos/" echo "==================================================" }