File project.diff of Package JeOS-origen
--- Images.kiwi.in.orig
+++ Images.kiwi.in
@@ -58,7 +58,7 @@
#elif IS_FLAVOR_origen
# define BOOTKERNEL exynos
# define KERNEL_CMDLINE_SER "console=ttySAC2,115200n8"
-# define KERNEL_CMDLINE_GFX "console=ttySAC2,115200n8"
+# define KERNEL_CMDLINE_GFX ""
# define EXTRA_PACKAGES PKG_BOOT_TAG(u-boot-origen)
#else
# define BOOTKERNEL default
@@ -104,6 +104,7 @@
kernelcmdline=KERNEL_CMDLINE_STR
editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
@@ -124,6 +125,11 @@
<repository type="rpm-md">
<source path="obs://openSUSE:12.2:ARM/standard"/>
</repository>
+#if IS_FLAVOR_origen
+ <repository type="rpm-md">
+ <source path="obs://openSUSE:12.2:ARM:Contrib:Origen/standard"/>
+ </repository>
+#endif
<!-- dont remove qemu binfmt helpers from initrd -->
<strip type="tools">
<file name="qemu-arm-binfmt"/>
--- JeOS-beagle.kiwi.orig
+++ JeOS-beagle.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="console=ttyO2 vram=16M" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- JeOS-efikamx.kiwi.orig
+++ JeOS-efikamx.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="console=ttymxc0,115200" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- JeOS-panda.kiwi.orig
+++ JeOS-panda.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="console=ttyO2 vram=16M" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- JeOS-vexpress.kiwi.orig
+++ JeOS-vexpress.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- XFCE-beagle.kiwi.orig
+++ XFCE-beagle.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="vram=16M" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- XFCE-panda.kiwi.orig
+++ XFCE-panda.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="vram=16M" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- XFCE-vexpress.kiwi.orig
+++ XFCE-vexpress.kiwi
@@ -19,6 +19,7 @@
<preferences>
<type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
<oemconfig>
+ <oem-swap>true</oem-swap>
<oem-swapsize>500</oem-swapsize>
</oemconfig>
</type>
--- config.sh.orig
+++ config.sh
@@ -71,6 +71,10 @@ baseName="openSUSE-12.2-ARM-Repo-OSS"
zypper ar $baseRepo $baseName
zypper ar -f "http://download.opensuse.org/ports/armv7hl/update/12.2/" "openSUSE-12.2-ARM-Updates"
+baseRepo="http://download.opensuse.org/repositories/openSUSE:/12.2:/ARM:/Contrib:/Origen/standard"
+baseName="openSUSE-12.2-ARM-Origen"
+zypper ar -f $baseRepo $baseName
+
#======================================
# Add xorg config with fbdev
#--------------------------------------
@@ -114,6 +118,7 @@ ttyO0
ttyO2
ttyAMA2
ttymxc0
+ttySAC2
EOF
#======================================
@@ -142,9 +147,15 @@ for i in 0 1 2 3; do
done
#======================================
+# ORIGEN
+#--------------------------------------
+( cd /lib/firmware/ath6k/AR6003/hw2.0; ln -s bdata.SD31.bin bdata.bin )
+( cd /lib/firmware/ath6k/AR6003/hw2.1.1; ln -s bdata.SD31.bin bdata.bin )
+
+#======================================
# Trigger yast2-firstboot on first boot
#--------------------------------------
-touch /var/lib/YaST2/reconfig_system
+# touch /var/lib/YaST2/reconfig_system
#======================================
# Import trusted keys
--- pre_checkin.sh.orig
+++ pre_checkin.sh
@@ -8,8 +8,8 @@ if [ -e /usr/bin/cpp-4.6 ]; then
fi
-for i in JeOS-rootfs JeOS-beagle JeOS-efikamx JeOS-panda JeOS-vexpress \
- XFCE-rootfs XFCE-panda XFCE-beagle XFCE-vexpress; do
+for i in JeOS-rootfs JeOS-beagle JeOS-efikamx JeOS-panda JeOS-vexpress JeOS-origen \
+ XFCE-rootfs XFCE-panda XFCE-beagle XFCE-origen XFCE-vexpress; do
if [[ $i == XFCE-* ]]; then
image_type=TYPE_XFCE