Skip to content

Instantly share code, notes, and snippets.

@amitsaha
Created November 15, 2012 04:10
Show Gist options
  • Select an option

  • Save amitsaha/4076586 to your computer and use it in GitHub Desktop.

Select an option

Save amitsaha/4076586 to your computer and use it in GitHub Desktop.
Fedora live image build tools and their options
boot iso
********
Mandatory:
-p STRING, --product=STRING
product name
-v STRING, --version=STRING
version identifier
-r STRING, --release=STRING
release information
-s REPOSITORY, --source=REPOSITORY
source repository (may be listed multiple times)
Optional with sensible defaults:
-b URL, --bugurl=URL
--buildarch=STRING build architecture
-c STRING, --config=STRING
config file
Optional with no sensible defaults:
-m REPOSITORY, --mirrorlist=REPOSITORY
mirrorlist repository (may be listed multiple times)
-t STRING, --variant=STRING
variant name
--proxy=STRING repo proxy url:port
-e STRING, --excludepkgs=STRING
package glob to exclude (may be listed multiple times)
--volid=STRING volume id
Switches:
--nomacboot
--isfinal
dvd iso
*******
Mandatory:
-c CONFIG, --config=CONFIG
Path to kickstart config file
Optional with sensible defaults:
--name=NAME the name for your distribution (defaults to "Fedora")
--ver=VERSION the version of your distribution (defaults to
datestamp)
--arch=ARCH Override default (uname based) arch
--destdir=DESTDIR destination directory (defaults to current directory)
--cachedir=CACHEDIR package cache directory (defaults to /var/cache/pungi)
--bugurl=BUGURL the url for your bug system (defaults to
http://bugzilla.redhat.com)
Optional with no sensible defaults:
--flavor=FLAVOR the flavor of your distribution spin (optional)
Switches:
--selfhosting build a self-hosting tree by following build
dependencies (optional)
--fulltree build a tree that includes all packages built from
corresponding source rpms (optional)
--nosource disable gathering of source packages (optional)
--nodebuginfo disable gathering of debuginfo packages (optional)
--nodownload disable downloading of packages. instead, print the
package URLs (optional)
--norelnotes disable gathering of release notes (optional)
--nogreedy disable pulling of all providers of package
dependencies (optional)
--sourceisos Create the source isos (other arch runs must be done)
--force Force reuse of an existing destination directory (will
overwrite files)
--isfinal Specify this is a GA tree, which causes betanag to be
turned off during install
--nohash disable hashing the Packages trees
--full-archlist Use the full arch list for x86_64 (include i686, i386,
etc.)
--all-stages Enable ALL stages
-G Flag to enable processing the Gather stage
-C Flag to enable processing the Createrepo stage
-B Flag to enable processing the BuildInstall stage
-I Flag to enable processing the CreateISO stage
live iso
********
Mandatory:
-c KSCFG, --config=KSCFG
Path or url to kickstart config file
Optional with no sensible defaults:
-p, --plugins Use yum plugins during image creation
--logfile=FILE Save debug information to FILE
-b BASE_ON, --base-on=BASE_ON
Add packages to an existing live CD iso9660 image.
Optional with sensible defaults:
--title=TITLE Title used by syslinux.cfg file
--product=PRODUCT Product name used in syslinux.cfg boot stanzas and
countdown
--releasever=RELEASEVER
Value to substitute for $releasever in kickstart repo
urls
-f FSLABEL, --fslabel=FSLABEL
File system label (default based on config name)
--compression-type=COMPRESS_TYPE
Compression type recognized by mksquashfs (default xz
needs a 2.6.38+ kernel, gzip works with all kernels,
lzo needs a 2.6.36+ kernel, lzma needs custom kernel.)
Set to 'None' to force read from base_on.
-t TMPDIR, --tmpdir=TMPDIR
Temporary directory to use (default: /var/tmp)
--cache=CACHEDIR Cache directory to use (default: private cache
--cacheonly Work offline from cache, use together with --cache
(default: False)
Switches:
-d, --debug Output debugging information
-v, --verbose Output verbose progress information
-q, --quiet Supress stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment