Code Search for Developers
 
 
  

repositoryCdHowto.html from LiveSupport at Krugle


Show repositoryCdHowto.html syntax highlighted

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="content-type">
  <title>Campcaster repository CD creation process documentation</title>
  <meta content="$Author: fgerlits $" name="author">
</head>
<body>
<h1>Preface</h1>
This document is part of the <a href="http://campcaster.campware.org/">Campcaster</a>
project, Copyright © 2004 <a href="http://www.mdlf.org/">Media
Development Loan Fund</a>, under the GNU <a
 href="http://www.gnu.org/licenses/gpl.html">GPL</a>.<br>
<ul>
  <li>Author: $Author: fgerlits $</li>
  <li>Version: $Revision: 2832 $</li>
  <li>Location: $URL: svn://code.campware.org/livesupport/trunk/campcaster/doc/repositoryCdHowto.html $</li>
</ul>


<h1>Scope</h1>
This document describes the process of creating a repository CD containing
the Campcaster deb packages.


<h1>Introduction</h1>
A repository CD is a CD which contains the Campcaster deb packages, plus
all the other deb packages which Campcaster depends on.  Such a CD can be
used to install Campcaster on computers with limited or no internet 
connectivity.

The repository CD creation process consists of the following steps:<br>
<ul>
  <li>collect the necessary deb packages</li>
  <li>create the package listing</li>
  <li>create the iso image</li>
  <li>test the iso image</li>
</ul>


<h1>Collect the necessary deb packages</h1>
Start with a fresh Ubuntu system installed from the install CD, with no additional packages.  Add the universe repository and the campware.org 
repository
<pre>deb http://code.campware.org/ubuntu dapper main</pre>
to <code>/etc/apt/sources.list</code>.

Type
<pre>sudo apt-get clean</pre>
to clean the package cache, and install Campcaster normally.  Install any 
other deb packages you want to be on the repository CD.  Now copy the
packages into your home directory:
<pre>cd
mkdir repository
cd repository
mkdir dist
cp /var/cache/apt/archive/*.deb dist/</pre>


<h1>Create the package listing</h1>
Type
<pre>cd ~/repository
apt-ftparchive packages dist > Packages
gzip --best Packages</pre>
this will create a <code>Packages.gz</code> file containing the list of
packages.


<h1>Create the iso image</h1>
Type
<pre>cd ~/repository
mkisofs -J -r -pad -v -V "Campcaster repository CD" \
        -o ../Campcaster-repository.iso .</pre>
Note the space and dot at the end of the command.  The volume label
(<code>-V</code>) can be up to 32 characters long.

<p>
It's OK to add more files to the CD; <code>apt-cdrom</code> (or, equivalently,
Synaptic's "Add CD-ROM" button) is smart enough to find the repository among
all the other stuff.


<h1>Test the iso image</h1>
Burn the iso file to a CD:
<pre>cdrecord -scanbus
cdrecord -v dev=ATA:1,0,0 ~/Campcaster-repository.iso</pre>
(change <code>1,0,0</code> to whatever scanbus told you, of course).  Then try adding 
the CD as a repository with 
<pre>apt-cdrom add</pre>

<p>
You can also use Nautilus and Synaptic instead of mkisofs, cdrecord
and apt-cdrom.

<p>
TODO: it's probably possible to mount and check the iso without burning it
to a CD first.
<br><br>

</body>
</html>




See more files for this project here

LiveSupport

LiveSupport is a radio playout and automation system. It enables radio stations to automate their broadcasts by using playlists that are scheduled for airing. Playlists can contain music, talk, or even other playlists. A Web interface is included, so radio station personnel can manage the the station's broadcasts remotely.

Project homepage: http://www.campware.org/en/camp/livesupport_news/
Programming language(s): C++,PHP,Shell Script,XML
License: gpl2

  db/
    dbSchema.sql
  developmentEnvironment/
    templates/
      Bar.cxx
      Bar.h
      Makefile
      configure.ac
      htmlDocumentTemplate.html
      phpScriptTemplate.php.txt
      phpScriptTemplate.phps
      shellScriptTemplate.sh
    autoconfConfigureConventions.html
    buildEnvironment.html
    cxxHeaderFileConventions.html
    cxxSourceFileConventions.html
    directoryStructure.html
    fileConventions.html
    htmlFileConventions.html
    index.html
    installation.html
    makefileConventions.html
    phpFileConventions.html
    shellScriptConventions.html
  doxygen/
    .keepme
  gui/
    designs/
      advancedsearch.gif
      editfile.gif
      index.html
      info.gif
      livemode.gif
      login_upload.gif
      playlist_list_view.gif
      playlist_timeline_view.gif
      scheduler_day.gif
      scheduler_week.gif
      simple-browser.gif
      uploadstream.gif
    c_gui_finaltimetable.xls
    htmlPageDescription.rtf
    metadataFields.html
    styleguide.pdf
    tec_doc_t3293_tcm6-10494.pdf
    windowDescription.rtf
  manual/
    LiveSupport Studio manual.sxw
    index.html
    manual_htm_159b8718.jpg
    manual_htm_3098a412.jpg
    manual_htm_4d262ba6.png
    manual_htm_59ef6c7.jpg
    manual_htm_5f12d0a5.jpg
    manual_htm_6e566889.png
    manual_htm_7c768cd8.png
    manual_htm_b09f4d5.jpg
    manual_htm_m3d23fe65.png
    manual_htm_m59d803c0.jpg
    manual_htm_m6e4aac82.jpg
    manual_htm_m75ba079b.png
    manual_htm_m79fcafa8.jpg
  model/
    Authentication/
      Authenticateuser_SequenceDiagram.svg
      Concepts.svg
      EssentialUseCases.svg
      Systembehaviour.svg
      index.html
    LocalStorage/
      Accessplaylist_SequenceDiagram.svg
      Accessrawaudiodata_SequenceDiagram.svg
      Concepts.svg
      Createplaylist_SequenceDiagram.svg
      Deleteaudioclip_SequenceDiagram.svg
      Deleteplaylist_SequenceDiagram.svg
      Editplaylist_SequenceDiagram.svg
      EssentialUseCases.svg
      Searchinmetadata_SequenceDiagram.svg
      Storeorupdateaudioclip_SequenceDiagram.svg
      Systembehaviour.svg
      UpdateAudioclipmetadata_SequenceDiagram.svg
      index.html
    MediaArchive/
      Concepts.svg
      DeleteAudioclip_SequenceDiagram.svg
      Downloadrawaudiodata_SequenceDiagram.svg
      EssentialUseCases.svg
      Searchinmetadata_SequenceDiagram.svg
      StoreorupdateAudioclip_SequenceDiagram.svg
      Systembehaviour.svg
      UpdateAudioclipmetadata_SequenceDiagram.svg
      index.html
    PlaylistEditor/
      AddanAudiocliptoLocalstorage_SequenceDiagram.svg
      AddanAudiocliptoaPlaylist_SequenceDiagram.svg
      AddorupdateanAudiocliptoMediaarchive_SequenceDiagram.svg
      Concepts.svg
      CreateaPlaylist_SequenceDiagram.svg
      DeleteanAudioclipfromLocalstorage_SequenceDiagram.svg
      EditthetransitionofanAudioclip_SequenceDiagram.svg
      EssentialUseCases.svg
      ListentoaPlaylist_SequenceDiagram.svg
      Maintainconfigurationinformation_SequenceDiagram.svg
      MirroranAudioclipfromaremoteMediaarchiveinLocalstorage_SequenceDiagram.svg
      MovethepositionofanAudioclipinaPlaylist_SequenceDiagram.svg
      SearchforAudioclips_SequenceDiagram.svg
      Systembehaviour.svg
      UpdateanAudioclipinLocalstorage_SequenceDiagram.svg
      UploadaPlaylisttoaSchedulerdaemon_SequenceDiagram.svg
      index.html
    Scheduler/
      Concepts.svg
      Createplaylist_SequenceDiagram.svg
      Editplaylist_SequenceDiagram.svg
      EssentialUseCases.svg
      Manageplaylists_SequenceDiagram.svg
      Manageschedule_SequenceDiagram.svg
      Retrieveremotefiles_SequenceDiagram.svg
      Reviewplaylog_SequenceDiagram.svg
      Startstopscheduler_SequenceDiagram.svg
      Systembehaviour.svg
      Uploadplaylists_SequenceDiagram.svg
      index.html
    SoftwareArchitecture/
      PlaylistEditorArchitecture.svg
      SchedulerArchitecture.svg
      SoftwareArchitecture.zuml
      index.html
    Architecture.svg
    LiveSupport.zuml
    index.html
  phpdocs/
  quickstart/
    index.html
    livesupport_logo_blends.png
    outline_clouds.jpg
  developmentTools.html
  gettingStarted.html
  index.html
  install.html
  installUbuntu.html
  ls_pref.html
  preferences.html
  release.html
  repositoryCdHowto.html
  studioLocalization.html
  userLocalizationInstructions.html