Difference between revisions of "Fedora ARM Secondary Architecture/Standard Operating Procedures"

From CDOT Wiki
Jump to: navigation, search
(Create new root filesystem)
(Create new root filesystem)
Line 33: Line 33:
 
* On the OpenRD using mkrootfs-f13 ( script packaged for rootfs creation, installed on openRD ). You will need to edit the fedora-arm-koji.repo file in /etc/yum.repos.d/ to point to the newly created repo.
 
* On the OpenRD using mkrootfs-f13 ( script packaged for rootfs creation, installed on openRD ). You will need to edit the fedora-arm-koji.repo file in /etc/yum.repos.d/ to point to the newly created repo.
 
     mkrootfs-f13
 
     mkrootfs-f13
* edit rootfs adding in correct URL for yum pointing to the latest compose.
+
* edit rootfs adding in correct URL for yum pointing to the latest compose.  
 +
    vi etc/yum.repos.d/fedora.repo
 
* Add in Pandaboard specific hack to "/etc/rc.d/rc.local"
 
* Add in Pandaboard specific hack to "/etc/rc.d/rc.local"
 
            
 
            

Revision as of 10:37, 11 May 2011


Daily Infrastructure Duties

  • Builder status - Are all machines checking in? Have NFS shares mount?
  • Back-ups - Check all automated back ups
    • Ireland, New Zealand - /var/koji-backup/
      • should contain backups of "/etc" and a postgresql dump, run on a daily basis at midnight.
      • Ireland should also have a full copy of "/mnt/koji"
  • Check available disk space on all relevant machines - Hongkong, Ireland and New Zealand.


Repo Compose and Release

Repo Closure

  • Run 'depcheck' to ensure no broken dependencies that can be resolved.
    • Fix any issues

Compose

  • Run 'mash' to create a repository
    mash -o /mnt/koji/mash/beta/f13-arm-2011-05-06 f13-arm

Sign Packages

  • Temporarily done with 'rpm --addsign'. This is done on Hong Kong using Paul's account. Pass phrase is the old root password. You will need to enter the pass phrase about five times as the packages are signed.
    ls *.rpm | xargs rpm --addsign
  • After packages are signed, you must run createrepo again to include the new metadata. Createrepo should be run from the parent directory of "Packages". Please replace the path to groups file accordingly.
   createrepo -g /mnt/koji/mash/beta/f13-arm-2011-05-10/f13-arm/arm/os/comps.xml .

Create new root filesystem

  • On the OpenRD using mkrootfs-f13 ( script packaged for rootfs creation, installed on openRD ). You will need to edit the fedora-arm-koji.repo file in /etc/yum.repos.d/ to point to the newly created repo.
    mkrootfs-f13
  • edit rootfs adding in correct URL for yum pointing to the latest compose.
    vi etc/yum.repos.d/fedora.repo
  • Add in Pandaboard specific hack to "/etc/rc.d/rc.local"
     # horrible hack to respawn serial console
     #while true
     #do
     #/sbin/agetty -L 115200 console vt100
     #done

Update ARM-VM RPM Package

Release

    • Email to ARM mailing list
    • Blogpost including links
    • Wiki page for the release highlighting changes, notes