From bd068236207dee9373f5d559c88325de3446d53b Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Mon, 11 Oct 2004 16:36:01 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages 2004/10/11 18:35:17+02:00 local!CoreDump The mother of all section fixes! Gives a SECTION entry to (almost) all packages which were missing it (and thus were having a section of *base*). I have placed all packages unknown to me into the *unknown* section (and yes, i *am* to lazy to look them up), please fix. BKrev: 416ab6716BWMm_ae6D2MValq-LDFzw --- nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe | 1 + nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe | 81 +++++++++++++++++++++++ 2 files changed, 82 insertions(+) (limited to 'nslu2-binary-only') diff --git a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe b/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe index 46e0a14b42..cf0b85de56 100644 --- a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe +++ b/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe @@ -1,3 +1,4 @@ +SECTION = "base" DEPENDS = "slugtool-native unzip-native" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe index e69de29bb2..13b98e49c2 100644 --- a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe +++ b/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe @@ -0,0 +1,81 @@ +SECTION = "base" +DEPENDS = "nslu2-firmware-binary e2tools-native" +PACKAGES = "" +INHIBIT_DEFAULT_DEPS = "1" +PR = "r1" + +UNSLUNG_VERSION = 1.11-beta +SUFFIX = + +SRC_URI = "file://linuxrc \ + file://rc.unslung \ + file://unsling \ + file://unslung.patch" +S = "${WORKDIR}" + +ROOT_NEW_FILES = ".unslung linuxrc" +SBIN_NEW_FILES = "unsling" +ETC_PATCHED_FILES = "passwd rc" +ETC_NEW_FILES = "profile" +RC_PATCHED_FILES = "rc.1 rc.crond rc.halt rc.local rc.modules \ + rc.network rc.quickset rc.quota rc.reboot \ + rc.reset_usrgrpshare rc.rstimezone rc.samba \ + rc.sysinit rc.thttpd rc.xinetd" +RC_NEW_FILES = "rc.unslung" +HTML_PATCHED_FILES = "home.htm" +LOCAL_PATCHED_FILES = "passwd" +ROOT_NEW_DIRS = "opt" + +do_compile () { + rm -f ${STAGING_LIBDIR}/nslu2-binaries/ramdisk-unslung.gz + cp ${STAGING_LIBDIR}/nslu2-binaries/ramdisk.gz . + gunzip -f ramdisk.gz + rm -rf sources + mkdir sources + cp linuxrc sources/linuxrc + mkdir sources/sbin + cp unsling sources/sbin/unsling + mkdir -p sources/etc + for f in ${ETC_PATCHED_FILES}; do + e2cp -v ramdisk:/etc/$f sources/etc/$f || die "failed to copy $f" + done + mkdir -p sources/etc/rc.d + cp rc.unslung sources/etc/rc.d/rc.unslung + for f in ${RC_PATCHED_FILES}; do + e2cp -v ramdisk:/etc/rc.d/$f sources/etc/rc.d/$f || die "failed to copy $f" + done + mkdir -p sources/home/httpd/html + for f in ${HTML_PATCHED_FILES}; do + e2cp -v ramdisk:/home/httpd/html/$f sources/home/httpd/html/$f || die "failed to copy $f" + done + mkdir -p sources/usr/local + for f in ${LOCAL_PATCHED_FILES}; do + e2cp -v ramdisk:/usr/local/$f sources/usr/local/$f || die "failed to copy $f" + done + sed -e s/X.Y/${UNSLUNG_VERSION}${SUFFIX}/ unslung.patch | patch -d sources -p3 + sed -i -e s/@version#/@version#-uNSLUng-${UNSLUNG_VERSION}${SUFFIX}/ sources/home/httpd/html/home.htm + for f in ${ROOT_NEW_DIRS}; do + e2mkdir -v -O 0 -G 0 -P 755 ramdisk:/$f || die "failed to create $f" + done + for f in ${ROOT_NEW_FILES}; do + e2cp -v -O 0 -G 0 -P 755 sources/$f ramdisk:/$f || die "failed to copy $f" + done + for f in ${SBIN_NEW_FILES}; do + e2cp -v -O 0 -G 0 -P 755 sources/sbin/$f ramdisk:/sbin/$f || die "failed to copy $f" + done + for f in ${ETC_PATCHED_FILES} ${ETC_NEW_FILES}; do + e2cp -v -O 0 -G 0 -P 755 sources/etc/$f ramdisk:/etc/$f || die "failed to copy $f" + done + for f in ${RC_PATCHED_FILES} ${RC_NEW_FILES}; do + e2cp -v -O 0 -G 0 -P 755 sources/etc/rc.d/$f ramdisk:/etc/rc.d/$f || die "failed to copy $f" + done + for f in ${HTML_PATCHED_FILES}; do + e2cp -v -O 0 -G 0 -P 644 sources/home/httpd/html/$f ramdisk:/home/httpd/html/$f || die "failed to copy $f" + done + for f in ${LOCAL_PATCHED_FILES}; do + e2cp -v -O 0 -G 0 -P 644 sources/usr/local/$f ramdisk:/usr/local/$f || die "failed to copy $f" + done + rm -rf sources + gzip -f ramdisk + cp ramdisk.gz ${STAGING_LIBDIR}/nslu2-binaries/ramdisk-unslung.gz +} -- cgit 1.2.3-korg