--- /dev/null
+2012-03-05 Tracy Graydon <tracy.graydon@intel.com>
+
+ * VERSION, configurations.yaml: Add copy-kernel option for IVI images
+
+2012-03-01 Tracy Graydon <tracy.graydon@intel.com>
+
+ * ChangeLog: Amend to trick gerrit
+
+ * ChangeLog: changelog update
+
+ * VERSION, ivi/ivi-main-min-auto.yaml, ivi/ivi-main-min-pc.yaml,
+ ivi/ivi-main-wayland-auto.yaml, ivi/ivi-main-wayland-pc.yaml,
+ ivi/ivi-main-x-auto.yaml, ivi/ivi-main-x-pc.yaml,
+ packaging/image-configurations.spec: IVI additions to adjust for
+ package-groups changes
+
+ * ChangeLog: Add IVI boot options
+
+ * ChangeLog: Changelog update
+
+ * VERSION: Version bump to 0.13
+
+ * configurations.yaml: Add bootloader options for IVI
+
+2012-02-29 Tracy Graydon <tracy.graydon@intel.com>
+
+ * ChangeLog: Compress IVI images
+
+ * ChangeLog: Changelog update
+
+ * VERSION: Version bump 0.12
+
+ * packaging/image-configurations.spec: spec
+
+ * configurations.yaml: Compress IVI images
+
+2012-02-28 Tracy Graydon <tracy.graydon@intel.com>
+
+ * VERSION, packaging/image-configurations.spec: omg
+
+ * ChangeLog: Amend to trick gerrit
+
+ * ChangeLog: Changelog
+
+ * VERSION, packaging/image-configurations.spec: Version, spec
+
+ * ChangeLog: Changelog update
+
+ * ChangeLog: Changelog update
+
+ * VERSION: Version bump
+
+ * ivi/ivi-main-wayland-auto.yaml, ivi/ivi-main-x-auto.yaml,
+ packaging/image-configurations.spec: ARRRRGGGHHHHHH
+
+ * ChangeLog: ChangeLog update
+
+ * VERSION: change ver to 0.8
+
+ * VERSION: Bump ver to 8
+
+ * ivi/ivi-main-wayland-auto.yaml, ivi/ivi-main-x-auto.yaml, repos.yaml:
+ Couple more IVI changes and fix repos.yaml non-oss URLwq
+
+ * ChangeLog: Changelog update
+
+ * ChangeLog: Changelog update
+
+ * VERSION, packaging/image-configurations.spec: IVI fixing
+
+ * ivi/ivi-main-wayland-auto.yaml, ivi/ivi-main-wayland-pc.yaml,
+ ivi/ivi-main-x-auto.yaml, ivi/ivi-main-x-pc.yaml: Drop IVI Apps until
+ hfdialer is fixed
+
+2012-02-27 Tracy Graydon <tracy.graydon@intel.com>
+
+ * ChangeLog: ChangeLog
+
+ * ChangeLog: ChangeLog
+
+ * ChangeLog, Changelog: Fix ChangeLog name
+
+ * Makefile, VERSION, configurations.yaml,
+ packaging/image-configurations.spec: Change IVI to use IVI Base pattern
--- /dev/null
+VERSION = $(shell cat VERSION)
+NAME=image-configurations
+TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
+
+ifeq ($(VERSION), $(TAGVER))
+ TAG = $(TAGVER)
+else
+ TAG = "HEAD"
+endif
+
+all:
+
+tag:
+ git tag -a $(VERSION) -m " $(VERSION)"
+ git push --tags origin master
+
+dist-bz2:
+ git archive --format=tar --prefix=$(NAME)-$(TAGVER)/ $(TAG) | \
+ bzip2 > $(NAME)-$(TAGVER).tar.bz2
+
+dist-gz:
+ git archive --format=tar --prefix=$(NAME)-$(TAGVER)/ $(TAG) | \
+ gzip > $(NAME)-$(TAGVER).tar.gz
+
+changelog:
+ python ./scripts/gitlog2changelog.py
+
+repackage: dist
+ osc branch -c Tizen:Base $(NAME)
+ rm home\:*\:branches\:Tizen:Base/$(NAME)/*tar.bz2
+ cp $(NAME)-$(VERSION).tar.bz2 home\:*\:branches\:Tizen:Base/$(NAME)
+
+dist: dist-bz2
+
+install: all install-data
+
+up:
+ @python scripts/gitlog2changelog.py
+ @echo 'Current versions:'
+ @git tag -l
+ @echo 'Please specify the new version:'
+ @read NEWVER; echo $$NEWVER > VERSION; \
+ git commit -a -m "bump version to $$NEWVER"; \
+ git tag -m $$NEWVER $$NEWVER
+
+clean:
--- /dev/null
+Any global changes to configurations need to be done in the
+configurations.yaml file. Local changes need to be done in the individual yaml
+files which are organised per vertical.
+
+Do not make any changes directly to the ks files. If it gets complicated and a
+certain scenario can't be done using kickstarter, please report a bug.
+
+Updates to the git repositories have no effect unless they are packaged and
+submitted to the build system.
+
+- Edit yaml files and make the desired changes
+- Verfiy integrity of the changes by running kickstarter as follows:
+
+# kickstarter -c configurations.yaml -r repos.yaml -i index.xml
+
+
+To update the package:
+- change the yaml files
+- Verify your changes
+- Bump the version in the VERSION file
+- commit and push
+- Do not change the ChangeLog file, this is generated using a script
+ run 'python scripts/gitlog2changelog.py'
+- commit and push
+- run 'make tag'
+- run 'make dist'
+- Submit the newly generated tar
+
+
--- /dev/null
+This configurations.yaml file has a generic definition of configurations.
+The Configurations inherit from platforms first then from the DEFAULT section.
+The image configurations override all other settings
+(in DEFAULT and platform sections).
+
+Basically all common options should go to the DEFAULT section. If an options is
+related to a specific platform, then that option should be added to the platform
+section. Try to keep platforms clean and very generic, if needed, create a new
+platform section and use it when many options for a new platfrom are common.
+
+Example
+
+
+# description of the configuration file
+Name: MeeGo Netbook/Nettop
+# When should this image be generated:
+# *: always
+# 0: Monday
+# 1: Tuesday
+# ...
+# If no schedule keyword is present, then image will not be created
+
+Schedule: "*"
+
+# if this image is active
+Active: True
+
+# Inherit from platform
+Platform: NETBOOK
+
+# MIC2 options to be used when creating this image
+Mic2Options: "-f livecd"
+
+# Desktop type
+Desktop: None
+
+# Timezone
+Timezone: America/New_York
+
+# The name of the configuration file
+FileName: netbook-ia32
+
+# package groups
+Groups:
+ - MeeGo Netbook Desktop
+ - MeeGo Core
+ - Printing
+ - Games
+
+# Additional packages that are not part of any group
+ExtraPackages:
+ - chromium
+ - adobe-release
+ - flash-plugin
+
+# Repos to use in addition to default repos, those are define in the repos.yaml file
+Repos:
+ - adobe
--- /dev/null
+ExternalConfigs:
+ - lb
+ - handset
+
+Default:
+ Baseline: tizen-0.0
+ FileSystem: ext3
+ Active: True
+ Language: en_US.UTF-8
+ Keyboard: us
+ SaveRepos: True
+ Timezone: America/Los_Angeles
+ RootPass: tizen
+ DefaultUser: tizen
+ DefaultUserPass: tizen
+ PartSize: 1900
+ BootloaderOptions: ""
+
+LB:
+ Part: tizen-arm
+ Bootloader: True
+ BootloaderAppend: "rootdelay=5"
+ BootloaderTimeout: 0
+ SaveRepos: True
+ Desktop: None
+ DefaultUser: root
+ DefaultUserPass: ""
+ Architecture: armv7l
+ Mic2Options: -f loop --taring-to=@NAME@-rs.tar --compress-disk-image=gz
+ Repos:
+ - Tizen-1.0-main
+ - Tizen-1.0-base
+Handset:
+ PartSize: 1024
+ Bootloader: True
+ BootloaderAppend: "rootdelay=5"
+ BootloaderTimeout: 0
+ SaveRepos: True
+ Architecture: ia32
+ Desktop: None
+ Groups:
+ - Base System
+ - Base X Server
+ - Tizen UI
+ - Tizen APIs
+ Repos:
+ - Tizen-1.0-base
+ - Tizen-1.0-main
+#- Tizen-1.0-base-debug
+#- Tizen-1.0-main-debug
--- /dev/null
+part / --size 1300 --ondisk sda --grow --maxsize=1450 --fstype=ext3
+#part /home --size 1000 --grow --maxsize=1450 --ondisk sdb --fstype=ext3
--- /dev/null
+# ROOT fs partition
+#part / --size=800 --ondisk mmcblk0p --fstype=ext4 --label=platform
+# Use larger partition for creation, and will be shrinked at last, workaround of libzypp bug
+#part / --size=2000 --ondisk mmcblk0p --fstype=ext4 --label=platform
+# DATA partition
+#part /opt/ --size=1800 --ondisk mmcblk0p --fstype=ext4 --label=data
+
+# ROOT fs partition
+part / --size=1700 --ondisk mmcblk0p --fstype=ext4 --label=platform
+# DATA partition
+part /opt/ --size=3000 --ondisk mmcblk0p --fstype=ext4 --label=data
+# UMS partition
+part /opt/media/ --size=300 --ondisk mmcblk0p --fstype=vfat --label=ums
--- /dev/null
+part /boot --size 32 --ondisk sdb --fstype=ext2
+part /opt --size 300 --ondisk sdb --fstype=ext3
+part / --size 1024 --ondisk sdb --fstype=ext3
--- /dev/null
+part /boot --size 32 --ondisk sdb --fstype=ext2
+part /opt --size 300 --ondisk sdb --fstype=ext4
+part / --size 1024 --ondisk sdb --fstype=ext4
--- /dev/null
+# Without this line the rpm don't get the architecture right.
+echo -n 'armv7hl-tizen-linux' > /etc/rpm/platform
+
+# Also libzypp has problems in autodetecting the architecture so we force tha as well.
+# https://bugs.meego.com/show_bug.cgi?id=11484
+echo 'arch = armv7hl' >> /etc/zypp/zypp.conf
--- /dev/null
+if [ -n "$IMG_NAME" ]; then
+ echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/tizen-release
+fi
--- /dev/null
+# save a little bit of space at least...
+rm -f /boot/initrd*
--- /dev/null
+# Create /etc/cogl.conf file to load proper GL libraries on Cedartrail
+mkdir /etc/xdg/cogl
+echo "[global]" >>/etc/xdg/cogl/cogl.conf
+echo "COGL_DRIVER=gles2" >>/etc/xdg/cogl/cogl.conf
+echo "COGL_RENDERER=EGL" >>/etc/xdg/cogl/cogl.conf
+echo "COGL_DEBUG=disable-atlas" >>/etc/xdg/cogl/cogl.conf
+
--- /dev/null
+sed -i s/ENGINE=gl/ENGINE=fb/ /etc/profile.d/menu-screen.sh
+
+echo "s1:12345:respawn:/sbin/agetty -L 115200 ttyMFD3 vt100" >> /etc/inittab
--- /dev/null
+if [[ (! -d /opt/etc/X11/xorg.conf.d) && (! -d /etc/X11/xorg.conf.d) ]]; then
+ mkdir -p /opt/etc/X11/xorg.conf.d;
+ ln -s /opt/etc/X11/xorg.conf.d /etc/X11;
+fi
--- /dev/null
+# Prelink can reduce boot time
+if [ -x /usr/sbin/prelink ]; then
+ /usr/sbin/prelink -aRqm
+fi
--- /dev/null
+rm -f /var/lib/rpm/__db*
+rpm --rebuilddb
--- /dev/null
+echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
+
+echo 0 > /usr/share/check_dac
+
+rm -f /etc/rc.d/rc4.d/S01soundserver
+rm -f /etc/rc.d/rc3.d/S01soundserver
+
+mkdir -p /opt/etc/sound
--- /dev/null
+mkdir /opt/home/root
+ln -sf /opt/home/root /root
--- /dev/null
+echo 'kickstart post script start'
+if [ -d /etc/init.d ]; then
+ cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
+fi
+rm -rf /etc/init.d*
+ln -sf /etc/rc.d/init.d /etc/init.d
+
+# Without this line the rpm don't get the architecture right.
+echo -n 'armv7l-meego-linux' > /etc/rpm/platform
+
+ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
+ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
+ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
+
+ail_initdb
+/opt/apps/com.samsung.menu-screen/bin/menuscreen_initdb
+
+cat > /usr/bin/press << EOF
+#!/bin/sh
+
+JUNK="SLP"
+
+[ "\$1" ] && TIMEOUT="\$1" || TIMEOUT="1"
+
+echo "Press return key to stop scripts"
+read -t \$TIMEOUT JUNK
+exit \$?
+EOF
+chmod +x /usr/bin/press
+
+ln -s /opt/etc/X11/xkb /usr/share/X11
+
+echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
+
+rm -rf /usr/include
+rm -rf /usr/share/man
+rm -rf /usr/share/doc
+
+MAJOR="2"
+MINOR="0"
+cat >/etc/info.ini <<EOF
+[Version]
+Major=$MAJOR;
+Minor=$MINOR;
+Build=TIZEN_`date +%Y%m%d`_1;
+Order=;
+[Build]
+Date=`date +%Y.%m.%d`;
+Time=`date +%H:%M:%S`;
+EOF
+
+ln -sf /etc/info.ini /opt/etc/info.ini
+ln -sf /etc/info.ini /usr/etc/info.ini
+
+ldconfig
+rpm --rebuilddb
+echo 'kickstart post script end'
--- /dev/null
+echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
--- /dev/null
+cat /etc/pki/tls/certs/download.saobs.jf.intel.com >> /etc/pki/tls/certs/ca-bundle.crt
--- /dev/null
+# enable USB networking with IP address 192.168.1.1 by default
+cat >/etc/rc.d/rc3.d/S99usbnet.sh <<END
+#!/bin/sh
+echo rndis > /sys/class/android_usb/android0/functions
+echo 1 > /sys/class/android_usb/android0/enable
+ifconfig rndis0 192.168.100.1
+END
+chmod 777 /etc/rc.d/rc3.d/S99usbnet.sh
--- /dev/null
+mkdir -p /opt/home/app
+chown app: /opt/home/app
+mkdir -p /home
+mkdir -p /opt/home/root
+ln -s /opt/home/app /home/app
+ln -sf /opt/home/root /root
--- /dev/null
+# Set symlink pointing to .desktop file
+ln -sf x-meego-ivi.desktop /usr/share/xsessions/default.desktop
--- /dev/null
+Name: Tizen Handset Pinetrail
+Schedule: "*"
+Active: True
+Platform: Handset
+FileName: handset-pinetrail
+Part: tizen-handset
+Mic2Options: -f raw --copy-kernel --compress-disk-image=bz2
+PostScripts:
+ - users
+ - rpm
+Repos:
+ - Tizen-1.0-base
+ - Tizen-1.0-main
+
+#Groups:
+# - Pinetrail Support
--- /dev/null
+Name: Tizen LunchBox
+Schedule: "*"
+Active: True
+Platform: LB
+FileName: lb
+
+Groups:
+ - tizen-c210
+ - tizen-bootstrap
+
+RemovePackages:
+ - glib2-static
+ - gettext-tools
+ - eglibc-utils
+ - imake
+ - giflib-utils
+ - brcm-gps-daemon
+ - insserv
+
+PrePackages:
+ - libgcc
+ - eglibc
+ - sqlite
+ - zlib
+ - libpython
+ - libdlog
+ - libcap
+ - libattr
+ - default-files-slp
+ - busybox
+ - python-base
+ - libacl
+ - glib2
+ - tzdata-slp
+ - vconf
+ - libxml2
+ - heynoti
+ - openssl
+ - shared-mime-info
+ - libudev
+ - security-server
+ - dbus-libs
+ - cert-svc
+ - libsecurity-server-client
+# - libprivilege-control
+# - libprivilege-control-conf
+
+PostScripts:
+ - tizen-lb
+
+Repos:
+ - Tizen-1.0-main
+ - Tizen-1.0-base
--- /dev/null
+-------------------------------------------------------------------
+Fri May 18 13:19:01 UTC 2012 - jfding@gmail.com
+
+- new change log
+
--- /dev/null
+%define baseline tizen-0.0
+Summary: Create kickstart files for Tizen images
+Name: image-configurations
+Version: 6
+Release: 1
+License: GPLv2
+Group: System/Base
+URL: http://www.tizen.org
+Source: image-configurations-%{version}.tar.bz2
+
+BuildArch: noarch
+BuildRequires: kickstarter >= 0.8
+
+%description
+Create Configuration files to build Tizen images
+
+%prep
+%setup -q
+
+%build
+kickstarter -c configurations.yaml -r repos.yaml -i image-configs.xml
+
+%install
+
+mkdir -p %{buildroot}/usr/share/image-configurations
+cp %{baseline}/*.ks %{buildroot}/usr/share/image-configurations
+cp image-configs.xml %{buildroot}/usr/share/image-configurations
+
+%files
+%dir %_datadir/image-configurations
+%_datadir/image-configurations/*.ks
+%_datadir/image-configurations/image-configs.xml
--- /dev/null
+Repositories:
+ - Name: Tizen-1.0-base
+ Url: https://download.tizen.org/snapshots/@BUILD_ID@/repos/tizen-base/@ARCH@/packages/
+ Options: --ssl_verify=no
+ - Name: Tizen-1.0-main
+ Url: https://download.tizen.org/snapshots/@BUILD_ID@/repos/tizen-main/@ARCH@/packages/
+ Options: --save --ssl_verify=no
+
+# - Name: non-oss
+# Url: https://download.tizen.org/snapshots/@BUILD_ID@/repos/non-oss/@ARCH@/packages/
+# Options: --ssl_verify=no
--- /dev/null
+#!/bin/sh
+#
+#A simple script to batch generate all release-able images for MeeGo.
+#
+#This script will check out all MeeGo Image Kickstart files and execute
+#image generation based on repository type selected for all release-able images.
+#
+# Written for MeeGo by Chris Ferron <chris.e.ferron@linux.intel.com> based on an initial
+# effort buy Anas Nashif.
+
+
+ID=$1
+REPOTYPE=$2
+RELEASE=$3
+
+# Preparation Section
+#export http_proxy=http://192.168.50.99:3128/
+
+rm -f *.log
+
+if [ "$RELEASE" = "MeeGo1.1" ]; then
+ git checkout -f MeeGo1.1
+elif [ "$RELEASE" = "Trunk" ]; then
+ git checkout -f master
+else
+ git checkout -f master
+ echo "No release type given, default to Trunk. Current support is for Trunk and MeeGo1.1"
+fi
+
+git pull
+
+
+if [ "$REPOTYPE" = "1" ]; then
+ str="s/\@BUILD_ID\@/$ID/"
+elif [ "$REPOTYPE" = "2" ]; then
+ str="s/\@BUILD_ID\@/preview/"
+elif [ "$REPOTYPE" = "3" ]; then
+ str="s/\@BUILD_ID\@/daily/"
+elif [ "$REPOTYPE" = "4" ]; then
+ # Replace .ks to use the trunk-daily repos
+ echo "Creating trunk-daily image-configurations"
+ str="s/repo.meego.com\/MeeGo/download.meego.com\/trunk-daily/"
+ find -name \*.ks -exec perl -pi -e $str '{}' \;
+ str="s/\@BUILD_ID\@/$ID/"
+elif [ "$REPOTYPE" = "5" ]; then
+ # Replace .ks to use the test-daily repos
+ echo "Creating testing-daily image-configurations"
+ str="s/repo.meego.com\/MeeGo/download.meego.com\/testing-daily/"
+ find -name \*.ks -exec perl -pi -e $str '{}' \;
+ str="s/\@BUILD_ID\@/$ID/"
+else
+ echo " Repository Type needs to be 1 for Weekly or 4 for trunk-daily or 5 for testing-daily"
+ exit 1
+fi
+
+find -name \*.ks -exec perl -pi -e $str '{}' \;
+
+# mk_image expects at minimal, one arg- the first arg must be the path to the ks file.
+# all further args are passed through to 'mic create'
+# finally, a --release argument is automatically prepended.
+mk_image() {
+ local ks="$1";
+ shift
+ local name="meego-$(basename "$ks")"
+ name="${name%.ks}"
+ local dirname="$(dirname "$ks")"
+ rm -rf "${ID}/${dirname}/images/${name}"
+ mic create -c "$ks" --release="${ID}" "$@" 2>&1 | tee "${name}-${ID}.log"
+ if [ ! -d "${ID}/${dirname}/images/${name}" ]; then
+ echo "error: no ${ID}/${dirname}/images/${name} directory created"
+ return 1
+ fi
+ md5sum "${name}-${ID}.log" >> "${ID}/${dirname}/images/${name}/MANIFEST"
+ cp "${name}-${ID}.log" "$ID/${dirname}/images/${name}/"
+}
+
+
+#Core Image Section
+#mk_image core/core-armv7l-n900.ks -f raw --save-kernel --arch armv7
+mk_image core/core-armv7l-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel
+mk_image core/core-ia32-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2
+
+#Netbook Image Section
+mk_image netbook/netbook-ia32.ks -f livecd
+mk_image netbook/netbook-ia32-qemu.ks --format=raw --compress-disk-image=none --package=tar.bz2
+
+#IVI Image Section
+mk_image ivi/ivi-ia32.ks -f livecd
+
+#Handset Image Section
+#mk_image handset/handset-ia32-aava-mtf.ks -f nand
+mk_image handset/handset-ia32-mtf.ks -f nand
+#mk_image handset/handset-ia32-aava-mtf-devel.ks -f nand
+mk_image handset/handset-ia32-mtf-devel.ks -f nand
+mk_image handset/handset-armv7l-n900.ks -f raw --save-kernel --arch=armv7l
+mk_image handset/handset-armv7l-n900-devel.ks -f raw --save-kernel --arch=armv7l
+mk_image handset/handset-armv7hl-n900.ks -f raw --save-kernel --arch=armv7hl
+mk_image handset/handset-ia32-pinetrail-mtf.ks -f livecd
+mk_image handset/handset-armv7l-qemu.ks --format=raw --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel
+mk_image handset/handset-ia32-qemu.ks --format=raw --compress-disk-image=none --package=tar.bz2
+mk_image handset/handset-armv7l-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel
+mk_image handset/handset-ia32-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2
+
+exit 0
--- /dev/null
+#!/bin/sh
+#
+#A simple script to batch generate all release-able images for MeeGo.
+#
+#This script will check out all MeeGo Image Kickstart files and execute
+#image generation based on repository type selected for all release-able images.
+#
+# Written for MeeGo by Chris Ferron <chris.e.ferron@linux.intel.com> based on an initial
+# effort buy Anas Nashif.
+
+
+ID=$1
+REPOTYPE=$2
+RELEASE=$3
+
+# Preparation Section
+#export http_proxy= http://XXX.XXX.XXX.XXX:XXXX/
+
+rm -f *.log
+
+if [ "$RELEASE" = "MeeGo1.1" ]; then
+ git checkout -f MeeGo1.1
+elif [ "$RELEASE" = "Trunk" ]; then
+ git checkout -f master
+else
+ git checkout -f master
+ echo "No release type given, default to Trunk. Current support is for Trunk and MeeGo1.1"
+fi
+
+git pull
+
+if [ "$REPOTYPE" = "1" ]; then
+ str="s/\@BUILD_ID\@/$ID/"
+elif [ "$REPOTYPE" = "2" ]; then
+ str="s/\@BUILD_ID\@/preview/"
+elif [ "$REPOTYPE" = "3" ]; then
+ str="s/\@BUILD_ID\@/daily/"
+else
+ echo " Repository Type needs to be 1 for Weekly or 2 for Preview or 3 for Daily"
+ exit 1
+fi
+
+find -name \*.ks -exec perl -pi -e $str '{}' \;
+
+# mk_image expects at minimal, one arg- the first arg must be the path to the ks file.
+# all further args are passed through to 'mic create'
+# finally, a --release argument is automatically prepended.
+mk_image() {
+ local ks="$1";
+ shift
+ local name="meego-$(basename "$ks")"
+ name="${name%.ks}"
+ local dirname="$(dirname "$ks")"
+ rm -rf "${ID}/${dirname}/images/${name}"
+ mic create -c "$ks" --release="${ID}" "$@" 2>&1 | tee "${name}-${ID}.log"
+ if [ ! -d "${ID}/${dirname}/images/${name}" ]; then
+ echo "error: no ${ID}/${dirname}/images/${name} directory created"
+ return 1
+ fi
+ md5sum "${name}-${ID}.log" >> "${ID}/${dirname}/images/${name}/MANIFEST"
+ cp "${name}-${ID}.log" "$ID/${dirname}/images/${name}/"
+}
+
+
+#Core Image Section
+mk_image core/core-armv7l-n900.ks -f raw --save-kernel --arch armv7
+mk_image core/core-armv7l-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel
+mk_image core/core-ia32-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2
+
+#Netbook Image Section
+mk_image netbook/netbook-ia32.ks -f livecd
+mk_image netbook/netbook-ia32-qemu.ks --format=raw --compress-disk-image=none --package=tar.bz2
+
+#IVI Image Section
+mk_image ivi/ivi-ia32.ks -f livecd
+
+#Handset Image Section
+#mk_image handset/handset-ia32-aava-mtf.ks -f nand
+mk_image handset/handset-ia32-mtf.ks -f nand
+#mk_image handset/handset-ia32-aava-mtf-devel.ks -f nand
+mk_image handset/handset-ia32-mtf-devel.ks -f nand
+mk_image handset/handset-armv7l-n900.ks -f raw --save-kernel --arch=armv7l
+mk_image handset/handset-armv7l-n900-devel.ks -f raw --save-kernel --arch=armv7l
+mk_image handset/handset-armv7hl-n900.ks -f raw --save-kernel --arch=armv7hl
+mk_image handset/handset-ia32-pinetrail-mtf.ks -f livecd
+mk_image handset/handset-armv7l-qemu.ks --format=raw --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel
+mk_image handset/handset-ia32-qemu.ks --format=raw --compress-disk-image=none --package=tar.bz2
+mk_image handset/handset-armv7l-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel
+mk_image handset/handset-ia32-madde-sysroot.ks --format=fs --compress-disk-image=none --package=tar.bz2
+
+exit 0
--- /dev/null
+#!/usr/bin/python
+# Copyright 2008 Marcus D. Hanwell <marcus@cryos.org>
+# Distributed under the terms of the GNU General Public License v2 or later
+
+import string, re, os
+
+# Execute git log with the desired command line options.
+fin = os.popen('git log --summary --stat --no-merges --date=short', 'r')
+# Create a ChangeLog file in the current directory.
+fout = open('ChangeLog', 'w')
+
+# Set up the loop variables in order to locate the blocks we want
+authorFound = False
+dateFound = False
+messageFound = False
+filesFound = False
+message = ""
+messageNL = False
+files = ""
+prevAuthorLine = ""
+
+# The main part of the loop
+for line in fin:
+ # The commit line marks the start of a new commit object.
+ if string.find(line, 'commit') >= 0:
+ # Start all over again...
+ authorFound = False
+ dateFound = False
+ messageFound = False
+ messageNL = False
+ message = ""
+ filesFound = False
+ files = ""
+ continue
+ # Match the author line and extract the part we want
+ elif re.match('Author:', line) >=0:
+ authorList = re.split(': ', line, 1)
+ author = authorList[1]
+ author = author[0:len(author)-1]
+ authorFound = True
+ # Match the date line
+ elif re.match('Date:', line) >= 0:
+ dateList = re.split(': ', line, 1)
+ date = dateList[1]
+ date = date[0:len(date)-1]
+ dateFound = True
+ # The svn-id lines are ignored
+ elif re.match(' git-svn-id:', line) >= 0:
+ continue
+ # The sign off line is ignored too
+ elif re.search('Signed-off-by', line) >= 0:
+ continue
+ # Extract the actual commit message for this commit
+ elif authorFound & dateFound & messageFound == False:
+ # Find the commit message if we can
+ if len(line) == 1:
+ if messageNL:
+ messageFound = True
+ else:
+ messageNL = True
+ elif len(line) == 4:
+ messageFound = True
+ else:
+ if len(message) == 0:
+ message = message + line.strip()
+ else:
+ message = message + " " + line.strip()
+ # If this line is hit all of the files have been stored for this commit
+ elif re.search('files changed', line) >= 0:
+ filesFound = True
+ continue
+ # Collect the files for this commit. FIXME: Still need to add +/- to files
+ elif authorFound & dateFound & messageFound:
+ fileList = re.split(' \| ', line, 2)
+ if len(fileList) > 1:
+ if len(files) > 0:
+ files = files + ", " + fileList[0].strip()
+ else:
+ files = fileList[0].strip()
+ # All of the parts of the commit have been found - write out the entry
+ if authorFound & dateFound & messageFound & filesFound:
+ # First the author line, only outputted if it is the first for that
+ # author on this day
+ authorLine = date + " " + author
+ if len(prevAuthorLine) == 0:
+ fout.write(authorLine + "\n")
+ elif authorLine == prevAuthorLine:
+ pass
+ else:
+ fout.write("\n" + authorLine + "\n")
+
+ # Assemble the actual commit message line(s) and limit the line length
+ # to 80 characters.
+ commitLine = "* " + files + ": " + message
+ i = 0
+ commit = ""
+ while i < len(commitLine):
+ if len(commitLine) < i + 78:
+ commit = commit + "\n " + commitLine[i:len(commitLine)]
+ break
+ index = commitLine.rfind(' ', i, i+78)
+ if index > i:
+ commit = commit + "\n " + commitLine[i:index]
+ i = index+1
+ else:
+ commit = commit + "\n " + commitLine[i:78]
+ i = i+79
+
+ # Write out the commit line
+ fout.write(commit + "\n")
+
+ #Now reset all the variables ready for a new commit block.
+ authorFound = False
+ dateFound = False
+ messageFound = False
+ messageNL = False
+ message = ""
+ filesFound = False
+ files = ""
+ prevAuthorLine = authorLine
+
+# Close the input and output lines now that we are finished.
+fin.close()
+fout.close()
--- /dev/null
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ echo "Merge request number needed"
+ exit 1
+fi
+
+# Check out a new branch for integration
+git checkout -b merge-requests/$1
+
+# Fetch the merge request into this branch
+git pull git://gitorious.org:meego-os-base/image-configurations.git refs/merge-requests/$1
+
+# Show the commits, assess they are okay
+git log --pretty=oneline --abbrev-commit master..merge-requests/$1
+
+# To apply the changes to your branch:
+git checkout master
+git merge merge-requests/$1
+git push origin master