Changes

Jump to navigation Jump to search
1,465 bytes added ,  17:06, 11 October 2022
Line 349: Line 349:     
====Bump version in the splash screen====
 
====Bump version in the splash screen====
We need to update the title of the splsh screen. For this, we have to update the title line in cdrom.images/sme10/isolinux/isolinux.cfg, eg
+
We need to update the title of the splash screen. For this, we have to update the title line in cdrom.images/sme10/isolinux/isolinux.cfg, eg
    
  menu title Welcome to SME Server 10.1 RC1
 
  menu title Welcome to SME Server 10.1 RC1
Line 362: Line 362:  
then edit, and finish with:
 
then edit, and finish with:
 
  cvs commit -m "Release 10.1" isolinux.cfg
 
  cvs commit -m "Release 10.1" isolinux.cfg
 +
 +
====Bump version in /etc/*release* files====
 +
We need to update the title of the initial boot screen when the iso installer has been launched.
 +
to do this :
 +
cd ~/smeserver/cdrom.image
 +
cvs update -dPA
 +
cd  sme10/product/etc
 +
 +
then update all the files there where you can see a 10.* version number.
 +
centos-release  e-smith-release  os-release  redhat-release  system-release-cpe
    
====Remove the 'Beta warning' in Anaconda====
 
====Remove the 'Beta warning' in Anaconda====
Line 545: Line 555:  
=====Hard links=====
 
=====Hard links=====
 
As an example how to create the hard links:
 
As an example how to create the hard links:
  cp -lr /build/smeserver/repo/testing/$VERPREV/smeos/* /build/smeserver/repo/$TO/$VERSION/smeos/
+
  cp -lr /build/smeserver/repo/$FROM/$VERPREV/smeos/* /build/smeserver/repo/$TO/$VERSION/smeos/
 
  mkdir -p /build/smeserver/repo/$TO/$VERSION/smeaddons/
 
  mkdir -p /build/smeserver/repo/$TO/$VERSION/smeaddons/
 
  mkdir -p /build/smeserver/repo/$TO/$VERSION/smecontribs/
 
  mkdir -p /build/smeserver/repo/$TO/$VERSION/smecontribs/
Line 564: Line 574:  
and finally
 
and finally
   −
  rm -f  /build/smeserver/$TO/testing/$VER
+
  pushd /build/smeserver/repo/$TO/
  pushd /build/smeserver/$TO/testing/
+
  unlink $VER
 
  ln -s $VERSION $VER
 
  ln -s $VERSION $VER
 
  popd
 
  popd
   −
then you can mv from testing to main folder
+
 
    
[[Category:SME Server Development Framework]]
 
[[Category:SME Server Development Framework]]
 
[[Category:Development Tools]]
 
[[Category:Development Tools]]
 +
 +
==check if all deps are there ==
 +
need to move to the correct section
 +
 +
 +
first createrepo
 +
createrepo --database --update --skip-symlinks --simple-md-filenames --groupfile repodata/comps.xml /build/smeserver/stage/$VER/x86_64
 +
 +
then use repoclosure
 +
repoclosure  --repofrompath=stage,/build/smeserver/stage/10/x86_64  -c yum.conf
 +
 +
will output
 +
Added stage repo from /build/smeserver/stage/10/x86_64
 +
Reading in repository metadata - please wait....
 +
Checking Dependencies
 +
Repos looked at: 1
 +
    stage
 +
Num Packages in Repos: 1421
 +
 +
 +
content of yum.conf used for this test
 +
[main]
 +
cachedir=/tmp/cache/yum/$basearch/$releasever
 +
keepcache=0
 +
debuglevel=2
 +
logfile=/dev/null
 +
exactarch=1
 +
obsoletes=1
 +
gpgcheck=1
 +
plugins=1
 +
installonly_limit=5
 +
reposdir=/etc/yum.smerepos.d
 +
distroverpkg=centos-release
 +
 +
 +
if you get an error
 +
package: php80-php-intl-8.0.23-1.el7.remi.x86_64 from stage
 +
  unresolved deps:
 +
    libicuuc.so.71()(64bit)
 +
    libicuio.so.71()(64bit)
 +
    libicui18n.so.71()(64bit)
 +
    libicudata.so.71()(64bit)
 +
 +
 +
then on a SME do
 +
yum whatprovides */libicuuc.so.71
 +
 +
then add the missing rpm in the updates repo and sync it with update_repos script
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu