diff options
Diffstat (limited to 'demo')
-rw-r--r-- | demo/configurations.yaml | 252 | ||||
-rw-r--r-- | demo/custom/part/custom | 2 | ||||
-rw-r--r-- | demo/custom/part/n900 | 8 | ||||
-rw-r--r-- | demo/custom/part/n900-devel | 8 | ||||
-rw-r--r-- | demo/custom/scripts/buildname.nochroot | 3 | ||||
-rw-r--r-- | demo/custom/scripts/cleanup.post | 6 | ||||
-rw-r--r-- | demo/custom/scripts/flash.post | 5 | ||||
-rw-r--r-- | demo/custom/scripts/fstab-n900.post | 5 | ||||
-rw-r--r-- | demo/custom/scripts/inittab-n900.post | 3 | ||||
-rw-r--r-- | demo/custom/scripts/kboot.post | 3 | ||||
-rw-r--r-- | demo/custom/scripts/kernel-handset.post | 17 | ||||
-rw-r--r-- | demo/custom/scripts/prelink.post | 4 | ||||
-rw-r--r-- | demo/custom/scripts/rpm.post | 7 | ||||
-rw-r--r-- | demo/custom/scripts/serial-mfld.post | 4 | ||||
-rw-r--r-- | demo/custom/scripts/serial.post | 2 | ||||
-rw-r--r-- | demo/custom/scripts/u-boot.post | 4 | ||||
-rw-r--r-- | demo/repos.yaml | 17 |
17 files changed, 350 insertions, 0 deletions
diff --git a/demo/configurations.yaml b/demo/configurations.yaml new file mode 100644 index 0000000..724ebd6 --- /dev/null +++ b/demo/configurations.yaml @@ -0,0 +1,252 @@ +ExternalConfigs: + - ex +Default: + Active: True + Language: en_US.UTF-8 + Keyboard: us + PackageArgs: + SaveRepos: True + Timezone: America/Los_Angeles + RootPass: meego + DefaultUser: meego + DefaultUserPass: meego + PartSize: 1900 + FileSystem: ext3 + PostScripts: + - rpm + Groups: + - MeeGo Core + - MeeGo Compliance + +CORE: + PartSize: 1000 + BootloaderAppend: "quiet" + BootloaderTimeout: 0 + PostScripts: + - cleanup + Groups: + - MeeGo X Window System + NoChrootScripts: + - buildname +N900: + Part: n900 + BootloaderTimeout: + BootloaderAppend: + StartX: True + Groups: + - MeeGo Core + - Minimal MeeGo X Window System + - X for Handsets + - MeeGo Compliance + - MeeGo Handset Desktop + - MeeGo Handset Applications + - MeeGo Base Development + Kernel: kernel-adaptation-n900 + PostScripts: + - cleanup + NoChrootScripts: + - buildname + Architecture: armv7l + Repos: + - core + - handset + - non-oss +MFLD: + PartSize: 1700 + BootloaderAppend: "ro pci=noearly console=tty1 console=ttyS0 console=ttyMFD2 earlyprintk=mrst loglevel=8 s0ix_latency=160" + BootloaderTimeout: 2 + Bootloader: True + StartX: True + Groups: + - MeeGo Core + - Minimal MeeGo X Window System + - X for Handsets + - MeeGo Compliance + - MeeGo Handset Desktop + - MeeGo Handset Applications + - MeeGo Base Development + Kernel: kernel + PostScripts: + - prelink + - cleanup + NoChrootScripts: + - buildname + Architecture: ia32 + Repos: + - core + - handset + - non-oss +IVI: + PartSize: 2200 + Bootloader: True + BootloaderAppend: "quiet" + BootloaderTimeout: 0 + BootloaderOptions: --test + Session: "/usr/bin/startivi" + StartX: True + Groups: + - X for IVI + Kernel: kernel-adaptation-intel-automotive + PostScripts: + - prelink + - cleanup + NoChrootScripts: + - buildname + Architecture: ia32 +NETBOOK: + PartSize: 3000 + Bootloader: True + BootloaderAppend: "quiet" + BootloaderTimeout: 0 + StartX: True + Groups: + - X for Netbooks + - Virtual Machine Support + - Printing + - Games + - MeeGo Netbook Desktop + Kernel: kernel + PostScripts: + - prelink + - cleanup + NoChrootScripts: + - buildname + Architecture: ia32 + +Configurations: + - Name: MeeGo IVI Development + Active: True + Baseline: "1.1.80" + Platform: IVI + Desktop: X-IVI + FileName: ivi-ia32 + Mic2Options: -f livecd + Groups: + - MeeGo IVI Desktop + - MeeGo Base Development + - MeeGo IVI Applications + - Development Tools + Repos: + - core + - ivi + ExtraPackages: + - mesa-libEGL + - Name: MeeGo IVI + Active: True + Baseline: "1.1.80" + Platform: IVI + Desktop: X-IVI + FileName: ivi-ia32 + Mic2Options: -f livecd + Groups: + - MeeGo IVI Desktop + - MeeGo Base Development + - MeeGo IVI Applications + Repos: + - core + - ivi + ExtraPackages: + - mesa-libEGL + - Name: MeeGo Netbook/Nettop + PartSize: 3000 + Active: True + Baseline: "1.1.80" + Platform: NETBOOK + Desktop: meego + FileName: netbook-ia32 + Mic2Options: -f livecd + Groups: + - MeeGo Netbook Desktop + - Base Double Byte IME Support + - MeeGo Base Development + Repos: + - core + - netbook + ExtraPackages: + - chromium + - Name: MeeGo Handset N900 Development + Part: n900-devel + Active: True + Baseline: "1.1.80" + Platform: N900 + FileName: handset-armv7l-n900-devel + Mic2Options: -f raw --save-kernel --arch=armv7l + Architecture: armv7l + Desktop: DUI + Session: "/usr/bin/mcompositor" + Groups: + - Nokia N900 Support + - Nokia N900 Proprietary Support + - Development Tools + ExtraPackages: + - xorg-x11-utils-xev + - u-boot-tools + PostScripts: + - inittab-n900 + - fstab-n900 + - u-boot + - Name: MeeGo Handset N900 + Active: True + Baseline: "1.1.80" + Platform: N900 + FileName: handset-armv7l-n900 + Mic2Options: -f raw --save-kernel --arch=armv7l + Architecture: armv7l + Desktop: DUI + Session: "/usr/bin/mcompositor" + Groups: + - Nokia N900 Support + - Nokia N900 Proprietary Support + ExtraPackages: + - xorg-x11-utils-xev + - u-boot-tools + PostScripts: + - inittab-n900 + - fstab-n900 + - u-boot + + - Name: MeeGo Handset MTF Development + PartSize: 2200 + Active: True + Baseline: "1.1.80" + Platform: MFLD + FileName: handset-ia32-mtf-devel + Mic2Options: -f nand + Kernel: kernel-adaptation-medfield + Architecture: ia32 + Desktop: DUI + Session: "/usr/bin/mcompositor" + Groups: + - Moorestown Support + - Development Tools + PostScripts: + - kernel-handset + - kboot + - serial-mfld + - Name: MeeGo Handset MTF Pinetrail + Active: True + Baseline: "1.1.80" + Platform: MFLD + FileName: handset-ia32-pinetrail-mtf + Mic2Options: -f livecd + Kernel: kernel + Architecture: ia32 + Desktop: DUI + Session: "/usr/bin/mcompositor" + - Name: MeeGo Handset MTF + Schedule: "* * * * 3" + Active: True + Baseline: "1.1.80" + Platform: MFLD + FileName: handset-ia32-mtf + Mic2Options: -f nand + Kernel: kernel-adaptation-medfield + Architecture: ia32 + Desktop: DUI + Session: "/usr/bin/mcompositor" + Groups: + - Moorestown Support + PostScripts: + - kernel-handset + - kboot + - serial-mfld diff --git a/demo/custom/part/custom b/demo/custom/part/custom new file mode 100644 index 0000000..d6c8b6b --- /dev/null +++ b/demo/custom/part/custom @@ -0,0 +1,2 @@ +part / --size 1300 --ondisk sda --grow --maxsize=1450 --fstype=ext3 +#part /home --size 1000 --grow --maxsize=1450 --ondisk sdb --fstype=ext3 diff --git a/demo/custom/part/n900 b/demo/custom/part/n900 new file mode 100644 index 0000000..bd7ac77 --- /dev/null +++ b/demo/custom/part/n900 @@ -0,0 +1,8 @@ +part / --size=1800 --ondisk mmcblk0p --fstype=btrfs + +# This is not used currently. It is here because the /boot partition +# needs to be the partition number 3 for the u-boot usage. +part swap --size=192 --ondisk mmcblk0p --fstype=swap + +# This partition is made so that u-boot can find the kernel +part /boot --size=64 --ondisk mmcblk0p --fstype=vfat diff --git a/demo/custom/part/n900-devel b/demo/custom/part/n900-devel new file mode 100644 index 0000000..e239fa8 --- /dev/null +++ b/demo/custom/part/n900-devel @@ -0,0 +1,8 @@ +part / --size=3400 --ondisk mmcblk0p --fstype=btrfs + +# This is not used currently. It is here because the /boot partition +# needs to be the partition number 3 for the u-boot usage. +part swap --size=256 --ondisk mmcblk0p --fstype=swap + +# This partition is made so that u-boot can find the kernel +part /boot --size=64 --ondisk mmcblk0p --fstype=vfat diff --git a/demo/custom/scripts/buildname.nochroot b/demo/custom/scripts/buildname.nochroot new file mode 100644 index 0000000..edd20a7 --- /dev/null +++ b/demo/custom/scripts/buildname.nochroot @@ -0,0 +1,3 @@ +if [ -n "$IMG_NAME" ]; then + echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release +fi diff --git a/demo/custom/scripts/cleanup.post b/demo/custom/scripts/cleanup.post new file mode 100644 index 0000000..c36c2e4 --- /dev/null +++ b/demo/custom/scripts/cleanup.post @@ -0,0 +1,6 @@ + +# save a little bit of space at least... +rm -f /boot/initrd* + +# make sure there aren't core files lying around +rm -f /core* diff --git a/demo/custom/scripts/flash.post b/demo/custom/scripts/flash.post new file mode 100644 index 0000000..fe062d3 --- /dev/null +++ b/demo/custom/scripts/flash.post @@ -0,0 +1,5 @@ +# verify link of flash plugin +if [ -f /usr/lib/flash-plugin/setup ]; then + sh /usr/lib/flash-plugin/setup install + rm -f /root/oldflashplugins.tar.gz +fi diff --git a/demo/custom/scripts/fstab-n900.post b/demo/custom/scripts/fstab-n900.post new file mode 100644 index 0000000..03b6fc1 --- /dev/null +++ b/demo/custom/scripts/fstab-n900.post @@ -0,0 +1,5 @@ + +# Use eMMC swap partition as MeeGo swap as well. +# Because of the 2nd partition is swap for the partition numbering +# we can just change the current fstab entry to match the eMMC partition. +sed -i 's/mmcblk0p2/mmcblk1p3/g' /etc/fstab diff --git a/demo/custom/scripts/inittab-n900.post b/demo/custom/scripts/inittab-n900.post new file mode 100644 index 0000000..4650a2f --- /dev/null +++ b/demo/custom/scripts/inittab-n900.post @@ -0,0 +1,3 @@ + +# open serial line console for embedded system +echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS2 vt100" >> /etc/inittab diff --git a/demo/custom/scripts/kboot.post b/demo/custom/scripts/kboot.post new file mode 100644 index 0000000..d5d5183 --- /dev/null +++ b/demo/custom/scripts/kboot.post @@ -0,0 +1,3 @@ +#Create Initrd if it does not exist and create symlinks for bzImage and initrd for kboot autoboot +echo "ro pci=noearly console=tty1 console=ttyS0 console=ttyMFD2 earlyprintk=mrst loglevel=8 s0ix_latency=160" > /boot/kboot.cmdline + diff --git a/demo/custom/scripts/kernel-handset.post b/demo/custom/scripts/kernel-handset.post new file mode 100644 index 0000000..cb07f6c --- /dev/null +++ b/demo/custom/scripts/kernel-handset.post @@ -0,0 +1,17 @@ +echo "Checking for kernel......." +Kernel_Name=`ls /boot | grep vmlinuz` +if [ -f /boot/$Kernel_Name ]; then + Kernel_Ver=`echo $Kernel_Name | sed s/vmlinuz-//` + if [ -f /boot/initrd* ]; then + echo "Initrd exists" > /dev/null + else + /usr/libexec/mkmrstinitrd /boot/initrd-$Kernel_Ver.img $Kernel_Ver + fi + #Create Symlinks + cd /boot + ln -s $Kernel_Name bzImage + ln -s initrd-$Kernel_Ver.img initrd + ln -s kboot.cmdline cmdline +else + echo "No Kernels were found" +fi diff --git a/demo/custom/scripts/prelink.post b/demo/custom/scripts/prelink.post new file mode 100644 index 0000000..527548c --- /dev/null +++ b/demo/custom/scripts/prelink.post @@ -0,0 +1,4 @@ +# Prelink can reduce boot time +if [ -x /usr/sbin/prelink ]; then + /usr/sbin/prelink -aRqm +fi diff --git a/demo/custom/scripts/rpm.post b/demo/custom/scripts/rpm.post new file mode 100644 index 0000000..6a07394 --- /dev/null +++ b/demo/custom/scripts/rpm.post @@ -0,0 +1,7 @@ +# work around for poor key import UI in PackageKit +rm -f /var/lib/rpm/__db* +rpm --rebuilddb + +if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-meego ]; then + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-meego +fi diff --git a/demo/custom/scripts/serial-mfld.post b/demo/custom/scripts/serial-mfld.post new file mode 100644 index 0000000..c3c62b0 --- /dev/null +++ b/demo/custom/scripts/serial-mfld.post @@ -0,0 +1,4 @@ +# open serial line console for embedded system +echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS0 vt100" >> /etc/inittab +echo "s1:235:respawn:/sbin/agetty -L 115200 ttyMFD2 vt100" >> /etc/inittab +echo "ttyMFD2" >> /etc/securetty diff --git a/demo/custom/scripts/serial.post b/demo/custom/scripts/serial.post new file mode 100644 index 0000000..5961379 --- /dev/null +++ b/demo/custom/scripts/serial.post @@ -0,0 +1,2 @@ +# open serial line console for embedded system +echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS0 vt100" >> /etc/inittab diff --git a/demo/custom/scripts/u-boot.post b/demo/custom/scripts/u-boot.post new file mode 100644 index 0000000..6377edc --- /dev/null +++ b/demo/custom/scripts/u-boot.post @@ -0,0 +1,4 @@ + + +# Create the /boot/uImage for u-boot support. +mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n vmlinuz -d /boot/vmlinuz* /boot/uImage diff --git a/demo/repos.yaml b/demo/repos.yaml new file mode 100644 index 0000000..38928c9 --- /dev/null +++ b/demo/repos.yaml @@ -0,0 +1,17 @@ +Repositories: + - Name: core-testing + Url: http://download.meego.com/testing/core/repos/@ARCH@/packages + - Name: netbook-testing + Url: http://download.meego.com/testing/netbook/repos/@ARCH@/packages + - Name: handset-testing + Url: http://download.meego.com/testing/handset/repos/@ARCH@/packages + - Name: core + Url: http://repo.meego.com/MeeGo/builds/@RELEASE@/@BUILD_ID@/core/repos/@ARCH@/packages + - Name: netbook + Url: http://repo.meego.com/MeeGo/builds/@RELEASE@/@BUILD_ID@/netbook/repos/@ARCH@/packages + - Name: handset + Url: http://repo.meego.com/MeeGo/builds/@RELEASE@/@BUILD_ID@/handset/repos/@ARCH@/packages + - Name: ivi + Url: http://repo.meego.com/MeeGo/builds/@RELEASE@/@BUILD_ID@/ivi/repos/@ARCH@/packages + - Name: non-oss + Url: http://repo.meego.com/MeeGo/builds/@RELEASE@/@BUILD_ID@/non-oss/repos/@ARCH@/packages |