mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-01-13 00:09:47 -05:00
InstallationIsoBuilding changed
Updated instructions for new version of the installer
This commit is contained in:
parent
d343089bb1
commit
7fb713856f
@ -33,27 +33,37 @@ yum install rpm/noarch/revisor*.rpm
|
||||
yum install rpm/x86_64/anaconda*.rpm
|
||||
```
|
||||
|
||||
Prepare configuration files
|
||||
---------------------------
|
||||
Review configuration files
|
||||
--------------------------
|
||||
|
||||
All configuration files for Qubes Revisor assume that the working directory is `/Devel/Qubes`. So either modify the configuration files to your needs, or just symlink your working directory as `/Devel/Qubes`.
|
||||
All configuration files for Qubes Revisor are kept in the ```conf/``` directory:
|
||||
|
||||
See the end of this document for description of the configuration files purpose.
|
||||
- ```conf/qubes-install-respin.conf``` - Main Revisor configuration file. This configures Revisor to build Qubes Installation image based on Fedora 13. All other configuration files and working directories are pointed here.
|
||||
|
||||
- ```conf/qubes1-x86_64-respin.conf``` - As said Revisor gets all packages it uses form YUM repositories. This file describes all repositories needed to build Qubes R1 for x86\_64 architecture. This file also points the local repository you created before.
|
||||
|
||||
- ```conf/qubes-1-respin.cfg``` - Fedora Kickstart formatted file describing which packages should land in the ISO `/Packages` repository. This describes basically what will be available for installation. The packages list built using this file will be further filtered by the comps file.
|
||||
|
||||
- ```conf/comps-qubes1.xml``` - Repository Comps file for ISO `/Packages` repository, describing packages and package groups of the installer repository. Package groups are used to select which of the packages are mandatory to install, which are optional and which are to be just available on the ISO but not installed by default. Package groups may also be optional - this allows them to be selected during installation in Anaconda interface.
|
||||
|
||||
Create local repository
|
||||
-----------------------
|
||||
|
||||
Revisor fetches all RPM packages from YUM repositories. You will need to put all additional packages not present in Fedora and Qubes repos (like the ones you've built in the first step) to local repository. By default it is `file:///Devel/Qubes/yum/r1/installer/rpm/`.
|
||||
Revisor fetches all RPM packages from YUM repositories. We currently use 5 repositories:
|
||||
|
||||
Copy or link all `installer/rpm/*/*.rpm` packages to `/evel/Qubes/yum/r1/installer/rpm`. Then create repository metadata.
|
||||
- ```build/yum/installer``` (installer-related rpms)
|
||||
- ```build/yum/qubes-dom0``` (all the Qubes stuff)
|
||||
- ```build/yum/dom0-updates``` (for select 3rd party packages, e.g. Xorg)
|
||||
- ```build/fedora13-repo``` (local fedora 13 repo, copy from DVD, we don't keep it uder build/yum, because we don't want our update script to process it every time)
|
||||
- remote fedora repo for extra packages (usually deps for qubes-dom0)
|
||||
|
||||
``` {.wiki}
|
||||
mkdir -p /Devel/Qubes/yum/r1/installer/rpm
|
||||
cd /Devel/Qubes/installer
|
||||
make update-repo
|
||||
cd /Devel/Qubes/yum/r1/installer/rpm
|
||||
createrepo .
|
||||
```
|
||||
You need to manually copy the Fedora 13 installation DVD contents (```Packages/``` and ```repodata/``` directories) into ```build/fedora13-repo```.
|
||||
|
||||
Also, you need to copy all the qubes dom0 rpms into ```build/yum/qubes-dom0/rpm``` and run the ```yum/update_repo.sh``` script afterwards.
|
||||
|
||||
In order to fill the ```build/yum/installer``` repo one can just use ```make update-repo```.
|
||||
|
||||
The ```build/yum/dom0-updates``` is to be used for select rpms that should also be used instead of those from the fedora (loacal and remote) repos.
|
||||
|
||||
Build ISO
|
||||
---------
|
||||
@ -61,20 +71,9 @@ Build ISO
|
||||
Now you're finally ready to build the ISO image:
|
||||
|
||||
``` {.wiki}
|
||||
revisor --cli --config=/conf/qubes-install-respin.conf --model=qubes1-x86_64 --install-dvd
|
||||
make iso
|
||||
```
|
||||
|
||||
and wait...
|
||||
|
||||
You may add `-d 99` to get a ton of debugging information.
|
||||
|
||||
Revisor configuration files
|
||||
---------------------------
|
||||
|
||||
**conf/qubes-install-respin.conf** - Main Revisor configuration file. This configures Revisor to build Qubes Installation image based on Fedora 13. All other configuration files and working directories are pointed here.
|
||||
|
||||
**conf/qubes1-x86\_64-respin.conf** - As said Revisor gets all packages it uses form YUM repositories. This file describes all repositories needed to build Qubes R1 for x86\_64 architecture. This file also points the local repository you created before.
|
||||
|
||||
**conf/qubes-1-respin.cfg** - Fedora Kickstart formatted file describing which packages should land in the ISO `/Packages` repository. This describes basically what will be available for installation. The packages list built using this file will be further filtered by the comps file.
|
||||
|
||||
**conf/comps-qubes1.xml** - Repository Comps file for ISO `/Packages` repository, describing packages and package groups of the installer repository. Package groups are used to select which of the packages are mandatory to install, which are optional and which are to be just available on the ISO but not installed by default. Package groups may also be optional - this allows them to be selected during installation in Anaconda interface.
|
||||
You may add `-d 1` (or `-d 99` if you're a masochist) in the Makefile at the end of the revisor command to get (a ton of) debugging information.
|
||||
|
Loading…
Reference in New Issue
Block a user