diff options
author | Jon Ringle <jon@ringle.org> | 2010-03-09 21:45:48 -0500 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-03-11 16:55:07 +0100 |
commit | 33bd32fb4149f87a4f8191cd8cab25667dad41fa (patch) | |
tree | 502b4fc6990979e9caf5b3538ec2b45d091c7ae5 /rules/initramfs-tools.in | |
parent | e37efbbfd7f9ab021f7070d5ddd0bf3e49c19f76 (diff) | |
download | ptxdist-33bd32fb4149f87a4f8191cd8cab25667dad41fa.tar.gz ptxdist-33bd32fb4149f87a4f8191cd8cab25667dad41fa.tar.xz |
[initramfs-tools] initramfs_spec installed via $(call install_spec,...)
Signed-off-by: Jon Ringle <jon@ringle.org>
[mkl:
- fix indention
- remove obsolete strip from install_spec]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/initramfs-tools.in')
-rw-r--r-- | rules/initramfs-tools.in | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/rules/initramfs-tools.in b/rules/initramfs-tools.in index 9e6ca53ff..47c6378a0 100644 --- a/rules/initramfs-tools.in +++ b/rules/initramfs-tools.in @@ -1,18 +1,16 @@ -## SECTION=initramfs +## SECTION=initmethod + +if INITMETHOD_INITRAMFS menuconfig INITRAMFS_TOOLS bool - select KLIBC - select KLIBC_MODULE_INIT_TOOLS - select KLIBC_MODULE_INIT_TOOLS_DEPMOD - select KLIBC_MODULE_INIT_TOOLS_MODPROBE prompt "initramfs-tools " help Install initramfs skeleton framework if INITRAMFS_TOOLS -config INITRAMFS_USER_SPEC +config INITRAMFS_SPEC bool prompt "parse project specific initramfs_spec" help @@ -25,6 +23,32 @@ config INITRAMFS_USER_SPEC Files described in this file can either have an absolute or a relative path (relative to ${PTXDIST_WORKSPACE}). +if INITRAMFS_SPEC + +config INITRAMFS_SPEC_FILE + string "initramfs spec filename" + default "${PTXDIST_WORKSPACE}/initramfs_spec" + help + install using a spec file. Format is similar to what + is described in the kernel source in + Documentation/filesystems/ramfs-rootfs-initramfs.txt + + file <name> <location> <mode> <uid> <gid> + dir <name> <mode> <uid> <gid> + nod <name> <mode> <uid> <gid> <dev_type> <maj> <min> + slink <name> <target> <mode> <uid> <gid> + + file <location> can either have an absolute path or + a relative path relative to any of the following paths: + ${PTXDIST_WORKSPACE}/projectroot${PTXDIST_PLATFORMSUFFIX}/<location> + ${PTXDIST_WORKSPACE}/projectroot/<location>${PTXDIST_PLATFORMSUFFIX} + ${PTXDIST_WORKSPACE}/projectroot/<location> + ${PTXDIST_TOPDIR}/generic/<location> + ${pkg_pkg_dir}/<location> + ${pkg_dir}/<location> + +endif + config INITRAMFS_TOOLS_SCRIPTS_INIT bool "install /scripts/init " help @@ -42,3 +66,4 @@ config INITRAMFS_TOOLS_SCRIPTS_NFS endif +endif |