From 02e78f3ea9489b204c91ccde7c17d83ed96b8c3f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 6 Jan 2007 12:54:32 +0000 Subject: busybox 1.2.1, 1.2.2: Enabled nohup applet. * Being able to login via telnet/ssh/on-device shell and run application such that it continues to run after logout, should be pretty useful feature for embedded system. * With common config (also used by angstrom), doesn't lead to increase of exe size (due to alignment padding), and the applet code itself is small (40 lines). * Approved by Koen Kooi. --- packages/busybox/busybox-1.2.1/angstrom/defconfig | 2 +- packages/busybox/busybox-1.2.1/defconfig | 2 +- packages/busybox/busybox-1.2.2/angstrom/defconfig | 2 +- packages/busybox/busybox-1.2.2/defconfig | 2 +- packages/busybox/busybox_1.2.1.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/busybox/busybox-1.2.1/angstrom/defconfig b/packages/busybox/busybox-1.2.1/angstrom/defconfig index 981b7d7c71..7308eead76 100644 --- a/packages/busybox/busybox-1.2.1/angstrom/defconfig +++ b/packages/busybox/busybox-1.2.1/angstrom/defconfig @@ -171,7 +171,7 @@ CONFIG_MKNOD=y CONFIG_MV=y # CONFIG_FEATURE_MV_LONG_OPTIONS is not set # CONFIG_NICE is not set -# CONFIG_NOHUP is not set +CONFIG_NOHUP=y CONFIG_OD=y # CONFIG_PRINTENV is not set CONFIG_PRINTF=y diff --git a/packages/busybox/busybox-1.2.1/defconfig b/packages/busybox/busybox-1.2.1/defconfig index 981b7d7c71..7308eead76 100644 --- a/packages/busybox/busybox-1.2.1/defconfig +++ b/packages/busybox/busybox-1.2.1/defconfig @@ -171,7 +171,7 @@ CONFIG_MKNOD=y CONFIG_MV=y # CONFIG_FEATURE_MV_LONG_OPTIONS is not set # CONFIG_NICE is not set -# CONFIG_NOHUP is not set +CONFIG_NOHUP=y CONFIG_OD=y # CONFIG_PRINTENV is not set CONFIG_PRINTF=y diff --git a/packages/busybox/busybox-1.2.2/angstrom/defconfig b/packages/busybox/busybox-1.2.2/angstrom/defconfig index 981b7d7c71..7308eead76 100644 --- a/packages/busybox/busybox-1.2.2/angstrom/defconfig +++ b/packages/busybox/busybox-1.2.2/angstrom/defconfig @@ -171,7 +171,7 @@ CONFIG_MKNOD=y CONFIG_MV=y # CONFIG_FEATURE_MV_LONG_OPTIONS is not set # CONFIG_NICE is not set -# CONFIG_NOHUP is not set +CONFIG_NOHUP=y CONFIG_OD=y # CONFIG_PRINTENV is not set CONFIG_PRINTF=y diff --git a/packages/busybox/busybox-1.2.2/defconfig b/packages/busybox/busybox-1.2.2/defconfig index 981b7d7c71..7308eead76 100644 --- a/packages/busybox/busybox-1.2.2/defconfig +++ b/packages/busybox/busybox-1.2.2/defconfig @@ -171,7 +171,7 @@ CONFIG_MKNOD=y CONFIG_MV=y # CONFIG_FEATURE_MV_LONG_OPTIONS is not set # CONFIG_NICE is not set -# CONFIG_NOHUP is not set +CONFIG_NOHUP=y CONFIG_OD=y # CONFIG_PRINTENV is not set CONFIG_PRINTF=y diff --git a/packages/busybox/busybox_1.2.1.bb b/packages/busybox/busybox_1.2.1.bb index d7d28ffeb2..fb26407cd6 100644 --- a/packages/busybox/busybox_1.2.1.bb +++ b/packages/busybox/busybox_1.2.1.bb @@ -1,6 +1,6 @@ require busybox.inc -PR = "r10" +PR = "r11" SRC_URI += "file://wget-long-options.patch;patch=1 \ file://df_rootfs.patch;patch=1 \ -- cgit v1.2.3 From 7b36ca3677272ad5542922f1f72f2ae4f4c5584e Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 6 Jan 2007 14:03:43 +0000 Subject: curl 7.16: package ca-certs (88kB), needed for ssl (e.g https) and RRECOMMEND it for libcurl --- packages/curl/curl_7.16.0.bb | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/curl/curl_7.16.0.bb b/packages/curl/curl_7.16.0.bb index ae42cb42e3..df98a6b4f2 100644 --- a/packages/curl/curl_7.16.0.bb +++ b/packages/curl/curl_7.16.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Command line tool and library for client-side URL transfers." LICENSE = "MIT" DEPENDS = "zlib gnutls" SECTION = "console/network" -PR = "r0" +PR = "r1" SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2" S = "${WORKDIR}/curl-${PV}" @@ -27,11 +27,17 @@ do_stage () { oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR} } -PACKAGES += "libcurl libcurl-dev libcurl-doc" -FILES_${PN} = "${bindir}/curl \ - ${datadir}/curl/curl-ca-bundle.crt" +PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc" + +FILES_${PN} = "${bindir}/curl" + +FILES_${PN}-certs = "${datadir}/curl/curl-*" +PACKAGE_ARCH_${PN}-certs = "all" + FILES_${PN}-doc = "${mandir}/man1/curl.1" + FILES_lib${PN} = "${libdir}/lib*.so.*" +RRECOMMENDS_lib${PN} += "${PN}-certs" FILES_lib${PN}-dev = "${includedir} \ ${libdir}/lib*.so \ ${libdir}/lib*.a \ @@ -39,6 +45,7 @@ FILES_lib${PN}-dev = "${includedir} \ ${libdir}/pkgconfig \ ${datadir}/aclocal \ ${bindir}/*-config" + FILES_lib${PN}-doc = "${mandir}/man3 \ ${mandir}/man1/curl-config.1" -- cgit v1.2.3 From 2c10ddf068dae9ac33b6113750b897c356a68328 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 6 Jan 2007 14:05:15 +0000 Subject: kernel.bbclass: Create relative symlinks from "zImage" to actual kernel image in use. * Make sure update-alternatives created relative symlinks in /boot (or whatever) kernel image directory is used. This is required for tools like LAB (Linux As Bootloader) which may mount rootfs over some other temporary fs tree to get access to kernel to boot. * Closes #1569. --- classes/kernel.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 13381740a1..9c7ff8a207 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -163,11 +163,11 @@ kernel_do_configure() { } pkg_postinst_kernel () { - update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} ${KERNEL_PRIORITY} || true + cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} ${KERNEL_PRIORITY} || true } pkg_postrm_kernel () { - update-alternatives --remove ${KERNEL_IMAGETYPE} /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} || true + cd /${KERNEL_IMAGEDEST}; update-alternatives --remove ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_RELEASE} || true } inherit cml1 -- cgit v1.2.3