* [PATCH 0/6] Patchset for pushing into master @ 2011-04-07 13:19 Otavio Salvador 2011-04-07 13:19 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador 0 siblings, 1 reply; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel Hello, Here goes our current patchset that is ready for pushing into master. Please review and apply those that fit your quality requirements ;-) Att, ^ permalink raw reply [flat|nested] 23+ messages in thread
* [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package 2011-04-07 13:19 [PATCH 0/6] Patchset for pushing into master Otavio Salvador @ 2011-04-07 13:19 ` Otavio Salvador 2011-04-07 13:19 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador 2011-04-07 17:21 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Phil Blundell 0 siblings, 2 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- recipes/udev/udev_165.bb | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes/udev/udev_165.bb b/recipes/udev/udev_165.bb index d426aff..822891f 100644 --- a/recipes/udev/udev_165.bb +++ b/recipes/udev/udev_165.bb @@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod the hotplug package and requires a kernel not older than 2.6.12." LICENSE = "GPLv2+" -PR = "r3" +PR = "r4" # Untested DEFAULT_PREFERENCE = "-1" @@ -71,7 +71,7 @@ EXTRA_OECONF += " --with-udev-prefix= \ INITSCRIPT_NAME = "udev" INITSCRIPT_PARAMS = "start 03 S ." -PACKAGES =+ "libudev libgudev udev-utils" +PACKAGES =+ "libudev libgudev udev-utils udev-consolekit" FILES_libudev = "${base_libdir}/libudev.so.*" FILES_libgudev = "${base_libdir}/libgudev*.so.*" @@ -84,7 +84,8 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug" # udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir} # is ${prefix}/lib64 -FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit" +FILES_${PN} += "/lib/udev*" +FILES_${PN}-consokekit += "${libdir}/ConsoleKit" FILES_${PN}-dbg += "/lib/udev/.debug" RPROVIDES_udev_append = " udev-compat-wrapper" -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 13:19 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador @ 2011-04-07 13:19 ` Otavio Salvador 2011-04-07 13:19 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador 2011-04-07 17:23 ` [PATCH 2/6] conf/bitbake: improve compression image handling Phil Blundell 2011-04-07 17:21 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Phil Blundell 1 sibling, 2 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador * add GZIP_COMPRESSION_LEVEL * add BZIP2_COMPRESSION_LEVEL * use xz-native to generate lzma images Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- conf/bitbake.conf | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 6946be5..783d781 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -150,6 +150,8 @@ QEMU_OPTIONS_armv7a = "-cpu cortex-a8" # default compression levels XZ_COMPRESSION_LEVEL ?= "-e -9" LZMA_COMPRESSION_LEVEL ?= "-e -9" +GZIP_COMPRESSION_LEVEL ?= "-9" +BZIP2_COMPRESSION_LEVEL ?= "-9" # default integrity check XZ_INTEGRITY_CHECK ?= "crc32" @@ -384,14 +386,14 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --faketime --output= IMAGE_CMD_yaffs2 = "mkyaffs2image ${EXTRA_IMAGECMD} ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2" IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" IMAGE_CMD_ext2 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}" -IMAGE_CMD_ext2.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz" -IMAGE_CMD_ext2.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2" +IMAGE_CMD_ext2.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz" +IMAGE_CMD_ext2.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2" IMAGE_CMD_ext3 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" -IMAGE_CMD_ext3.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz" -IMAGE_CMD_ext3.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2" +IMAGE_CMD_ext3.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz" +IMAGE_CMD_ext3.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2" IMAGE_CMD_ext4 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac;" -IMAGE_CMD_ext4.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; set +e;e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.gz" -IMAGE_CMD_ext4.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.bz2" +IMAGE_CMD_ext4.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; set +e;e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.gz" +IMAGE_CMD_ext4.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.bz2" IMAGE_CMD_ext4.xz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.xz; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.xz ; rm -f ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 ; rmdir ${DEPLOY_DIR_IMAGE}/tmp.xz" IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" @@ -401,10 +403,10 @@ IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_ IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." IMAGE_CMD_tar.xz = "cd ${IMAGE_ROOTFS} && tar --xz -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz ." IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}" -IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}" +IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c ${GZIP_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}" IMAGE_CMD_cpio.xz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}" -IMAGE_CMD_cpio.gz.u-boot = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot" -IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}" +IMAGE_CMD_cpio.gz.u-boot = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c ${GZIP_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot" +IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz --format=lzma -c ${LZMA_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}" IMAGE_CMD_ubi = "echo \[ubifs\] > ubinize.cfg ; echo mode=ubi >> ubinize.cfg ; echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img >> ubinize.cfg ; echo vol_id=0 >> ubinize.cfg ; echo vol_type=dynamic >> ubinize.cfg ; echo vol_name=${UBI_VOLNAME} >> ubinize.cfg ; echo vol_flags=autoresize >> ubinize.cfg;mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS} && ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg" IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}" @@ -435,7 +437,7 @@ IMAGE_DEPENDS_ext4.gz = "genext2fs-native e2fsprogs-native" IMAGE_DEPENDS_ext4.bz2 = "genext2fs-native e2fsprogs-native" IMAGE_DEPENDS_ext4.xz = "genext2fs-native e2fsprogs-native xz-native" IMAGE_DEPENDS_cpio.gz.u-boot = "u-boot-mkimage-native" -IMAGE_DEPENDS_cpio.lzma = "lzma-native" +IMAGE_DEPENDS_cpio.lzma = "xz-native" IMAGE_DEPENDS_cpio.xz = "xz-native" IMAGE_DEPENDS_squashfs = "squashfs-tools-native" IMAGE_DEPENDS_squashfs-lzma = "squashfs-tools-native" -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages 2011-04-07 13:19 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador @ 2011-04-07 13:19 ` Otavio Salvador 2011-04-07 13:19 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador 2011-04-07 17:23 ` [PATCH 2/6] conf/bitbake: improve compression image handling Phil Blundell 1 sibling, 1 reply; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- recipes/xorg-xserver/xorg-xserver-common.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/recipes/xorg-xserver/xorg-xserver-common.inc b/recipes/xorg-xserver/xorg-xserver-common.inc index 29e3b10..8f59b0b 100644 --- a/recipes/xorg-xserver/xorg-xserver-common.inc +++ b/recipes/xorg-xserver/xorg-xserver-common.inc @@ -2,7 +2,7 @@ HOMEPAGE = "http://www.x.org" SECTION = "x11/base" LICENSE = "MIT-X" -INC_PR = "r18" +INC_PR = "r19" PROVIDES = "virtual/xserver" @@ -108,4 +108,5 @@ FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*" do_install_append () { ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts + find ${D}/${libdir} -name '*.la' -exec rm '{}' ';' } -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr 2011-04-07 13:19 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador @ 2011-04-07 13:19 ` Otavio Salvador 2011-04-07 13:19 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador 2011-04-11 13:10 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Martin Jansa 0 siblings, 2 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador --- recipes/xorg-xserver/xserver-xorg_1.9.4.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb index 89e7a03..cc2dc43 100644 --- a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb +++ b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb @@ -6,7 +6,7 @@ require xorg-xserver-common.inc DESCRIPTION = "the X.Org X server" DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native" PE = "2" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI += " \ file://dolt-fix.patch \ @@ -25,7 +25,7 @@ do_install_prepend() { PACKAGE_ARCH_ion = "${MACHINE_ARCH}" XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}" -EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" +EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs" export LDFLAGS += " -ldl " -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 5/6] xserver-xorg (git): enable xephyr 2011-04-07 13:19 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador @ 2011-04-07 13:19 ` Otavio Salvador 2011-04-07 13:19 ` [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot Otavio Salvador 2011-04-11 13:10 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Martin Jansa 1 sibling, 1 reply; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador --- recipes/xorg-xserver/xserver-xorg_git.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/xorg-xserver/xserver-xorg_git.bb b/recipes/xorg-xserver/xserver-xorg_git.bb index 98831ef..d37c61e 100644 --- a/recipes/xorg-xserver/xserver-xorg_git.bb +++ b/recipes/xorg-xserver/xserver-xorg_git.bb @@ -6,7 +6,7 @@ require xorg-xserver-common.inc DESCRIPTION = "the X.Org X server" DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native" PV = "1.9.99.1" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" PR_append = "+gitr${SRCPV}" PE = "2" @@ -32,7 +32,7 @@ do_install_prepend() { PACKAGE_ARCH_ion = "${MACHINE_ARCH}" XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}" -EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" +EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" EXTRA_OECONF += " --enable-dri2 --disable-unit-tests " export LDFLAGS += " -ldl " -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot 2011-04-07 13:19 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador @ 2011-04-07 13:19 ` Otavio Salvador 2011-04-07 17:27 ` Phil Blundell 0 siblings, 1 reply; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador * drop singleton-mode.patch, merged upstream; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- recipes/freerdp/freerdp/singleton-mode.patch | 208 -------------------------- recipes/freerdp/freerdp_git.bb | 7 +- 2 files changed, 3 insertions(+), 212 deletions(-) delete mode 100644 recipes/freerdp/freerdp/singleton-mode.patch diff --git a/recipes/freerdp/freerdp/singleton-mode.patch b/recipes/freerdp/freerdp/singleton-mode.patch deleted file mode 100644 index 980ec96..0000000 --- a/recipes/freerdp/freerdp/singleton-mode.patch +++ /dev/null @@ -1,208 +0,0 @@ -From dd81b7b7902015d35e48117db7fb664aa75fdf62 Mon Sep 17 00:00:00 2001 -From: Eduardo Beloni <beloni@ossystems.com.br> -Date: Thu, 3 Mar 2011 14:41:32 -0300 -Subject: [PATCH] xfreerdp: singleton mode - -Allows return code according to the Set Error Info PDU ---- - X11/xf_types.h | 21 +++++++++++++++++++++ - X11/xfreerdp.c | 45 ++++++++++++++++++++++++++++++++++++--------- - doc/xfreerdp.1 | 4 ++++ - 3 files changed, 61 insertions(+), 9 deletions(-) - -diff --git a/X11/xf_types.h b/X11/xf_types.h -index 0d355e2..75c7d88 100644 ---- a/X11/xf_types.h -+++ b/X11/xf_types.h -@@ -88,6 +88,27 @@ struct xf_info - }; - typedef struct xf_info xfInfo; - -+ -+enum STANDARD_EXIT_CODE -+{ -+ EX_OK = 0, -+ EX_USAGE = 64, -+ EX_DATAERR = 65, -+ EX_NOINPUT = 66, -+ EX_NOUSER = 67, -+ EX_NOHOST = 68, -+ EX_UNAVAILABLE = 69, -+ EX_SOFTWARE = 70, -+ EX_OSERR = 71, -+ EX_OSFILE = 72, -+ EX_CANTCREAT = 73, -+ EX_IOERR = 74, -+ EX_TEMPFAIL = 75, -+ EX_PROTOCOL = 76, -+ EX_NOPERM = 77, -+ EX_CONFIG = 78, -+}; -+ - #ifdef WITH_DEBUG - #define DEBUG(fmt, ...) printf("DBG %s (%d): " fmt, __FUNCTION__, __LINE__, ## __VA_ARGS__) - #else -diff --git a/X11/xfreerdp.c b/X11/xfreerdp.c -index 994e8ee..f9236e7 100644 ---- a/X11/xfreerdp.c -+++ b/X11/xfreerdp.c -@@ -155,7 +155,7 @@ out_args(void) - - /* Returns "true" on errors or other reasons to not continue normal operation */ - static int --process_params(xfInfo * xfi, int argc, char ** argv, int * pindex) -+process_params(xfInfo * xfi, int argc, char ** argv, int * pindex, _Bool * singleton) - { - rdpSet * settings; - rdpKeyboardLayout * layouts; -@@ -165,6 +165,9 @@ process_params(xfInfo * xfi, int argc, char ** argv, int * pindex) - int i, j; - struct passwd * pw; - int num_extensions; -+ int first_index; -+ -+ first_index = *pindex; - - set_default_params(xfi); - settings = xfi->settings; -@@ -512,6 +515,16 @@ process_params(xfInfo * xfi, int argc, char ** argv, int * pindex) - } - num_extensions++; - } -+ else if (strcmp("--singleton", argv[*pindex]) == 0) -+ { -+ if (first_index != 1) /* this is not the first parse */ -+ { -+ printf("Parsing error: you can't run more than one thread in singleton mode\n"); -+ exit(EX_USAGE); -+ } -+ -+ *singleton = 1; -+ } - else if ((strcmp("-h", argv[*pindex]) == 0) || strcmp("--help", argv[*pindex]) == 0) - { - out_args(); -@@ -577,6 +590,7 @@ run_xfreerdp(xfInfo * xfi) - int max_sck; - fd_set rfds; - fd_set wfds; -+ uint32 disc_reason; - - /* create an instance of the library */ - inst = freerdp_new(xfi->settings); -@@ -611,7 +625,7 @@ run_xfreerdp(xfInfo * xfi) - if (inst->rdp_connect(inst) != 0) - { - printf("run_xfreerdp: inst->rdp_connect failed\n"); -- return 1; -+ return EX_PROTOCOL; - } - if (freerdp_chanman_post_connect(xfi->chan_man, inst) != 0) - { -@@ -687,7 +701,7 @@ run_xfreerdp(xfInfo * xfi) - /* check the libfreerdp fds */ - if (inst->rdp_check_fds(inst) != 0) - { -- printf("run_xfreerdp: inst->rdp_check_fds failed\n"); -+ printf("run_xfreerdp: inst->rdp_check_fds failed reason %u\n", inst->disc_reason); - break; - } - /* check x fds */ -@@ -703,21 +717,24 @@ run_xfreerdp(xfInfo * xfi) - break; - } - } -+ -+ disc_reason = inst->disc_reason; - /* cleanup */ - freerdp_chanman_close(xfi->chan_man, inst); - inst->rdp_disconnect(inst); - freerdp_free(inst); - xf_uninit(xfi); -- return 0; -+ return disc_reason; - } - - static void * - thread_func(void * arg) - { - xfInfo * xfi; -+ uint32 disc_reason; - - xfi = (xfInfo *) arg; -- run_xfreerdp(xfi); -+ disc_reason = run_xfreerdp(xfi); - free(xfi->settings); - freerdp_chanman_free(xfi->chan_man); - free(xfi); -@@ -728,7 +745,7 @@ thread_func(void * arg) - { - freerdp_sem_signal(&g_sem); - } -- return NULL; -+ return (void *)disc_reason; - } - - int -@@ -738,6 +755,8 @@ main(int argc, char ** argv) - xfInfo * xfi; - pthread_t thread; - int index = 1; -+ _Bool singleton = 0; -+ int disc_reason = 0; - - setlocale(LC_CTYPE, ""); - if (argc == 1) -@@ -760,7 +779,7 @@ main(int argc, char ** argv) - memset(xfi, 0, sizeof(xfInfo)); - xfi->settings = (rdpSet *) malloc(sizeof(rdpSet)); - xfi->chan_man = freerdp_chanman_new(); -- rv = process_params(xfi, argc, argv, &index); -+ rv = process_params(xfi, argc, argv, &index, &singleton); - if (rv) - { - free(xfi->settings); -@@ -776,9 +795,17 @@ main(int argc, char ** argv) - { - g_thread_count++; - } -+ -+ if (singleton) -+ break; - } - -- if (g_thread_count > 0) -+ if (singleton) -+ { -+ pthread_join(thread, (void **)&disc_reason); -+ printf("thread joint disconnect reason %d\n", disc_reason); -+ } -+ else if (g_thread_count > 0) - { - printf("main thread, waiting for all threads to exit\n"); - freerdp_sem_wait(&g_sem); -@@ -787,5 +814,5 @@ main(int argc, char ** argv) - - freerdp_chanman_uninit(); - freerdp_global_finish(); -- return 0; -+ return disc_reason; - } -diff --git a/doc/xfreerdp.1 b/doc/xfreerdp.1 -index 9fa07ca..1ad0d70 100644 ---- a/doc/xfreerdp.1 -+++ b/doc/xfreerdp.1 -@@ -92,6 +92,10 @@ Disable TLS encryption. - .BR "--no-osb" - Disable off screen bitmaps. - .TP -+.BR "--singleton" -+Singleton mode. This mode allows only one thread of execution and also returns -+the Set Error Info PDU as the program exit code. -+.TP - .BR "-h" - Print help message. - .TP --- -1.6.6.1 - diff --git a/recipes/freerdp/freerdp_git.bb b/recipes/freerdp/freerdp_git.bb index beed2b8..ff37509 100644 --- a/recipes/freerdp/freerdp_git.bb +++ b/recipes/freerdp/freerdp_git.bb @@ -1,4 +1,4 @@ -# Copyright (C) 2010, O.S. Systems Software Ltda. All Rights Reserved +# Copyright (C) 2010, 2011, O.S. Systems Software Ltda. All Rights Reserved # Released under the MIT license include freerdp.inc @@ -9,8 +9,7 @@ PV = "gitr${SRCPV}" PKGV = "${GITPKGVTAG}" PR = "${INC_PR}.1" -SRCREV = "6f7eb2abb077d60a09eeb66a10ad97d102336d3c" -SRC_URI = "git://freerdp.git.sourceforge.net/gitroot/freerdp/freerdp.git;protocol=git \ - file://singleton-mode.patch" +SRCREV = "7bbde4fb3bc3a781364d0a626c49bc165cc507fd" +SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;protocol=git" S = "${WORKDIR}/git" -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot 2011-04-07 13:19 ` [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot Otavio Salvador @ 2011-04-07 17:27 ` Phil Blundell 2011-04-07 17:34 ` Otavio Salvador 0 siblings, 1 reply; 23+ messages in thread From: Phil Blundell @ 2011-04-07 17:27 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: > -# Copyright (C) 2010, O.S. Systems Software Ltda. All Rights Reserved > +# Copyright (C) 2010, 2011, O.S. Systems Software Ltda. All Rights Reserved > # Released under the MIT license Not a comment on this patch as such, but a meta-comment on the recipe: does it really make sense to state "all rights reserved" in this context? p. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot 2011-04-07 17:27 ` Phil Blundell @ 2011-04-07 17:34 ` Otavio Salvador 0 siblings, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 17:34 UTC (permalink / raw) To: Phil Blundell; +Cc: openembedded-devel On Thu, Apr 7, 2011 at 14:27, Phil Blundell <philb@gnu.org> wrote: > On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: >> -# Copyright (C) 2010, O.S. Systems Software Ltda. All Rights Reserved >> +# Copyright (C) 2010, 2011, O.S. Systems Software Ltda. All Rights Reserved >> # Released under the MIT license > > Not a comment on this patch as such, but a meta-comment on the recipe: > does it really make sense to state "all rights reserved" in this > context? Not a big deal to us; dropped it. Will resend it after end of review. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr 2011-04-07 13:19 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador 2011-04-07 13:19 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador @ 2011-04-11 13:10 ` Martin Jansa 2011-04-11 13:32 ` Otavio Salvador 2011-04-11 21:45 ` Khem Raj 1 sibling, 2 replies; 23+ messages in thread From: Martin Jansa @ 2011-04-11 13:10 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador On Thu, Apr 7, 2011 at 3:19 PM, Otavio Salvador <otavio@ossystems.com.br> wrote: > --- > recipes/xorg-xserver/xserver-xorg_1.9.4.bb | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb > index 89e7a03..cc2dc43 100644 > --- a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb > +++ b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb > @@ -6,7 +6,7 @@ require xorg-xserver-common.inc > DESCRIPTION = "the X.Org X server" > DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native" > PE = "2" > -PR = "${INC_PR}.0" > +PR = "${INC_PR}.1" > > SRC_URI += " \ > file://dolt-fix.patch \ > @@ -25,7 +25,7 @@ do_install_prepend() { > PACKAGE_ARCH_ion = "${MACHINE_ARCH}" > XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}" > > -EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" > +EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx" > EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs" > > export LDFLAGS += " -ldl " I don't remember exact error I got when I was disabling it few months ago, but today I've tried to enable it with your patch and got ICE | make[3]: Leaving directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/linux' | Making all in ephyr | make[3]: Entering directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr' | Making all in man | make[4]: Entering directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr/man' | GEN Xephyr.1 | make[4]: Leaving directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr/man' | make[4]: Entering directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr' | CC hostx.lo | CC ephyrvideo.lo | CC ephyrhostvideo.lo | ephyrhostvideo.c: In function 'ephyrHostXVLogXErrorEvent': | ephyrhostvideo.c:141:5: warning: format not a string literal, argument types not checked | ephyrhostvideo.c:160:9: warning: format not a string literal, argument types not checked | ephyrhostvideo.c:192:13: warning: format not a string literal, argument types not checked | ephyrhostvideo.c:220:9: warning: format not a string literal, argument types not checked | ephyrhostvideo.c:226:5: warning: format not a string literal, argument types not checked | ephyrhostvideo.c:230:5: warning: format not a string literal, argument types not checked | ephyrvideo.c: In functionERROR: Function 'do_compile' failed (see /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/temp/log.do_compile.22901 for further information) | 'ephyrGetStill': | ephyrvideo.c:1243:1: internal compiler error: in default_secondary_reload, at targhooks.c:762 | Please submit a full bug report, | with preprocessed source if appropriate. | See <http://gcc.gnu.org/bugs.html> for instructions. | make[4]: *** [ephyrvideo.lo] Error 1 | make[4]: *** Waiting for unfinished jobs.... | make[4]: Leaving directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive/ephyr' | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw/kdrive' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6/git/hw' | make: *** [all-recursive] Error 1 | + die 'oe_runmake failed' | + oefatal 'oe_runmake failed' | + echo FATAL: 'oe_runmake failed' | FATAL: oe_runmake failed | + exit 1 NOTE: package xserver-xorg-2_1.10.0.902-r19.0+gitr0+ec6e1e45627de2bb851f135df0507a360d0d99e6: task do_compile: Failed ERROR: Task 14 (/OE/dev/recipes/xorg-xserver/xserver-xorg_git.bb, do_compile) failed with exit code '1' ERROR: '/OE/dev/recipes/xorg-xserver/xserver-xorg_git.bb' failed are you using sane-toolchain with gcc-4.5? Regards, ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr 2011-04-11 13:10 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Martin Jansa @ 2011-04-11 13:32 ` Otavio Salvador 2011-04-11 21:45 ` Khem Raj 1 sibling, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-11 13:32 UTC (permalink / raw) To: Martin Jansa; +Cc: openembedded-devel On Mon, Apr 11, 2011 at 10:10, Martin Jansa <martin.jansa@gmail.com> wrote: > are you using sane-toolchain with gcc-4.5? Yes; using mininal distro. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr 2011-04-11 13:10 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Martin Jansa 2011-04-11 13:32 ` Otavio Salvador @ 2011-04-11 21:45 ` Khem Raj 1 sibling, 0 replies; 23+ messages in thread From: Khem Raj @ 2011-04-11 21:45 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador On (11/04/11 15:10), Martin Jansa wrote: > | 'ephyrGetStill': > | ephyrvideo.c:1243:1: internal compiler error: in > default_secondary_reload, at targhooks.c:762 > | Please submit a full bug report, > | with preprocessed source if appropriate. > | See <http://gcc.gnu.org/bugs.html> for instructions. > | make[4]: *** [ephyrvideo.lo] Error 1 another gcc ICE :( is it again in thumb mode ? can you send me the preprocessed file for ephyrvideo.c -Khem ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 13:19 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador 2011-04-07 13:19 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador @ 2011-04-07 17:23 ` Phil Blundell 2011-04-07 17:29 ` Otavio Salvador 2011-04-08 4:32 ` Martin Jansa 1 sibling, 2 replies; 23+ messages in thread From: Phil Blundell @ 2011-04-07 17:23 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: > XZ_COMPRESSION_LEVEL ?= "-e -9" > LZMA_COMPRESSION_LEVEL ?= "-e -9" > +GZIP_COMPRESSION_LEVEL ?= "-9" > +BZIP2_COMPRESSION_LEVEL ?= "-9" It seems a bit sad to have to keep adding new vars to the global configuration set (and hence parse them for every single recipe) every time someone wants to tweak a new compression format. Can we not just have a single IMAGE_COMPRESSION_LEVEL that does for everything? p. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 17:23 ` [PATCH 2/6] conf/bitbake: improve compression image handling Phil Blundell @ 2011-04-07 17:29 ` Otavio Salvador 2011-04-07 23:48 ` Tom Rini 2011-04-08 4:32 ` Martin Jansa 1 sibling, 1 reply; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 17:29 UTC (permalink / raw) To: Phil Blundell; +Cc: openembedded-devel On Thu, Apr 7, 2011 at 14:23, Phil Blundell <philb@gnu.org> wrote: > On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: >> XZ_COMPRESSION_LEVEL ?= "-e -9" >> LZMA_COMPRESSION_LEVEL ?= "-e -9" >> +GZIP_COMPRESSION_LEVEL ?= "-9" >> +BZIP2_COMPRESSION_LEVEL ?= "-9" > > It seems a bit sad to have to keep adding new vars to the global > configuration set (and hence parse them for every single recipe) every > time someone wants to tweak a new compression format. Can we not just > have a single IMAGE_COMPRESSION_LEVEL that does for everything? For me it doesn't matter; I can add it if preferred. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 17:29 ` Otavio Salvador @ 2011-04-07 23:48 ` Tom Rini 2011-04-08 11:50 ` Otavio Salvador 2011-04-08 12:18 ` Phil Blundell 0 siblings, 2 replies; 23+ messages in thread From: Tom Rini @ 2011-04-07 23:48 UTC (permalink / raw) To: openembedded-devel On 04/07/2011 10:29 AM, Otavio Salvador wrote: > On Thu, Apr 7, 2011 at 14:23, Phil Blundell <philb@gnu.org> wrote: >> On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: >>> XZ_COMPRESSION_LEVEL ?= "-e -9" >>> LZMA_COMPRESSION_LEVEL ?= "-e -9" >>> +GZIP_COMPRESSION_LEVEL ?= "-9" >>> +BZIP2_COMPRESSION_LEVEL ?= "-9" >> >> It seems a bit sad to have to keep adding new vars to the global >> configuration set (and hence parse them for every single recipe) every >> time someone wants to tweak a new compression format. Can we not just >> have a single IMAGE_COMPRESSION_LEVEL that does for everything? > > For me it doesn't matter; I can add it if preferred. Why are we even tweaking gzip/bzip2? XZ/LZMA can have serious tradeoffs at higher levels but I thought for bzip2/gzip it was either do it or no compression, not "turn it down a little bit". -- Tom Rini Mentor Graphics Corporation ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 23:48 ` Tom Rini @ 2011-04-08 11:50 ` Otavio Salvador 2011-04-08 12:18 ` Phil Blundell 1 sibling, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-08 11:50 UTC (permalink / raw) To: openembedded-devel On Thu, Apr 7, 2011 at 20:48, Tom Rini <tom_rini@mentor.com> wrote: > Why are we even tweaking gzip/bzip2? XZ/LZMA can have serious tradeoffs > at higher levels but I thought for bzip2/gzip it was either do it or no > compression, not "turn it down a little bit". It changes a lot for compress and decompress time. I think it is important to be able to change those values but how it is done doesn't matter to me. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 23:48 ` Tom Rini 2011-04-08 11:50 ` Otavio Salvador @ 2011-04-08 12:18 ` Phil Blundell 2011-04-08 12:38 ` Otavio Salvador 1 sibling, 1 reply; 23+ messages in thread From: Phil Blundell @ 2011-04-08 12:18 UTC (permalink / raw) To: openembedded-devel On Thu, 2011-04-07 at 16:48 -0700, Tom Rini wrote: > On 04/07/2011 10:29 AM, Otavio Salvador wrote: > > On Thu, Apr 7, 2011 at 14:23, Phil Blundell <philb@gnu.org> wrote: > >> On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: > >>> XZ_COMPRESSION_LEVEL ?= "-e -9" > >>> LZMA_COMPRESSION_LEVEL ?= "-e -9" > >>> +GZIP_COMPRESSION_LEVEL ?= "-9" > >>> +BZIP2_COMPRESSION_LEVEL ?= "-9" > >> > >> It seems a bit sad to have to keep adding new vars to the global > >> configuration set (and hence parse them for every single recipe) every > >> time someone wants to tweak a new compression format. Can we not just > >> have a single IMAGE_COMPRESSION_LEVEL that does for everything? > > > > For me it doesn't matter; I can add it if preferred. > > Why are we even tweaking gzip/bzip2? XZ/LZMA can have serious tradeoffs > at higher levels but I thought for bzip2/gzip it was either do it or no > compression, not "turn it down a little bit". There is a bit of a tradeoff for gzip, though I'm not sure you would notice it on modern hardware. For bzip2 it's more significant; if you're bzipping large files (several GB) then the choice between -9 and -1 is quite noticeable even on a relatively powerful cpu. I'm not sure you'd notice much difference with either gzip or bzip on a 32MB jffs2 image. And for unzipping, my recollection is that the decompressor stages of both gzip and bzip run in more-or-less constant time irrespective of the settings that you used when compressing. So yeah, I agree, it isn't obvious that there is going to be much real-world benefit from tweaking these knobs for gzip and bzip2. If someone wants that ability then fine, but ideally in a way that doesn't cause further metadata bloat for everyone else. One obvious way to do that would be to put the default variable settings in the image-generating classes, rather than in bitbake.conf, so that they don't get set at all for the majority of recipes if you are happy to accept the defaults. p. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-08 12:18 ` Phil Blundell @ 2011-04-08 12:38 ` Otavio Salvador 0 siblings, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-08 12:38 UTC (permalink / raw) To: openembedded-devel On Fri, Apr 8, 2011 at 09:18, Phil Blundell <philb@gnu.org> wrote: > There is a bit of a tradeoff for gzip, though I'm not sure you would > notice it on modern hardware. For bzip2 it's more significant; if > you're bzipping large files (several GB) then the choice between -9 and > -1 is quite noticeable even on a relatively powerful cpu. I'm not sure > you'd notice much difference with either gzip or bzip on a 32MB jffs2 > image. It is noticible; I am doing images for some quite slow machine and it does matter otherwise I wouldn't have done it. > And for unzipping, my recollection is that the decompressor stages of > both gzip and bzip run in more-or-less constant time irrespective of the > settings that you used when compressing. > > So yeah, I agree, it isn't obvious that there is going to be much > real-world benefit from tweaking these knobs for gzip and bzip2. If > someone wants that ability then fine, but ideally in a way that doesn't > cause further metadata bloat for everyone else. One obvious way to do > that would be to put the default variable settings in the > image-generating classes, rather than in bitbake.conf, so that they > don't get set at all for the majority of recipes if you are happy to > accept the defaults. I agree its place is on the image class or another; this doesn't matter too much to me if I have a place to change it. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-07 17:23 ` [PATCH 2/6] conf/bitbake: improve compression image handling Phil Blundell 2011-04-07 17:29 ` Otavio Salvador @ 2011-04-08 4:32 ` Martin Jansa 2011-04-08 11:51 ` Otavio Salvador 1 sibling, 1 reply; 23+ messages in thread From: Martin Jansa @ 2011-04-08 4:32 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador [-- Attachment #1: Type: text/plain, Size: 820 bytes --] On Thu, Apr 07, 2011 at 06:23:01PM +0100, Phil Blundell wrote: > On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: > > XZ_COMPRESSION_LEVEL ?= "-e -9" > > LZMA_COMPRESSION_LEVEL ?= "-e -9" > > +GZIP_COMPRESSION_LEVEL ?= "-9" > > +BZIP2_COMPRESSION_LEVEL ?= "-9" > > It seems a bit sad to have to keep adding new vars to the global > configuration set (and hence parse them for every single recipe) every > time someone wants to tweak a new compression format. Can we not just > have a single IMAGE_COMPRESSION_LEVEL that does for everything? Please check RP's changes in oe-core http://lists.linuxtogo.org/pipermail/openembedded-core/2011-March/000739.html IMHO would be great to integrate this before such changes. Cheers, -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-08 4:32 ` Martin Jansa @ 2011-04-08 11:51 ` Otavio Salvador 0 siblings, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-08 11:51 UTC (permalink / raw) To: Martin Jansa; +Cc: openembedded-devel On Fri, Apr 8, 2011 at 01:32, Martin Jansa <martin.jansa@gmail.com> wrote: > Please check RP's changes in oe-core > http://lists.linuxtogo.org/pipermail/openembedded-core/2011-March/000739.html > > IMHO would be great to integrate this before such changes. I think I agree with you since it would for easier migration to oe-core later. Can someone push those and I rebase mine against it? -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package 2011-04-07 13:19 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador 2011-04-07 13:19 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador @ 2011-04-07 17:21 ` Phil Blundell 2011-04-07 17:30 ` Otavio Salvador 1 sibling, 1 reply; 23+ messages in thread From: Phil Blundell @ 2011-04-07 17:21 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: > -PACKAGES =+ "libudev libgudev udev-utils" > +PACKAGES =+ "libudev libgudev udev-utils udev-consolekit" > > FILES_libudev = "${base_libdir}/libudev.so.*" > FILES_libgudev = "${base_libdir}/libgudev*.so.*" > @@ -84,7 +84,8 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug" > > # udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir} > # is ${prefix}/lib64 > -FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit" > +FILES_${PN} += "/lib/udev*" > +FILES_${PN}-consokekit += "${libdir}/ConsoleKit" Did you test this patch? Surely the line above should read "${PN}-consolekit" otherwise it won't match anything. p. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package 2011-04-07 17:21 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Phil Blundell @ 2011-04-07 17:30 ` Otavio Salvador 0 siblings, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-07 17:30 UTC (permalink / raw) To: Phil Blundell; +Cc: openembedded-devel On Thu, Apr 7, 2011 at 14:21, Phil Blundell <philb@gnu.org> wrote: > On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote: >> -PACKAGES =+ "libudev libgudev udev-utils" >> +PACKAGES =+ "libudev libgudev udev-utils udev-consolekit" >> >> FILES_libudev = "${base_libdir}/libudev.so.*" >> FILES_libgudev = "${base_libdir}/libgudev*.so.*" >> @@ -84,7 +84,8 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug" >> >> # udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir} >> # is ${prefix}/lib64 >> -FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit" >> +FILES_${PN} += "/lib/udev*" >> +FILES_${PN}-consokekit += "${libdir}/ConsoleKit" > > Did you test this patch? Surely the line above should read > "${PN}-consolekit" otherwise it won't match anything. I did but probably did a mistake when rebasing it; will fix it. -- Otavio Salvador O.S. Systems E-mail: otavio@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ^ permalink raw reply [flat|nested] 23+ messages in thread
* [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package @ 2011-04-01 12:16 Otavio Salvador 2011-04-01 12:16 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador 0 siblings, 1 reply; 23+ messages in thread From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- recipes/udev/udev_165.bb | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes/udev/udev_165.bb b/recipes/udev/udev_165.bb index d426aff..822891f 100644 --- a/recipes/udev/udev_165.bb +++ b/recipes/udev/udev_165.bb @@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod the hotplug package and requires a kernel not older than 2.6.12." LICENSE = "GPLv2+" -PR = "r3" +PR = "r4" # Untested DEFAULT_PREFERENCE = "-1" @@ -71,7 +71,7 @@ EXTRA_OECONF += " --with-udev-prefix= \ INITSCRIPT_NAME = "udev" INITSCRIPT_PARAMS = "start 03 S ." -PACKAGES =+ "libudev libgudev udev-utils" +PACKAGES =+ "libudev libgudev udev-utils udev-consolekit" FILES_libudev = "${base_libdir}/libudev.so.*" FILES_libgudev = "${base_libdir}/libgudev*.so.*" @@ -84,7 +84,8 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug" # udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir} # is ${prefix}/lib64 -FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit" +FILES_${PN} += "/lib/udev*" +FILES_${PN}-consokekit += "${libdir}/ConsoleKit" FILES_${PN}-dbg += "/lib/udev/.debug" RPROVIDES_udev_append = " udev-compat-wrapper" -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
* [PATCH 2/6] conf/bitbake: improve compression image handling 2011-04-01 12:16 Otavio Salvador @ 2011-04-01 12:16 ` Otavio Salvador 0 siblings, 0 replies; 23+ messages in thread From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw) To: openembedded-devel; +Cc: Otavio Salvador * add GZIP_COMPRESSION_LEVEL * add BZIP2_COMPRESSION_LEVEL * use xz-native to generate lzma images Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> --- conf/bitbake.conf | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 6946be5..783d781 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -150,6 +150,8 @@ QEMU_OPTIONS_armv7a = "-cpu cortex-a8" # default compression levels XZ_COMPRESSION_LEVEL ?= "-e -9" LZMA_COMPRESSION_LEVEL ?= "-e -9" +GZIP_COMPRESSION_LEVEL ?= "-9" +BZIP2_COMPRESSION_LEVEL ?= "-9" # default integrity check XZ_INTEGRITY_CHECK ?= "crc32" @@ -384,14 +386,14 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --faketime --output= IMAGE_CMD_yaffs2 = "mkyaffs2image ${EXTRA_IMAGECMD} ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2" IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" IMAGE_CMD_ext2 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}" -IMAGE_CMD_ext2.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz" -IMAGE_CMD_ext2.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2" +IMAGE_CMD_ext2.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz" +IMAGE_CMD_ext2.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2" IMAGE_CMD_ext3 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" -IMAGE_CMD_ext3.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz" -IMAGE_CMD_ext3.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2" +IMAGE_CMD_ext3.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz" +IMAGE_CMD_ext3.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2" IMAGE_CMD_ext4 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac;" -IMAGE_CMD_ext4.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; set +e;e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.gz" -IMAGE_CMD_ext4.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.bz2" +IMAGE_CMD_ext4.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; set +e;e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.gz" +IMAGE_CMD_ext4.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.bz2" IMAGE_CMD_ext4.xz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.xz; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.xz ; rm -f ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 ; rmdir ${DEPLOY_DIR_IMAGE}/tmp.xz" IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" @@ -401,10 +403,10 @@ IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_ IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." IMAGE_CMD_tar.xz = "cd ${IMAGE_ROOTFS} && tar --xz -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz ." IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}" -IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}" +IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c ${GZIP_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}" IMAGE_CMD_cpio.xz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}" -IMAGE_CMD_cpio.gz.u-boot = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot" -IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}" +IMAGE_CMD_cpio.gz.u-boot = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c ${GZIP_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot" +IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz --format=lzma -c ${LZMA_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}" IMAGE_CMD_ubi = "echo \[ubifs\] > ubinize.cfg ; echo mode=ubi >> ubinize.cfg ; echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img >> ubinize.cfg ; echo vol_id=0 >> ubinize.cfg ; echo vol_type=dynamic >> ubinize.cfg ; echo vol_name=${UBI_VOLNAME} >> ubinize.cfg ; echo vol_flags=autoresize >> ubinize.cfg;mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS} && ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg" IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}" @@ -435,7 +437,7 @@ IMAGE_DEPENDS_ext4.gz = "genext2fs-native e2fsprogs-native" IMAGE_DEPENDS_ext4.bz2 = "genext2fs-native e2fsprogs-native" IMAGE_DEPENDS_ext4.xz = "genext2fs-native e2fsprogs-native xz-native" IMAGE_DEPENDS_cpio.gz.u-boot = "u-boot-mkimage-native" -IMAGE_DEPENDS_cpio.lzma = "lzma-native" +IMAGE_DEPENDS_cpio.lzma = "xz-native" IMAGE_DEPENDS_cpio.xz = "xz-native" IMAGE_DEPENDS_squashfs = "squashfs-tools-native" IMAGE_DEPENDS_squashfs-lzma = "squashfs-tools-native" -- 1.7.2.3 ^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2011-04-11 21:47 UTC | newest] Thread overview: 23+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-04-07 13:19 [PATCH 0/6] Patchset for pushing into master Otavio Salvador 2011-04-07 13:19 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador 2011-04-07 13:19 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador 2011-04-07 13:19 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador 2011-04-07 13:19 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador 2011-04-07 13:19 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador 2011-04-07 13:19 ` [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot Otavio Salvador 2011-04-07 17:27 ` Phil Blundell 2011-04-07 17:34 ` Otavio Salvador 2011-04-11 13:10 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Martin Jansa 2011-04-11 13:32 ` Otavio Salvador 2011-04-11 21:45 ` Khem Raj 2011-04-07 17:23 ` [PATCH 2/6] conf/bitbake: improve compression image handling Phil Blundell 2011-04-07 17:29 ` Otavio Salvador 2011-04-07 23:48 ` Tom Rini 2011-04-08 11:50 ` Otavio Salvador 2011-04-08 12:18 ` Phil Blundell 2011-04-08 12:38 ` Otavio Salvador 2011-04-08 4:32 ` Martin Jansa 2011-04-08 11:51 ` Otavio Salvador 2011-04-07 17:21 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Phil Blundell 2011-04-07 17:30 ` Otavio Salvador -- strict thread matches above, loose matches on Subject: below -- 2011-04-01 12:16 Otavio Salvador 2011-04-01 12:16 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.