#9 Adding the Build-ISO section
Merged 3 years ago by x3mboy. Opened 3 years ago by odilhao.
i3-sig/ odilhao/docs master  into  master

@@ -30,16 +30,36 @@ 

  [[build-iso]]

  == How to build an ISO locally

  

- [NOTE]

+ Required packages: `git livecd-creator` or `git lorax `

+ 

+ Required permissions: User with sudo permissions

+ 

+ 1. Clone the repository link:https://pagure.io/i3-sig/Fedora-i3-Spin[Fedora-i3-Spin]

+ 

+  git clone https://pagure.io/i3-sig/Fedora-i3-Spin.git && cd Fedora-i3-Spin

+ 

+ 2. Build the iso using livecd-creator or using Lorax

+ 

+ sudo livecd-creator --verbose --config=flat-i3.ks --fslabel=Fedora-i3-live \

+  --releasever=33 --cache=./cache/live --title=Fedora-i3-Spin

+ 

+  sudo livemedia-creator --make-iso --ks flat-i3.ks --no-virt --iso-only --iso-name fedora-i3-live-x86_64.iso --releasever 33 

+  

+ 3. Run the newly created ISO:

+ 

+  qemu-kvm -m 2048 -vga qxl -cdrom Fedora-i3-live.iso

+ 

  ====

- Not yet written.

- We need help documenting a local compose!

+ When no *--releasever* is passed it defaults to the current system's version

  ====

  

- 

  [[changelog]]

  == Changelog

  

+ === 2020-11-05

+ 

+ Adding the first step's on how to build the ISO locally, 

I think this should be Added instead of Adding and steps instead of step's.

+ 

  === 2020-07-10

  

  We now have a flat i3 with lightdm-gtk as a Display manager and the live works fine on QEMU/KVM.

Adding the section to build the ISO.

To build the ISO user doesn't need to be with sudo permissions.

We can change where to store the cache, It could be ./cache/live in the current directory too.

I'm ok with changing this to ./cache/live to drop the sudo user.

Can you add using lorax?

@x3mboy never used lorax, I'm look at the doc atm, but we always include alternatives

Can you add instructions how to use lorax as well? For me that boils down to: livemedia-creator --make-iso --ks /home/dan/projects/pagure.io/i3-sig/Fedora-i3-Spin/flat-i3.ks --no-virt --iso-only --iso-name fedora-i3-live-x86_64.iso --releasever 33

1 new commit added

  • Adding Lorax section
3 years ago

@nasirhm Tried to build with livecd-creator without sudo, got the following message:

livecd-creator --verbose --config=flat-i3.ks --fslabel=Fedora-i3-live  --releasever=33 --cache=./cache/live --title=Fedora-i3-Spin
You must run /usr/bin/livecd-creator as root

@x3mboy @defolos

Added the Lorax instructions as well.

I think this should be Added instead of Adding and steps instead of step's.

rebased onto d5e0ded

3 years ago

Pull-Request has been merged by x3mboy

3 years ago

Metadata Update from @jflory7:
- Pull-request tagged with: type - new docs
- Request assigned

3 years ago