aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/bootimg.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-25 11:36:40 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-25 11:36:40 +0000
commitf30bf93e14868e405999335d3db5af9e23a55425 (patch)
tree2b70f4dce64a0fe57207910e85ef9c725db9c0d5 /meta/classes/bootimg.bbclass
parent589df80ca1b825afd138531bb796aa8617ed0991 (diff)
downloadopenembedded-core-contrib-f30bf93e14868e405999335d3db5af9e23a55425.tar.gz
bootimg.bbclass: Improve documentation
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r--meta/classes/bootimg.bbclass22
1 files changed, 18 insertions, 4 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 5e838db56c..2de8d50934 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -1,12 +1,25 @@
-# bootimg.oeclass
# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see packages/COPYING)
-# This creates a bootable image using syslinux, your kernel and an optional
+# Creates a bootable image using syslinux, your kernel and an optional
# initrd
-# External variables needed
+#
+# End result is two things:
+#
+# 1. A .hddimage file which is an msdos filesystem containing syslinux, a kernel,
+# an initrd and a rootfs image. These can be written to harddisks directly and
+# also booted on USB flash disks (write them there with dd).
+#
+# 2. A CD .iso image
+
+# Boot process is that the initrd will boot and process which label was selected
+# in syslinux. Actions based on the label are then performed (e.g. installing to
+# an hdd)
+
+# External variables
# ${INITRD} - indicates a filesystem image to use as an initrd (optional)
+# ${ROOTFS} - indicates a filesystem image to include as the root filesystem (optional)
# ${AUTO_SYSLINUXCFG} - set this to 1 to enable creating an automatic config
# ${LABELS} - a list of targets for the automatic config
# ${APPEND} - an override list of append strings for each label
@@ -19,11 +32,12 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \
cdrtools-native:do_populate_sysroot"
PACKAGES = " "
+EXCLUDE_FROM_WORLD = "1"
HDDDIR = "${S}/hdd/boot"
ISODIR = "${S}/cd/isolinux"
-BOOTIMG_VOLUME_ID ?= "oe"
+BOOTIMG_VOLUME_ID ?= "boot"
BOOTIMG_EXTRA_SPACE ?= "512"
# Get the build_syslinux_cfg() function from the syslinux class