Results 1 to 6 of 6

Thread: Help how to build kiwi locally

  1. #1

    Default Help how to build kiwi locally

    dears this the first time to use opensuse so sorry for disturb
    firstly i need to build kiwi locally image
    steps
    i am using openSUSE-Leap-42.3
    i nstalled all kiwi packge by this command
    zypper install kiwi
    look this screenshot
    https://a.top4top.net/p_6595kdfk1.png
    then i wanna to prepare this image
    using this comand
    kiwi --prepare /home/ --root /home/
    here its not completed somting wrong but i dont know whats
    look at second screen
    https://b.top4top.net/p_6596s9ut2.png


    i need any one help me to bulid this image

  2. #2

    Default Re: Help how to build kiwi locally

    Up
    any help ??

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,107
    Blog Entries
    2

    Default Re: Help how to build kiwi locally

    You shouldn't make /home your working directory.

    Make a new directory, although you don't have to my personal recommendation is to create a subdirectory to Documents so it's easy to find.

    Then,
    Although you can pass parameters at the command line,
    It might be better to configure all your settings in a config.xml which when fully built should do everything for you, prepare and build.

    https://doc.opensuse.org/projects/kiwi/doc/

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4

    Default Re: Help how to build kiwi locally

    Quote Originally Posted by tsu2 View Post
    You shouldn't make /home your working directory.

    Make a new directory, although you don't have to my personal recommendation is to create a subdirectory to Documents so it's easy to find.

    Then,
    Although you can pass parameters at the command line,
    It might be better to configure all your settings in a config.xml which when fully built should do everything for you, prepare and build.

    https://doc.opensuse.org/projects/kiwi/doc/

    TSU
    kindly check
    https://f.top4top.net/p_670ijotk1.png

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,107
    Blog Entries
    2

    Default Re: Help how to build kiwi locally

    Your command should not be pointing to an existing directory to be used as your working directory.
    First, you were pointing to your /home (Please don't do this!)
    Now, you're pointing to your root home directory (Again. Please don't do this).

    Anytime you build anything, you should always create a <new> directory so your project will "live" in its own unique location, not to be disturbed by anything else on your system and not to disturb anything else on your system.

    If you don't understand what I just stated... PLEASE ask for clarification, it's one of those fundamental things you have to understand before embarking on anything like Kiwi or software development.

    So,
    First step should be to create a directory, and as long as you know where it is and it's brand new the location can be almost anywhere.
    If you run the following command as your regular User (not elevated by sudo or su), it will create a subdirectory of your Documents folder called "MyProject" After running the following, I'd recommend if necessary using PCManFM or Dolphin or whatever your graphical file manager might be to open this location so you understand what was just done and where the location is.
    Code:
    mkdir ~/Documents/MyProject
    After the above, your "prepare" statement should be something like the following, substituting your own User account for "User"
    Code:
    kiwi --prepare <source> root=/home/User/MyProject
    Next step is to configure a source for the image you're creating, and so far you haven't described what you're using for your source. You can use the available Kiwi template images (my general recommendation). Or, you can mount an ISO on a loop. Or, you can point to an existing system (eg if you've built a working example of what you want to replicate) but I'd recommend you not try this until you've gotten the basics down first with something simpler (like a template).

    The following SUSE documentation describes step by step a couple ways of mounting an ISO to a loop device (for a local repository) and importing a set of templates(The following describes coping an entire file tree of templates to an easy to use location, but other ways are possible, too)

    https://www.suse.com/documentation/s..._creating.html

    A couple more online references that might be useful

    Kiwi system prepare
    https://suse.github.io/kiwi/commands...m_prepare.html

    I've strongly recommended using a config.xml file instead of running "kiwi --prepare" and "kiwi --create" commands. Using a config.xml file forces you to configure all that's necessary in a file which should also hopefully make it easier to understand what you're configuring

    https://www.suse.com/documentation/s...iwi_sle11.html

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6

    Default Re: Help how to build kiwi locally

    Hi,

    I think everyone has gone to

    https://susestudio.com/
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •