scripts/mkimg.*: add title and description

This commit is contained in:
Natanael Copa 2017-05-29 14:46:41 +02:00
parent 3bc59080c9
commit 21c35028cd
4 changed files with 32 additions and 0 deletions

View File

@ -46,6 +46,10 @@ section_rpi_config() {
profile_rpi() {
profile_base
title="Raspberry Pi"
desc="Includes Raspberry Pi kernel.
Does not include grsec patchset.
And much more..."
image_ext="tar.gz"
arch="armhf"
rpi_firmware_commit="debe2d29bbc3df84f74672fae47f3a52fd0d40f1"
@ -76,6 +80,10 @@ section_uboot() {
profile_uboot() {
profile_base
title="Generic ARM"
desc="Has default ARM kernel.
Includes the uboot bootloader.
Supports armhf and aarch64."
image_ext="tar.gz"
arch="aarch64 armhf armv7"
case "$ARCH" in

View File

@ -14,6 +14,10 @@ create_image_rootfs() {
}
profile_minirootfs() {
title="Mini root filesystem"
desc="Minimal root filesystem.
For use in containers
and minimal chroots."
image_ext=tar.gz
output_format=rootfs
arch="x86 x86_64 armhf aarch64 ppc64le s390x"

View File

@ -1,4 +1,8 @@
profile_standard() {
title="Standard"
desc="Alpine as it was intended.
Just enough to get you started.
Network connection is required."
profile_base
image_ext="iso"
arch="x86 x86_64"
@ -9,6 +13,10 @@ profile_standard() {
profile_vanilla() {
profile_standard
title="Vanilla"
desc="Includes a vanilla kernel.
Does not include grsec patch set.
Suitable for debugging."
#arch="$arch aarch64"
arch="$arch ppc64le"
kernel_flavors="vanilla"
@ -17,6 +25,10 @@ profile_vanilla() {
profile_extended() {
profile_standard
title="Extended"
desc="Most common used packages included.
Suitable for routers and servers.
Runs from RAM."
kernel_addons="dahdi-linux xtables-addons zfs spl"
apks="$apks
dahdi-linux dahdi-tools ethtool hwdata lftp links
@ -53,6 +65,10 @@ profile_extended() {
profile_virt() {
profile_standard
title="Virtual"
desc="Similar to standard.
Slimmed down kernel.
Optimized for virtual systems."
kernel_addons=
kernel_flavors="virthardened"
kernel_cmdline="console=tty0 console=ttyS0,115200"

View File

@ -9,6 +9,10 @@ section_xen() {
profile_xen() {
profile_standard
title="Xen"
desc="Build-in support for Xen Hypervisor.
Includes packages targed at Xen usage.
Includes grsec kernel."
arch="x86_64"
kernel_cmdline="nomodeset"
xen_params=""