aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-29 14:46:41 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-30 13:28:57 +0200
commit21c35028cd0ee91e6032a19465170cbb48e8f30f (patch)
tree42347af81d3e2b7ea4bfcfb87f2d0092fca5f30e
parent3bc59080c93d008e276815009bf0b69c6bf3f4d6 (diff)
downloadaports-21c35028cd0ee91e6032a19465170cbb48e8f30f.tar.bz2
aports-21c35028cd0ee91e6032a19465170cbb48e8f30f.tar.xz
scripts/mkimg.*: add title and description
-rwxr-xr-xscripts/mkimg.arm.sh8
-rwxr-xr-xscripts/mkimg.minirootfs.sh4
-rwxr-xr-xscripts/mkimg.standard.sh16
-rwxr-xr-xscripts/mkimg.xen.sh4
4 files changed, 32 insertions, 0 deletions
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh
index d2be7d78c0..68578d26c1 100755
--- a/scripts/mkimg.arm.sh
+++ b/scripts/mkimg.arm.sh
@@ -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
diff --git a/scripts/mkimg.minirootfs.sh b/scripts/mkimg.minirootfs.sh
index 27644f39bc..ec2b1435dc 100755
--- a/scripts/mkimg.minirootfs.sh
+++ b/scripts/mkimg.minirootfs.sh
@@ -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"
diff --git a/scripts/mkimg.standard.sh b/scripts/mkimg.standard.sh
index 32b5575a2a..4337e07105 100755
--- a/scripts/mkimg.standard.sh
+++ b/scripts/mkimg.standard.sh
@@ -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"
diff --git a/scripts/mkimg.xen.sh b/scripts/mkimg.xen.sh
index 5b725e66c0..556abd9af9 100755
--- a/scripts/mkimg.xen.sh
+++ b/scripts/mkimg.xen.sh
@@ -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=""