mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Update build_configs.sh to generate_all_configs.sh
Also cleanup a handful of references to "master" which should be "main" or "rawhide".
This commit is contained in:
parent
0b577ceb43
commit
25ff311b28
2 changed files with 9 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
|||
[[getting-started]]
|
||||
== Getting started
|
||||
|
||||
To create a live image, the `livecd-creator` tool is used. For this, super user privileges are needed.
|
||||
To create a live image, the `livecd-creator` tool is used. For this, super user privileges are needed.
|
||||
|
||||
The `livecd-creator` tool is part of the _livecd-tools_package. If it is not installed on your system, add it with DNF:
|
||||
|
||||
|
@ -23,15 +23,15 @@ The configuration of the live image is defined by a file called _kickstart_. It
|
|||
|
||||
For the Fedora project, the most important live image configurations files are:
|
||||
|
||||
* https://pagure.io/fedora-kickstarts/blob/master/f/fedora-live-base.ks[fedora-live-base.ks]
|
||||
* https://pagure.io/fedora-kickstarts/blob/main/f/fedora-live-base.ks[fedora-live-base.ks]
|
||||
: The base live image system, included in the _livecd-tools_ package.
|
||||
* For _Fedora 21 and later_: https://pagure.io/fedora-kickstarts/blob/master/f/fedora-live-workstation.ks[fedora-live-workstation.ks]. This is the Workstation product configuration.
|
||||
* For _Fedora 21 and later_: https://pagure.io/fedora-kickstarts/blob/main/f/fedora-live-workstation.ks[fedora-live-workstation.ks]. This is the Workstation product configuration.
|
||||
|
||||
_kickstart_ files for other spins, e.g. Fedora Electronics Lab, can be found in `/usr/share/spin-kickstarts/` after installing the `spin-kickstarts` package. These pre-made configuration files can be a great place to start, as they already have some useful pre and post-installation scripts.
|
||||
|
||||
image:system-config-kickstart.png[system-config-kickstart,title="fig:system-config-kickstart"]
|
||||
|
||||
You can create a customized _kickstart_ file by running `system-config-kickstart`.
|
||||
You can create a customized _kickstart_ file by running `system-config-kickstart`.
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
|
@ -60,7 +60,7 @@ If you have the repositories available locally and don't want to wait for the do
|
|||
|
||||
[NOTE]
|
||||
====
|
||||
If you have an x86_64 machine you're building on but you want a 32-bit happy iso image, add the following before your livecd-creator command:
|
||||
If you have an x86_64 machine you're building on but you want a 32-bit happy iso image, add the following before your livecd-creator command:
|
||||
|
||||
[options="nowrap"]
|
||||
----
|
||||
|
|
|
@ -110,11 +110,11 @@ sudo dnf install ccache
|
|||
== Building a Kernel from the Fedora dist-git
|
||||
|
||||
The kernel, like any other Fedora package, has a branch per Fedora release.
|
||||
`master` corresponds to Rawhide and each version of Fedora has a branch called
|
||||
`rawhide` corresponds to Rawhide and each version of Fedora has a branch called
|
||||
`f<version>`. For example, to build a Fedora 28 kernel, you would first need
|
||||
to check out that branch with:
|
||||
|
||||
. Check out the branch for which you would like to build a kernel (`master`
|
||||
. Check out the branch for which you would like to build a kernel (`rawhide`
|
||||
corresponds to Rawhide):
|
||||
+
|
||||
[source,bash]
|
||||
|
@ -243,8 +243,8 @@ to start with the latest Rawhide configuration:
|
|||
[source,bash]
|
||||
----
|
||||
cd <dist-git directory>
|
||||
git checkout master
|
||||
./build_configs.sh # Ensure the latest configuration files are generated
|
||||
git checkout rawhide
|
||||
./generate_all_configs.sh # Ensure the latest configuration files are generated
|
||||
cp kernel-<arch>.config <linux kernel directory>.config
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in a new issue