ch config lb, ui

This commit is contained in:
kyodev 2017-06-04 00:19:01 +02:00
parent ffd2f50691
commit fb45643c5d
3 changed files with 263 additions and 11 deletions

View File

@ -1 +1,247 @@
à venir
# options for live-build(7)
## config/source, source stage
```
# $LB_SOURCE: set source option
# (Default: false)
LB_SOURCE="false"
# $LB_SOURCE_IMAGES: set image type
# (Default: tar)
LB_SOURCE_IMAGES="tar"
```
## config/common
```
# $LB_APT: set package manager
# (Default: apt)
LB_APT="apt"
# $LB_APT_FTP_PROXY: set apt/aptitude ftp proxy
# (Default: autodetected or empty)
LB_APT_FTP_PROXY=""
# $LB_APT_HTTP_PROXY: set apt/aptitude http proxy
# (Default: autodetected or empty)
LB_APT_HTTP_PROXY=""
# $LB_APT_PIPELINE: set apt/aptitude pipeline depth
# (Default: )
LB_APT_PIPELINE=""
# $LB_APT_RECOMMENDS: set apt/aptitude recommends
# (Default: true)
LB_APT_RECOMMENDS="true"
# $LB_APT_SECURE: set apt/aptitude security
# (Default: true)
LB_APT_SECURE="true"
# $LB_APT_SOURCE_ARCHIVES: set apt/aptitude source entries in sources.list
# (Default: false)
LB_APT_SOURCE_ARCHIVES="false"
# $LB_CACHE: control cache
# (Default: true)
LB_CACHE="true"
# $LB_CACHE_INDICES: control if downloaded package indices should be cached
# (Default: false)
LB_CACHE_INDICES="false"
# $LB_CACHE_PACKAGES: control if downloaded packages files should be cached
# (Default: true)
LB_CACHE_PACKAGES="true"
# $LB_CACHE_STAGES: control if completed stages should be cached
# (Default: bootstrap)
LB_CACHE_STAGES="bootstrap"
# $LB_DEBCONF_FRONTEND: set debconf(1) frontend to use
# (Default: noninteractive)
LB_DEBCONF_FRONTEND="noninteractive"
# $LB_DEBCONF_PRIORITY: set debconf(1) priority to use
# (Default: critical)
LB_DEBCONF_PRIORITY="critical"
# $LB_INITRAMFS: set initramfs hook
# (Default: live-boot)
LB_INITRAMFS="live-boot"
# $LB_INITRAMFS_COMPRESSION: set initramfs compression
# (Default: gzip)
LB_INITRAMFS_COMPRESSION="gzip"
# $LB_INITSYSTEM: set init system
# (Default: systemd)
LB_INITSYSTEM="systemd"
# $LB_FDISK: set fdisk program
# (Default: autodetected)
LB_FDISK="fdisk"
# $LB_LOSETUP: set losetup program
# (Default: autodetected)
LB_LOSETUP="losetup"
# $LB_MODE: set distribution mode
# (Default: debian)
LB_MODE="debian"
# $LB_SYSTEM: set system type
# (Default: live)
LB_SYSTEM="live"
# $LB_TASKSEL: set tasksel program
# (Default: apt)
LB_TASKSEL="apt"
# live-build options
# $_BREAKPOINTS: enable breakpoints
# (Default: false)
#_BREAKPOINTS="false"
# $_DEBUG: enable debug
# (Default: true)
#_DEBUG="true"
# $_COLOR: enable color
# (Default: false)
#_COLOR="false"
# $_FORCE: enable force
# (Default: false)
#_FORCE="false"
# $_QUIET: enable quiet
# (Default: false)
_QUIET="false"
# $_VERBOSE: enable verbose
# (Default: true)
#_VERBOSE="true"
# Internal stuff (FIXME)
APT_OPTIONS="--yes"
APTITUDE_OPTIONS="--assume-yes"
DEBOOTSTRAP_OPTIONS=""
DEBOOTSTRAP_SCRIPT=""
GZIP_OPTIONS="-6 --rsyncable"
ISOHYBRID_OPTIONS=""
```
## config/chroot, chroot stage
```
# $LB_CHROOT_FILESYSTEM: set chroot filesystem
# (Default: squashfs)
LB_CHROOT_FILESYSTEM="squashfs"
# $LB_UNION_FILESYSTEM: set union filesystem
# (Default: overlay)
LB_UNION_FILESYSTEM="overlay"
# $LB_INTERACTIVE: set interactive build
# (Default: false)
LB_INTERACTIVE="false"
# $LB_KEYRING_PACKAGES: set keyring packages
# (Default: empty)
LB_KEYRING_PACKAGES="debian-archive-keyring"
# $LB_LINUX_FLAVOURS: set kernel flavour to use
# (Default: autodetected)
LB_LINUX_FLAVOURS="686-pae"
# $LB_LINUX_PACKAGES: set kernel packages to use
# (Default: autodetected)
LB_LINUX_PACKAGES="linux-image"
# $LB_SECURITY: enable security updates
# (Default: true)
LB_SECURITY="true"
# $LB_UPDATES: enable updates updates
# (Default: true)
LB_UPDATES="true"
# $LB_BACKPORTS: enable backports updates
# (Default: false)
LB_BACKPORTS="false"
```
## config/bootstrap, bootstrap stage
```
# $LB_DISTRIBUTION: select distribution to use
# (Default: stretch)
LB_DISTRIBUTION="stretch"
# $LB_PARENT_DISTRIBUTION: select parent distribution to use
# (Default: stretch)
LB_PARENT_DISTRIBUTION="stretch"
# $LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION: select parent distribution for debian-installer to use
# (Default: stretch)
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="stretch"
# $LB_PARENT_MIRROR_BOOTSTRAP: set parent mirror to bootstrap from
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
# $LB_PARENT_MIRROR_CHROOT: set parent mirror to fetch packages from
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_CHROOT="http://ftp.debian.org/debian/"
# $LB_PARENT_MIRROR_CHROOT_SECURITY: set security parent mirror to fetch packages from
# (Default: http://security.debian.org/)
LB_PARENT_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
# $LB_PARENT_MIRROR_BINARY: set parent mirror which ends up in the image
# (Default: http://httpredir.debian.org/debian/)
LB_PARENT_MIRROR_BINARY="http://httpredir.debian.org/debian/"
# $LB_PARENT_MIRROR_BINARY_SECURITY: set security parent mirror which ends up in the image
# (Default: http://security.debian.org/)
LB_PARENT_MIRROR_BINARY_SECURITY="http://security.debian.org/"
# $LB_PARENT_MIRROR_DEBIAN_INSTALLER: set debian-installer parent mirror
# (Default: http://ftp.debian.org/debian/)
LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/"
# $LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
# $LB_MIRROR_CHROOT: set mirror to fetch packages from
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_CHROOT="http://ftp.debian.org/debian/"
# $LB_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
# (Default: http://security.debian.org/)
LB_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
# $LB_MIRROR_BINARY: set mirror which ends up in the image
# (Default: http://httpredir.debian.org/debian/)
LB_MIRROR_BINARY="http://httpredir.debian.org/debian/"
# $LB_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
# (Default: http://security.debian.org/)
LB_MIRROR_BINARY_SECURITY="http://security.debian.org/"
# $LB_MIRROR_DEBIAN_INSTALLER: set debian-installer mirror
# (Default: http://ftp.debian.org/debian/)
LB_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/"
# $LB_BOOTSTRAP_QEMU_ARCHITECTURES: architectures to use foreign bootstrap
# (Default: )
LB_BOOTSTRAP_QEMU_ARCHITECTURES=""
# $LB_BOOTSTRAP_QEMU_EXCLUDE: packages to exclude during foreign bootstrap
# (Default: )
LB_BOOTSTRAP_QEMU_EXCLUDE=""
# $LB_BOOTSTRAP_QEMU_STATIC: static qemu binary for foreign bootstrap
# (Default: )
LB_BOOTSTRAP_QEMU_STATIC=""
```

View File

@ -69,7 +69,6 @@
<footer class="col-md-12">
{%- block footer %}
<hr>
<p>
{% if config.site_url %}<a href="{{ config.site_url }}">{%- if config.site_name %}{{config.site_name}}{%- endif %}</a>{% endif %}
{%- if config.copyright %} - license {{ config.copyright }}{%- endif %}

View File

@ -14,7 +14,7 @@ ul.nav .main {
padding-left: 0;
}
.col-md-9 {
padding-bottom: 100px;
padding-bottom: 10px;
}
.source-links {
float: right;
@ -67,6 +67,7 @@ h1 {
color: #444;
font-weight: 400;
font-size: 42px;
margin-top: 10px;
}
h2, h3, h4, h5, h6 {
color: #444;
@ -107,11 +108,13 @@ a code {
a:hover code, a:focus code {
color: #157AB5;
}
footer {
margin-top: 30px;
margin-bottom: 10px;
footer.col-md-12 {
margin-top: 10px;
margin-bottom: 0px;
text-align: center;
font-weight: 200;
/* font-weight: 200; */
border-top: hsl(200,80%,25%) 1px solid;
padding-top: 10px;
}
.modal-dialog {
margin-top: 60px;
@ -128,13 +131,13 @@ footer {
}
.bs-sidebar.well { /* csslint allow: adjoining-classes */
padding: 0;
max-height: 90%;
max-height: 88%;
overflow-y: auto;
}
/* First level of nav */
.bs-sidenav {
padding-top: 10px;
padding-bottom: 10px;
padding-top: 0px;
padding-bottom: 0px;
border-radius: 5px;
}
/* All levels of nav */
@ -178,7 +181,8 @@ footer {
}
.bs-sidebar.affix { /* csslint allow: adjoining-classes */
position: fixed; /* Undo the static from mobile first approach */
top: 80px;
top: 60px;
z-index: 1;
}
.bs-sidebar.affix-bottom { /* csslint allow: adjoining-classes */
position: absolute; /* Undo the static from mobile first approach */
@ -295,3 +299,6 @@ a {
a:visited {
color: hsl(200,80%,25%);
}
.well {
min-height: 0px;
}