Re: [opensuse] How to create a live CD/DVD of my installed system



Στις 14/12/2011 04:08 μμ, ο/η Roger Oberholtzer έγραψε:
On Wed, 2011-12-14 at 15:58 +0200, Stathis Iosifidis (aka diamond_gr)
wrote:
Hello,

Well, since the 12.1 is out, I can focus on medical.
Until now, openSUSE medical live cd was out with SUSE Studio. There's a
medical repository that can be added and also some programs that can be
installed.
The user must setup mysql and then install the programs correctly.

I was told that this can be done by KIWI. I read a lot of documentation.
First of all, I didn't understand what<ImageDescriptionPath> means.
I got this from the portal:
http://en.opensuse.org/SDB:KIWI_Cookbook_Start_Cooking

So I read the manual
http://git.berlios.de/cgi-bin/gitweb.cgi?p=kiwi;a=blob;f=doc/kiwi.pdf

and it says something like config.xml file and the package that I want
to be installed, I must add the repository and then the package eg:

<repository type="rpm-md"/>
<source
path="http://download.opensuse.org/repositories/medical/openSUSE_11.4"/>
</repository>

after that make sure you have added the package in the list

<packages type="image"/>
<package name="openemr"/>
</packages>

The same thing I get from LiveSystem here
http://en.opensuse.org/SDB:KIWI_Cookbook_LiveSystem

So as far as I understand (since my major is medical and not technical),
this shows how to install the program but without being setup (with
mysql etc).

My question is what is the way to do that?
What is the way to make a livecd from the already installed system with
the software all set to be in use?

I think KIWI is rather manageable. IIRC, if you have an appliance set up
in Suse Studio, you can ask it to export a KIWI description of the
appliance. Then, after some fiddling to tell what repositories you need
and any other package changes you may wish to do, you can build the
image locally with kiwi.

An alternative it to start with one of the pre-defined kiwi
configurations, and add what you want. It could be as simple as adding,
in the config.xml file. the repository and packages you want added.

As to MySQL: there are hooks in kiwi that allow you to run
scripts/programs. These can be used to set up things specific to your
needs. Or, you can build your appliance in two steps: the first makes
the released image with programs and all. The second takes that image
and packages it for distribution. In between these two steps. you can
mount the image and do whatever you feel is needed. Like initializing
MySQL.

The medical appliance is already made by SUSE Studio.
I surely can take the KIWI file from there.

I must setup MySQL (user-pass) and then setup the program (openEMR). Then this can be made a LiveCD. Where can I find information about that?

I wonder, why do all this and not get the installed system I have?

Thanks,
Stathis
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx



Relevant Pages

  • Re: DirSync 1.10 released
    ... the RiscPkg maintainers seem to be in denial about this. ... There is no one repository offering ... for that before you can install the ... package you requested in the first place. ...
    (comp.sys.acorn.apps)
  • Re: Dependencies problem with RHEL 6.1 beta
    ... the problem is the differents versions of same package between oficial DVD and oficial repository. ... Setting up Install Process ...
    (RedHat)
  • Re: Trying to get PackMan to install GCC
    ... The big issue that repositories cope with is consistent dependency tracking. ... A repository can be tested consistent (ie all dependencies of all programs ... package manager GUI, so you can double-click on a RISC OS package file ... A question this raises is for authors: users who automatically install ...
    (comp.sys.acorn.apps)
  • Re: [opensuse] How to create a live CD/DVD of my installed system
    ... medical repository that can be added and also some programs that can be ... The user must setup mysql and then install the programs correctly. ... I was told that this can be done by KIWI. ... and it says something like config.xml file and the package that I want ...
    (SuSE)
  • Re: Touch Screen - Gunze Driver not working on xp embedded
    ... Thanks Sean. ... Now my next step is to install the application. ... I Add Repository and set the location to point to C:\touchscreen ... I open up TD, I add Gunze component to my build, I make a build ...
    (microsoft.public.windowsxp.embedded)