From 318e9890ecd2d84cf3ee66d6f3084a0a345d2d4d Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 11 Nov 2008 13:24:06 +0200 Subject: [PATCH] mkinitramfs: Added config.in file to ask for the name of the config to use as template --- base/mkinitramfs/config-150.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 base/mkinitramfs/config-150.in diff --git a/base/mkinitramfs/config-150.in b/base/mkinitramfs/config-150.in new file mode 100644 index 000000000..98cfcfaf8 --- /dev/null +++ b/base/mkinitramfs/config-150.in @@ -0,0 +1,21 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../mkinitramfs/config-150.in +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +if pkgcheck mkinitramfs X; then + text 'Config where to look for the initramfs template' \ + SDECFG_PKG_MKINITRAMFS_TPL 'early' + if [ ! -s "config/$SDECFG_PKG_MKINITRAMFS_TPL/config" ]; then + comment " WARNING: '$SDECFG_PKG_MKINITRAMFS_TPL' config not found." + fi +fi