From 2edce6e5772adb54aba63867c8cb10012803b049 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 28 Jun 2008 10:06:26 -0400 Subject: [PATCH] modules: fixed BOOT to set the right image type for initrd --- pkgsel.d/Base/BOOT.conf | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgsel.d/Base/BOOT.conf b/pkgsel.d/Base/BOOT.conf index 7be1556..00385e4 100644 --- a/pkgsel.d/Base/BOOT.conf +++ b/pkgsel.d/Base/BOOT.conf @@ -1,23 +1,26 @@ # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: target/mnemosyne/pkgsel/Base/BOOT.conf +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2002 - 2006 Alejandro Mery -# +# # 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 --- -case "$SDECFG_TRG_MNEMOSYNE_BOOT" in +case "$2" in vserver) - export SDECFGSET_IMAGE=none - const SDECFG_IMAGE none ;; + SDECFGSET_IMAGE=none + ;; initrd) - export SDECFGSET_IMAGE=initrd - const SDECFG_IMAGE initrd ;; - *) ;; + SDECFGSET_IMAGE=initramfs + ;; + *) + unset SDECFGSET_IMAGE + ;; esac