LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File Images.kiwi.in of Package JeOS (Project openSUSE:12.2:ARM)

<?xml version="1.0" encoding="utf-8"?>

#define QUOTED(x) #x
#define QUOTED_EXPAND(x) QUOTED(x)

/*
 * 
 */

#define VERSION 12.2
#define SUFFIX ARM
#define IMAGENAME openSUSE-VERSION-SUFFIX-FLAVOR_TYPE
#define IMAGENAME_STR QUOTED_EXPAND(IMAGENAME)

#define PKG_TAG(x) <package name=QUOTED_EXPAND(x)/>
#define PKG_BOOT_TAG(x) <package name=QUOTED_EXPAND(x) bootinclude="true"/>

/*
 * Define the specification
 */

#define SPECIFICATION openSUSE VERSION image for SUFFIX (FLAVOR_TYPE) boards

/*
 * Define the bootkernel (default is default)
 */

#if IS_FLAVOR_panda
#  define BOOTKERNEL omap2plus
#  define KIWIKERNEL omap4panda
#  define KERNEL_CMDLINE_STR "console=ttyO2 vram=16M"
#  define EXTRA_PACKAGES PKG_TAG(u-boot-omap4panda)
#elif IS_FLAVOR_beagle
#  define BOOTKERNEL omap2plus
#  define KIWIKERNEL omap3beagle
#  define KERNEL_CMDLINE_STR "console=ttyO2 vram=16M"
#  define EXTRA_PACKAGES PKG_TAG(u-boot-omap3beagle) \
			 PKG_TAG(x-loader-omap3beagle)
#elif IS_FLAVOR_highbank
#  define BOOTKERNEL highbank
#  define KERNEL_CMDLINE_STR ""
#  define EXTRA_PACKAGES
#elif IS_FLAVOR_cubox
#  define BOOTKERNEL cubox
#  define KERNEL_CMDLINE_STR ""
#  define EXTRA_PACKAGES
#elif IS_FLAVOR__imx51
#  define BOOTKERNEL imx51
#  define KERNEL_CMDLINE_STR ""
#  define EXTRA_PACKAGES
#else
#  define BOOTKERNEL default
#  define KERNEL_CMDLINE_STR ""
#  define EXTRA_PACKAGES
#endif

#ifdef KIWIKERNEL
#define KIWIKERNEL_STR QUOTED_EXPAND(KIWIKERNEL)
#else
#define KIWIKERNEL_STR QUOTED_EXPAND(BOOTKERNEL)
#endif

<image schemaversion="5.3" name=IMAGENAME_STR>
	<!--
	
	*****************************************************************************
	*****************************************************************************
	
	The *.kiwi files are autogenerated, please edit Images.kiwi.in instead!
	
	  sh pre_checkin.sh
	
	re-generates the *.kiwi file!
	
	*****************************************************************************
	*****************************************************************************
	-->
	<description type="system">
		<author>Marcus Schäfer</author>
		<contact>ms@novell.com</contact>
		<specification>
			SPECIFICATION
		</specification>
	</description>
        <preferences>
#if IS_FLAVOR_JeOS
    <type image="tbz" primary="true"/>
#else
    <type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot"
        bootkernel=KIWIKERNEL_STR kernelcmdline=KERNEL_CMDLINE_STR>
        <oemconfig>
           <oem-swapsize>500</oem-swapsize>
       </oemconfig>
   </type>
#endif
		<version>1.12.1</version>
		<packagemanager>zypper</packagemanager>
		<locale>en_US</locale>
		<keytable>us.map.gz</keytable>
		<timezone>Europe/Berlin</timezone>
		<hwclock>utc</hwclock>
		<rpm-excludedocs>true</rpm-excludedocs>
		<boot-theme>openSUSE</boot-theme>
	</preferences>
	<users group="root">
		<user pwd="$1$wYJUgpM5$RXMMeASDc035eX.NbYWFl0" home="/root" name="root"/>
	</users>
	<repository type="rpm-md">
		<source path="obs://openSUSE:12.2:ARM/standard"/>
	</repository>
	<!-- dont remove qemu binfmt helpers from initrd -->
	<strip type="tools">
		<file name="qemu-arm-binfmt"/>
		<file name="qemu-arm"/>
	</strip>
	<packages type="bootstrap">
PKG_BOOT_TAG(kernel-BOOTKERNEL)
EXTRA_PACKAGES
#include "packagelist.inc"
	</packages>
	<packages type="delete">
<!-- not needed at runtime, but removing would happen too early
                <package name="qemu-linux-user-arm" />
-->
	</packages>
</image>