changeset 1617:57ed3f0570a4

Accept cpio or initramfs as synonyms for root filesystem generation.
author Rob Landley <rob@landley.net>
date Mon, 05 Aug 2013 22:58:06 -0500
parents 5636dc006f09
children ff283fe54626
files sources/functions.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/functions.sh	Thu Jul 11 00:56:01 2013 -0500
+++ b/sources/functions.sh	Mon Aug 05 22:58:06 2013 -0500
@@ -378,7 +378,7 @@
 {
   # Embed an initramfs cpio
 
-  if [ "$SYSIMAGE_TYPE" == "cpio" ]
+  if [ "$SYSIMAGE_TYPE" == "cpio" ] || [ "$SYSIMAGE_TYPE" == "initramfs" ]
   then
     # Borrow gen_init_cpio.c out of package cache copy of Linux source
     extract_package linux &&